Added runtime check for AVX vector math tests.
[glibc.git] / ChangeLog
blob9a5e489d86298cd2534320a605d9fe22fdd53cf1
1 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
3         [BZ #18731]
4         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
5         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15         directly in terms of __sync_fetch_and_add and delete (int) cast.
17 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20         the -D_ASM_IA64_CURRENT_H flag.
22 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24         [BZ #18641]
25         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27 2015-07-27  Andreas Schwab  <schwab@suse.de>
29         * conform/conformtest.pl (checknamespace): Filter out string
30         literals while tokenizing.
32 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
34         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
35         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
36         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
38 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
40         * nptl/tst-join7mod.c: Add #include <string.h>.
42 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
44         * sysdeps/nios2/libm-test-ulps: Update.
46 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
48         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
49         Fix order of arguments to the rt_sigprocmask syscall.
50         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
51         Likewise.
53 2015-07-24  Roland McGrath  <roland@hack.frob.com>
55         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
57 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59         [BZ #18457]
60         * nptl/Makefile (tests): New test case tst-join7.
61         (modules-names): New test case module tst-join7mod.
62         * nptl/tst-join7.c: New file.
63         * nptl/tst-join7mod.c: New file.
64         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
65         all translation units in libc.so, libpthread.so and rtld.
67 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
69         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
73         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
74         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
75         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
76         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
77         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
78         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
79         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
80         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
81         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
82         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
83         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
84         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
85         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
86         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
87         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
88         implementation.
90 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
92         [BZ #17711]
93         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
94         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
95         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
96         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
97         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
98         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
100 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
102         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
103         instead of just saying load lock in the comments.
105 2015-07-23  Roland McGrath  <roland@hack.frob.com>
107         * sysdeps/unix/Subdirs: Moved ...
108         * sysdeps/posix/Subdirs: ... here.
109         * login/pty.h (struct termios, struct winsize): Add forward decls.
110         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
111         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
112         * sysdeps/arm/nacl/libc.abilist: Updated.
113         * sysdeps/nacl/libutil.abilist: New file.
115         * bits/signum.h: Update comments to mention 1003.1-2013 too.
116         (SIGWINCH): New macro.
118         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
119         * sysdeps/arm/nacl/libc.abilist: Add it.
121 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
123         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
125 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
127         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
128         Swap __glibc_reserved0 and sa_flags order.
130 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
132         [BZ #18657]
133         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
134         are pending TLS destructor calls.
135         * include/link.h (struct link_map): Add concurrency note for
136         L_TLS_DTOR_COUNT.
137         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
138         Don't touch the link map flag.  Atomically increment
139         l_tls_dtor_count.
140         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
141         Avoid taking the load lock and don't touch the link map flag.
142         * stdlib/tst-tls-atexit-nodelete.c: New test case.
143         * stdlib/Makefile (tests): Use it.
144         * stdlib/tst-tls-atexit.c (do_test): dlopen
145         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
146         to allow tst-tls-atexit-nodelete test case to use it.
148 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
150         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
151         to bits/types.h.
152         (msgqnum_t): New typedef.
153         (msglen_t): Likewise.
154         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
155         and msg_qbytes type to msglen_t.
157 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
159         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
160         pad0 to __glibc_reserved0.
161         (struct stat64): Likewise.
163 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
165         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
166         Change sa_flags from a long to an int and add __glibc_reserved0 before
167         it for padding.
169 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
171         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
172         anonymous by deleting "siginfo" name.
174 2015-07-21  Roland McGrath  <roland@hack.frob.com>
176         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
177         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
178         rather than __nacl_irt_filename.
179         * sysdeps/nacl/xstat.c (__xstat): Likewise.
181         * NEWS: New item for arm-nacl port.
182         * sysdeps/arm/nacl/libc.abilist: New file.
183         * sysdeps/nacl/ld.abilist: New file.
184         * sysdeps/nacl/libBrokenLocale.abilist: New file.
185         * sysdeps/nacl/libanl.abilist: New file.
186         * sysdeps/nacl/libcrypt.abilist: New file.
187         * sysdeps/nacl/libdl.abilist: New file.
188         * sysdeps/nacl/libm.abilist: New file.
189         * sysdeps/nacl/libpthread.abilist: New file.
190         * sysdeps/nacl/libresolv.abilist: New file.
191         * sysdeps/nacl/librt.abilist: New file.
193 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
195         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
196         __startcontext to initialize the new context.
197         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
198         up CFI directive to forbid further backtracing.
200 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
202         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
203         reference.
204         * charmaps/ANSI_X3.4-1968: Likewise.
205         * charmaps/BS_4730: Likewise.
206         * charmaps/BS_VIEWDATA: Likewise.
207         * charmaps/CP1250: Likewise.
208         * charmaps/CP1251: Likewise.
209         * charmaps/CP1252: Likewise.
210         * charmaps/CP1253: Likewise.
211         * charmaps/CP1254: Likewise.
212         * charmaps/CP1255: Likewise.
213         * charmaps/CP1256: Likewise.
214         * charmaps/CSN_369103: Likewise.
215         * charmaps/EBCDIC-DK-NO: Likewise.
216         * charmaps/GB_1988-80: Likewise.
217         * charmaps/GREEK-CCITT: Likewise.
218         * charmaps/GREEK7: Likewise.
219         * charmaps/INIS-8: Likewise.
220         * charmaps/ISIRI-3342: Likewise.
221         * charmaps/ISO_2033-1983: Likewise.
222         * charmaps/ISO_5427-EXT: Likewise.
223         * locales/POSIX: Likewise.
224         * locales/ar_SA: Likewise.
225         * locales/be_BY: Likewise.
226         * locales/be_BY@latin: Likewise.
227         * locales/ca_ES: Likewise.
228         * locales/cs_CZ: Likewise.
229         * locales/da_DK: Likewise.
230         * locales/de_BE: Likewise.
231         * locales/de_CH: Likewise.
232         * locales/de_LU: Likewise.
233         * locales/en_AU: Likewise.
234         * locales/en_BW: Likewise.
235         * locales/en_CA: Likewise.
236         * locales/en_DK: Likewise.
237         * locales/en_GB: Likewise.
238         * locales/en_IE: Likewise.
239         * locales/en_NZ: Likewise.
240         * locales/en_ZA: Likewise.
241         * locales/en_ZW: Likewise.
242         * locales/es_AR: Likewise.
243         * locales/es_BO: Likewise.
244         * locales/es_CL: Likewise.
245         * locales/es_CO: Likewise.
246         * locales/es_DO: Likewise.
247         * locales/es_EC: Likewise.
248         * locales/es_ES: Likewise.
249         * locales/es_HN: Likewise.
250         * locales/es_MX: Likewise.
251         * locales/es_PA: Likewise.
252         * locales/es_PE: Likewise.
253         * locales/es_PY: Likewise.
254         * locales/es_SV: Likewise.
255         * locales/es_US: Likewise.
256         * locales/es_UY: Likewise.
257         * locales/es_VE: Likewise.
258         * locales/et_EE: Likewise.
259         * locales/fa_IR: Likewise.
260         * locales/fo_FO: Likewise.
261         * locales/fr_CA: Likewise.
262         * locales/fr_CH: Likewise.
263         * locales/gv_GB: Likewise.
264         * locales/he_IL: Likewise.
265         * locales/hr_HR: Likewise.
266         * locales/id_ID: Likewise.
267         * locales/is_IS: Likewise.
268         * locales/it_CH: Likewise.
269         * locales/iw_IL: Likewise.
270         * locales/kl_GL: Likewise.
271         * locales/ko_KR: Likewise.
272         * locales/kw_GB: Likewise.
273         * locales/lg_UG: Likewise.
274         * locales/lt_LT: Likewise.
275         * locales/lv_LV: Likewise.
276         * locales/mi_NZ: Likewise.
277         * locales/nhn_MX: Likewise.
278         * locales/nl_BE: Likewise.
279         * locales/pl_PL: Likewise.
280         * locales/sk_SK: Likewise.
281         * locales/sl_SI: Likewise.
282         * locales/sv_FI: Likewise.
283         * locales/tl_PH: Likewise.
284         * locales/tr_TR: Likewise.
285         * locales/vi_VN: Likewise.
287 2015-07-21  Khem Raj  <raj.khem@gmail.com>
289         [BZ #17475]
290         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
291         of tu_IN and bh_IN.
293 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
295         [BZ #18694]
296         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
297         bits/wordsize.h.
298         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
300 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
302         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
303         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
304         (spawn_thread): New function.
305         (load): Rename to reg_dtor_and_close.  Move dlopen to...
306         (do_test): ... here.  Use IS_LOADED to test for its
307         availability.
309 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
311         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
313 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
315         [BZ #18696]
316         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
317         si_addr_bnd.
318         (si_lower): New.
319         (si_upper): Likewise.
321 2015-07-16  David S. Miller  <davem@davemloft.net>
323         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
325 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
327         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
328         buffer.
329         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
330         fail output information.
332 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
335         and strstr-ppc64..
336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
337         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
338         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
339         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
340         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
342 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
344         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
345         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
346         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
347         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
349 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
351         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
352         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
353         rtld_hidden_proto.
354         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
356 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
358         * tst-nodelete-opened.c (do_test): Add comment to clarify how
359         the test can fail.
361         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
363         [BZ #18676]
364         * elf/tst-nodelete-opened.c: New test case.
365         * elf/tst-nodelete-opened-lib.c: New test case module.
366         * elf/Makefile (tests, modules-names): Use them.
367         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
368         early.
370 2015-07-15  David S. Miller  <davem@davemloft.net>
372         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
373         futex-intenal.h
374         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
375         * sysdeps/sparc/sparc64/Makefile: Likewise.
376         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
377         Remove space from macro define.
378         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
380 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
382         [BZ #17475]
383         * locale/iso-639.def: Update Bhili and Tulu language codes as
384         per iso639-3.
386 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
388         * elf/tst-leaks1.c (main): Converted to ...
389         (do_test): ... this.
390         (TEST_FUNCTION): New macro.
391         Include test-skeleton.c.
392         * localedata/tst-langinfo.c (main): Converted to ...
393         (do_test): ... this.
394         (TEST_FUNCTION): New macro.
395         Include test-skeleton.c.
396         * math/test-fpucw.c (main): Converted to ...
397         (do_test): ... this.
398         (TEST_FUNCTION): New macro.
399         Include test-skeleton.c.
400         * math/test-tgmath.c (main): Converted to ...
401         (do_test): ... this.
402         (TEST_FUNCTION): New macro.
403         Include test-skeleton.c.
404         * math/test-tgmath2.c (main): Converted to ...
405         (do_test): ... this.
406         (TEST_FUNCTION): New macro.
407         Include test-skeleton.c.
408         * setjmp/tst-setjmp.c (main): Converted to ...
409         (do_test): ... this.
410         (TEST_FUNCTION): New macro.
411         Include test-skeleton.c.
412         * stdio-common/tst-sscanf.c (main): Converted to ...
413         (do_test): ... this.
414         (TEST_FUNCTION): New macro.
415         Include test-skeleton.c.
416         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
417         (do_test): ... this.
418         (TEST_FUNCTION): New macro.
419         Include test-skeleton.c.
421         * elf/tst-audit9.c (main): Converted to ...
422         (do_test): ... this.
423         (TEST_FUNCTION): New macro.
424         Include test-skeleton.c.
426 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
428         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
430 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
432         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
433         New variable.
435 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
437         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
439 2015-07-14  Roland McGrath  <roland@hack.frob.com>
441         * sysdeps/generic/dl-fileid.h: New file.
442         * sysdeps/posix/dl-fileid.h: New file.
443         * sysdeps/nacl/dl-fileid.h: New file.
444         * include/link.h: Include <dl-fileid.h>.
445         (struct link_map): Replace l_dev and l_ino with l_file_id.
446         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
447         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
448         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
450 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
452         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
454 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
456         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
457         Add iff $CXX is set.
458         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
459         Likewise.
460         (tst-nodelete-zmodiff): Likewise.
461         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
463 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
465         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
467 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
469         * sysdeps/aarch64/fpu/math_private.h
470         (define math_opt_barrier): Add AArch64 version.
471         (math_force_eval): Likewise.
473 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
475         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
477 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
479         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
480         %ld with %jd and cast to intmax_t.
481         (do_test_length_zero): Likewise.
483 2015-07-10  Roland McGrath  <roland@hack.frob.com>
485         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
487 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
489         * sysdeps/tile/libm-test-ulps: Regenerated.
491         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
492         Comment out the whole function, not just its body.
494 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
496         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
497         locks.
499         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
501 2015-07-10  Torvald Riegel  <triegel@redhat.com>
503         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
504         (sem_assume_only_signals_cause_futex_EINTR): Remove.
506 2015-07-10  Torvald Riegel  <triegel@redhat.com>
508         * sysdeps/nptl/futex-internal.h: New file.
509         * sysdeps/nacl/futex-internal.h: New file.
510         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
511         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
512         error checking.
513         (setxid_unmark_thread): Likewise.
514         (__nptl_setxid): Likewise.
515         (__wait_lookup_done): Likewise.
516         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
517         * nptl/nptl-init.c (sighandler_setxid): Likewise.
518         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
519         * nptl/pthread_once.c (clear_once_control): Likewise.
520         (__pthread_once_slow): Likewise.
521         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
522         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
523         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
524         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
525         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
526         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
527         Likewise.
528         (__pthread_rwlock_rdlock): Likewise.
529         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
530         Likewise.
531         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
532         Likewise.
533         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
534         Likewise.
535         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
536         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
537         Likewise.
538         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
539         __ASSUME_PRIVATE_FUTEX check.
540         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
541         Check that shared futexes are supported.
542         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
543         wrappers with error checking.
544         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
545         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
546         * nptl/pthread_barrierattr_setpshared.c
547         (pthread_barrierattr_setpshared): Check that shared futexes are
548         supported.
549         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
550         Likewise.
551         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
552         Likewise.
553         * nptl/sem_init.c (futex_private_if_supported): Remove.
554         (__new_sem_init): Adapt and check that shared futexes are supported.
555         * nptl/sem_open.c (sem_open): Likewise.
556         * nptl/sem_post.c (futex_wake): Remove.
557         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
558         (do_futex_wait): Use futex wrappers with error checking.
559         * nptl/sem_wait.c: Include lowlevellock.h.
560         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
561         Use futex_supports_pshared.
562         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
563         Use futex wrappers with error checking.
564         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
565         Likewise.
566         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
567         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
568         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
569         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
570         (futex_wake): Likewise.
571         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
572         (do_futex_wait): Use futex wrappers with error checking.
573         (__new_sem_wait_slow): Update EINTR handling.
574         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
576 2015-07-09  Martin Sebor  <msebor@redhat.com>
578         [BZ #18435]
579         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
580         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
581         * nptl/Makefile (test-xfail-tst-once5): Define.
583 2015-07-09  Roland McGrath  <roland@hack.frob.com>
585         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
586         * elf/dl-minimal.c: For readability, reorder some definitions and
587         introduce more page breaks.  Include <stdio.h>.
588         (__libc_fatal): New function.
590         * include/unistd.h: Add rtld_hidden_proto for _exit.
591         * posix/_exit.c: Add rtld_hidden_def.
592         * sysdeps/mach/hurd/_exit.c: Likewise.
593         * sysdeps/nacl/_exit.c: Likewise.
594         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
595         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
597 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
599         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
600         bndmov encoding with zero displacement.
602 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
603             H.J. Lu  <hongjiu.lu@intel.com>
605         [BZ #18134]
606         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
607         * sysdeps/i386/configure: Regenerated.
608         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
609         (_dl_runtime_profile): Save and restore Intel MPX return bound
610         registers when calling _dl_call_pltexit.  Add
611         PRESERVE_BND_REGS_PREFIX before return.
612         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
613         (LRV_BND1_OFFSET): Likewise.
614         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
615         lrv_bnd1.
616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
617         typo in bndmov encoding.
618         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
619         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
620         branch instructions to preserve bounds.
622 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
625         [GLIBC_2.22]: Add fmemopen.
627 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
629         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
630         returns an error, also try to use host port from __mach_host_self for
631         the __vm_wire call.
632         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
634 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
636         [BZ #18400]
637         [BZ #18648]
638         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
639         Fix pr_uid and pr_gid members.
640         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
641         definition to elf_greg_t.
643 2015-07-08  Roland McGrath  <roland@hack.frob.com>
645         [BZ #18383]
646         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
647         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
648         * sysdeps/arm/configure: Regenerated.
649         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
650         (test-xfail-tst-tlsalign-static): Variable removed.
652         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
653         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
654         rather than explicit 'ln -s'.
656         * resolv/rpc/netdb.h: New file.
657         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
659 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
661         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
662         length buffers.
663         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
664         test-skeleton.c.
666         [BZ #6544]
667         [BZ #11216]
668         [BZ #12836]
669         [BZ #13151]
670         [BZ #13152]
671         [BZ #14292]
672         * include/stdio.h (fmemopen): Remove hidden prototype.
673         (__fmemopen): Add new hidden prototype.
674         * libio/Makefile: Add oldfmemopen object.
675         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
676         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
677         compliance.
678         * libio/oldfmemopen.c: New file: old fmemopen implementation for
679         symbol compatibility.
680         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
681         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
682         fmemopen.
683         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
684         on append and read mode.
685         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
686         fmemopen.
687         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
688         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
689         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
690         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
691         Likewise.
692         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
693         [GLIBC_2.22]: Likewise.
694         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
695         Likewise.
696         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
697         Likewise.
698         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
699         [GLIBC_2.22]: Likewise.
700         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
701         [GLIBC_2.22]: Likewise.
702         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
703         [GLIBC_2.22]: Likewise.
704         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
705         [GLIBC_2.22]: Likewise.
706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
707         [GLIBC_2.22]: Likewise.
708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
709         [GLIBC_2.22]: Likewise.
710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
711         [GLIBC_2.22]: Likewise.
712         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
713         Likewise.
714         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
715         Likewise.
716         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
717         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
718         [GLIBC_2.22]: Likewise.
719         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
720         [GLIBC_2.22]: Likewise.
721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
722         [GLIBC_2.22]: Likewise.
723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
724         [GLIBC_2.22]: Likewise.
725         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
726         Likewise.
727         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
728         Likewise.
729         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
730         Likewise.
731         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
732         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
734 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
736         [BZ #18643]
737         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
738         IPV6_PATHMTU, and IPV6_DONTFRAG.
740 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
742         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
743         and _IO_UNBUFFERED.
744         * libio/oldfileops.c: Likewise.
745         * libio/wfileops.c: Likewise.
747 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
749         * nscd/selinux.c: Delete selinux/flask.h include.
751 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
753         [BZ #18641]
754         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
755         (putpwent): Likewise.
756         (getpwnam): Likewise.
757         (getpwent_r): Likewise.
758         (getpwuid_r): Likewise.
759         (getpwnam_r): Likewise.
760         (fgetpwent_r): Likewise.
762 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
764         [BZ #18557]
765         * inet/rcmd.c (__validuser2_sa): Check user first to
766         short-circuit host check.
768 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
769             Mikhail Ilin  <m.ilin@samsung.com>
771         [BZ #17833]
772         * elf/Makefile (tests): Add tst-nodelete.
773         (modules-names): Add tst-nodelete-uniquemod.
774         (tst-nodelete-uniquemod.so-no-z-defs): New.
775         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
776         (tst-nodelete-zmod.so-no-z-defs): Likewise.
777         ($(objpfx)tst-nodelete): Likewise.
778         ($(objpfx)tst-nodelete.out): Likewise.
779         (LDFLAGS-tst-nodelete): Likewise.
780         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
781         * elf/dl-close.c (_dl_close_worker): Add a parameter to
782         implement forced object deletion.
783         (_dl_close): Pass false to _dl_close_worker.
784         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
785         * elf/tst-nodelete.cc: New file.
786         * elf/tst-nodeletelib.cc: Likewise.
787         * elf/tst-znodeletelib.cc: Likewise.
788         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
790 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
792         [BZ #18508]
793         * stdlib/Makefile ($(objpfx)tst-makecontext3):
794         Depend on $(libdl).
795         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
796         is not called infinitely times.
797         (backtrace_helper): New function.
798         (trace_arg): New struct.
799         (st1): Enlarge stack size.
800         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
801         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
802         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
803         Likewise.
805 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
807         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
809 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
811         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
812         Include sys/types.h instead of bits/types.h.
813         Remove inclusion of bits/wordsize.h.
815 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
817         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
818         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
819         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
820         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
821         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
822         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
824 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
826         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
827         link-defines.sym.
828         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
829         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
830         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
831         and LR_SIZE.
832         * sysdeps/i386/link-defines.sym: New file.
834 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
836         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
837         (modules-names): Add tst-auditmod3a tst-auditmod3b.
838         ($(objpfx)tst-audit3): New rule.
839         ($(objpfx)tst-audit3.out): Likewise.
840         * sysdeps/i386/tst-audit3.c: New file.
841         * sysdeps/i386/tst-audit3.h: Likewise.
842         * sysdeps/i386/tst-auditmod3a.c: Likewise.
843         * sysdeps/i386/tst-auditmod3b.c: Likewise.
845 2015-07-07  Torvald Riegel  <triegel@redhat.com>
847         [BZ #18633]
848         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
849         pointer in C code.
850         (__strcat_c): Likewise.
851         (__strcat_g): Likewise.
853 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
855         [BZ #18592]
856         * misc/sbrk.c: Set errno to ENOMEM on overflow.
858 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
860         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
861         New function.  (__ieee754_sqrtf): New function.
862         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
863         New function.
864         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
865         New function.
867 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
869         * sysdeps/ieee754/support.c: Remove unused file.
871 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
873         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
874         registers instead of d ones so the layout is kernel abi compatible.
875         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
876         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
877         Likewise.
879 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
881         * sysdeps/aarch64/libm-test-ulps: Regenerated.
883 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
885         [BZ #18619]
886         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
887         and return argument in case of subnormal argument.
889 2015-07-01  Martin Sebor  <msebor@redhat.com>
891         [BZ #18435]
892         * nptl/Makefile: Add tst-once5.cc.
893         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
894         Remove macro redefinitions.
895         * nptl/tst-once5.cc: New test.
897 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
899         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
901         * sysdeps/arm/libm-test-ulps: Regenerated.
903         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
904         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
906 2015-06-30  Torvald Riegel  <triegel@redhat.com>
908         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
909         lll_lock_wait_private and lll_futex_wake probes.
911         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
912         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
913         Likewise.
914         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
915         atomic_spin_nop.
916         * sysdeps/x86_64/bits/atomic.h: Likewise.
917         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
918         to atomic_spin_nop and move ...
919         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
920         ... here and ...
921         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
922         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
923         atomic_spin_nop instead of BUSY_WAIT_NOP.
924         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
925         Likewise.
926         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
927         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
928         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
929         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
930         instead of atomic_delay.
932 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
934         [BZ #18613]
935         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
936         X_ADJ not X when adjusting exponent.
937         (__ieee754_gamma_r): Do intermediate computations in
938         round-to-nearest then adjust overflowing and underflowing results
939         as needed.
940         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
941         of X_ADJ not X when adjusting exponent.
942         (__ieee754_gammaf_r): Do intermediate computations in
943         round-to-nearest then adjust overflowing and underflowing results
944         as needed.
945         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
946         log of X_ADJ not X when adjusting exponent.
947         (__ieee754_gammal_r): Do intermediate computations in
948         round-to-nearest then adjust overflowing and underflowing results
949         as needed.  Use 1.0L not 1.0f as numerator of division.
950         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
951         log of X_ADJ not X when adjusting exponent.
952         (__ieee754_gammal_r): Do intermediate computations in
953         round-to-nearest then adjust overflowing and underflowing results
954         as needed.  Use 1.0L not 1.0f as numerator of division.
955         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
956         of X_ADJ not X when adjusting exponent.
957         (__ieee754_gammal_r): Do intermediate computations in
958         round-to-nearest then adjust overflowing and underflowing results
959         as needed.  Use 1.0L not 1.0f as numerator of division.
960         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
961         to auto-libm-test-in.
962         (tgamma_test): Use ALL_RM_TEST.
963         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
964         tests of tgamma with spurious-overflow.
965         * math/auto-libm-test-out: Regenerated.
966         * math/gen-libm-have-vector-test.sh: Do not check for START.
967         * sysdeps/i386/fpu/libm-test-ulps: Update.
968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
970         [BZ #18612]
971         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
972         arguments, just return 0.5 times the argument, with underflow
973         forced as needed.
974         * math/auto-libm-test-in: Add more tests of j1.
975         * math/auto-libm-test-out: Regenerated.
977         [BZ #16559]
978         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
979         (__ieee754_j1): Force underflow exception for small results.
980         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
981         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
982         (__ieee754_j1f): Force underflow exception for small results.
983         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
984         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
985         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
986         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
987         (__ieee754_j1l): Force underflow exception for small results.
988         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
989         * math/auto-libm-test-in: Add more tests of j1 and jn.
990         * math/auto-libm-test-out: Regenerated.
992         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
993         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
994         (PF_MPLS): Likewise.
995         (AF_IB): Likewise.
996         (AF_MPLS): Likewise.
997         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
998         value and macro.
999         (MS_RMT_MASK): Include MS_LAZYTIME.
1001 2015-06-26  Mel Gorman  <mgorman@suse.de>
1003         [BZ #18502]
1004         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1005         already minimal.
1007 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1009         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1010         (DT_MIPS_NUM): Update.
1011         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1012         DT_MIPS_RLD_MAP_REL.
1014 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1016         [BZ #16559]
1017         [BZ #18602]
1018         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1019         round-to-nearest internally then recompute results that
1020         underflowed to zero in the original rounding mode.
1021         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1022         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1023         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1024         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1025         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1026         * sysdeps/i386/fpu/libm-test-ulps: Update.
1027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1029 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1031         * NEWS: Fixed description of link with vector math library.
1033 2015-06-25  Andreas Schwab  <schwab@suse.de>
1035         [BZ #18549]
1036         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1037         * libio/test-fmemopen.c (do_test): Add test for it.
1039 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1041         [BZ #17841]
1042         * Makeconfig (no-pie-ldflag): New.
1043         (+link): Set to $(+link-pie) if default to PIE.
1044         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1045         * config.make.in (build-pie-default): New.
1046         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1047         is default.  AC_SUBST.
1048         * configure: Regenerated.
1049         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1051 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1053         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1054         to 'unsigned int'.
1056         * resolv/gai_misc.h (struct waitlist): Change type of field
1057         counterp to 'volatile unsigned int *'.
1058         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1059         FUTEXADDR and OLDVAL.
1060         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1061         Give local variable TOTAL type 'volatile unsigned int'.
1062         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1063         * resolv/gai_suspend.c (gai_suspend):
1064         Give local variable CNTR type 'unsigned int'.
1066         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1067         counterp to 'volatile unsigned int *'.
1068         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1069         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1070         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1071         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1072         Give local variable TOTAL type 'volatile unsigned int'.
1073         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1075 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1077         [BZ #18383]
1078         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1079         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1080         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1081         comment for i386/x86-64.
1082         (test-xfail-tst-tlsalign-extern-static): Removed.
1084 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1086         * math/test-double.h: New file.
1087         * math/test-float.h: Likewise.
1088         * math/test-ldouble.h: Likewise.
1089         * math/test-math-inline.h: Likewise.
1090         * math/test-math-no-inline.h: Likewise.
1091         * math/test-math-scalar.h: Likewise.
1092         * math/test-math-vector.h: Likewise.
1093         * math/test-vec-loop.h: Remove file.  Contents moved into
1094         test-math-vector.h.
1095         * math/libm-test.inc (MATHCONST): Do not document macro.
1096         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1097         and test-math-scalar.h.
1098         (FUNC): Remove macro.
1099         (FUNC_TEST): Likewise.
1100         (FLOAT): Likewise.
1101         (MATHCONST): Likewise.
1102         (PRINTF_EXPR): Likewise.
1103         (PRINTF_XEXPR): Likewise.
1104         (PRINTF_NEXPR): Likewise.
1105         (TEST_DOUBLE): Likewise.
1106         (TEST_MATHVEC): Likewise.
1107         (__NO_MATH_INLINES): Likewise.
1108         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1109         and test-math-scalar.h.
1110         (FUNC): Remove macro.
1111         (FUNC_TEST): Likewise.
1112         (FLOAT): Likewise.
1113         (MATHCONST): Likewise.
1114         (PRINTF_EXPR): Likewise.
1115         (PRINTF_XEXPR): Likewise.
1116         (PRINTF_NEXPR): Likewise.
1117         (TEST_FLOAT): Likewise.
1118         (TEST_MATHVEC): Likewise.
1119         (__NO_MATH_INLINES): Likewise.
1120         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1121         and test-math-scalar.h.
1122         (FUNC): Remove macro.
1123         (FUNC_TEST): Likewise.
1124         (FLOAT): Likewise.
1125         (MATHCONST): Likewise.
1126         (PRINTF_EXPR): Likewise.
1127         (PRINTF_XEXPR): Likewise.
1128         (PRINTF_NEXPR): Likewise.
1129         (TEST_DOUBLE): Likewise.
1130         (TEST_MATHVEC): Likewise.
1131         (TEST_INLINE): Likewise.
1132         (__NO_MATH_INLINES): Likewise.
1133         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1134         test-math-scalar.h.
1135         (FUNC): Remove macro.
1136         (FUNC_TEST): Likewise.
1137         (FLOAT): Likewise.
1138         (MATHCONST): Likewise.
1139         (PRINTF_EXPR): Likewise.
1140         (PRINTF_XEXPR): Likewise.
1141         (PRINTF_NEXPR): Likewise.
1142         (TEST_FLOAT): Likewise.
1143         (TEST_MATHVEC): Likewise.
1144         (TEST_INLINE): Likewise.
1145         (__NO_MATH_INLINES): Likewise.
1146         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1147         and test-math-scalar.h.
1148         (FUNC): Remove macro.
1149         (FUNC_TEST): Likewise.
1150         (FLOAT): Likewise.
1151         (MATHCONST): Likewise.
1152         (PRINTF_EXPR): Likewise.
1153         (PRINTF_XEXPR): Likewise.
1154         (PRINTF_NEXPR): Likewise.
1155         (TEST_LDOUBLE): Likewise.
1156         (TEST_MATHVEC): Likewise.
1157         (TEST_INLINE): Likewise.
1158         (__NO_MATH_INLINES): Likewise.
1159         * math/test-ldouble.c: Include test-ldouble.h,
1160         test-math-no-inline.h and test-math-scalar.h.
1161         (FUNC): Remove macro.
1162         (FUNC_TEST): Likewise.
1163         (FLOAT): Likewise.
1164         (MATHCONST): Likewise.
1165         (PRINTF_EXPR): Likewise.
1166         (PRINTF_XEXPR): Likewise.
1167         (PRINTF_NEXPR): Likewise.
1168         (TEST_LDOUBLE): Likewise.
1169         (TEST_MATHVEC): Likewise.
1170         (__NO_MATH_INLINES): Likewise.
1171         * math/test-double-vlen2.h: Include test-double.h,
1172         test-math-no-inline.h and test-math-vector.h.
1173         (FLOAT): Remove macro.
1174         (FUNC): Likewise.
1175         (MATHCONST): Likewise.
1176         (PRINTF_EXPR): Likewise.
1177         (PRINTF_XEXPR): Likewise.
1178         (PRINTF_NEXPR): Likewise.
1179         (TEST_DOUBLE): Likewise.
1180         (TEST_MATHVEC): Likewise.
1181         (__NO_MATH_INLINES): Likewise.
1182         (CNCT): Likewise.
1183         (CONCAT): Likewise.
1184         (WRAPPER_NAME): Likewise.
1185         (WRAPPER_DECL): Likewise.
1186         (WRAPPER_DECL_ff): Likewise.
1187         (WRAPPER_DECL_fFF): Likewise.
1188         (VECTOR_WRAPPER): Likewise.
1189         (VECTOR_WRAPPER_ff): Likewise.
1190         (VECTOR_WRAPPER_fFF): Likewise.
1191         (VEC_LEN): New macro.
1192         * math/test-double-vlen4.h: Include test-double.h,
1193         test-math-no-inline.h and test-math-vector.h.
1194         (FLOAT): Remove macro.
1195         (FUNC): Likewise.
1196         (MATHCONST): Likewise.
1197         (PRINTF_EXPR): Likewise.
1198         (PRINTF_XEXPR): Likewise.
1199         (PRINTF_NEXPR): Likewise.
1200         (TEST_DOUBLE): Likewise.
1201         (TEST_MATHVEC): Likewise.
1202         (__NO_MATH_INLINES): Likewise.
1203         (CNCT): Likewise.
1204         (CONCAT): Likewise.
1205         (WRAPPER_NAME): Likewise.
1206         (WRAPPER_DECL): Likewise.
1207         (WRAPPER_DECL_ff): Likewise.
1208         (WRAPPER_DECL_fFF): Likewise.
1209         (VECTOR_WRAPPER): Likewise.
1210         (VECTOR_WRAPPER_ff): Likewise.
1211         (VECTOR_WRAPPER_fFF): Likewise.
1212         (VEC_LEN): New macro.
1213         * math/test-double-vlen8.h: Include test-double.h,
1214         test-math-no-inline.h and test-math-vector.h.
1215         (FLOAT): Remove macro.
1216         (FUNC): Likewise.
1217         (MATHCONST): Likewise.
1218         (PRINTF_EXPR): Likewise.
1219         (PRINTF_XEXPR): Likewise.
1220         (PRINTF_NEXPR): Likewise.
1221         (TEST_DOUBLE): Likewise.
1222         (TEST_MATHVEC): Likewise.
1223         (__NO_MATH_INLINES): Likewise.
1224         (CNCT): Likewise.
1225         (CONCAT): Likewise.
1226         (WRAPPER_NAME): Likewise.
1227         (WRAPPER_DECL): Likewise.
1228         (WRAPPER_DECL_ff): Likewise.
1229         (WRAPPER_DECL_fFF): Likewise.
1230         (VECTOR_WRAPPER): Likewise.
1231         (VECTOR_WRAPPER_ff): Likewise.
1232         (VECTOR_WRAPPER_fFF): Likewise.
1233         (VEC_LEN): New macro.
1234         * math/test-float-vlen4.h: Include test-float.h,
1235         test-math-no-inline.h and test-math-vector.h.
1236         (FLOAT): Remove macro.
1237         (FUNC): Likewise.
1238         (MATHCONST): Likewise.
1239         (PRINTF_EXPR): Likewise.
1240         (PRINTF_XEXPR): Likewise.
1241         (PRINTF_NEXPR): Likewise.
1242         (TEST_FLOAT): Likewise.
1243         (TEST_MATHVEC): Likewise.
1244         (__NO_MATH_INLINES): Likewise.
1245         (CNCT): Likewise.
1246         (CONCAT): Likewise.
1247         (WRAPPER_NAME): Likewise.
1248         (WRAPPER_DECL): Likewise.
1249         (WRAPPER_DECL_ff): Likewise.
1250         (WRAPPER_DECL_fFF): Likewise.
1251         (VECTOR_WRAPPER): Likewise.
1252         (VECTOR_WRAPPER_ff): Likewise.
1253         (VECTOR_WRAPPER_fFF): Likewise.
1254         (VEC_LEN): New macro.
1255         * math/test-float-vlen8.h: Include test-float.h,
1256         test-math-no-inline.h and test-math-vector.h.
1257         (FLOAT): Remove macro.
1258         (FUNC): Likewise.
1259         (MATHCONST): Likewise.
1260         (PRINTF_EXPR): Likewise.
1261         (PRINTF_XEXPR): Likewise.
1262         (PRINTF_NEXPR): Likewise.
1263         (TEST_FLOAT): Likewise.
1264         (TEST_MATHVEC): Likewise.
1265         (__NO_MATH_INLINES): Likewise.
1266         (CNCT): Likewise.
1267         (CONCAT): Likewise.
1268         (WRAPPER_NAME): Likewise.
1269         (WRAPPER_DECL): Likewise.
1270         (WRAPPER_DECL_ff): Likewise.
1271         (WRAPPER_DECL_fFF): Likewise.
1272         (VECTOR_WRAPPER): Likewise.
1273         (VECTOR_WRAPPER_ff): Likewise.
1274         (VECTOR_WRAPPER_fFF): Likewise.
1275         (VEC_LEN): New macro.
1276         * math/test-float-vlen16.h: Include test-float.h,
1277         test-math-no-inline.h and test-math-vector.h.
1278         (FLOAT): Remove macro.
1279         (FUNC): Likewise.
1280         (MATHCONST): Likewise.
1281         (PRINTF_EXPR): Likewise.
1282         (PRINTF_XEXPR): Likewise.
1283         (PRINTF_NEXPR): Likewise.
1284         (TEST_FLOAT): Likewise.
1285         (TEST_MATHVEC): Likewise.
1286         (__NO_MATH_INLINES): Likewise.
1287         (CNCT): Likewise.
1288         (CONCAT): Likewise.
1289         (WRAPPER_NAME): Likewise.
1290         (WRAPPER_DECL): Likewise.
1291         (WRAPPER_DECL_ff): Likewise.
1292         (WRAPPER_DECL_fFF): Likewise.
1293         (VECTOR_WRAPPER): Likewise.
1294         (VECTOR_WRAPPER_ff): Likewise.
1295         (VECTOR_WRAPPER_fFF): Likewise.
1296         (VEC_LEN): New macro.
1297         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1298         test-vec-loop.h.
1299         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1300         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1301         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1302         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1303         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1304         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1305         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1307 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1309         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1310         (__getlogin_r): ... this.
1312 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1314         [BZ #18594]
1315         * math/s_ccosh.c (__ccosh): Compare with least normal value
1316         instead of comparing class with FP_SUBNORMAL.
1317         * math/s_ccoshf.c (__ccoshf): Likewise.
1318         * math/s_ccoshl.c (__ccoshl): Likewise.
1319         * math/s_cexp.c (__cexp): Likewise.
1320         * math/s_cexpf.c (__cexpf): Likewise.
1321         * math/s_cexpl.c (__cexpl): Likewise.
1322         * math/s_csin.c (__csin): Likewise.
1323         * math/s_csinf.c (__csinf): Likewise.
1324         * math/s_csinh.c (__csinh): Likewise.
1325         * math/s_csinhf.c (__csinhf): Likewise.
1326         * math/s_csinhl.c (__csinhl): Likewise.
1327         * math/s_csinl.c (__csinl): Likewise.
1328         * math/s_ctan.c (__ctan): Likewise.
1329         * math/s_ctanf.c (__ctanf): Likewise.
1330         * math/s_ctanh.c (__ctanh): Likewise.
1331         * math/s_ctanhf.c (__ctanhf): Likewise.
1332         * math/s_ctanhl.c (__ctanhl): Likewise.
1333         * math/s_ctanl.c (__ctanl): Likewise.
1334         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1335         csin, csinh, ctan and ctanh.
1336         * math/auto-libm-test-out: Regenerated.
1337         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1338         * sysdeps/i386/fpu/libm-test-ulps: Update.
1339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1341 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1343         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1344         return value is wrong, print the expected value too.
1346 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1348         [BZ #18585]
1349         * elf/readlib.c (is_gdb_python_file): New.
1350         (process_file): Don't issue errors on filenames with -gdb.py
1351         suffix.
1353 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1355         * math/auto-libm-test-in: Add more tests of csin and csinh.
1356         * math/auto-libm-test-out: Regenerated.
1357         * math/libm-test.inc (csin_test_data): Remove tests moved to
1358         auto-libm-test-in.
1359         (csinh_test_data): Likewise.
1361         [BZ #18593]
1362         * math/s_csin.c (__csin): Negate before rather than after possibly
1363         overflowing multiplication.
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/auto-libm-test-in: Add some tests of csin and csinh.
1370         * math/auto-libm-test-out: Regenerated.
1371         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1372         (csinh_test_data): Likewise.
1373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1375         [BZ #18586]
1376         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1377         underflow exception for small results.
1379 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1381         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1382         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1383         variable and included header.
1384         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1385         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1386         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1387         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1388         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1389         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1390         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1391         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1392         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1393         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1394         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1395         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1396         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1397         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1398         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1399         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1401 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1403         [BZ #16526]
1404         [BZ #16538]
1405         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1406         (__sin): Force underflow exception for arguments with small
1407         absolute value.
1408         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1409         (__kernel_sinf): Force underflow exception for arguments with
1410         small absolute value.
1411         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1412         (__kernel_sincosl): Force underflow exception for arguments with
1413         small absolute value.
1414         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1415         (__kernel_sinl): Force underflow exception for arguments with
1416         small absolute value.
1417         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1418         (__kernel_sincosl): Force underflow exception for arguments with
1419         small absolute value.
1420         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1421         (__kernel_sinl): Force underflow exception for arguments with
1422         small absolute value.
1423         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1424         (__kernel_sinl): Force underflow exception for arguments with
1425         small absolute value.
1426         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1427         (__kernel_sinf): Force underflow exception for arguments with
1428         small absolute value.
1429         * math/auto-libm-test-in: Add more tests of sin and sincos.
1430         * math/auto-libm-test-out: Regenerated.
1432         [BZ #18245]
1433         [BZ #18583]
1434         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1435         (__kernel_standard_l): Use feholdexcept and fesetenv around
1436         conversion to double instead of special-casing overflow and
1437         underflow.
1438         * math/libm-test.inc (fmod_test_data): Add more tests.
1439         (remainder_test_data): Likewise.
1440         (sqrt_test_data): Likewise.
1442 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1444         [BZ #17403]
1445         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1446         atomic_read_barrier, atomic_write_barrier): Define.
1447         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1448         atomic_read_barrier, atomic_write_barrier): Define.
1450 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1452         * math/Makefile [$(PERL) != no]
1453         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1454         dependency on libm-test.stmp below the inclusion of Rules.
1456 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1460         and included header.
1461         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1462         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1463         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1464         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1465         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1466         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1467         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1468         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1469         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1470         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1471         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1472         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1473         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1474         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1475         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1476         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1477         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1478         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1479         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1481 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1483         [BZ #18371]
1484         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1485         intermediate but not final result might underflow.
1486         * math/s_csqrtf.c (__csqrtf): Likewise.
1487         * math/s_csqrtl.c (__csqrtl): Likewise.
1488         * math/auto-libm-test-in: Add more tests of csqrt.
1489         * math/auto-libm-test-out: Regenerated.
1490         * sysdeps/i386/fpu/libm-test-ulps: Update.
1492         [BZ #18219]
1493         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1494         threshold on absolute value of exponent for which scaling is used.
1495         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1496         * math/auto-libm-test-in: Add more tests of exp2.
1497         * math/auto-libm-test-out: Regenerated.
1499 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1501         [BZ #17977]
1502         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1503         when initializing interface list, based on the bug analysis
1504         and the patch proposed by Eric Newton.
1505         * resolv/tst-res_hconf_reorder.c: New test.
1506         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1507         tst-res_hconf_reorder.
1508         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1509         and $(shared-thread-library).
1510         (tst-res_hconf_reorder-ENV): New variable.
1512         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1513         in comment.
1515 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1517         [BZ #16353]
1518         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1519         (__expm1): Force underflow exception for arguments with small
1520         absolute value.
1521         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1522         (__expm1f): Force underflow exception for arguments with small
1523         absolute value.
1524         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1525         (__expm1): Force underflow exception for arguments with small
1526         absolute value.
1527         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1528         (__expm1f): Force underflow exception for arguments with small
1529         absolute value.
1530         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1531         Check for small arguments before calling __expm1.
1532         * math/auto-libm-test-in: Do not mark underflow exceptions as
1533         possibly missing for bug 16353.
1534         * math/auto-libm-test-out: Regenerated.
1536 2015-06-22  Andreas Schwab  <schwab@suse.de>
1538         [BZ #18513]
1539         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1540         PTR queries.
1542 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1544         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1546         * string/strcoll_l.c: Remove unused struct element idxnow.
1548 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1550         [BZ #18569]
1551         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1552         underflow and return argument in case of subnormal argument.
1553         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1554         Likewise.
1555         * math/auto-libm-test-in: Add more tests of expm1.
1556         * math/auto-libm-test-out: Regenerated.
1558         [BZ #16361]
1559         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1560         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1561         tiny results.
1562         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1563         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1564         tiny results.
1565         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1566         mark underflow exceptions as possibly missing for bug 16361.
1567         * math/auto-libm-test-out: Regenerated.
1569 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1571         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1572         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1573         Remove variable.
1574         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1575         (test-xfail-XOPEN2K8/utmpx.h/conform).
1577         * conform/conformtest.pl ($xerrors): New variable.
1578         (note_error): New function.
1579         (compiletest): New argument $xfail.  Use not_error.
1580         (runtest): Likewise.
1581         (top level): Handle xfail- lines.  Update calls to compiletest and
1582         runtest.  Handle xfail- and optional- in headers listed with
1583         allow-header.
1584         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1585         (O_EXEC): Likewise.
1586         (O_SEARCH): Likewise.
1587         * conform/data/stropts.h-data (ioctl): Likewise.
1588         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1589         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1590         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1591         (msghdr.msg_controllen): Likewise.
1592         (cmsghdr.cmsg_len): Likewise.
1593         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1594         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1595         variable.
1596         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1597         (test-xfail-XPG4/stropts.h/conform): Likewise.
1598         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1599         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1600         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1601         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1602         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1603         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1604         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1605         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1606         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1607         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1608         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1609         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1610         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1611         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1612         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1613         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1614         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1615         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1616         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1618 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1620         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1621         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1622         definitions for proper unfolding of __MATHDECL_VEC.
1624 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1626         * benchtests/bench-strcoll.c:
1627         Include string.h.
1628         (main): Remove unused variable res.
1630 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1632         * timezone/Makefile (%/UTC %/Universal):
1633         Generate test-result files for UTC and Universal.
1635 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1637         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1639 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1641         [BZ #16350]
1642         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1643         for arguments with small absolute value.
1644         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1645         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1646         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1647         (__asinh): Force underflow exception for arguments with small
1648         absolute value.
1649         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1650         (__asinhf): Force underflow exception for arguments with small
1651         absolute value.
1652         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1653         (__asinhl): Force underflow exception for arguments with small
1654         absolute value.
1655         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1656         (__asinhl): Force underflow exception for arguments with small
1657         absolute value.
1658         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1659         (__asinhl): Force underflow exception for arguments with small
1660         absolute value.
1661         * math/auto-libm-test-in: Do not mark underflow exceptions as
1662         possibly missing for bug 16350.
1663         * math/auto-libm-test-out: Regenerated.
1665         * include/bits/ipc.h: Remove file.
1666         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1667         variable.
1668         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1669         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1670         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1671         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1672         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1673         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1674         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1675         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1676         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1678         * math/auto-libm-test-in: Remove spurious underflow allowance for
1679         tests of cexp.
1680         * math/auto-libm-test-out: Regenerated.
1682         [BZ #18558]
1683         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1684         unconditional definition.
1685         (MCAST_BLOCK_SOURCE): Likewise.
1686         (MCAST_UNBLOCK_SOURCE): Likewise.
1687         (MCAST_LEAVE_GROUP): Likewise.
1688         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1689         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1690         (MCAST_MSFILTER): Likewise.
1691         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1692         Remove variable.
1693         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1694         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1695         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1696         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1697         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1699 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1701         * NEWS: Mention addition of x86_64 vector sincosf.
1702         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1703         * math/test-float-vlen4.h: Likewise.
1704         * math/test-float-vlen8.h: Likewise.
1705         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1706         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1707         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1708         * sysdeps/x86_64/fpu/Versions: New versions added.
1709         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1710         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1711         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1712         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1713         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1714         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1715         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1716         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1717         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1718         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1719         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1720         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1721         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1722         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1723         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1724         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1725         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1726         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1727         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1728         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1729         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1730         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1731         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1732         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1734         * NEWS: Mention addition of x86_64 vector sincos.
1735         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1736         * math/math.h (__MATHDECL_VEC): New macro.
1737         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1738         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1739         declaration under condition.
1740         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1741         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1742         TEST_VEC_LOOP change.
1743         * math/test-double-vlen4.h: Likewise.
1744         * math/test-double-vlen8.h: Likewise.
1745         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1746         * math/test-float-vlen4.h: Likewise.
1747         * math/test-float-vlen8.h: Likewise.
1748         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1749         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1750         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1751         * sysdeps/x86_64/fpu/Versions: New versions added.
1752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1753         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1754         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1755         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1756         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1757         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1758         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1759         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1760         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1761         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1762         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1763         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1764         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1765         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1766         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1767         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1768         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1769         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1770         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1771         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1772         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1773         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1774         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1775         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1777         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1778         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1779         redirections for powf.
1780         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1781         * sysdeps/x86_64/fpu/Versions: New versions added.
1782         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1783         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1784         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1785         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1786         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1787         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1788         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1789         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1790         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1791         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1792         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1793         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1794         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1795         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1796         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1797         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1798         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1799         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1800         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1801         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1802         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1803         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1804         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1805         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1806         * math/test-float-vlen16.h: Fixed 2 argument macro.
1807         * math/test-float-vlen4.h: Likewise.
1808         * math/test-float-vlen8.h: Likewise.
1809         * NEWS: Mention addition of x86_64 vector powf.
1811 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1813         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1814         and redefine.
1815         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1816         and redefine.
1817         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1818         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1819         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1821         [BZ #18553]
1822         * resource/getpriority.c (getpriority): Rename to __getpriority
1823         and define as weak alias of __getpriority.
1824         * resource/setpriority.c (setpriority): Rename to __setpriority
1825         and define as weak alias of __setpriority.
1826         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1827         __getpriority and define as weak alias of __getpriority.
1828         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1829         __setpriority and define as weak alias of __setpriority.
1830         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1831         strong name.
1832         (setpriority): Use __setpriority as strong name.
1833         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1834         __getpriority and define as weak alias of __getpriority.
1835         * include/sys/resource.h (__getpriority): Declare.  Use
1836         libc_hidden_proto.
1837         (__setpriority): Likewise.
1838         (getpriority): Don't use libc_hidden_proto.
1839         (setpriority): Likewise.
1840         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1841         getpriority.  Call __setpriority instead of setpriority.
1842         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1843         Remove variable.
1845         [BZ #18547]
1846         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1847         as weak alias of __getttynam.  Use prototype function definition.
1848         Call __setttyent, __getttyent and __endttyent instead of
1849         setttyent, getttyent and endttyent.
1850         (getttyent): Rename to __getttyent and define as weak alias of
1851         __getttyent.  Call __setttyent instead of setttyent.  Call
1852         __fgets_unlocked instead of fgets_unlocked.
1853         (setttyent): Rename to __setttyent and define as weak alias of
1854         __setttyent.
1855         (endttyent): Rename to __endttyent and define as weak alias of
1856         __endttyent.
1857         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1858         (__setttyent): Likewise.
1859         (__endttyent): Likewise.
1860         (getttyent): Don't use libc_hidden_proto.
1861         (setttyent): Likewise.
1862         (endttyent): Likewise.
1863         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1864         __endttyent instead of setttyent, getttyent and endttyent.
1865         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1866         Remove variable.
1868         [BZ #18546]
1869         * socket/recv.c (__recv): Use libc_hidden_def.
1870         * socket/socket.c (__socket): Likewise.
1871         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1872         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1873         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1874         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1875         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1876         libc_hidden_def.
1877         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1878         libc_hidden_weak.
1879         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1880         Use libc_hidden_proto.
1881         (__recv): Likewise.
1882         * socket/Versions (libc): Export __recv and __socket at version
1883         GLIBC_PRIVATE.
1884         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1885         instead of recv.
1886         (init_mq_netlink): Call __socket instead of socket.
1887         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1888         Remove variable.
1890         [BZ #18545]
1891         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1892         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1893         hidden_weak.
1894         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1895         define as alias of __mq_timedsend.  Use hidden_weak.
1896         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1897         __mq_timedsend as strong name.
1898         (mq_timedreceive): Use __mq_timedreceive as strong name.
1899         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1900         (__mq_timedreceive): Likewise.
1901         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1902         __mq_timedreceive instead of mq_timedreceive.
1903         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1904         instead of mq_timedsend.
1905         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1906         Remove variable.
1908         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1909         hidden_def and hidden_weak instead of libc_hidden_def and
1910         libc_hidden_weak.
1911         (top level): Refer to hidden_def in comment.
1912         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1913         macro.  Use it instead of libc_hidden_def.
1914         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1915         specify __GI_* name explicitly.
1916         (mq_timedreceive): Likewise.
1917         (mq_setattr): Likewise.
1919         [BZ #18544]
1920         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1921         __pthread_barrier_init and define as weak alias of
1922         __pthread_barrier_init.
1923         * sysdeps/sparc/nptl/pthread_barrier_init.c
1924         (pthread_barrier_init): Likewise.
1925         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1926         __pthread_barrier_wait and define as weak alias of
1927         __pthread_barrier_wait.
1928         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1929         (pthread_barrier_wait): Likewise.
1930         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1931         (pthread_barrier_wait): Likewise.
1932         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1933         (pthread_barrier_wait): Likewise.
1934         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1935         (pthread_barrier_wait): Likewise.
1936         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1937         __pthread_barrier_wait at version GLIBC_PRIVATE.
1938         * include/pthread.h (__pthread_barrier_init): Declare.
1939         (__pthread_barrier_wait): Likewise.
1940         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1941         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1942         (helper_thread): Likewise.
1943         (init_mq_netlink): Call __pthread_barrier_init instead of
1944         pthread_barrier_init.
1946         [BZ #18542]
1947         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1948         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1949         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1950         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1951         vswscanf.
1952         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1953         Remove variable.
1955         [BZ #18540]
1956         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1957         strong alias of _IO_fflush.  Use libc_hidden_def.
1958         * libio/iofflush_u.c (fflush_unlocked): Rename to
1959         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1960         Use libc_hidden_weak.
1961         * include/stdio.h (__fflush_unlocked): Declare.  Use
1962         libc_hidden_proto.
1963         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1964         fflush_unlocked.
1965         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1966         Remove variable.
1968         [BZ #18539]
1969         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1970         define as weak alias of __addseverity.
1971         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1972         Remove variable.
1973         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1974         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1975         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1977         [BZ #18536]
1978         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1979         (__tfind): Likewise.
1980         (__tdelete): Likewise.
1981         (__twalk): Likewise.
1982         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1983         __twalk to GLIBC_PRIVATE.
1984         * include/search.h (__tsearch): Use libc_hidden_proto.
1985         (__tfind): Likewise.
1986         (__tdelete): Likewise.
1987         (__twalk): Likewise.
1988         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1989         Call __tdelete instead of tdelete.
1990         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1991         tfind.  Call __tsearch instead of tsearch.
1992         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1993         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1994         Remove variable.
1995         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1997         [BZ #18534]
1998         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1999         (dprintf): Define as a weak alias of __dprintf, not a strong
2000         alias.
2001         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2002         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2003         dprintf.
2004         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2005         Remove variable.
2006         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2007         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2009         [BZ #18533]
2010         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2011         not a strong alias.
2012         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2013         Remove variable.
2015         [BZ #18532]
2016         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2017         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2018         (in6addr_loopback): Rename to __in6addr_loopback and define as
2019         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2020         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2021         libc_hidden_proto.
2022         (__in6addr_any): Likewise.
2023         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2024         in6addr_any.
2025         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2026         variable.
2027         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2029 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2031         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2032         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2033         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2034         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2035         redirections for pow.
2036         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2037         * sysdeps/x86_64/fpu/Versions: New versions added.
2038         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2039         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2040         build of SSE, AVX2 and AVX512 IFUNC versions.
2041         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2042         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2043         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2044         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2045         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2046         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2047         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2048         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2049         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2050         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2051         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2052         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2053         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2054         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2055         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2056         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2057         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2058         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2059         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2060         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2061         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2062         * NEWS: Mention addition of x86_64 vector pow.
2064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2065         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2066         redirections for expf.
2067         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2068         * sysdeps/x86_64/fpu/Versions: New versions added.
2069         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2070         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2071         build of SSE, AVX2 and AVX512 IFUNC versions.
2072         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2073         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2074         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2075         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2076         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2077         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2078         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2079         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2080         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2081         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2082         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2083         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2084         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2085         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2086         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2087         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2089         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2090         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2091         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2092         * NEWS: Mention addition of x86_64 vector expf.
2094         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2095         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2096         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2097         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2098         redirections for exp.
2099         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2100         * sysdeps/x86_64/fpu/Versions: New versions added.
2101         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2102         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2103         build of SSE, AVX2 and AVX512 IFUNC versions.
2104         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2105         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2106         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2107         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2108         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2109         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2110         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2111         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2112         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2113         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2114         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2115         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2116         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2117         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2118         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2119         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2120         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2121         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2122         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2123         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2124         * NEWS: Mention addition of x86_64 vector exp.
2126         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2127         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2128         redirections for logf.
2129         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2130         * sysdeps/x86_64/fpu/Versions: New versions added.
2131         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2132         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2133         build of SSE, AVX2 and AVX512 IFUNC versions.
2134         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2135         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2137         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2140         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2141         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2142         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2143         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2144         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2145         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2146         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2147         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2148         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2149         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2150         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2151         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2152         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2153         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2154         * NEWS: Mention addition of x86_64 vector logf.
2156         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2157         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2158         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2159         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2160         redirections for log.
2161         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2162         * sysdeps/x86_64/fpu/Versions: New versions added.
2163         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2164         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2165         build of SSE, AVX2 and AVX512 IFUNC versions.
2166         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2167         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2168         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2169         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2170         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2171         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2172         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2173         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2174         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2175         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2176         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2177         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2178         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2179         test.
2180         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2181         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2182         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2183         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2184         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2185         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2186         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2187         * NEWS: Mention addition of x86_64 vector log.
2189 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2191         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2192         cfi_adjust_cfa_offset argument.
2193         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2194         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2196         [BZ #18034]
2197         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2198         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2199         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2200         ordering using ldar.
2201         (_dl_tlsdesc_dynamic): Likewise.
2202         (_dl_tlsdesc_return_lazy): Likewise.
2203         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2204         relaxed atomics instead of volatile and synchronize with release store.
2205         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2206         volatile.
2207         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2209 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2211         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2212         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2213         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2214         * sysdeps/x86_64/fpu/Versions: New versions added.
2215         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2216         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2217         build of SSE, AVX2 and AVX512 IFUNC versions.
2218         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2219         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2220         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2221         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2223         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2224         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2225         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2226         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2227         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2228         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2229         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2230         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2231         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2232         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2233         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2234         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2235         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2236         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2237         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2238         * NEWS: Mention addition of x86_64 vector sinf.
2240 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2242         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2243         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2244         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2245         Remove variable.
2246         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2247         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2249 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2251         [BZ #18530]
2252         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2253         strong alias of _IO_fputs.  Use libc_hidden_def.
2254         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2255         and define as weak alias of __fputs_unlocked.  Use
2256         libc_hidden_weak.
2257         * include/stdio.h (__fputs_unlocked): Declare.  Use
2258         libc_hidden_proto.
2259         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2260         fputs_unlocked.
2262         [BZ #18529]
2263         * resolv/netdb.h [__USE_POSIX]: Change condition to
2264         [__USE_XOPEN2K].
2265         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2266         not expect.
2267         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2268         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2269         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2270         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2271         [XPG4 || UNIX98] (AI_ALL): Likewise.
2272         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2273         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2274         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2275         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2276         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2277         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2278         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2279         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2280         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2281         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2282         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2283         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2284         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2285         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2286         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2287         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2288         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2289         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2290         [XPG4 || UNIX98] (gai_strerror): Likewise.
2291         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2292         [XPG4 || UNIX98] (getnameinfo): Likewise.
2294         [BZ #18528]
2295         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2296         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2297         __USE_XOPEN2K8].
2298         (getgrent): Likewise.
2299         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2300         expect.
2301         [XPG3 || POSIX2008] (endgrent): Likewise.
2302         [XPG3] (setgrent): Likewise.
2303         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2304         variable.
2305         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2307         [BZ #18527]
2308         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2309         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2310         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2311         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2312         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2313         * include/unistd.h (__getlogin_r): Declare.  Use
2314         libc_hidden_proto.
2315         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2316         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2317         variable.
2318         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2319         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2320         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2322 2015-06-12  Martin Sebor  <msebor@redhat.com>
2324         [BZ #18512]
2325         * Makerules (check-install-supported): New target.
2326         (install): Add check-install-supported as a dependency.
2327         * manual/install.texi (Installing the C Library): Document
2328         that overriding prefix and exec_prefix is not supported.
2329         Mention DESTDIR.
2330         * INSTALL: Regenerate from the above.
2332 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2334         [BZ #18519]
2335         * posix/Versions (libc): Export __libc_pread at version
2336         GLIBC_PRIVATE.
2337         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2338         instead of pread.
2339         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2340         variable.
2342         [BZ #18522]
2343         * misc/efgcvt_r.c
2344         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2345         (cvt_symbol): Use weak_alias instead of strong_alias.
2346         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2347         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2348         Remove variable.
2349         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2350         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2352         [BZ #18520]
2353         * inet/herrno.c (h_errno): Rename to __h_errno.
2354         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2355         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2356         to __h_errno instead of h_errno.
2357         * nptl/herrno.c (h_errno): Rename to __h_errno.
2358         (__h_errno_location): Refer to __h_errno not h_errno.
2359         * resolv/Versions (h_errno): Rename to __h_errno.
2360         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2361         Remove variable.
2362         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2364 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2366         * configure.ac: More strict check for AVX512 assembler support.
2367         * configure: Regenerated.
2369         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2370         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2371         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2372         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2373         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2374         * sysdeps/x86_64/fpu/Versions: New versions added.
2375         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2376         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2377         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2378         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2379         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2380         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2381         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2382         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2383         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2384         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2385         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2386         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2387         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2388         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2389         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2390         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2391         test.
2392         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2393         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2394         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2395         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2396         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2397         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2398         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2399         * NEWS: Mention addition of x86_64 vector sin.
2401 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2403         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2404         comment.
2406 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2408         [BZ #18479]
2409         * nptl/pt-interp.c: New file.
2410         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2411         Add pt-interp.
2412         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2413         $(common-objpfx)runtime-linker.h.
2415 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2417         * Makeconfig (+interp): Remove unused variable.
2418         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2419         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2420         $(elf-objpfx)runtime-linker.h.
2421         ($(elf-objpfx)runtime-linker.h): Rename to
2422         $(common-objpfx)runtime-linker.h and move ...
2423         * Makerules [$(build-shared) = yes]: ... here.
2424         * elf/interp.c: Include <runtime-linker.h> instead of
2425         <elf/runtime-linker.h>.
2427 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2429         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2430         (__gettimeofday_syscall): Remove vsyscall fallback.
2431         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2432         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2433         Add syscall fallback function.
2434         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2435         if vDSO is not present.
2436         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2437         fallback function.
2438         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2439         present.
2440         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2441         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2443 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2445         [BZ #18497]
2446         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2447         of wcscmp.
2448         (wcscmp): Define as weak alias of WCSCMP.
2449         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2450         wcscoll.
2451         (USE_HIDDEN_DEF): Define.
2452         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2453         __wcscoll.  Don't use libc_hidden_weak.
2454         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2455         wcscmp.
2456         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2457         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2458         __GI_wcscmp.
2459         (weak_alias): Undefine and redefine.
2460         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2461         __wcscmp and define as weak alias of __wcscmp.
2462         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2463         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2464         (__wcscoll): Likewise.
2465         (wcscmp): Don't use libc_hidden_proto.
2466         (wcscoll): Likewise.
2467         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2468         wcscoll.
2469         * posix/regexec.c (check_node_accept_bytes): Likewise.
2470         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2471         variable.
2472         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2473         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2475         [BZ #18507]
2476         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2477         __fstatvfs and define as weak alias of __fstatvfs.  Use
2478         libc_hidden_weak.
2479         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2480         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2481         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2482         Define as alias of __fstatvfs, not fstatvfs.
2483         (fstatvfs64): Likewise.
2484         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2485         Define as alias of __statvfs, not statvfs.
2486         (statvfs64): Likewise.
2487         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2488         Remove variable.
2490 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2493         (HAVE_GETCPU_VSYSCALL): Define.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2495         (HAVE_GETCPU_VSYSCALL): Likewise.
2496         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2497         * sysdeps/unix/sysv/linux/sched_getcpu.c
2498         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2499         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2500         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2501         prototype.
2502         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2503         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2504         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2505         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2506         Define.
2507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2508         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2509         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2510         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2512 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2514         * sysdeps/x86_64/fpu/Makefile: New file.
2515         * sysdeps/x86_64/fpu/Versions: New file.
2516         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2517         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2518         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2519         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2520         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2521         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2522         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2523         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2524         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2525         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2526         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2527         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2528         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2529         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2530         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2531         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2532         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2533         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2534         * sysdeps/x86_64/configure: Regenerated.
2535         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2536         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2537         * manual/install.texi (Configuring and compiling): Document
2538         --disable-mathvec.
2539         * INSTALL: Regenerated.
2540         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2542         * math/Makefile: Added rules for vector tests.
2543         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2544         declaration under condition.
2545         * math/test-double-vlen2.h: New file.
2546         * math/test-double-vlen4.h: New file.
2547         * math/test-double-vlen8.h: New file.
2548         * math/test-vec-loop.h: Added initialization macro.
2549         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2551         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2552         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2553         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2554         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2555         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2556         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2557         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2558         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2559         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2561         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2562         * sysdeps/x86_64/fpu/Versions: New versions added.
2563         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2564         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2565         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2566         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2567         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2568         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2569         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2570         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2571         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2572         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2573         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2574         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2575         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2576         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2577         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2578         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2579         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2580         * NEWS: Mention addition of x86_64 vector cosf.
2582         * math/Makefile: Added CFLAGS for new tests.
2583         * math/test-float-vlen16.h: New file.
2584         * math/test-float-vlen4.h: New file.
2585         * math/test-float-vlen8.h: New file.
2586         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2587         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2588         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2589         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2590         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2591         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2592         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2593         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2594         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2595         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2596         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2598 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2600         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2601         * locale/programs/ld-ctype.c: Likewise.
2603 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2605         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2606         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2607         bit_ZMM16_31_state): New macro.
2608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2609         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2611 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2613         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2615 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2617         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2619 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2621         [BZ #18498]
2622         * libio/memstream.c (open_memstream): Rename to __open_memstream
2623         and define as weak alias of __open_memstream.
2624         * include/stdio.h (__open_memstream): Declare.  Use
2625         libc_hidden_proto.
2626         (open_memstream): Don't use libc_hidden_proto.
2627         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2628         open_memstream.
2629         * posix/getopt.c (_getopt_internal_r): Likewise.
2630         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2631         variable.
2632         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2633         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2634         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2636         [BZ #18496]
2637         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2638         instead of wcrtomb.
2640         [BZ #18483]
2641         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2642         [__USE_XOPEN2K8].  Remove redundant #endif.
2643         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2644         Remove redundant #if.
2645         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2646         Remove variable.
2647         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2648         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2650         [BZ #18495]
2651         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2652         (__iswlower): Likewise.
2653         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2654         (__iswlower): Likewise.
2655         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2656         instead of towlower.
2657         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2658         instead of iswlower.  Call __towupper instead of towupper.
2659         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2660         instead of iswalnum.
2662 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2664         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2665         errors to stderr.
2667 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2669         [BZ #15661]
2670         [BZ #17322]
2671         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2672         Check for overflow properly.  Check for O_APPEND.  Ignore large
2673         file system block sizes.  Add comments about problems.
2674         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2675         * manual/filesys.texi (Storage Allocation): New node.
2677 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2679         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2680         cancellable syscalls.
2681         (SYS_ify): Add guard to no redefine it.
2682         (INLINE_SYSCALL): Likewise.
2683         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2684         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2685         SYSCALL_CANCEL instead.
2686         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2687         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2688         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2689         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2690         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2691         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2692         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2693         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2694         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2695         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2696         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2697         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2698         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2699         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2700         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2701         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2702         Likewise.
2703         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2704         (__libc_pread64): Likewise.
2705         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2706         (__libc_preadv): Likewise.
2707         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2708         (__libc_readv64): Likewise.
2709         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2710         (__libc_pwrite): Likewise.
2711         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2712         (__libc_pwrite64): Likewise.
2713         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2714         (__libc_pwritev): Likewise.
2715         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2716         (__libc_pwritev64): Likewise.
2717         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2718         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2719         (sync_file_range): Likewise.
2720         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2723         Likewise.
2724         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2725         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2726         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2727         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2728         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2729         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2730         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2731         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2735         (__libc_read64): Likewise.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2739         Likewise.
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2741         Likewise.
2742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2743         Likewise.
2744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2745         (__libc_pread64): Likewise.
2746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2747         Likewise.
2748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2749         (__libc_pwrite64): Likewise.
2750         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2751         (sync_file_range): Likewise.
2752         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2753         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2754         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2755         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2756         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2757         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2758         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2759         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2760         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2761         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2762         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2763         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2764         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2765         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2766         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2767         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2768         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2769         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2770         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2771         Likewise.
2772         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2773         Likewise.
2774         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2775         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2776         Likewise.
2777         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2778         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2779         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2780         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2781         Likewise.
2782         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2783         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2784         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2785         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2786         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2788 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2790         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2791         Include dl-vdso.
2792         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2793         Use VDSO routines for gettimeofday, clock_gettime if
2794         available.
2795         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2796         Declare VDSO symbols.
2797         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2798         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2799         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2800         * sysdeps/unix/sysv/linux/arm/Versions: Add
2801         __vdso_clock_gettime.
2803 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2805         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2806         be an inline implementation regardless of library is built within.
2807         (open_not_cancel_2): Likewise.
2808         (__read_nocancel): Likewise.
2809         (__write_nocancel): Likewise.
2810         (openat_not_cancel): Likewise.
2811         (openat_not_cancel_3): Likewise.
2812         (openat64_not_cancel): Likewise.
2813         (openat64_not_cancel_3): Likewise.
2814         (__close_nocancel): Likewise.
2815         (pause_not_cancel): Likewise.
2816         (nanosleep_not_cancel): Likewise.
2817         (sigsuspend_not_cancel): Likewise.
2819 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2821         [BZ #14958]
2822         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2823         wake-up.
2824         (__pthread_rwlock_rdlock_slow): Likewise.
2825         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2826         Likewise.
2827         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2828         Likewise.
2829         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2830         * nptl/tst-rwlock16.c: New file.
2831         * nptl/Makefile (tests): Add new test.
2833 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2835         [BZ #18324]
2836         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2837         missing wake-up of readers.
2838         * nptl/tst-rwlock15.c: New file.
2839         * nptl/Makefile (tests): Add new test.
2841 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2843         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2844         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2845         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2846         and __nacl_supply_interface_rtld.
2847         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2848         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2849         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2850         Add __nacl_supply_interface_rtld.
2851         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2853 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2855         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2856         isfinite.
2857         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2858         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2860 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2862         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2863         __signbit* with standard C99 macros.
2864         * math/e_exp10l.c: Likewise.
2865         * math/e_exp2l.c: Likewise.
2866         * math/e_scalb.c: Likewise.
2867         * math/e_scalbf.c: Likewise.
2868         * math/e_scalbl.c: Likewise.
2869         * math/s_ldexp.c: Likewise.
2870         * math/s_ldexpf.c: Likewise.
2871         * math/s_ldexpl.c: Likewise.
2872         * math/w_atan2.c: Likewise.
2873         * math/w_atan2f.c: Likewise.
2874         * math/w_atan2l.c: Likewise.
2875         * math/w_cosh.c: Likewise.
2876         * math/w_coshf.c: Likewise.
2877         * math/w_coshl.c: Likewise.
2878         * math/w_exp10.c: Likewise.
2879         * math/w_exp10f.c: Likewise.
2880         * math/w_exp10l.c: Likewise.
2881         * math/w_exp2.c: Likewise.
2882         * math/w_exp2f.c: Likewise.
2883         * math/w_exp2l.c: Likewise.
2884         * math/w_fmod.c: Likewise.
2885         * math/w_fmodf.c: Likewise.
2886         * math/w_fmodl.c: Likewise.
2887         * math/w_hypot.c: Likewise.
2888         * math/w_hypotf.c: Likewise.
2889         * math/w_hypotl.c: Likewise.
2890         * math/w_jnl.c: Likewise.
2891         * math/w_lgamma.c: Likewise.
2892         * math/w_lgamma_r.c: Likewise.
2893         * math/w_lgammaf.c: Likewise.
2894         * math/w_lgammaf_r.c: Likewise.
2895         * math/w_lgammal.c: Likewise.
2896         * math/w_lgammal_r.c: Likewise.
2897         * math/w_pow.c: Likewise.
2898         * math/w_powf.c: Likewise.
2899         * math/w_powl.c: Likewise.
2900         * math/w_remainder.c: Likewise.
2901         * math/w_remainderf.c: Likewise.
2902         * math/w_remainderl.c: Likewise.
2903         * math/w_scalb.c: Likewise.
2904         * math/w_scalbf.c: Likewise.
2905         * math/w_scalbl.c: Likewise.
2906         * math/w_scalbln.c: Likewise.
2907         * math/w_scalblnf.c: Likewise.
2908         * math/w_scalblnl.c: Likewise.
2909         * math/w_sinh.c: Likewise.
2910         * math/w_sinhf.c: Likewise.
2911         * math/w_sinhl.c: Likewise.
2912         * math/w_tgamma.c: Likewise.
2913         * math/w_tgammaf.c: Likewise.
2914         * math/w_tgammal.c: Likewise.
2915         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2916         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2917         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2918         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2919         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2920         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2921         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2922         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2923         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2924         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2925         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2926         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2927         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2928         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2929         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2930         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2932         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2937         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2939         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2940         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2942         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2943         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2944         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2946         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2947         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2948         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2949         * stdio-common/printf_fp.c: Likewise.
2950         * stdio-common/printf_fphex.c: Likewise.
2951         * stdio-common/printf_size.c: Likewise.
2953 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2955         [BZ #18470]
2956         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2957         strnlen.
2958         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2959         Remove variable.
2960         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2961         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2962         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2963         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2964         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2965         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2966         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2967         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2968         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2969         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2971         [BZ #18468]
2972         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2973         weak alias of __wmemchr.  Use libc_hidden_weak.
2974         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2975         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2976         instead of wmemchr.
2978 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2980         [BZ #18383]
2981         * elf/tst-tlsalign-extern.c: New file.
2982         * elf/tst-tlsalign-extern-static.c: New file.
2983         * elf/tst-tlsalign-vars.c: New file.
2984         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2985         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2986         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2987         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2988         (test-xfail-tst-tlsalign-extern-static): New variable.
2990 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2992         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2993         Use variable name _sc_err instead of err.
2994         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2995         instead of ret.
2996         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2997         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2998         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2999         (INLINE_SYSCALL): Likewise.
3001         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3002         * include/string.h (__strnlen): Use libc_hidden_proto.
3003         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3004         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3005         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3006         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3007         (libc_hidden_def): Undefine and redefine.
3008         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3009         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3010         __GI_strnlen.
3011         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3012         libc_hidden_def.
3013         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3015         [BZ #18469]
3016         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3017         weak alias of __towlower.  Use libc_hidden_weak.
3018         (towupper): Rename to __towupper and define as weak alias of
3019         __towupper.  Use libc_hidden_weak.
3020         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3021         (__towupper): Likewise.
3022         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3023         __towlower instead of towlower.
3025 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3027         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3028         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3030 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3032         * sysdeps/aarch64/libm-test-ulps: Update.
3034 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3036         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3037         Define.
3038         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3039         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3040         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3041         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3042         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3043         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3044         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3046 2015-06-01  Martin Sebor  <msebor@redhat.com>
3048         [BZ #18116]
3049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3050         (__setcontext): Use extended four-operand version of mtsf whenever
3051         possible.
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3053         (__novec_swapcontext): Likewise.
3055 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3057         * benchtests/scripts/compare_bench.py: New file.
3058         * benchtests/scripts/import_bench.py (mean): New function.
3059         (split_list): Likewise.
3060         (do_for_all_timings): Likewise.
3061         (compress_timings): Likewise.
3063         * benchtests/scripts/import_bench.py: New file.
3064         * benchtests/scripts/validate_benchout.py: Import import_bench
3065         instead of jsonschema.
3066         (validate_bench): Remove function.
3067         (main): Use import_bench.
3069 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3071         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3072         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3074 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3078 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3080         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3081         set THREAD_SELF->tid to a magic value and futex-wake it.
3082         Pass its address to the thread_exit system call.
3083         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3084         bit is clear.
3085         * sysdeps/nacl/lowlevellock.h: New file.
3086         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3088         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3089         Add TIMEOUT to current time, don't subtract it.
3091 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3093         [BZ #2981]
3094         [BZ #18422]
3095         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3096         ($(objpfx)tst-audit2.out): Also depend on
3097         $(objpfx)tst-auditmod9b.so.
3098         * elf/tst-audit2.c: Include <dlfcn.h>.
3099         (calloc_called): New.
3100         (calloc): Allow to be called more than once.
3101         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3103 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3105         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3106         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3108 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3110         * stdlib/monetary.h: Fix comment.
3112 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3114         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3115         Avoid using variables in #defines that might cause shadowing.
3116         (INTERNAL_VSYSCALL_CALL): Likewise.
3118 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3120         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3122         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3123         * nptl/lll_timedlock_wait.c: ... to this new file.
3124         * nptl/Makefile (libpthread-routines): Add it.
3125         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3126         * nptl/lll_timedwait_tid.c: ... to this new file.
3127         * nptl/Makefile (libpthread-routines): Add it.
3128         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3129         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3130         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3131         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3132         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3133         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3134         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3135         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3136         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3137         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3139 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3141         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3142         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3143         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3144         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3145         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3147         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3148         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3149         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3150         * sysdeps/unix/sysv/linux/tile/sysdep.h
3151         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3152         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3153         using vDSO syscall macro.
3155 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3157         [BZ #17293]
3158         * uk_UA: Fix sorting order for Ukrainian locale
3160 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3162         * stdlib/monetary.h: Fix comment.
3164 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3166         [BZ #18234]
3167         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3168         st_mtim and st_ctim members.
3169         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3170         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3171         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3172         (struct stat64): Likewise.
3173         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3174         (struct stat64): Likewise.
3175         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3176         (struct stat64): Likewise.
3178 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3180         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3181         Define and include sysdep-vdso.h.
3182         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3183         Likewise.
3184         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3185         Likewise.
3186         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3187         Define with VDSO_SYMBOL and use PTR_MANGLE.
3188         (__vdso_clock_gettime): Likewise.
3189         (__vdso_clock_getres): Likewise.
3190         (_libc_vdso_platform_setup): Likewise.
3191         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3192         Likewise.
3193         (_libc_vdso_platform_setup): Likewise.
3194         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3195         Likewise.
3196         (__vdso_clock_gettime): Likewise.
3197         (__vdso_clock_getres): Likewise.
3198         (__vdso_get_tbfreq): Likewise.
3199         (__vdso_getcpu): Likewise.
3200         (__vdso_time): Likewise.
3201         (__vdso_sigtramp_rt64): Likewise.
3202         (__vdso_signtramp32): Likewise.
3203         (__vdso_sigtramp_rt32): Likewise.
3204         (_libc_vdso_platform_setup): Likewise.
3205         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3206         Likewise.
3207         (__vdso_clock_gettime): Likewise.
3208         (__vdso_clock_getres): Likewise.
3209         (_libc_vdso_platform_setup): Likewise.
3210         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3211         Likewise.
3212         (__vdso_clock_gettime): Likewise.
3213         (_libc_vdso_platform_setup): Likewise.
3214         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3215         Likewise.
3216         (__vdso_getcpu): Likewise.
3217         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3218         Use VDSO_SYMBOL macro to define.
3219         (__vdso_clock_gettime): Likewise.
3220         (__vdso_clock_getres): Likewise.
3221         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3222         Likewise.
3223         (__vdso_clock_gettime): Likewise.
3224         (__vdso_clock_getres): Likewise.
3225         (__vdso_get_tbfreq): Likewise.
3226         (__vdso_getcpu): Likewise.
3227         (__vdso_time): Likewise.
3228         (__vdso_sigtramp_rt64): Likewise.
3229         (__vdso_signtramp32): Likewise.
3230         (__vdso_sigtramp_rt32): Likewise.
3231         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3232         Likewise.
3233         (__vdso_clock_gettime): Likewise.
3234         (__vdso_clock_getres): Likewise.
3235         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3236         Likewise.
3237         (__vdso_clock_gettime): Likewise.
3238         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3239         Likewise.
3240         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3241         macro.
3242         (INTERNAL_VSYSCALL): Likewise.
3243         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3244         Remove macro.
3245         (INTERNAL_VSYSCALL): Likewise.
3246         (INTERNAL_VSYSCALL_NCS): Likewise.
3247         (INTERNAL_VSYSCALL_CALL): New macro.
3248         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3249         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3250         Likewise.
3251         (INTERNAL_VSYSCALL): Likewise.
3252         (INTERNAL_VSYSCALL_NCS): Likewise.
3253         (INTERNAL_VSYSCALL_CALL): New macro.
3254         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3256         (INLINE_VSYSCALL): Remove macro.
3257         (INTERNAL_VSYSCALL): Remove macro.
3258         (INTERNAL_VSYSCALL_NCS): Remove macro.
3259         (INTERNAL_VSYSCALL_CALL): New macro.
3260         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3261         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3262         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3263         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3264         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3266         (INLINE_VSYSCALL): Remove macro.
3267         (INTERNAL_VSYSCALL): Likewise.
3268         (INTERNAL_VSYSCALL_NCS): Likewise.
3269         (INTERNAL_VSYSCALL_CALL): New macro.
3270         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3271         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3272         PTR_DEMANGLE on vDSO pointer.
3273         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3274         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3275         macro.
3276         (INTERNAL_SYSCALL): Likewise.
3277         (INTERNAL_VSYSCALL_NCS): Remove macro.
3278         (INTERNAL_VSYSCALL_CALL): New macro.
3279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3280         Remove macro.
3281         (INTERNAL_VSYSCALL): Likewise.
3282         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3283         sysdep-vdso.h instead of libc-vdso.h.
3284         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3285         definition.
3286         (INLINE_VSYSCALL): Likewise.
3287         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3288         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3289         definition.
3290         (INLINE_VSYSCALL): Likewise.
3291         (INTERNAL_VSYSCALL): Likewise.
3292         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3293         * sysdeps/unix/sysv/linux/timespec_get.c
3294         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3295         (timespec_get): Use ANSI prototype.
3296         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3297         and definition for Linux.
3299 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3301         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3302         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3304 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3306         [BZ #2981]
3307         [BZ #18410]
3308         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3309         for missing DT_PLTRELSZ.
3311 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3313         Remove obsolete aliases that broke 'locale -a'
3314         [BZ #18412]
3315         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3316         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3317         breaking some applications that use 'locale -a' output.
3318         Change the encoding of this file from Latin-1 to ASCII to avoid
3319         other potential problems with people grepping this file.
3321 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3323         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3324         -fasynchronous-unwind-tables.
3325         (CFLAGS-sendto.c): Likewise.
3326         (CFLAGS-sendmsg.c): Likewise.
3327         (CFLAGS-connect.c): Likewise.
3328         (CFLAGS-recvmsg.c): Likewise.
3329         (CFLAGS-recvfrom.c): Likewise.
3330         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3331         (SOCKETCALL): New macro: non-cancellable socketcall.
3332         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3333         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3334         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3335         * sysdeps/unix/sysv/linux/accept.c: New file.
3336         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3337         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3338         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3339         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3340         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3341         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3342         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3343         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3344         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3345         * sysdeps/unix/sysv/linux/send.c: Likewise.
3346         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3347         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3348         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3349         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3350         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3351         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3352         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3353         prototype.
3354         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3355         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3356         instead of __internal_xxx function.
3357         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3358         prototype.
3359         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3360         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3361         instead of __internal_xxx function.
3362         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3363         prototype.
3364         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3365         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3366         instead of __internal_xxx function.
3367         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3368         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3369         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3370         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3371         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3372         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3373         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3374         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3375         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3376         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3377         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3378         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3379         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3380         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3381         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3382         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3383         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3384         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3385         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3386         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3389         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3390         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3391         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3392         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3393         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3394         * sysdeps/unix/sysv/linux/send.S: Likewise.
3395         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3396         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3397         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3398         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3399         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3400         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3401         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3402         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3403         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3404         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3405         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3406         socketcall is implemented in GLIBC.
3408 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3410         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3411         (__fma): Ignore uninitialized warnings around packing.
3412         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3413         (__fmaf): Ignore uninitialized warnings around packing.
3414         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3415         (__fmal): Ignore uninitialized warnings around packing.
3417         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3418         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3419         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3420         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3422         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3423         switch statement into default case.
3424         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3426         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3427         a conditional in forcing "inexact".
3428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3429         Likewise.
3431 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3433         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3434         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3435         for each INTERNAL_SYSCALL use.
3437 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3439         [BZ #438]
3440         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3441         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3442         variable.
3444         [BZ #18444]
3445         * string/basename.c (basename): Rename to __basename and define as
3446         weak alias of __basename.  Use libc_hidden_weak.
3447         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3448         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3449         __basename instead of basename.
3450         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3451         Remove variable.
3452         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3454 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3456         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3457         (_IO_JUMPS_FILE_plus): New.
3458         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3459         _IO_CAST_FIELD_ACCESS.
3460         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3461         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3462         * libio/freopen.c (freopen): Likewise.
3463         * libio/freopen64.c (freopen64): Likewise.
3464         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3465         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3466         * libio/iofwide.c (_IO_fwide): Likewise.
3467         * libio/memstream.c (open_memstream): Likewise.
3468         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3469         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3470         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3472 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3474         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3475         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3476         NADJ.
3477         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3478         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3479         NADJ.
3480         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3481         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3482         NADJ.
3484         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3485         (p == 4) case.
3487         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3488         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3489         Remove variable.
3490         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3491         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3492         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3494 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3496         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3497         Adjust jump table label generation macros.
3499 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3501         * stdio-common/vfprintf.c (vfprintf): Move local variables
3502         args_malloced, specs, specs_malloced, and the code after
3503         do_positional to the printf_positional function.
3504         (printf_positional): New function.
3506 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3508         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3509         function.
3510         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3511         STEP4_TABLE, process_arg): Move macro definitions
3512         out of the vfprintf function.  (Cosmetic change only.)
3514 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3516         * benchtests/Makefile (stdio-common-bench): Define.
3517         (benchset): Add stdio-common-bench.
3518         * sprintf-inputs: New file.
3519         * sprintf-source.c: New file.
3521 2015-05-21  Andreas Schwab  <schwab@suse.de>
3523         [BZ #13028]
3524         [BZ #17053]
3525         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3526         of struct __res_state.
3527         * resolv/res_send.c (__libc_res_nsend): Likewise.
3528         (get_nsaddr): New function.
3529         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3530         statp directly.
3532 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3534         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3535         -D_POSIX_C_SOURCE=199506L.
3537         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3539         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3540         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3541         Do not mention otherwise.
3542         [POSIX] (_XOPEN_VERSION): Do not expect.
3543         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3544         [POSIX] (_POSIX2_C_BIND): Likewise.
3545         [POSIX] (_POSIX2_VERSION): Likewise.
3546         [POSIX] (_XOPEN_XPG2): Likewise.
3547         [POSIX] (_XOPEN_XPG3): Likewise.
3548         [POSIX] (_XOPEN_XPG4): Likewise.
3549         [POSIX] (_XOPEN_UNIX): Likewise.
3550         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3551         [POSIX] (_POSIX_BARRIERS): Likewise.
3552         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3553         [POSIX] (_POSIX_CPUTIME): Likewise.
3554         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3555         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3556         [POSIX] (_POSIX_SHELL): Likewise.
3557         [POSIX] (_POSIX_SPAWN): Likewise.
3558         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3559         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3560         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3561         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3562         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3563         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3564         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3565         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3566         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3567         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3568         [POSIX] (_POSIX2_PBS): Likewise.
3569         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3570         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3571         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3572         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3573         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3574         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3575         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3576         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3577         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3578         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3579         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3580         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3581         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3582         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3583         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3584         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3585         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3586         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3587         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3588         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3589         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3590         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3591         [POSIX] (_SC_2_C_BIND): Likewise.
3592         [POSIX] (_SC_2_C_VERSION): Likewise.
3593         [POSIX] (_SC_2_PBS): Likewise.
3594         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3595         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3596         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3597         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3598         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3599         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3600         [POSIX] (_SC_BARRIERS): Likewise.
3601         [POSIX] (_SC_BASE): Likewise.
3602         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3603         [POSIX] (_SC_DEVICE_IO): Likewise.
3604         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3605         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3606         [POSIX] (_SC_FD_MGMT): Likewise.
3607         [POSIX] (_SC_FIFO): Likewise.
3608         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3609         [POSIX] (_SC_FILE_LOCKING): Likewise.
3610         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3611         [POSIX] (_SC_IOV_MAX): Likewise.
3612         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3613         [POSIX] (_SC_NETWORKING): Likewise.
3614         [POSIX] (_SC_PAGE_SIZE): Likewise.
3615         [POSIX] (_SC_PASS_MAX): Likewise.
3616         [POSIX] (_SC_PIPE): Likewise.
3617         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3618         [POSIX] (_SC_REGEXP): Likewise.
3619         [POSIX] (_SC_SHELL): Likewise.
3620         [POSIX] (_SC_SIGNALS): Likewise.
3621         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3622         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3623         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3624         [POSIX] (_SC_USER_GROUPS): Likewise.
3625         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3626         [POSIX] (_SC_STREAMS): Likewise.
3627         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3628         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3629         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3630         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3631         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3632         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3633         [POSIX] (_PC_FILESIZEBITS): Likewise.
3634         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3635         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3636         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3637         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3638         [POSIX] (uid_t): Likewise.
3639         [POSIX] (gid_t): Likewise.
3640         [POSIX] (off_t): Likewise.
3641         [POSIX] (pid_t): Likewise.
3642         [POSIX] (cuserid): Allow.
3643         (_SC_2_CHAR_TERM): Require constant.
3644         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3645         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3646         variable.
3648 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3650         * sysdeps/nacl/pthread-pids.h: New file.
3651         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3652         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3654         * nptl/pthread-pids.h: New file.
3655         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3656         * nptl/nptl-init.c: Include <pthread-pids.h>.
3657         (__pthread_initialize_minimal_internal):
3658         Call __pthread_initialize_pids instead of set_tid_address syscall.
3660         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3661         * sysdeps/posix/usleep.c: ... here.
3663 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3665         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3666         call_pselect6 object.
3667         [$(subdir) = io]: Remove call_sync_file_range object.
3668         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3669         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3670         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3671         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3673 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3675         * math/s_cproj.c: Add include "math_private.h".
3676         * math/s_cprojf.c: Likewise.
3677         * math/s_cprojl.c: Likewise.
3679 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3681         [BZ #18244]
3682         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3683         high mantissa bit when testing whether P is a NaN.
3684         * math/libm-test.inc (remainder_test_data): Add more tests.
3685         (remquo_test_data): Likewise.
3687         [BZ #18049]
3688         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3689         below -32, return the argument, with underflow if subnormal.
3690         * math/auto-libm-test-in: Add more tests of atanh.
3691         * math/auto-libm-test-out: Regenerated.
3693 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3695         [BZ #18434]
3696         * nptl/tst-sem15.c: New file.
3697         * nptl/Makefile (tests): Add it.
3698         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3699         s/<</>>/ to fix typo in EOVERFLOW check.
3700         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3702 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3704         * manual/strings.texi (envz_remove): Fix typo in safety
3705         annotations.
3707 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3708             Steve Ellcey  <sellcey@imgtec.com>
3710         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3711         in order to avoid strict alias warnings.
3712         (iruserok_af): Ditto for ra.
3714 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3716         [BZ #17581]
3717         * malloc/hooks.c
3718         (magicbyte): Convert to a function and avoid returning 0x01.
3719         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3720         (mem2chunk_check): Fix unsigned comparisons to zero.
3721         Hoist defs of sz and magic.
3723 2015-05-19  Richard Henderson  <rth@redhat.com>
3725         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3727         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3729 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3731         [BZ #16159]
3732         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3733         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3734         (reused_arena): Find a non-corrupt arena.
3735         (heap_trim): Pass arena to unlink.
3736         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3737         malloc_printerr.
3738         (top_check): Likewise.
3739         (free_check): Likewise.
3740         (realloc_check): Likewise.
3741         * malloc/malloc.c (malloc_printerr): Add arena argument.
3742         (unlink): Likewise.
3743         (munmap_chunk): Adjust.
3744         (ARENA_CORRUPTION_BIT): New macro.
3745         (arena_is_corrupt): Likewise.
3746         (set_arena_corrupt): Likewise.
3747         (sysmalloc): Use mmap if there are no usable arenas.
3748         (_int_malloc): Likewise.
3749         (__libc_malloc): Don't fail if arena_get returns NULL.
3750         (_mid_memalign): Likewise.
3751         (__libc_calloc): Likewise.
3752         (__libc_realloc): Adjust for additional argument to
3753         malloc_printerr.
3754         (_int_free): Likewise.
3755         (malloc_consolidate): Likewise.
3756         (_int_realloc): Likewise.
3757         (_int_memalign): Don't touch corrupt arenas.
3758         * malloc/tst-malloc-backtrace.c: New test case.
3760         * Makefile (summarize-tests): Fix return value on success.
3762         * manual/string.texi (Envz Functions): Add envz_remove.
3764 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3766         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3767         (invalid_name): New function, broken out of ...
3768         (__opendirat): ... here.  Call it.
3769         (need_isdir_precheck): New function, broken out of ...
3770         (__opendirat): ... here.  Call it.
3771         Use __fxstatat64, not __xstatat64.
3772         (opendir_oflags): New function, broken out of ...
3773         (__opendirat): ... here.  Call it.
3774         (opendir_tail): New function, broken out of ...
3775         (__opendirat): ... here.  Call it.
3776         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3777         opendir_tail, rather than punting to __opendirat.
3778         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3780 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3782         * .gitignore: Ignore generated *.pyc.
3784 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3786         * include/stdio.h: Define __need_wint_t.
3787         * test-skeleton.c: Avoid `for' loop initial declaration.
3788         * nptl/tst-initializers1.c: Use test-skeleton.c.
3790 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3792         [BZ #18418]
3793         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3795 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3797         [BZ #16352]
3798         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3799         (__ieee754_atanh): Force underflow exception for results with
3800         small absolute value.
3801         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3802         (__ieee754_atanhf): Force underflow exception for results with
3803         small absolute value.
3804         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3805         (__ieee754_atanh): Force underflow exception for results with
3806         small absolute value.
3807         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3808         (__ieee754_atanhf): Force underflow exception for results with
3809         small absolute value.
3810         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3811         (__ieee754_atanhl): Force underflow exception for results with
3812         small absolute value.
3813         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3814         (__ieee754_atanhl): Force underflow exception for results with
3815         small absolute value.
3816         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3817         (__ieee754_atanhl): Force underflow exception for results with
3818         small absolute value.
3819         * math/auto-libm-test-in: Do not allow missing underflow
3820         exceptions from atanh.
3821         * math/auto-libm-test-out: Regenerated.
3823         [BZ #18221]
3824         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3825         2**-28 as threshold for returning x or +/- 1/x.
3826         * math/auto-libm-test-in: Add more tests of tan.
3827         * math/auto-libm-test-out: Regenerated.
3829         [BZ #18220]
3830         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3831         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3832         * math/auto-libm-test-in: Add another test of lgamma.
3833         * math/auto-libm-test-out: Regenerated.
3835 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3837         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3838         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3839         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3840         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3841         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3842         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3843         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3844         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3845         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3846         (log1): Use fabs.  (my_log2): Use fabs.
3847         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3848         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3849         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3850         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3851         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3852         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3853         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3854         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3855         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3856         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3857         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3859 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3861         [BZ #18217]
3862         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3863         as threshold for returning 1 - x.
3864         * math/auto-libm-test-in: Add more tests of erfc.
3865         * math/auto-libm-test-out: Regenerated.
3867 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3869         [BZ #18196]
3870         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3871         threshold for large arguments.
3872         * math/auto-libm-test-in: Add another test of atan.
3873         * math/auto-libm-test-out: Regenerated.
3875         [BZ #16339]
3876         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3877         (__log1p): Force underflow exception for results with small
3878         absolute value.
3879         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3880         (__log1pf): Force underflow exception for results with small
3881         absolute value.
3882         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3883         (__log1p): Force underflow exception for results with small
3884         absolute value.
3885         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3886         (__log1pf): Force underflow exception for results with small
3887         absolute value.
3888         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3889         (__log1pl): Force underflow exception for results with small
3890         absolute value.
3891         * math/auto-libm-test-in: Do not allow missing underflow
3892         exceptions from log1p.
3893         * math/auto-libm-test-out: Regenerated.
3895 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3896             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3898         [BZ #16704]
3899         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3901 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3903         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3904         (libmvec): New variable.
3905         * configure.ac: Added option for mathvec build.
3906         * configure: Regenerated.
3907         * mathvec/Depend: New file.
3908         * mathvec/Makefile: New file.
3909         * shlib-versions: Added libmvec.
3910         * math/Makefile: Added rule for libm.so installation.
3912         * bits/math-vector.h: New file.
3913         * bits/libm-simd-decl-stubs.h: New header.
3914         * math/Makefile (headers): Added new header
3915         libm-simd-decl-stubs.h.
3916         * math/math.h (__MATHCALL_VEC): New macro.
3918         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3919         for conditions in testing functions.
3920         * math/Makefile: Added call of libm-have-vector-test.sh.
3921         * math/libm-test.inc (HAVE_VECTOR): New macros.
3923         * math/libm-test.inc: START refactored.
3924         * math/test-double.c (TEST_MATHVEC): Add define.
3925         * math/test-float.c: Likewise.
3926         * math/test-idouble.c: Likewise.
3927         * math/test-ifloat.c: Likewise.
3928         * math/test-ildoubl.c: Likewise.
3929         * math/test-ldouble.c: Likewise.
3930         * sysdeps/generic/math-tests-arch.h
3931         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3932         architecture check.
3934         * math/test-double.c (FUNC_TEST): New macro.
3935         * math/test-float.c: Likewise.
3936         * math/test-idouble.c: Likewise.
3937         * math/test-ifloat.c: Likewise.
3938         * math/test-ildoubl.c: Likewise.
3939         * math/test-ldouble.c: Likewise.
3940         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3942 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3944         * sysdeps/nacl/fdopendir.c: New file.
3946         * dirent/scandir-tail.c: New file.
3947         * dirent/scandir64-tail.c: New file.
3948         * dirent/Makefile (routines): Add them.
3949         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3950         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3951         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3952         [!SCANDIR] (SCANDIR_TAIL): New macro.
3953         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3954         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3955         (SCANDIRAT): Macro removed.
3956         (SCANDIR_TAIL): New macro.
3957         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3958         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3959         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3960         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3961         (READDIR): Macro removed.
3962         (SCANDIR_TAIL): New macro.
3963         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3964         (SCANDIR_TAIL): New macro.
3966         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3967         * dirent/scandir-cancel.c: ... to this new file.
3968         * dirent/Makefile (routines): Add it.
3969         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3970         * sysdeps/unix/sysv/linux/i386/scandir64.c
3971         (SKIP_SCANDIR_CANCEL): Macro removed.
3972         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3974         * dirent/tst-scandir.c: New file.
3975         * dirent/tst-scandir64.c: New file.
3976         * dirent/Makefile (tests): Add them.
3978 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3980         [BZ #18409]
3981         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3983 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3985         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3986         list.
3988 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3990         * benchtests/bench-strcoll.c: New benchmark.
3991         * benchtests/Makefile: Generate locales and run benchmark.
3992         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3993         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3994         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3995         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3996         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3997         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3998         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3999         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4000         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4001         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4002         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4003         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4004         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4005         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4006         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4007         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4008         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4009         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4010         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4011         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4012         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4013         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4014         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4015         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4017 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4019         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4020         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4022 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4024         * posix/uname-values.h: New file.
4025         * posix/uname.c: Include that instead of <config-name.h>.
4026         * sysdeps/nacl/uname-values.h: New file.
4027         * sysdeps/arm/nacl/uname-values.h: New file.
4029 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4031         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4032         splitting into fields.
4034 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4036         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4037         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4038         * locale/localeinfo.h: Add enum collation_encoding_type.
4039         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4040         * programs/ld-collate.c (collate_output): Add encoding type info.
4041         * string/strcoll_l.c (STRDIFF): New function.
4042         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4043         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4045 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4047         [BZ #18397]
4048         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4049         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4050         <fpu_control.h> instead of <math/fpu_control.c>.
4051         * sysdeps/mips/mips32/fpu/Makefile: New file.
4053 2015-05-11  Andreas Schwab  <schwab@suse.de>
4055         [BZ #18007]
4056         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4057         nss_endgrent.
4058         (_nss_compat_endgrent): Call nss_endgrent.
4059         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4060         nss_endpwent.
4061         (_nss_compat_endpwent): Call nss_endpwent.
4062         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4063         needent, call nss_setspent only if non-zero.
4064         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4065         (internal_endspent): Don't call nss_endspent.
4066         (_nss_compat_endspent): Call nss_endspent.
4067         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4068         Remove.  All uses removed.
4069         (internal_setent): Remove parameter stayopen, add parameter
4070         stream.  Use it instead of global variable.
4071         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4072         (internal_endent, internal_getent): Add parameter stream.  Use it
4073         instead of global variable.
4074         (CONCAT(_nss_files_end,ENTNAME))
4075         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4076         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4077         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4078         uses removed.
4079         (internal_setent, internal_endent): Add parameter stream.  Use it
4080         instead of global variable.
4081         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4082         stream.
4083         (get_next_alias): Add parameter stream.
4084         (_nss_files_getaliasent_r): Pass global stream.
4085         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4086         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4087         (_nss_files_gethostbyname4_r): Pass local stream to
4088         internal_setent, internal_getent and internal_endent.  Remove
4089         locking.
4091 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4093         * tst-strfmon1.c (tests): Update expected currency symbol.
4095 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4097         * sysdeps/nacl/gethostname.c: New file.
4099 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4101         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4102         and sinh.
4103         * math/auto-libm-test-out: Regenerated.
4104         * sysdeps/i386/fpu/libm-test-ulps: Update.
4105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4107 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4109         [BZ #18125]
4110         * stdlib/tst-setcontext3.c: New file.
4111         * stdlib/tst-setcontext3.sh: New file.
4112         * stdlib/Makefile (tests): Add tst-setcontext3.
4113         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4114         to verify test program created output file.
4115         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4116         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4117         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4118         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4120 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4122         [BZ #18383]
4123         * elf/tst-tlsalign.c: New file.
4124         * elf/tst-tlsalign-static.c: New file.
4125         * elf/tst-tlsalign-lib.c: New file.
4126         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4127         (tests-static): Add tst-tlsalign-static.
4128         (modules-names): Add tst-tlsalign-lib.
4129         (test-xfail-tst-tlsalign): New variable.
4130         (test-xfail-tst-tlsalign-static): New variable.
4132         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4133         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4135 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4137         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4138         csqrt, erfc, sin and sincos.
4139         * math/auto-libm-test-out: Regenerated.
4140         * sysdeps/i386/fpu/libm-test-ulps: Update.
4141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4143 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4145         * sysdeps/aarch64/libm-test-ulps: Update.
4147 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4149         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4150         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4151         * math/auto-libm-test-out: Regenerated.
4152         * sysdeps/i386/fpu/libm-test-ulps: Update.
4153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4155 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4157         [BZ #18265]
4158         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4159         (wcsncpy): Likewise.
4161 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4163         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4164         Assume __ASSUME_FALLOCATE is always true.
4165         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4166         (__posix_fallocate64_l64): Likweise.
4167         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4168         (posix_fallocate): Likewise.
4169         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4170         (__posix_fallocate64_l64): Likewise.
4171         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4172         [!__ASSUME_FALLOCATE]: Add comment.
4174 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4176         * sysdeps/unix/sysv/linux/i386/Makefile
4177         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4178         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4179         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4180         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4181         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4182         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4183         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4185 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4187         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4188         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4189         tgamma.
4190         * math/auto-libm-test-out: Regenerated.
4191         * sysdeps/i386/fpu/libm-test-ulps: Update.
4192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4196         * math/auto-libm-test-in: Add more tests of tgamma.
4197         * math/auto-libm-test-out: Regenerated.
4198         * sysdeps/i386/fpu/libm-test-ulps: Update.
4199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4201         * math/auto-libm-test-in: Add more tests of tanh.
4202         * math/auto-libm-test-out: Regenerated.
4203         * sysdeps/i386/fpu/libm-test-ulps: Update.
4204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4206         * math/auto-libm-test-in: Add more tests of tan.
4207         * math/auto-libm-test-out: Regenerated.
4208         * sysdeps/i386/fpu/libm-test-ulps: Update.
4209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4211         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4212         * math/auto-libm-test-out: Regenerated.
4213         * sysdeps/i386/fpu/libm-test-ulps: Update.
4214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4216         * math/auto-libm-test-in: Add another test of pow.
4217         * math/auto-libm-test-out: Regenerated.
4218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4220         * math/auto-libm-test-in: Add more tests of lgamma.
4221         * math/auto-libm-test-out: Regenerated.
4222         * sysdeps/i386/fpu/libm-test-ulps: Update.
4223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4225         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4226         log1p.
4227         * math/auto-libm-test-out: Regenerated.
4228         * sysdeps/i386/fpu/libm-test-ulps: Update.
4229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4231 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4233         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4234         Elf64_Chdr structs and ELFCOMPRESS constants.
4236 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4238         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4239         expm1.
4240         * math/auto-libm-test-out: Regenerated.
4241         * sysdeps/i386/fpu/libm-test-ulps: Update.
4242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4244         * math/auto-libm-test-in: Add more tests of erf and erfc.
4245         * math/auto-libm-test-out: Regenerated.
4246         * sysdeps/i386/fpu/libm-test-ulps: Update.
4247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4249 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4251         * config.h.in (HAVE_AARCH64_BE): Add.
4253 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4255         * math/auto-libm-test-in: Add more tests of csqrt.
4256         * math/auto-libm-test-out: Regenerated.
4257         * sysdeps/i386/fpu/libm-test-ulps: Update.
4258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4260         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4261         * math/auto-libm-test-out: Regenerated.
4262         * sysdeps/i386/fpu/libm-test-ulps: Update.
4263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4265         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4267 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4269         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4270         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4272         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4273         (euidaccess, eaccess): Define as weak aliases.
4275         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4276         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4277         but __suseconds_t is often 'long int' so some sources assume that
4278         type is being used (e.g. they use %ld to print tv_usec).
4280 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4282         [BZ #18007]
4283         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4284         (CVE-2014-8121)
4285         * nss/tst-nss-getpwent.c: New file.
4286         * nss/Makefile (tests): Add new test.
4288 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4290         [BZ #18346]
4291         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4292         exponents less than 48 as cases where high part of mantissa needs
4293         examining to determine whether argument is integral.
4294         * math/libm-test.inc (round_test_data): Add more tests.
4296 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4298         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4300 2015-04-27  David S. Miller  <davem@davemloft.net>
4302         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4303         __tls_get_addr.
4304         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4306 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4308         [BZ#18333]
4309         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4311 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4313         [BZ#18333]
4314         * time/tzset.c (parse_tzname): Return error on memory allocation
4315         failure.
4316         * test-skeleton.c (struct temp_name_list): Change type of name
4317         member to non-const.
4318         (add_temp_file): Create a copy of the file name.
4319         (delete_temp_files): Deallocate memory.
4320         (create_temp_file): Add comment.
4322 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4324         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4325         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4327 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4329         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4330         * sysdeps/arm/configure: Regenerated.
4332 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4334         [BZ #17715]
4335         * time/tzfile.c (__tzfile_read): Check for large values of
4336         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4337         * time/tzset.c (__tzstring_len): New function, based on the old
4338         __tzstring function.
4339         (__tzstring): Call __tzstring_len.
4340         (parse_tzname): New helper function extracted from
4341         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4342         the input string.
4343         (parse_offset): New helper function extracted from
4344         __tzset_parse_tz.  Replace switch with fallthrough with
4345         initialization before sscanf.
4346         (parse_rule): Likewise.
4347         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4348         new-style function definition.
4349         * timezone/Makefile (tests): Add tst-tzset.
4350         (tst-tzset.out): Dependencies on time zone files.
4351         (tst-tzset-ENV): Set TZDIR.
4352         (testdata/XT%): Copy crafted time zone files.
4353         * timezone/README: Mention crafted time zone files.
4354         * timezone/testdata/XT1, timezone/testdata/XT2,
4355         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4356         files.
4357         * timezone/tst-tzset.c: New test.
4359 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4361         * Makeconfig (+gccwarn): Remove -Winline.
4363 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4365         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4367 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4369         * NEWS: Mention sysconf() cache information support for s390.
4370         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4372 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4374         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4375         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4376         (__nearbyint): Likewise.
4377         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4378         (copysignl): Likewise.
4380 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4382         [BZ #18287]
4383         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4384         based on padding.  (CVE-2015-1781)
4386 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4388         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4389         libc-vdso.h.
4390         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4391         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4392         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4393         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4394         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4395         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4396         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4397         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4398         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4399         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4400         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4401         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4402         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4403         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4404         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4405         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4406         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4407         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4408         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4409         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4410         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4411         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4412         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4414 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4416         * stdlib/setenv.c (__add_to_environ):
4417         Dump core quickly if setenv (..., NULL, ...) is called.
4418         This time, do it the right way, and pacify GCC with a pragma.
4420 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4422         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4423         IMAP->l_prev cannot be null, and #if out the code for the contrary
4424         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4425         believe that NS (&_dl_ns[NSID]) could point outside the array.
4427         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4428         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4429         before using NSID as an index.
4431 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4433         [BZ #17825]
4434         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4435         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4436         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4438 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4440         Add preliminary port to Google Native Client on ARM.
4441         * abi-tags (.*-.*-nacl.*): New entry.
4442         * sysdeps/arm/nacl: New directory.
4443         * sysdeps/nacl: New directory.
4445 2015-04-16  David S. Miller  <davem@davemloft.net>
4447         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4448         lowlevellock-futex.h
4450 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4452         * sysdeps/tile/configure.ac: New file.
4453         * sysdeps/tile/configure: Regenerated.
4455 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4457         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4458         conditionals for weak_alias and libc_hidden_weak.
4459         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4460         libc_hidden_weak and weak_alias.
4461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4462         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4463         and weak_alias for static one.
4465 2015-04-15  David S. Miller  <davem@davemloft.net>
4467         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4469 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4471         [BZ #18206]
4472         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4473           Use signed comparision instead of substraction to avoid
4474           overflow bug.
4475         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4476           Take the sign of ret.
4477         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4478           Do not expect precise return values. Only the sign matters.
4479         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4480         * wcsmbs/test-wcsncmp.c: New File.
4481         * string/test-strncmp.c: Add wcsncmp support.
4483 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4485         [BZ #6792]
4486         * math/w_log1p.c: New file.
4487         * math/w_log1pf.c: Likewise.
4488         * math/w_log1pl.c: Likewise.
4489         * math/Makefile (libm-calls): Add w_log1p.
4490         * math/s_log1pl.c (log1pl): Remove weak_alias.
4491         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4492         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4493         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4494         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4495         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4496         [NO_LONG_DOUBLE] (log1pl): Likewise.
4497         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4498         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4499         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4500         (log1p): Remove long_double_symbol.
4501         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4502         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4503         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4504         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4505         remove weak_alias for corresponding log1p function.
4506         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4507         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4508         * sysdeps/ia64/fpu/w_log1p.c: New file.
4509         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4510         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4511         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4513 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4515         [BZ #18247]
4516         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4517         decimal exponent by 1.
4518         * stdlib/tst-strtod-round-data: Add more tests.
4519         * stdlib/tst-strtod-round.c (tests): Regenerated.
4521 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4523         * math/auto-libm-test-in: Add more tests of clog and clog10.
4524         * math/auto-libm-test-out: Regenerated.
4525         * sysdeps/i386/fpu/libm-test-ulps: Update.
4526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4528 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4530         * Makeconfig (module-cppflags): Exclude all .v.i files.
4531         (skip-module-cppflags): Variable removed.
4533         * configure.ac (libc_config_ok): Initialize before reading
4534         preconfigure scripts, not after.
4535         * configure: Regenerated.
4537         * test-skeleton.c (TIMEOUT): Move #define to top level.
4538         (main): Grok environment variable TEST_DIRECT.  If set, print
4539         test expectation details into that file and then behave as if
4540         given --direct.
4542 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4544         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4545         warning on 32-bit.
4547 2015-04-08  David S. Miller  <davem@davemloft.net>
4549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4551 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4553         * math/auto-libm-test-in: Add more tests of atanh.
4554         * math/auto-libm-test-out: Regenerated.
4555         * sysdeps/i386/fpu/libm-test-ulps: Update.
4556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4558         * math/auto-libm-test-in: Add more tests of atan.
4559         * math/auto-libm-test-out: Regenerated.
4560         * sysdeps/i386/fpu/libm-test-ulps: Update.
4561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4563 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4565         * elf/pldd.c (main): Rewrite to use struct
4566         scratch_buffer instead of extend_alloca.
4567         * elf/pldd-xx.c (find_maps): Likewise.
4568         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4569         <alloca.h>.
4570         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4571         scratch_buffer instead of extend_alloca.
4572         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4573         grp/compat-initgroups.c.
4574         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4575         Rewrite to use struct scratch_buffer instead of extend_alloca.
4576         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4577         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4579 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4581         * math/auto-libm-test-in: Add more tests of cbrt.
4582         * math/auto-libm-test-out: Regenerated.
4583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4585         * math/auto-libm-test-in: Add more tests of cabs.
4586         * math/auto-libm-test-out: Regenerated.
4587         * sysdeps/i386/fpu/libm-test-ulps: Update.
4588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4590         [BZ #18210]
4591         [BZ #18211]
4592         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4593         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4594         computations.
4595         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4596         clog10.
4597         * math/auto-libm-test-out: Regenerated.
4598         * sysdeps/i386/fpu/libm-test-ulps: Update.
4599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4601         [BZ #18197]
4602         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4603         (atan): Set FE_TONEAREST mode for internal computations.
4604         * math/auto-libm-test-in: Add more tests of atan.
4605         * math/auto-libm-test-out: Regenerated.
4607 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4609         [BZ #17930]
4610         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4612 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4614         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4616 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4618         * include/scratch_buffer.h: New file.
4619         * malloc/scratch_buffer_grow.c: Likewise.
4620         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4621         * malloc/scratch_buffer_set_array_size.c: Likewise.
4622         * malloc/tst-scratch_buffer.c: Likewise.
4623         * malloc/Makefile (routines): Add scratch_buffer_grow.
4624         (tests): Add test case.
4625         * malloc/Versions (GLIBC_PRIVATE): Export
4626         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4627         __libc_scratch_buffer_set_array_size.
4629 2015-04-06  Richard Henderson  <rth@redhat.com>
4631         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4632         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4634         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4635         unsigned int before printing.
4637 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4639         [BZ #17596]
4640         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4641         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4643 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4645         * include/libc-internal.h (libc_max_align_t): Define.
4647 2015-04-02  Andreas Schwab  <schwab@suse.de>
4649         [BZ #16850]
4650         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4652 2015-04-02  Mel Gorman  <mgorman@suse.de>
4654         [BZ #17195]
4655         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4656         as well as the main arena.
4658 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4660         [BZ #18185]
4661         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4662         sharing L2 cache to 2 for Silvermont/Knights Landing.
4664 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4666         [BZ #17711]
4667         * config.make.in (have-protected-data): New.
4668         * configure.ac: Check linker support for protected data symbol.
4669         * configure: Regenerated.
4670         * elf/Makefile (modules-names): Add tst-protected1moda and
4671         tst-protected1modb if $(have-protected-data) is yes.
4672         (tests): Add tst-protected1a and tst-protected1b if
4673         $(have-protected-data) is yes.
4674         ($(objpfx)tst-protected1a): New.
4675         ($(objpfx)tst-protected1b): Likewise.
4676         (tst-protected1modb.so-no-z-defs): Likewise.
4677         * elf/tst-protected1a.c: New file.
4678         * elf/tst-protected1b.c: Likewise.
4679         * elf/tst-protected1mod.h: Likewise.
4680         * elf/tst-protected1moda.c: Likewise.
4681         * elf/tst-protected1modb.c: Likewise.
4683 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4685         [BZ #17711]
4686         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4687         indicates it is called from do_lookup_x on relocation against
4688         protected data, skip the data definion in the executable from
4689         copy reloc.
4690         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4691         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4692         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4693         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4694         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4695         otherwise to 0.
4696         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4697         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4698         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4699         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4700         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4701         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4703 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4705         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4706         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4708 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4710         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4711         THREAD_SETMEM_NC.
4712         * sysdeps/x86_64/nptl/tls.h: Ditto.
4714 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4716         * dlfcn/tststatic.c (main): Converted to ...
4717         (do_test): ... this.
4718         (TEST_FUNCTION): New macro.
4719         Include test-skeleton.c.
4721 2015-03-26  Alan Modra  <amodra@gmail.com>
4723         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4724         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4725         zero for undefined weak.
4726         (elf_machine_plt_conflict): Similarly.
4728 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4730         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4731         atanh.
4732         * math/auto-libm-test-out: Regenerated.
4733         * sysdeps/i386/fpu/libm-test-ulps: Update.
4734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4736         * math/auto-libm-test-in: Add another test of asin.
4737         * math/auto-libm-test-out: Regenerated.
4738         * sysdeps/i386/fpu/libm-test-ulps: Update.
4739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4741         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4742         Remove macro.
4743         (LLL_EBX_REG): Likewise.
4744         (LLL_ENTER_KERNEL): Likewise.
4746         * math/auto-libm-test-in: Add more tests of asin.
4747         * math/auto-libm-test-out: Regenerated.
4748         * sysdeps/i386/fpu/libm-test-ulps: Update.
4749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4751         [BZ #18138]
4752         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4753         libc_do_syscall_args): New structure.
4754         (INTERNAL_SYSCALL_MAIN_0): New macro.
4755         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4756         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4757         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4758         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4759         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4760         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4761         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4762         Replace conditional definitions by conditional definitions of ....
4763         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4764         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4765         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4766         (libpthread-sysdep_routines): Add libc-do-syscall.
4767         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4768         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4769         to __NR_futex not 240.
4771 2015-03-25  Alan Modra  <amodra@gmail.com>
4773         * NEWS: Advertise TLS optimization.
4774         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4775         (DT_PPC_NUM): Increment.
4776         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4777         (CHECK_STATIC_TLS): Use here.
4778         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4779         TLS descriptors.
4780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4781         * sysdeps/powerpc/dl-tls.c: New file.
4782         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4783         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4784         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4785         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4790 2015-03-25  Alan Modra  <amodra@gmail.com>
4792         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4793         for overlapping .opd entries" to "support...".
4794         * sysdeps/powerpc/powerpc64/configure: Regenerate
4796 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4798         * math/auto-libm-test-in: Add more tests of acos.
4799         * math/auto-libm-test-out: Regenerated.
4800         * sysdeps/i386/fpu/libm-test-ulps: Update.
4801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4803         * math/auto-libm-test-in: Add more tests of expm1.
4804         * math/auto-libm-test-out: Regenerated.
4805         * sysdeps/i386/fpu/libm-test-ulps: Update.
4806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4808 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4810         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4811         * math/auto-libm-test-out: Regenerated.
4812         * sysdeps/i386/fpu/libm-test-ulps: Update.
4813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4815         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4818         * math/auto-libm-test-in: Add more tests of log2.
4819         * math/auto-libm-test-out: Regenerated.
4820         * sysdeps/i386/fpu/libm-test-ulps: Update.
4821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4823 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4825         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4826         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4827         _IO_IS_APPENDING bit in READ_WRITE instead.
4829 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4831         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4832         (__determine_cpumask_size): Replace extend_alloca with a
4833         variable-length array.  Do not treat res == 0 as an error.
4835 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4837         [BZ #18100]
4838         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4839         and integer overflow.
4840         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4841         (main): Add integer overflow tests.
4842         * manual/pattern.texi (Calling Wordexp): Document additional use
4843         for WRDE_SYNTAX.
4845 2015-03-23  Alan Modra  <amodra@gmail.com>
4847         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4848         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4849         and false branch of conditional.
4850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4851         Likewise.
4853 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4855         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4856         libc-modules.h
4857         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4858         unused declaration of _hurd_intr_rpc_msg_in_trap.
4859         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4860         defined instead of whether it is non-zero.
4861         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4862         input constraint instead of both input and output constraint.  Use ecx
4863         clobber instead of %ecx.
4864         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4865         mutex_unlock): Use a statement expression instead of an expression list.
4866         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4867         type to vm_size_t instead of vm_address_t.
4868         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4869         defined instead of whether it is non-zero.
4870         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4871         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4872         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4873         comparisons with mapaddr.
4874         * nscd/nscd-client.h: Include <time.h>.
4875         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4876         9th parameter to __vm_region instead of int.
4877         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4878         * scripts/check-local-headers.sh (exclude): Add device/,
4879         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4880         cthreads.h.
4882 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4884         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4885         to account for alignment padding.
4886         * sysdeps/arm/memmove.S: Likewise.
4888 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4890         * sysdeps/unix/sysv/linux/generic/README: New file.
4892 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4894         [BZ #18138]
4895         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4896         (futex_abstimed_wait)
4897         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4898         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4899         of lll_futex_timed_wait.
4901 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4903         [BZ #17542]
4904         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4906 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4908         [BZ #17090]
4909         [BZ #17620]
4910         [BZ #17621]
4911         [BZ #17628]
4912         * NEWS: Update.
4913         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4914         entries with Static TLS too.  Skip entries past the end of the
4915         allocated DTV, from Alan Modra.
4916         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4917         Static TLS DTV entry set up from...
4918         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4919         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4920         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4921         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4922         for Static TLS.
4923         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4924         that the slot we find is associated with the given map before
4925         using its generation count.
4926         * nptl_db/db_info.c: Include ldsodefs.h.
4927         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4928         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4929         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4930         (link_map::l_tls_offset): New struct field.
4931         (dtv_t::counter): Likewise.
4932         (rtld_global): New struct.
4933         (_rtld_global): New rtld variable.
4934         (dl_tls_dtv_slotinfo_list): New rtld global field.
4935         (dtv_slotinfo_list): New struct.
4936         (dtv_slotinfo): Likewise.
4937         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4938         (td_lookup): Rename to...
4939         (td_mod_lookup): ... this.  Use new mod parameter instead of
4940         LIBPTHREAD_SO.
4941         * nptl_db/td_thr_tlsbase.c: Include link.h.
4942         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4943         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4944         addresses even if the DTV is out of date or missing them.
4945         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4946         index zero-length arrays.
4947         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4948         (td_lookup): Make it a macro implemented in terms of...
4949         (td_mod_lookup): ... this declaration.
4950         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4951         (DB_MAIN_VARIABLE): Likewise.
4953 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4955         [BZ #18134]
4956         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4958 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4960         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4962 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4964         [BZ #18128]
4965         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4966         (atomic_add, atomic_increment_and_test)
4967         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4969 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4971         * stdlib/setenv.c (__add_to_environ):
4972         Dump core quickly if setenv (..., NULL, ...) is called.
4974 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4976         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4977         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4978         all the necessary asm magic in one place.
4979         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4980         using those.
4982 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4984         [BZ #14906]
4985         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4986         traced file mtime. Use consistent log message.
4987         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4988         (register_traced_file): Call install_watches. Always set mtime.
4989         (invalidate_cache): Iterate over all trace files. Call install_watches.
4990         (inotify_check_files): Don't inline. Handle watching parent
4991         directories and configuration file movement in and out.
4992         (handle_inotify_events): New function.
4993         (main_loop_poll): Call handle_inotify_events.
4994         (main_loop_epoll): Likewise.
4995         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4996         (struct traced_file): Use array of inotify fds. Add parent directory,
4997         and basename.
4998         (struct database_dyn): Remove unused file_mtime.
4999         (init_traced_file): New inline function.
5000         (define_traced_file): New macro.
5001         * nss/nss_db/db-init.c: Use define_traced_file.
5002         (_nss_db_init): Use init_traced_file.
5003         * nss/nss_files/files-init.c: Use define_traced_file.
5004         (_nss_files_init): Use init_traced_file.
5006 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5008         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5009         [_LIBC]: Do not include <stdlib.h>.
5010         [!_LIBC] (abort): Remove declaration.
5011         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5012         _FP_STATIC_ASSERT instead of conditionally calling abort.
5013         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5014         (_FP_EXTEND_CNAN): Likewise.
5015         (FP_TRUNC): Likewise.
5016         (__FP_CLZ): Likewise.
5017         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5019 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5021         * manual/string.texi (XPG basename): Fix prototype.
5023 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5025         [BZ #18080]
5026         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5027         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5028         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5029         (__setcontext): Likewise.
5030         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5031         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5032         Call rt_sigprocmask syscall one time to set new signal mask
5033         and retrieve the current signal mask instead of two calls.
5034         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5035         (__swapcontext): Likewise.
5036         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5037         * stdlib/tst-setcontext2.c: New file.
5039 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5041         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5043 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5045         [BZ #18093]
5046         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5047         the wrong size.
5049 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5051         [BZ #18043]
5052         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5054 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5056         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5057         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5058         Remove define.
5059         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5060         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5061         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5062         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5063         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5064         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5065         define.
5066         * nptl_db/td_symbol_list.c (td_lookup): Remove
5067         HAVE_ASM_GLOBAL_DOT_NAME code.
5068         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5069         HAVE_ASM_GLOBAL_DOT_NAME check.
5070         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5071         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5072         (DOT_LABEL): Remove define.
5073         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5074         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5075         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5076         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5077         (__TLS_GET_ADDR): Likewise.
5078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5079         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5081 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5083         [BZ #18111]
5084         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5085         (_FPU_SETCW): Initialize cw from fpsr before storing.
5086         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5087         (fesetexceptflag): Rewrite using fpu_control.h.
5088         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5090 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5092         [BZ #18110]
5093         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5094         asms.
5095         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5097 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5099         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5100         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5101         abort.
5102         (_FP_FMA): Likewise.
5103         (_FP_DIV): Likewise.
5105 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5107         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5108         with 0 in that case.
5109         * Makefile (summarize-tests): New canned sequence, factored out of
5110         commands for targets tests and xtests.  Display summary lines that
5111         don't start with PASS: or XFAIL: rather than ones that do start with
5112         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5113         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5114         do start with ERROR: or FAIL:.
5115         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5116         (except for [$(build-shared) = yes]).
5117         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5118         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5119         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5120         * nptl/Makefile: Revert 2015-03-04 changes.
5121         [$(CXX) empty] (tests-unsupported): New variable.
5122         * debug/Makefile: Likewise.
5124         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5125         gnulib file.  Replace __attribute with __attribute__ throughout.
5127 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5129         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5131 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5133         [BZ #18104]
5134         * math/auto-libm-test-in: Add another test of pow.
5135         * math/auto-libm-test-out: Regenerated.
5137 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5139         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5140         $(config-cflags-nofma).
5142 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5144         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5145         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5146         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5147         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5148         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5149         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5150         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5151         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5152         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5153         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5154         Add comment on closing #endif.
5156 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5158         * posix/wordexp.c (CHAR_IN_SET): New macro.
5159         (parse_param): Use it.
5161 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5163         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5165 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5167         [BZ #18043]
5168         * posix/wordexp.c (parse_param): Fix buffer overflow.
5169         * posix/wordexp-test.c (test_case): Add test case.
5171 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5173         [BZ #18042]
5174         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5175         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5177 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5179         [BZ #18043]
5180         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5181         (do_bz18043): Delete.
5182         (at_page_end): New.
5183         (testit): Refactor to have words at the edge of unreadable page.
5185 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5187         [BZ #16734]
5188         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5189         Cleanup read-only streams as well.
5190         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5192 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5194         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5195         <bits/libc-lockP.h>
5197 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5199         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5200         on [__KERNEL__].
5201         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5202         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5203         * soft-fp/op-common.h (_FP_DECL): Likewise.
5205 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5207         * elf/ifuncdep2.c (global): Replace
5208         __attribute__((visibility("protected"))) with
5209         asm (".protected global").
5210         * elf/ifuncmod1.c (global): Likewise.
5211         * elf/ifuncmod5.c (global): Likewise.
5213 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5215         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5216         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5218 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5220         * manual/install.texi (Configuring and compiling):
5221         Document test-wrapper-env-only.
5222         * INSTALL: Regenerated.
5224 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5226         [BZ #18043]
5227         * posix/wordexp.c (parse_param): Fix buffer overflow.
5228         * posix/wordexp-test.c (do_bz18043): Add test case.
5230 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5232         * time/tst-strptime2.c (do_test): Ensure failing tests are
5233         reported correctly.
5234         * time/tst-strptime3.c (do_test): Likewise.
5236 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5238         Fix aio_error thread-safety.
5239         * sysdeps/pthread/aio_error.c: New file
5240         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5241         synchronization.
5243 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5245         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5246         (group_number, vfprintf): Use it.
5247         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5248         (JUMP, REF): Use it.
5249         (WORK_BUFFER_SIZE): New enum constant.
5250         (process_arg, vfprintf): Use it.
5252 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5254         * manual/errno.texi (Error Messages): Complete example function
5255         by adding missing #define.
5256         (program_invocation_name): Add statement indicating GNU
5257         extension and reference which header file declares the variable.
5258         (program_invocation_short_name): Likewise.
5260 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5262         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5263         compatibility note.
5265 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5267         * Makeconfig (test-wrapper-env-only): New variable.
5268         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5269         then use that with $(test-wrapper-env-only) rather than using
5270         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5272 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5274         [BZ #18082]
5275         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5276         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5277         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5278         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5279         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5280         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5281         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5282         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5283         Likewise.
5284         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5285         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5286         Likewise.
5287         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5288         Likewise.
5289         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5290         Likewise.
5291         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5292         Likewise.
5293         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5294         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5295         Likewise.
5296         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5297         Likewise.
5298         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5299         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5301 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5303         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5304         (ETH_ALEN): New macro.
5305         (struct ether_addr): Use it for length of ether_addr_octet.
5307         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5308         (setdb): Don't call __nss_configure_lookup for "rpc".
5309         (do_test): Don't call test_rpc.
5310         (output_rpcent, test_rpc): Functions moved ...
5311         * sunrpc/test-rpcent.c: ... to this new file.
5312         * sunrpc/Makefile (tests): Add it.
5314         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5315         __xpg_sigpause.
5316         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5317         * nptl/tst-signal6.c: Likewise.
5318         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5319         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5321         * configure.ac (libc_cv_cxx_link_ok): New check.
5322         Reset CXX to empty if it fails to link.
5323         * configure: Regenerated.
5324         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5325         bug-atexit3-lib only if $(CXX) is nonempty.
5326         * nptl/Makefile (tests): Likewise for tst-cancel24.
5327         (tests, tests-static): Likewise for tst-cancel24-static.
5328         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5329         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5330         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5331         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5333 2015-03-04  Andreas Schwab  <schwab@suse.de>
5335         [BZ #17631]
5336         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5337         for non-GCC compilers.
5338         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5339         Likewise.
5341 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5343         [BZ #17776]
5344         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5345         integer before bitwise and assembly operations.
5346         (feclearexcept): Likewise.
5347         * math/test-fenvinline.c: New file.
5348         * math/Makefile: Add test-fenvinline test.
5350 2015-03-03  Alan Modra  <amodra@gmail.com>
5352         [BZ #16512]
5353         * scripts/localplt.awk: Strip off symbol version.
5354         * NEWS: Mention bug fix.
5356 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5358         * sysdeps/pthread/timer_routines.c
5359         (timer_free_list, thread_free_list, thread_active_list): Make static.
5361 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5363         [BZ #17779]
5364         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5365         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5366         Undefine.
5367         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5368         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5369         Likewise.
5370         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5371         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5372         Likewise.
5374 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5376         [BZ #18036]
5377         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5378         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5380 2015-03-02  Andreas Schwab  <schwab@suse.de>
5382         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5383         variable name.
5385 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5387         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5388         Return error status.
5390 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5392         [BZ #15969]
5393         * locale/findlocale.c (_nl_find_locale): Introduce const
5394         version of loc_name and drop unsafe type casts.
5396 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5398         * dlfcn/tststatic2.c (main): Converted to ...
5399         (do_test): ... this.
5400         (TEST_FUNCTION): New macro.
5401         Include test-skeleton.c.
5403 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5405         [BZ #17711]
5406         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5407         (tests-pie): Add vismain.
5408         (CFLAGS-vismain.c): New.
5409         * elf/vismain.c: Add comments for PIE requirement.
5411 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5413         [BZ #18046]
5414         [BZ #18047]
5415         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5416         0x1p-56L as threshold for just returning the argument.
5417         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5418         0x1p-32L as threshold for just returning the argument.
5419         * math/auto-libm-test-in: Add more tests of atanh.
5420         * math/auto-libm-test-out: Regenerated.
5421         * sysdeps/i386/fpu/libm-test-ulps: Update.
5422         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5424 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5426         * string/bcopy.c (bcopy): Call memmove for performance.
5428 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5430         * string/bzero.c (__bzero): Call memset for performance.
5432 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5434         [BZ #18068]
5435         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5436         to 00100000.
5438 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5440         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5442 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5444         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5445         (__kernel_standard): Use CSTR macro when setting exc.name.
5446         * sysdeps/ieee754/Makefile [$(subdir) = math]
5447         (CFLAGS-k_standard.c): Remove variable.
5449         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5450         setting p and q from "else if" to "else".
5451         (qzero): Likewise.
5452         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5453         (qone): Likewise.
5454         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5455         (qzerof): Likewise.
5456         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5457         (qonef): Likewise.
5458         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5459         (qzero): Likewise.
5460         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5461         (qone): Likewise.
5463         [BZ #18038]
5464         [BZ #18039]
5465         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5466         return pi/2 for arguments below 0x1p-113L.
5467         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5468         return pi/2 for arguments below 0x1p-106L.
5469         * math/auto-libm-test-in: Add more tests of acos.
5470         * math/auto-libm-test-out: Regenerated.
5472         [BZ #16351]
5473         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5474         (MO): New macro.
5475         (__ieee754_asin): Force underflow exception for results with small
5476         absolute value.
5477         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5478         (MO): New macro.
5479         (__ieee754_asinf): Force underflow exception for results with
5480         small absolute value.
5481         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5482         (__ieee754_asin): Force underflow exception for results with small
5483         absolute value.
5484         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5485         (__ieee754_asinf): Force underflow exception for results with
5486         small absolute value.
5487         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5488         (__ieee754_asinl): Force underflow exception for results with
5489         small absolute value.
5490         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5491         (__ieee754_asinl): Force underflow exception for results with
5492         small absolute value.
5493         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5494         (__ieee754_asinl): Force underflow exception for results with
5495         small absolute value.
5496         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5497         Include <math.h>.
5498         * math/auto-libm-test-in: Do not mark underflow exceptions as
5499         possibly missing for bug 16351.
5500         * math/auto-libm-test-out: Regenerated.
5502         [BZ #18030]
5503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5504         of power of 2 down when low part has opposite sign.
5505         * math/libm-test.inc (logb_test_data): Add more tests.
5507 2015-02-26  Andreas Schwab  <schwab@suse.de>
5509         [BZ #18032]
5510         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5511         over collating symbol inside a bracket expression.  Minor cleanup.
5512         * posix/tst-fnmatch3.c (do_test): Add test case.
5514 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5516         [BZ #18029]
5517         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5518         Adjust exponent of power of 2 down when low part has opposite
5519         sign.
5520         * math/libm-test.inc (ilogb_test_data): Add more tests.
5522 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5524         [BZ #15969]
5525         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5526         the previous change.
5528         [BZ #15969]
5529         * locale/findlocale.c (_nl_find_locale): Retry archive search
5530         after alias expansion.
5532 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5534         * iconv/tst-iconv3.c (main): Converted to ...
5535         (do_test): ... this.
5536         (TEST_FUNCTION): New macro.
5537         Include test-skeleton.c.
5539         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5540         (convert): Make function static.
5541         (test_unalign): Likewise.  Add const to argument pointee types.
5542         (main): Replace with static function do_test.
5543         Print "Succeeded." only if RET is zero.
5544         (TEST_FUNCTION): New macro.
5545         Include test-skeleton.c.
5547         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5548         returns a null pointer.
5550 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5552         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5553         to __memcpy_ppc only for static builds.
5555 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5557         [BZ #18020]
5558         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5559         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5560         * math/auto-libm-test-in: Add more tests of asinh.
5561         * math/auto-libm-test-out: Regenerated.
5562         * sysdeps/i386/fpu/libm-test-ulps: Update.
5563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5565 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5567         [BZ #15850]
5568         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5569         and ip6_mtuinfo definitions here.
5570         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5571         in this define too.  Update comment.
5573 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5575         * elf/sprof.c (load_shobj): Tweak error message to match others.
5577 2015-02-24  Kevin Easton  <kevin@guarana.org>
5579         [BZ #16145] (partial fix)
5580         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5581         to reduce lock contention.
5583 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5585         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5586         (struct timex): Update time comment.
5587         (ADJ_SETOFFSET): Define.
5589 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5591         [BZ #18019]
5592         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5593         2**56 not 2**28 as threshold for log (2x) formula.
5594         * math/auto-libm-test-in: Add more tests of acosh.
5595         * math/auto-libm-test-out: Regenerated.
5596         * sysdeps/i386/fpu/libm-test-ulps: Update.
5597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5601         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5602         parenthesis around the buf assignment.
5603         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5605 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5607         [BZ #16783]
5608         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5609         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5610         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5611         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5612         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5613         * math/libm-test.inc (scalb_test_data): Add more tests.
5615 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5617         [BZ #17916]
5618         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5619         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5621 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5623         [BZ #17523]
5624         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5625         * io/bits/fcntl2.h (open): Use it.
5626         (openat): Likewise.
5627         * io/open.c (__libc_open): Likewise.
5628         * io/open64.c (__libc_open64): Likewise.
5629         * io/open64_2.c (__open64_2): Likewise.
5630         * io/open_2.c (__open_2): Likewise.
5631         * io/openat.c (__openat): Likewise.
5632         * io/openat64.c (__openat64): Likewise.
5633         * io/openat64_2.c (__openat64_2): Likewise.
5634         * io/openat_2.c (__openat_2): Likewise.
5635         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5636         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5637         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5638         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5639         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5640         (__open_nocancel): Likewise.
5641         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5642         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5643         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5645 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5647         [BZ #14841]
5648         * resolv/gethnamaddr.c (getanswer): Skip logging if
5649         RES_USE_DNSSEC is set.
5650         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5652 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5654         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5656 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5658         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5659         201304L, for Unicode 7.
5661 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5663         [BZ #17836]
5664         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5665         shared library.  Add gmon-start.os otherwise.
5666         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5667         $(objpfx)gmon-start.os if builing shared library.
5668         ($(objpfx)g$(static-start-installed-name)): Likewise.
5670 2015-02-23  Andreas Schwab  <schwab@suse.de>
5672         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5674 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5676         [BZ #17269]
5677         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5678         (enlarge_userbuf): Likewise.
5680 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5682         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5683         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5684         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5685         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5687 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5689         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5690         expression inside statement expression.
5692 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5694         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5695         <sysdeps/nptl/lowlevellock.h> and remove macros and
5696         functions that are now defined there.
5697         (SYS_futex): Remove.
5698         (lll_compare_and_swap): Remove.
5699         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5701 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5703         [BZ #17999]
5704         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5705         instead of scandirat.
5706         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5707         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5708         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5709         __scandirat.
5710         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5711         (__scandirat): Declare.  Use libc_hidden_proto.
5712         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5713         Remove variable.
5714         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5716 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5718         [BZ #15319]
5719         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5720         (MO): New macro.
5721         (__ieee754_atan2): For results with small absolute value, force
5722         underflow exception and remove excess range and precision from
5723         return value.
5724         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5725         (MO): New macro.
5726         (__ieee754_atan2f): For results with small absolute value, force
5727         underflow exception and remove excess range and precision from
5728         return value.
5729         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5730         (MO): New macro.
5731         (__atan): For results with small absolute value, force underflow
5732         exception and remove excess range and precision from return value.
5733         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5734         (MO): New macro.
5735         (__atanf): For results with small absolute value, force underflow
5736         exception and remove excess range and precision from return value.
5737         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5738         <math.h>.
5739         (__ieee754_atan2): Force underflow exception for results with
5740         small absolute value.
5741         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5742         <math_private.h>.
5743         (atan): Force underflow exception for results with small absolute
5744         value.
5745         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5746         (__atanf): Force underflow exception for results with small
5747         absolute value.
5748         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5749         <math.h>.
5750         (__atanl): Force underflow exception for results with small
5751         absolute value.
5752         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5753         (__atanl): Force underflow exception for results with small
5754         absolute value.
5755         * sysdeps/x86/fpu/bits/mathinline.h
5756         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5757         (__ieee754_atan2): Only define inline for long double.
5758         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5759         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5760         * math/auto-libm-test-in: Do not mark underflow exceptions as
5761         possibly missing for bug 15319.  Add more tests of atan2.
5762         * math/auto-libm-test-out: Regenerated.
5763         * math/libm-test.inc (casin_test_data): Do not mark underflow
5764         exceptions as possibly missing for bug 15319.
5765         (casinh_test_data): Likewise.
5766         * sysdeps/i386/fpu/libm-test-ulps: Update.
5768 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5770         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5771         * sysdeps/mips/bits/endian.h: Fix comments.
5773 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5775         [BZ #17996]
5776         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5777         (hdestroy_r): Likewise.
5778         (hsearch_r): Likewise.
5779         (__hcreate_r): Declare and use libc_hidden_proto.
5780         (__hdestroy_r): Likewise.
5781         (__hsearch_r): Likewise.
5782         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5783         (hcreate): Call __hcreate_r instead of hcreate_r.
5784         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5785         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5786         as weak alias of __hcreate_r.
5787         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5788         __hdestroy_r.
5789         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5790         __hsearch_r.
5791         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5792         Remove variable.
5793         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5794         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5795         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5796         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5798 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5800         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5801         arena_lock into a single arena_get.
5803 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5805         * dl-reloc.c: Inlucde libc-internal.h.
5806         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5807         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5808         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5809         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5810         (grow_heap): Likewise.
5811         * malloc/malloc.c: Include libc-internal.h.
5812         (do_check_malloc): Call powerof2.
5813         (sysmalloc): Use pagesize. Call ALIGN_UP.
5814         (systrim): Use pagesize.
5815         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5816         (__libc_valloc): Use pagesize.
5817         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5819 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5821         [BZ #17991]
5822         * include/sys/resource.h (__getrlimit64): Declare.  Use
5823         libc_hidden_proto.
5824         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5825         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5826         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5827         getrlimit64.
5828         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5829         __getrlimit64.
5830         [!getrlimit64] (getrlimit64): Define as weak alias of
5831         __getrlimit64.  Use libc_hidden_weak.
5832         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5833         using __getrlimit64 not __new_getrlimit64.
5834         (__GI_getrlimit64): Likewise.
5835         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5836         Likewise.
5837         (__GI_getrlimit64): Likewise.
5838         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5840         (getrlimit): Add __getrlimit64 alias.
5841         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5842         Likewise.
5843         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5844         Remove variable.
5845         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5846         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5848 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5850         * libio/fileops.c: Add missing sys/mman.h
5851         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5853 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5855         * manual/math.texi (Errors in Math Functions): Clarify goals
5856         regarding inexact and underflow exceptions.
5858 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5860         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5861         * sysdeps/mips/memset.S: Ditto.
5863 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5865         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5867 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5869         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5870         (__v1longjmp): Remove versioned symbol.
5871         (__v1siglongjmp): Remove alias and versioned symbol.
5872         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5873         (__v2siglongjmp): Likewise.
5875 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5877         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5879 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5881         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5883 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5885         [BZ #17987]
5886         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5887         zero result does not depend on the sign resulting from
5888         subtraction.
5889         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5890         Likewise.
5891         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5892         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5893         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5894         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5895         * math/libm-test.inc (remquo_test_data): Add more tests.
5897 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5899         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5900         Problem reported by J William Piggott.
5902 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5904         [BZ #17978]
5905         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5906         products 4 * y and 2 * y where those would overflow.
5907         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5908         Likewise.
5909         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5910         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5911         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5912         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5913         * math/libm-test.inc (remquo_test_data): Add more tests.
5915         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5917         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5918         [defined _COMPILING_NEWLIB].
5919         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5920         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5922         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5923         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5925 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5927         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5928         acquired.
5930 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5932         [BZ #17792]
5933         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5934         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5935         HOST_STACK_END_ADDR): Likewise.
5937 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5939         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5940         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5941         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5943 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5945         * sysdeps/generic/c++-types.data: New file.
5946         * sysdeps/generic/ld.abilist: New file.
5947         * sysdeps/generic/libBrokenLocale.abilist: New file.
5948         * sysdeps/generic/libanl.abilist: New file.
5949         * sysdeps/generic/libc.abilist: New file.
5950         * sysdeps/generic/libcrypt.abilist: New file.
5951         * sysdeps/generic/libdl.abilist: New file.
5952         * sysdeps/generic/libm.abilist: New file.
5953         * sysdeps/generic/libpthread.abilist: New file.
5954         * sysdeps/generic/libresolv.abilist: New file.
5955         * sysdeps/generic/librt.abilist: New file.
5957 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5959         [BZ #17569]
5960         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5961         Compute absolute value of x as modified by fmod, not original
5962         value of x.
5963         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5964         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5965         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5966         RUN_TEST_ffI_f1_mod8.
5967         (remquo_test_data): Add more tests.
5969 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5971         * sysdeps/init_array/pt-crti.S: New file.
5973 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5975         [BZ #17967]
5976         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5977         __builtin_fmaf instead of relying on contraction of a * b + c.
5979 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5981         [BZ #17969]
5982         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5983         node.
5985 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5987         [BZ #17964]
5988         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5989         __builtin_fma instead of relying on contraction of a * b + c.
5991 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5993         * Makeconfig (ASFLAGS): Add -Werror=undef.
5994         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5995         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5996         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5998         * Makeconfig (after-link): New variable.
5999         (+link-pie, +link-pie-tests): Use it.
6000         (+link-static, +link-static-tests): Likewise.
6001         (+link, +link-tests): Likewise.
6002         * Makerules (build-module, build-module-asneeded): Likewise.
6003         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6004         Likewise.
6005         * elf/Makefile ($(objpfx)ld.so): Likewise.
6007 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6009         [BZ #17965]
6010         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6011         both struct timeval and struct timespec.
6013 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6015         [BZ #16560]
6016         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6017         and redefine.
6018         (__ieee754_exp2l): Do not multiply small fractional parts by
6019         M_LN2l.
6020         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6021         small argument.
6022         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6023         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6024         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6025         * math/auto-libm-test-in: Add more tests of exp2.
6026         * math/auto-libm-test-out: Regenerated.
6028 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6030         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6031         unaligned path.
6033 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6035         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6036         little endian.
6038 2015-02-12  Andreas Schwab  <schwab@suse.de>
6040         [BZ #15790]
6041         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6042         Filter out elision flags from value returned in kind.
6043         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6044         * nptl/tst-pthread-mutexattr.c: New file.
6046 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6048         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6049         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6050         into gnu-gnu, and update comment to refer to abi-tags.
6052 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6054         [BZ #15467]
6055         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6056         (__sincos): Set errno to EDOM for infinite argument.
6057         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6058         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6059         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6060         (__sincosl): Set errno to EDOM for infinite argument.
6061         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6062         (__sincosl): Set errno to EDOM for infinite argument.
6063         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6064         (__sincosl): Set errno to EDOM for infinite argument.
6065         * math/libm-test.inc (sincos_test_data): Test errno setting.
6067 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6069         * string/strxfrm_l.c: Remove #define STRCMP.
6070         * string/strcoll_l.c: Remove #define STRLEN.
6071         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6072         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6074 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6076         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6077         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6078         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6079         * sysdeps/mips/mips64/Makefile: ... here.
6080         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6081         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6082         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6083         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6084         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6085         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6086         * sysdeps/mips/mips64/n64/Implies: Likewise.
6088 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6090         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6091         <sys/time.h>, <string.h>, and <errno.h>.
6092         (dest_offset, dest_address, value, zero): Remove unused variables.
6093         (ldouble): Remove typedef.
6094         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6095         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6096         1).  Fix code style.
6097         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6098         (check): Function removed.
6099         (CHECK): New macro.
6100         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6101         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6102         Don't call set_sigaction_FP and remove_sigaction_FP here.
6103         (ldouble_test): Just use 'long double' as macro argument, no need for
6104         the 'ldouble' typedef.
6105         (do_test): Set up SIGFPE handler at start, using plain signal rather
6106         than sigaction.  Fix code style.
6108 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6110         [BZ #17949]
6111         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6112         jump label.
6114 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6116         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6117         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6119         * sysdeps/powerpc/configure.ac: Remove file.
6120         * sysdeps/powerpc/configure: Likewise.
6122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6123         [sysdep_routines]: Remove wordcopy-power6 object.
6124         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6125         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6126         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6127         (__memmove_ppc32): Likewise.
6128         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6129         file.
6130         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6131         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6132         Remove preprocessor.
6134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6135         [sysdep_routines]: Remove wide chars objects.
6136         [wcsmbs]: New rule for wide char objects.
6138         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6139         Remove wordcopy-power6 obejct.
6140         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6141         Use local call for wordcopy and memcpy symbols.
6142         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6143         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6144         implementation for loader.
6145         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6148         Remove wordcopy-power7 object.
6149         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6150         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6151         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6152         (_wordcopy_fwd_dest_aligned): Likewise.
6153         (_wordcopy_bwd_aligned): Likewise.
6154         (_wordcopy_bwd_dest_aligned): Likewise.
6156         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6157         Rewrite to call __memmove_ppc instead of include default
6158         implementation.
6160         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6161         Remove wide chars objects.
6162         [wcsmbs]: New rule for wide char objects.
6164 2015-02-09  Andreas Schwab  <schwab@suse.de>
6166         [BZ #17912]
6167         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6168         in terms of __O_DIRECTORY.
6170 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6172         * time/getdate.c: Include <stdbool.h>.
6173         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6174         call PTR_MANGLE.
6175         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6176         PTR_DEMANGLE.
6178 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6180         Add ersatz _Static_assert on older C hosts
6181         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6182         pre-C11 C platform that is not known to support _Static_assert.
6184 2015-02-07  Richard Braun  <rbraun@sceen.net>
6186         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6187         sigstate.
6188         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6190 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6192         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6193         priority against unexistent AIO_PRIO_DELTA_MAX.
6194         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6195         instead of int.
6196         * misc/fchflags.c (fchflags): Likewise.
6197         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6198         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6199         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6200         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6201         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6202         Declare macros.
6203         [__USE_MISC] (chflags, fchflags): Declare functions.
6204         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6205         EINVAL when nfds is greater than FD_SETSIZE.
6206         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6207         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6208         45.
6209         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6210         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6211         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6212         MACH_RCV_TIMED_OUT.
6213         * hurd/hurd/signal.h (_hurd_self_sigstate,
6214         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6215         Explicit casts from void *.
6216         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6217         * abi-tags: Rename gnu-gnu os into gnu.
6219         [BZ #4719]
6220         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6221         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6222         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6223         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6224         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6225         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6227         [BZ #17944]
6228         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6229         duplicates ADDR->sun_path with sockaddr LEN limitation.
6230         * sysdeps/mach/hurd/connect.c: Include <string.h>
6231         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6232         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6233         * sysdeps/mach/hurd/sendto.c: Likewise.
6234         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6235         implementing it by hand.
6237 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6239         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6240         Use sfi_breg on ldr.
6241         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6242         Likewise.
6244         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6245         it's defined.
6246         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6247         Test SIGSETXID only if it's defined.
6249         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6251         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6252         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6254         * nptl/tst-align2.c: Moved ...
6255         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6256         * nptl/Makefile (tests): Remove tst-align2.
6257         * sysdeps/unix/sysv/linux/Makefile
6258         [$(subdir) = nptl] (tests): Add tst-align-clone.
6259         * nptl/tst-getpid1.c: Moved ...
6260         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6261         * nptl/tst-getpid2.c: Moved ...
6262         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6263         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6264         * sysdeps/unix/sysv/linux/Makefile
6265         [$(subdir) = nptl] (tests): ... here.
6266         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6267         * sysdeps/unix/sysv/linux/Makefile
6268         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6270         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6271         Drop trailing \n from perror argument.  Use return rather than exit.
6273         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6274         on [SA_SIGINFO].
6275         * nptl/tst-cancel21.c (do_test): Likewise.
6276         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6277         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6278         [!SA_SIGINFO]: Make it a stub test.
6280         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6281         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6283         * posix/tst-getlogin.c: Move to ...
6284         * login/tst-getlogin.c: ... here.
6285         * posix/Makefile (tests): Move tst-getlogin to ...
6286         * login/Makefile (tests): ... here.
6288         * libio/tst-atime.c (do_test): Move local variables SV and E
6289         inside [ST_NOATIME] conditional.
6291         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6293         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6295         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6296         (wait_code): New function replaces macro.
6297         Call nanosleep rather than syscall.
6299         * nptl/pt-system.c: Rewritten.  Put everything under
6300         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6301         Use IFUNC to redirect when possible.
6303         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6304         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6305         Use IFUNC to redirect when possible.
6307         * nptl/pt-fork.c: Rewritten.  Put everything under
6308         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6309         Use IFUNC to redirect when possible.
6310         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6312         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6313         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6314         unconditionally nowadays.  This included the only reference to
6315         __vdso_clock_gettime that appears outside libc proper.
6316         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6317         Remove version set (containing only __vdso_clock_gettime).
6318         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6319         Add attribute_hidden.
6320         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6321         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6322         libc_hidden_data_def.
6323         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6324         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6326         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6327         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6328         setrpcent, and getrpcport to ...
6329         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6330         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6331         getrpcbynumber_r, and getrpcent_r to ...
6332         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6333         * inet/getrpcbyname.c: Moved ...
6334         * sunrpc/getrpcbyname.c: ... here.
6335         * inet/getrpcbyname_r.c: Moved ...
6336         * sunrpc/getrpcbyname_r.c: ... here.
6337         * inet/getrpcbynumber.c: Moved ...
6338         * sunrpc/getrpcbynumber.c: ... here.
6339         * inet/getrpcbynumber_r.c: Moved ...
6340         * sunrpc/getrpcbynumber_r.c: ... here.
6341         * inet/getrpcent.c: Moved ...
6342         * sunrpc/getrpcent.c: ... here.
6343         * inet/getrpcent_r.c: Moved ...
6344         * sunrpc/getrpcent_r.c: ... here.
6345         * inet/Makefile (routines): Move those to ...
6346         * sunrpc/Makefile (routines): ... here.
6347         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6348         the $(subdirs) list.
6349         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6350         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6351         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6352         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6354         * elf/Makefile (routines): Include $(all-dl-routines), not just
6355         $(dl-routines).
6356         (rtld-routines): Likewise.  Use = rather than :=.
6357         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6358         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6359         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6360         * sysdeps/arm/Makefile: Likewise.
6361         * sysdeps/i386/Makefile: Likewise.
6362         * sysdeps/x86_64/Makefile: Likewise.
6363         * sysdeps/hppa/Makefile [$(subdir) = elf]
6364         (sysdep_routines, sysdep-rtld-routines): Don't add
6365         $(sysdep-dl-routines) to these.
6366         * sysdeps/ia64/Makefile: Likewise.
6367         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6368         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6369         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6370         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6371         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6372         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6373         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6374         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6375         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6376         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6377         these; sysdep-dl-routines alone is enough.
6379 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6381         [BZ #17932]
6382         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6383         where multiplication results in zero and third argument is finite
6384         and nonzero.
6385         * math/auto-libm-test-in: Add more tests of fma.
6386         * math/auto-libm-test-out: Regenerated.
6388         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6389         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6390         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6391         (_FP_CMP_EQ): Likewise.
6392         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6394         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6395         extra argument CHECK_NAN.  Redefine as wrapper around
6396         _FP_EXTEND_CNAN.
6398 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6400         * version.h (RELEASE): Set to "stable".
6401         (VERSION): Set to "2.21"
6402         * include/features.h (__GLIBC_MINOR__): Set to 21.
6404         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6406 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6407             Paul Eggert  <eggert@cs.ucla.edu>
6409         [BZ #16618]
6410         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6411         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6412         size in bytes. Store needed elements in wpmax. Use needed size
6413         in bytes for extend_alloca.
6415 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6417         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6418         binutls 2.25, and texinfo 5.2.
6419         * INSTALL: Regenerate.
6420         * sysdeps/nios2/configure: Regenerate.
6421         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6422         * manual/contrib.texi: Update.
6423         * po/be.po: Update.
6424         * po/bg.po: Update.
6425         * po/ca.po: Update.
6426         * po/cs.po: Update.
6427         * po/da.po: Update.
6428         * po/de.po: Update.
6429         * po/el.po: Update.
6430         * po/eo.po: Update.
6431         * po/es.po: Update.
6432         * po/fi.po: Update.
6433         * po/fr.po: Update.
6434         * po/gl.po: Update.
6435         * po/hr.po: Update.
6436         * po/hu.po: Update.
6437         * po/ia.po: Update.
6438         * po/id.po: Update.
6439         * po/it.po: Update.
6440         * po/ja.po: Update.
6441         * po/ko.po: Update.
6442         * po/lt.po: Update.
6443         * po/nb.po: Update.
6444         * po/nl.po: Update.
6445         * po/pl.po: Update.
6446         * po/pt_BR.po: Update.
6447         * po/ru.po: Update.
6448         * po/rw.po: Update.
6449         * po/sk.po: Update.
6450         * po/sl.po: Update.
6451         * po/sv.po: Update.
6452         * po/tr.po: Update.
6453         * po/uk.po: Update.
6454         * po/vi.po: Update.
6455         * po/zh_CN.po: Update.
6456         * po/zh_TW.po: Update.
6458         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6459         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6460         * sysdeps/hppa/dl-irel.h: Remove #warning.
6461         * sysdeps/hppa/entry.h: Provide prototype for
6462         __canonicalize_funcptr_for_compare and cast argument.
6463         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6464         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6465         * sysdeps/hppa/sotruss-lib.c: New file.
6466         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6467         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6468         (atomic_compare_and_exchange_bool_acq): Likewise.
6469         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6470         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6472         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6473         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6474         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6476 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6478         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6479         called function in non-PIC case.
6481 2015-01-31  David S. Miller  <davem@davemloft.net>
6483         * sysdeps/sparc/sparc32/bits/atomic.h
6484         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6485         unlock not after it.
6486         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6487         volatile register usage warnings from the compiler.
6489         * sysdeps/sparc/nptl/sem_init.c: Delete.
6490         * sysdeps/sparc/nptl/sem_post.c: Delete.
6491         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6492         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6493         * sysdeps/sparc/sparc32/sem_init.c: New file.
6494         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6495         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6496         padding explicitly initialized.
6497         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6498         padding for in-semaphore spinlock.
6499         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6500         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6501         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6502         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6503         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6504         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6505         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6506         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6507         version.
6508         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6509         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6511 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6513         [BZ #17801]
6514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6515         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6516         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6517         New.
6518         (index_AVX_Fast_Unaligned_Load): Likewise.
6519         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6520         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6521         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6522         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6523         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6524         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6525         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6526         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6527         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6529 2015-01-29  Andreas Schwab  <schwab@suse.de>
6531         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6533 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6535         [BZ #17892]
6536         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6538 2015-01-28  Martin Sebor  <msebor@redhat.com>
6540         * math/README.libm-test: Clarify. Add "How to read the test output."
6542 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6544         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6545         Define to 0.
6547 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6549         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6550         (__HAVE_64B_ATOMICS): Define to 0.
6552 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6554         [BZ #17885]
6555         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6556         value to set as new flag.
6558         [BZ #16576]
6559         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6560         and use _ARCH_PPCSQ instead.
6561         (__ieee754_sqrt): Likewise.
6562         (__ieee754_sqrtf): Likewise.
6563         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6564         _ARCH_PPCSQ is defined.
6565         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6566         fsqrt instruction.
6567         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6568         _ARCH_PPCSQ is defined.
6569         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6570         fsqrts instruction.
6571         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6573 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6575         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6576         bug (GCC BZ #64739).
6578 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6580         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6581         Mark _retval as used.
6582         (lll_futex_wake_unlock): Likewise.
6583         (lll_futex_timed_wait_requeue_pi): Likewise.
6585         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6586         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6587         register variables.
6589         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6590         libm_hidden_def.
6592         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6593         (__bswap_64): Mark as __always_inline.
6595 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6597         [BZ #15378]
6598         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6599         when none of the search directories exist.
6601 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6603         [BZ #17869]
6604         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6605         power8 in .machine directive.
6607         [BZ #17868]
6608         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6609         set dependency from opd value.
6611 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6614         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6615         architecture.
6617 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6619         [BZ #17870]
6620         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6621         with uint64_t.
6622         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6623         (uint64_t) 1.
6624         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6625         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6626         Replace 1UL with (uint64_t) 1.
6627         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6628         int with uint64_t.
6630 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6632         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6633         (if_freenameindex): Likewise.
6635         * resource/getrlimit64.c: Add missing libc_hidden_def.
6637 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6639         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6640         __label__.
6641         (_FP_FMA): Likewise.
6642         (_FP_TO_INT_ROUND): Likewise.
6643         (_FP_FROM_INT): Likewise.
6645 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6647         [BZ #16418]
6648         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6649         Make code racy and cancel safe.
6651 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6653         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6654         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6655         attribution.
6657         * pwd/tst-getpw.c: Rewrite.
6659         [BZ #17702]
6660         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6661         (modules-names): Add moddummy1 and moddummy2.
6662         ($(objpfx)tst-rec-dlopen): Define.
6663         * dlfcn/moddummy1.c: New file.
6664         * dlfcn/moddummy2.c: New file.
6665         * dlfcn/tst-rec-dlopen.c: New file.
6666         * elf/dl-cache.c (_dl_load_cache_lookup):
6667         Return char*. Copy result with alloca/strcpy/strdup.
6668         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6669         returns char*. Free cached. If not saving realname
6670         free cached.
6671         * elf/dl-open.c (dl_open_worker): Do not assert that
6672         _r_debug->r_state is RT_CONSISTENT.
6673         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6674         returns char*.
6676 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6677             Carlos O'Donell  <carlos@redhat.com>
6679         [BZ #12674]
6680         * nptl/sem_waitcommon.c: New file.
6681         * nptl/sem_wait.c: Include sem_waitcommon.c.
6682         (__sem_wait_cleanup, do_futex_wait): Remove.
6683         (__new_sem_wait): Adapt.
6684         (__new_sem_trywait): New function.
6685         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6686         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6687         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6688         (sem_timedwait): Adapt.
6689         * nptl/sem_post.c (__new_sem_post): Adapt.
6690         (futex_wake): New function.
6691         (__old_sem_post): Add release MO fence.
6692         * nptl/sem_open.c (sem_open): Adapt.
6693         * nptl/sem_init.c (__new_sem_init): Adapt.
6694         (futex_private_if_supported): New function.
6695         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6696         (__old_sem_getvalue): Add using previous code.
6697         * sysdeps/nptl/internaltypes.h: Adapt.
6698         * nptl/tst-sem13.c (do_test): Adapt.
6699         * nptl/tst-sem11.c (main): Adapt.
6700         * nptl/sem_trywait.c: Remove.
6701         * nptl/DESIGN-sem.txt: Remove.
6702         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6703         (gen-as-const-headers): Remove structsem.sym.
6704         * nptl/structsem.sym: Remove.
6705         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6706         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6707         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6708         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6709         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6710         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6711         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6712         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6713         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6714         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6715         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6716         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6717         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6718         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6719         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6720         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6721         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6722         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6723         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6724         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6725         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6726         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6728 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6730         * INSTALL: Regenerated.
6732         * po/libc.pot: Regenerated.
6734 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6735             Sandra Loosemore  <sandra@codesourcery.com>
6736             Andrew Jenner  <andrew@codesourcery.com>
6737             Joseph Myers  <joseph@codesourcery.com>
6738             Nathan Sidwell  <nathan@codesourcery.com>
6740         * NEWS: Mention new Nios II port.
6741         * sysdeps/nios2/Implies: New file.
6742         * sysdeps/nios2/Makefile: New file.
6743         * sysdeps/nios2/Subdirs: New file.
6744         * sysdeps/nios2/Versions: New file.
6745         * sysdeps/nios2/__longjmp.S: New file.
6746         * sysdeps/nios2/abort-instr.h: New file.
6747         * sysdeps/nios2/backtrace.c: New file.
6748         * sysdeps/nios2/bits/endian.h: New file.
6749         * sysdeps/nios2/bits/fenv.h: New file.
6750         * sysdeps/nios2/bits/link.h: New file.
6751         * sysdeps/nios2/bits/setjmp.h: New file.
6752         * sysdeps/nios2/bsd-_setjmp.S: New file.
6753         * sysdeps/nios2/bsd-setjmp.S: New file.
6754         * sysdeps/nios2/configure: New generated file.
6755         * sysdeps/nios2/configure.ac: New file.
6756         * sysdeps/nios2/crti.S: New file.
6757         * sysdeps/nios2/crtn.S: New file.
6758         * sysdeps/nios2/dl-init.c: New file.
6759         * sysdeps/nios2/dl-machine.h: New file.
6760         * sysdeps/nios2/dl-sysdep.h: New file.
6761         * sysdeps/nios2/dl-tls.h: New file.
6762         * sysdeps/nios2/dl-trampoline.S: New file.
6763         * sysdeps/nios2/gccframe.h: New file.
6764         * sysdeps/nios2/gmp-mparam.h: New file.
6765         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6766         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6767         * sysdeps/nios2/ldsodefs.h: New file.
6768         * sysdeps/nios2/libc-tls.c: New file.
6769         * sysdeps/nios2/libm-test-ulps: New file.
6770         * sysdeps/nios2/machine-gmon.h: New file.
6771         * sysdeps/nios2/math-tests.h: New file.
6772         * sysdeps/nios2/math_private.h: New file.
6773         * sysdeps/nios2/memusage.h: New file.
6774         * sysdeps/nios2/nptl/Makefile: New file.
6775         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6776         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6777         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6778         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6779         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6780         * sysdeps/nios2/nptl/tls.h: New file.
6781         * sysdeps/nios2/preconfigure: New file.
6782         * sysdeps/nios2/s_fma.c: New file.
6783         * sysdeps/nios2/s_fmaf.c: New file.
6784         * sysdeps/nios2/setjmp.S: New file.
6785         * sysdeps/nios2/sfp-machine.h: New file.
6786         * sysdeps/nios2/sotruss-lib.c: New file.
6787         * sysdeps/nios2/stackguard-macros.h: New file.
6788         * sysdeps/nios2/stackinfo.h: New file.
6789         * sysdeps/nios2/start.S: New file.
6790         * sysdeps/nios2/sysdep.h: New file.
6791         * sysdeps/nios2/tls-macros.h: New file.
6792         * sysdeps/nios2/tst-audit.h: New file.
6793         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6794         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6795         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6796         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6797         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6798         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6799         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6800         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6801         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6802         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6803         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6804         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6805         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6806         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6807         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6808         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6809         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6810         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6811         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6812         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6813         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6814         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6815         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6816         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6817         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6818         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6819         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6820         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6821         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6822         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6823         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6824         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6825         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6826         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6827         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6828         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6829         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6830         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6831         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6832         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6833         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6834         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6835         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6836         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6838 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6840         [BZ #17844]
6841         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6842         (getutent): Use weak_alias in non SHARED case
6843         and default_symbol_version in SHARED case.
6844         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6845         (getutent_r, pututline): Likewise.
6846         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6847         (getutid): Likewise.
6848         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6849         (getutid_r): Likewise.
6850         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6851         (getutline): Likewise.
6852         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6853         (getutline_r): Likewise.
6854         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6855         (updwtmp): Likewise.
6857 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6859         [BZ #17848]
6860         * sysdeps/s390/s390-32/memcmp.S
6861         (memcmp_g5): Rename to __memcmp_g5.
6862         * sysdeps/s390/s390-32/memcpy.S
6863         (memcpy_g5): Rename to __memcpy_g5.
6864         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6865         (memcpy_mvcle) Rename to __memcpy_mvcle.
6866         * sysdeps/s390/s390-32/memset.S
6867         (memset_g5): Rename to __memset_g5.
6868         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6869         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6870         and use prefixed functions.
6871         * sysdeps/s390/s390-32/multiarch/memcmp.S
6872         (memcmp_z196): Rename to __memcmp_z196.
6873         (memcmp_z10): Rename to __memcmp_z10.
6874         (memcmp): Set alias to __memcmp_g5.
6875         (bcmp): Set alias to __memcmp_g5.
6876         * sysdeps/s390/s390-32/multiarch/memcpy.S
6877         (memcpy_z196): Rename to __memcpy_z196.
6878         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6879         (memcpy_z10): Rename to __memcpy_z10.
6880         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6881         (memcpy): Set alias to __memcpy_g5.
6882         * sysdeps/s390/s390-32/multiarch/memset.S
6883         (memset_z196): Rename to __memset_z196.
6884         Jump to __memset_mvcle instead of memset_mvcle.
6885         (memset_z10): Rename to __memset_z10.
6886         Jump to __memset_mvcle instead of memset_mvcle.
6887         (memset_mvcle) Rename to __memset_mvcle.
6888         (memset): Set alias to __memset_g5.
6889         * sysdeps/s390/s390-64/memcmp.S
6890         (memcmp_z900): Rename to __memcmp_z900.
6891         * sysdeps/s390/s390-64/memcpy.S
6892         (memcpy_z900): Rename to __memcpy_z900.
6893         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6894         (memcpy_mvcle) Rename to __memcpy_mvcle.
6895         * sysdeps/s390/s390-64/memset.S
6896         (memset_z900): Rename to __memset_z900.
6897         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6898         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6899         and use prefixed functions.
6900         * sysdeps/s390/s390-64/multiarch/memcmp.S
6901         (memcmp_z196): Rename to __memcmp_z196.
6902         (memcmp_z10): Rename to __memcmp_z10.
6903         (memcmp): Set alias to __memcmp_z900.
6904         (bcmp): Set alias to __memcmp_z900.
6905         * sysdeps/s390/s390-64/multiarch/memcpy.S
6906         (memcpy_z196): Rename to __memcpy_z196.
6907         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6908         (memcpy_z10): Rename to __memcpy_z10.
6909         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6910         (memcpy): Set alias to __memcpy_z900.
6911         * sysdeps/s390/s390-64/multiarch/memset.S
6912         (memset_z196): Rename to __memset_z196.
6913         Jump to __memset_mvcle instead of memset_mvcle.
6914         (memset_z10): Rename to __memset_z10.
6915         Jump to __memset_mvcle instead of memset_mvcle.
6916         (memset_mvcle) Rename to __memset_mvcle.
6917         (memset): Set alias to __memset_z900.
6919 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6921         [BZ #17748]
6922         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6923         __fesetenv instead of fesetenv.
6925 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6927         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6928         macro.
6930 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6932         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6933         regression on LE.
6935         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6936         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6937         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6938         strncmp-power8 object.
6939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6940         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6941         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6942         * NEWS: Update.
6944 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6945             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6947         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6948         trailing byte check.
6950 2015-01-13  David S. Miller  <davem@davemloft.net>
6952         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6954 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6956         * login/logout.c (logout): Use memset rather than bzero.
6957         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6958         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6959         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6960         (_gethtbyaddr): Likewise.
6961         * locale/programs/simple-hash.c (bcopy): Macro removed.
6963 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6965         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6966         Add strcmp-power8 object.
6967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6968         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6969         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6970         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6971         __strcmp_power8 implementation.
6972         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6973         * NEWS: Update.
6975         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6976         Add strncpy-power8 and stpncpy-power8 objects.
6977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6978         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6979         implementations.
6980         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6981         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6982         __stpncpy_power8 implementation.
6983         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6984         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6985         __strncpy_power8 implementation.
6986         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6987         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6988         * NEWS: Update.
6990         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6991         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6992         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6994         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6995         strncat-power8 object.
6996         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6997         __strcat_power8 implementation.
6998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6999         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7000         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7001         optimized strcat for power8.
7003         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7004         strcpy-power8 and stpcpy-power8 objects.
7005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7006         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7007         implementations.
7008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7009         multiarch stpcpy implementation for POWER8.
7010         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7011         multiarch strcpy implementation for POWER8.
7012         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7013         __strcpy_power8 function.
7014         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7015         stpcpy for POWER8.
7016         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7017         strcpy for POWER8.
7018         * NEWS: Update.
7020 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7022         [BZ #16009]
7023         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7024         weights and rules. Use do_xfrm_cached if data fits in cache,
7025         do_xfrm otherwise.  Moved former main loop to...
7026         * (do_xfrm_cached): New function.
7027         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7028         find_idx, find_position and stack_push.
7029         * (find_idx): New function.
7030         * (find_position): Likewise.
7031         * localedata/sort-test.sh: Added test run for do_xfrm.
7032         * localedata/xfrm-test.c (main): Added command line option
7033         -nocache to run the test with strings that are too large for
7034         the STRXFRM cache.
7036 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7038         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7039         variable to lll_futex_wake call, not the value itself.
7041 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7043         [BZ #17803]
7044         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7045         twom64.  Adjust value to 0x1p-64L.
7046         (__scalblnl): Only return standard underflowing result for K <=
7047         -64 not K <= -63; adjust exponent for underflowing result by 64
7048         not 63.
7049         * math/libm-test.inc (scalbn_test_data): Add more tests.
7050         (scalbln_test_data): Likewise.
7052         [BZ #17834]
7053         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7054         0x1p63L.
7055         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7056         not HX.
7057         * math/libm-test.inc (scalbn_test_data): Add more tests.
7058         (scalbln_test_data): Likewise.
7060 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7061             Stefani Seibold  <stefani@seibold.net>
7063         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7064         (sysdep_routines): Add dl-vdso here, ...
7065         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7066         (sysdep_routines): ... not here.
7067         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7068         fallback when vDSO is not presented.
7069         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7070         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7071         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7072         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7073         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7074         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7075         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7076         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7077         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7078         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7079         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7080         fallback configurable symbol when vDSO is not available.
7081         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7082         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7083         be able to redefine fallback symbol when vDSO is not available.
7084         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7085         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7087 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7089         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7090         (TLS_INIT_TP): Add tm_capable initialization.
7091         (TLS_DEFINE_INIT_TP): Likewise.
7092         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7093         TCB.
7094         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7095         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7096         calculation.
7097         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7098         transactoion is lock elision is built and TCB tm_capable is set.
7099         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7101         (INTERNAL_SYSCALL_NCS): Likewise.
7102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7103         (INTERNAL_SYSCALL_NCS): Likewise.
7104         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7106         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7107         for powerpc.
7108         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7109         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7110         and remove it for 32 bits case.
7111         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7113         initialization.
7114         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7115         Disable lock elision with rdlocks if elision is not available.
7117         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7118         (sysdep_routines): Add lock elision objects.
7119         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7120         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7121         [pthread_mutex_t] (__elision): Add field.
7122         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7123         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7124         elision definitions for powerpc.
7125         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7126         implementation of lock elision for powerpc.
7127         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7128         implementation of timed lock elision for powerpc.
7129         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7130         implementation of trylock with lock elision for powerpc.
7131         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7132         implementaion of unlock for lock elision for powerpc.
7133         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7134         automatic enable lock elision for mutexes.
7135         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7136         transaction execution definitions for powerpc.
7137         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7138         definitions.
7139         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7140         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7141         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7142         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7143         * NEWS: Update.
7145 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7147         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7148         for #include of <shm-directory.h>.
7150 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7152         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7153         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7155 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7157         [BZ #17791]
7158         * NEWS: Mention bug fix.
7159         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7160         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7161         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7163 2015-01-09  Torvald Riegel <triegel@redhat.com>
7165         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7167 2015-01-09  Torvald Riegel <triegel@redhat.com>
7169         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7171 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7173         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7174         pointer and cast to uintptr_t.
7176 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7178         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7179         removed.
7180         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7182 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7184         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7185         of 0.
7187 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7189         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7190         <nptl/pthreadP.h> instead.
7191         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7193         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7194         already defined.
7195         [__SIGRTMIN] (init): Function removed.
7196         [__SIGRTMIN] (initialized): Variable removed.
7197         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7198         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7199         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7200         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7201         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7202         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7203         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7204         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7205         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7206         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7207         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7208         * sysdeps/nptl/allocrtsig.c: New file.
7209         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7210         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7211         * sysdeps/generic/testrtsig.h: File removed.
7213         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7214         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7216         * nptl/nptl-init.c (pthread_functions): Conditionalize
7217         .ptr__nptl_setxid initialization on [SIGSETXID].
7219         * sysdeps/nptl/sys/procfs.h: New file.
7220         * nptl_db/Makefile (headers): Add it.
7221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7223         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7224         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7225         * nptl/pthread_attr_setaffinity.c: Include it.
7226         * nptl/pthread_setattr_default_np.c: Likewise.
7227         * nptl/check-cpuset.h: New file.
7229 2015-01-08  Richard Henderson  <rth@redhat.com>
7231         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7232         (CFLAGS-tst-execstack-prog.c): Likewise.
7233         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7235 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7236             Sandra Loosemore  <sandra@codesourcery.com>
7237             Andrew Jenner  <andrew@codesourcery.com>
7238             Joseph Myers  <joseph@codesourcery.com>
7239             Nathan Sidwell  <nathan@codesourcery.com>
7241         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7242         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7243         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7244         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7245         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7246         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7247         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7248         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7249         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7250         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7251         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7252         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7253         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7254         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7255         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7256         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7257         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7259 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7261         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7262         timespec struct member in syscall macro.
7263         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7264         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7265         first timeval struct member in syscall macro.
7266         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7268 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7270         [BZ #17748]
7271         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7272         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7273         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7274         __feupdateenv and define as weak alias of __feupdateenv.  Use
7275         libm_hidden_weak.
7276         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7277         libm_hidden_def.
7278         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7279         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7280         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7281         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7282         libm_hidden_def.
7283         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7284         __feupdateenv and define as weak alias of __feupdateenv.  Use
7285         libm_hidden_weak.
7286         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7287         libm_hidden_def.
7288         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7289         __feupdateenv and define as weak alias of __feupdateenv.  Use
7290         libm_hidden_weak.
7291         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7292         libm_hidden_def.
7293         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7294         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7295         (__feupdateenv): Likewise.
7296         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7297         __feupdateenv and define as weak alias of __feupdateenv.  Use
7298         libm_hidden_weak.
7299         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7300         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7301         libm_hidden_def.
7302         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7303         function.
7304         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7305         libm_hidden_def.
7306         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7307         __feupdateenv instead of feupdateenv.
7308         (default_libc_feupdateenv_test): Likewise.
7309         (libc_feresetround_ctx): Likewise.
7311 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7313         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7314         prototype.
7316 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7318         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7319         COLL_SYM in a couple of places to avoid uninitialized variable
7320         wanings on tilegx gcc 4.8.2.
7322 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7324         * sysdeps/aarch64/strcpy.S: New file.
7325         * sysdeps/aarch64/stpcpy.S: New file.
7326         * NEWS: Updated.
7328 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7330         * sysdeps/aarch64/strrchr.S: New file.
7331         * NEWS: Updated.
7333 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7335         [BZ #17658]
7336         * stdlib/setenv.c: Fix memory leak when setting large,
7337         duplicate string.
7339 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7341         [BZ #17273]
7342         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7343         and tabs from buffer before parsing fstab entry.
7344         * misc/tst-mntent.c (main): Add test for mount entry with
7345         trailing spaces and tabs.
7347 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7349         [BZ #17748]
7350         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7351         * math/fesetround.c (fesetround): Rename to __fesetround and
7352         define as weak alias of __fesetround.  Use libm_hidden_weak.
7353         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7354         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7355         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7356         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7357         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7358         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7359         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7360         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7361         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7362         __fesetround_inline.
7363         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7364         __fesetround_inline instead of __fesetround.
7365         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7366         __fesetround and define as weak alias of __fesetround.  Use
7367         libm_hidden_weak.  Call __fesetround_inline instead of
7368         __fesetround.
7369         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7370         __fesetround and define as weak alias of __fesetround.  Use
7371         libm_hidden_weak.
7372         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7373         Likewise.
7374         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7375         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7376         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7377         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7378         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7379         __fesetround and define as weak alias of __fesetround.  Use
7380         libm_hidden_weak.
7381         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7382         __fesetround instead of fesetround.
7383         (default_libc_feholdexcept_setround): Likewise.
7384         (libc_feholdsetround_ctx): Likewise.
7385         (libc_feholdsetround_noex_ctx): Likewise.
7387         [BZ #17748]
7388         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7389         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7390         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7391         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7392         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7393         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7394         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7395         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7396         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7397         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7398         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7399         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7400         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7401         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7402         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7403         libm_hidden_def.
7404         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7405         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7406         Likewise.
7407         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7408         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7409         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7410         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7411         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7412         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7413         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7414         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7415         __fesetenv instead of fesetenv.
7416         (libc_feresetround_noex_ctx): Likewise.
7417         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7418         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7419         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7420         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7421         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7422         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7423         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7424         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7425         (__feupdateenv): Likewise.
7426         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7427         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7428         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7429         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7431 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7433         [BZ #17806]
7434         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7435         addresses have been freed.
7437 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7439         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7440         and nservall.
7442 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7444         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7445         Clean up check_pf allocation pattern. addresses
7447 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7449         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7450         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7451         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7452         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7453         * nptl/pthread_join.c (pthread_join): Likewise.
7454         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7455         * sysdeps/posix/waitid.c (__waitid): Likewise.
7456         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7457         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7458         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7459         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7461         Likewise.
7462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7463         (__libc_pread64): Likewise.
7464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7465         (__libc_pwrite): Likewise.
7466         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7467         (__libc_pwrite64): Likewsie.
7468         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7469         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7470         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7471         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7472         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7473         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7474         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7476         Likewise.
7477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7478         (__libc_pread64): Likewise.
7479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7480         Likewise.
7481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7482         (__libc_pwrite64): Likewise.
7483         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7484         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7485         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7486         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7487         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7488         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7489         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7490         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7491         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7492         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7493         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7494         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7495         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7496         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7497         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7498         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7499         Likewise.
7501 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7503         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7504         (CFLAGS-test-double.c): Likewise.
7505         (CFLAGS-test-ldouble.c): Likewise.
7506         (CPPFLAGS-test-ifloat.c): Likewise.
7507         (CPPFLAGS-test-idouble.c): Likewise.
7508         (CPPFLAGS-test-ildoubl.c): Likewise.
7509         (CFLAGS-test-test-fenv.c): Remove variable.
7510         (CFLAGS-test-misc.c): Likewise.
7512 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7514         [BZ #17797]
7515         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7516         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7517         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7518         CLOCKS_PER_SEC == 1000000.
7519         * time/clocktest.c (main): Replace %ld with %jd and cast to
7520         intmax_t.
7522 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7524         * sysdeps/generic/unwind-resume.h: New file.
7525         * sysdeps/gnu/unwind-resume.c: Include it.
7526         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7527         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7528         argument list.
7529         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7530         global rather than static.
7531         (_Unwind_Resume): Update user.
7532         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7533         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7534         rather than static.  Add __attribute__ ((cold)).
7535         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7536         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7537         * sysdeps/arm/arm-unwind-resume.S: New file.
7538         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7539         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7540         * sysdeps/arm/Makefile [$(subdir) = csu]
7541         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7542         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7543         Add rt-arm-unwind-resume.
7544         [$(subdir) = nptl]
7545         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7546         Add pt-arm-unwind-resume.
7547         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7548         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7550 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7552         [BZ #17748]
7553         * include/fenv.h (__feholdexcept): Declare.  Use
7554         libm_hidden_proto.
7555         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7556         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7557         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7558         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7559         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7560         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7561         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7562         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7563         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7564         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7565         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7566         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7567         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7568         (feholdexcept): Likewise.
7569         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7570         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7571         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7572         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7573         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7574         __feholdexcept instead of feholdexcept.
7575         (default_libc_feholdexcept_setround): Likewise.
7577 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7579         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7580         to avoid using stl/str to align destination.
7582 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7584         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7586 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7588         [BZ #17796]
7589         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7590         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7591         Define as weak alias not strong alias.
7593 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7595         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7596         bltzal with addiupc.
7597         (RTLD_START): Ditto.
7599 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7601         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7602         for __vdso_* functions in declarations.
7603         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7604         definitions.
7605         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7606         INTERNAL_VSYSCALL): Use struct return types to check for error.
7608         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7609         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7610         function with cast from llround().
7611         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7612         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7613         Define.
7615 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7617         [BZ #17793]
7618         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7619         Define as weak alias not strong alias.
7621         [BZ #17635]
7622         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7623         ...
7624         * ctype/ctype-extn.c: ... here.
7625         (__isblank_l): Move to ...
7626         * ctype/ctype-c99_l.c: ... here.  New file.
7627         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7628         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7629         Remove variable.
7630         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7631         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7632         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7633         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7634         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7636         [BZ #17777]
7637         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7638         (posix_fadvise64): Define as weak alias not strong alias.
7639         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7640         (posix_fallocate64): Likewise.
7641         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7642         Remove variable.
7643         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7644         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7645         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7646         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7647         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7649 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7651         [BZ #16191]
7652         * NEWS: Mention bug fix.
7653         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7654         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7655         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7656         (HOST_STACK_END_ADDR): Likewise.
7658 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7660         [BZ #17748]
7661         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7662         * math/fegetround.c (fegetround): Rename to __fegetround and
7663         define as weak alias of __fegetround.  Use libm_hidden_weak.
7664         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7665         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7666         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7667         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7668         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7669         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7670         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7671         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7672         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7673         Undefine after rather than before function definition; use
7674         parentheses around function name in definition.
7675         (__fegetround): Also undefine macro after function definition.
7676         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7677         __fegetround and define as weak alias of __fegetround.  Use
7678         libm_hidden_weak.  Do not undefine as macro.
7679         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7680         Likewise.
7681         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7682         __fegetround and define as weak alias of __fegetround.  Use
7683         libm_hidden_weak.
7684         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7685         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7686         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7687         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7688         __fegetround and define as weak alias of __fegetround.  Use
7689         libm_hidden_weak.
7690         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7691         __fegetround instead of fegetround.
7693         [BZ #17782]
7694         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7695         Condition macro definition on [__USE_MISC].
7697         [BZ #17781]
7698         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7699         (struct sigaction): Change type of sa_flags field to int.
7701         [BZ #17780]
7702         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7703         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7704         __glibc_reserved0.
7706         * nptl/version.c (banner): Use single year in copyright notice.
7708         * NEWS: Update copyright dates.
7709         * catgets/gencat.c (print_version): Likewise.
7710         * csu/version.c (banner): Likewise.
7711         * debug/catchsegv.sh: Likewise.
7712         * debug/pcprofiledump.c (print_version): Likewise.
7713         * debug/xtrace.sh (do_version): Likewise.
7714         * elf/ldconfig.c (print_version): Likewise.
7715         * elf/ldd.bash.in: Likewise.
7716         * elf/pldd.c (print_version): Likewise.
7717         * elf/sotruss.sh: Likewise.
7718         * elf/sprof.c (print_version): Likewise.
7719         * iconv/iconv_prog.c (print_version): Likewise.
7720         * iconv/iconvconfig.c (print_version): Likewise.
7721         * locale/programs/locale.c (print_version): Likewise.
7722         * locale/programs/localedef.c (print_version): Likewise.
7723         * login/programs/pt_chown.c (print_version): Likewise.
7724         * malloc/memusage.sh (do_version): Likewise.
7725         * malloc/memusagestat.c (print_version): Likewise.
7726         * malloc/mtrace.pl: Likewise.
7727         * manual/libc.texinfo: Likewise.
7728         * nptl/version.c (banner): Likewise.
7729         * nscd/nscd.c (print_version): Likewise.
7730         * nss/getent.c (print_version): Likewise.
7731         * nss/makedb.c (print_version): Likewise.
7732         * posix/getconf.c (main): Likewise.
7733         * scripts/test-installation.pl: Likewise.
7734         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7736 2015-01-02  Will Newton  <will.newton@linaro.org>
7738         * sysdeps/arm/armv7/configure: Removed.
7739         * sysdeps/arm/armv7/configure.ac: Likewise.
7741 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7743         * All files with FSF copyright notices: Update copyright dates
7744         using scripts/update-copyrights.
7745         * intl/plural.c: Regenerated.
7746         * locale/programs/charmap-kw.h: Likewise.
7747         * locale/programs/locfile-kw.h: Likewise.
7749 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7751         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7753 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7755         [BZ #17748]
7756         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7757         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7758         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7759         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7760         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7761         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7762         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7763         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7764         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7765         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7766         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7767         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7768         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7769         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7770         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7771         libm_hidden_def.
7772         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7773         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7774         Likewise.
7775         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7776         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7777         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7778         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7779         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7780         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7781         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7782         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7783         __fegetenv instead of fegetenv.
7784         (libc_feholdsetround_noex_ctx): Likewise.
7786 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7788         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7789         (Elf_MIPS_ABIFlags_v0): New structure.
7790         (EF_MIPS_FP64): Define.
7791         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7792         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7793         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7794         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7795         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7796         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7797         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7798         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7799         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7800         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7801         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7802         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7803         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7804         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7805         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7806         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7807         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7808         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7809         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7810         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7811         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7812         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7813         field.
7814         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7815         EF_MIPS_FP64.
7816         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7817         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7818         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7819         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7820         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7821         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7822         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7823         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7824         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7825         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7826         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7827         record the current FP ABI extension.
7828         (mips-mode-switch): Define to show if kernel headers support mode
7829         switching.
7830         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7831         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7832         supported SYSV ABI version to 3.
7833         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7834         feature.
7836 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7837             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7839         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7840         path.
7841         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7843 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7845         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7846         __fegetround and redefine to call __fegetround.  Remove condition
7847         on [!__NO_MATH_INLINES].
7848         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7849         function.
7850         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7851         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7852         Remove macro.
7853         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7854         instead of <fenv_libc.h>.
7855         (__llrintl): Call fegetround instead of __fegetround.
7856         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7857         instead of <fenv_libc.h>.
7858         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7859         (__lrintl): Call fegetround instead of __fegetround.
7860         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7861         instead of <fenv_libc.h>.
7862         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7863         (__rintl): Call fegetround instead of __fegetround.
7865 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7867         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7868         arrays.
7870 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7872         [BZ #17775]
7873         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7874         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7875         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7877 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7879         * sysdeps/i386/tls-macros.h: Include <features.h>.
7880         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7881         (TLS_IE): Likewise.
7882         (TLS_LD): Likewise.
7883         (TLS_GD): Likewise.
7884         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7885         define for GCC >= 5.0.
7887 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7889         * math/test-fenv.c (test_single_exception, set_single_exc,
7890         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7891         feexcp_mask_test, feenable_test, fe_single_test): Add
7892         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7893         case where they are not used.
7894         * math/libm-test.inc: Likewise.
7895         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7896         unused in the absence of FP rounding/exception support.
7897         * stdio-common/tst-printf-round.c: Likewise.
7898         * stdlib/tst-strtod-round.c: Likewise.
7899         * stdlib/tst-strtod-underflow.c: Likewise.
7901 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7903         [BZ #17723]
7904         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7905         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7906         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7907         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7908         libm_hidden_weak.
7909         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7910         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7911         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7912         libm_hidden_def.
7913         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7914         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7915         libm_hidden_weak.
7916         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7917         Likewise.
7918         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7919         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7920         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7921         libm_hidden_weak.
7922         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7923         libm_hidden_def.
7924         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7925         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7926         (__feraiseexcept): Likewise.
7927         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7928         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7929         libm_hidden_weak.
7930         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7931         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7932         libm_hidden_def.
7933         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7934         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7935         Use libm_hidden_def.
7936         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7937         libm_hidden_def.
7938         (feraiseexcept): Define as weak not strong alias.  Use
7939         libm_hidden_weak.
7940         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7941         New inline function.  Factored out of ...
7942         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7943         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7944         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7945         feraiseexcept.
7946         * math/w_acos.c (__acos): Likewise.
7947         * math/w_asin.c (__asin): Likewise.
7948         * math/w_ilogb.c (__ilogb): Likewise.
7949         * math/w_j0.c (y0): Likewise.
7950         * math/w_j1.c (y1): Likewise.
7951         * math/w_jn.c (yn): Likewise.
7952         * math/w_log.c (__log): Likewise.
7953         * math/w_log10.c (__log10): Likewise.
7954         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7955         * sysdeps/aarch64/fpu/math_private.h
7956         (libc_feupdateenv_test_aarch64): Likewise.
7957         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7958         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7959         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7960         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7961         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7962         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7963         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7964         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7965         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7966         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7968 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7970         [BZ #17732]
7971         * io/test-utime.c (main): Replace %ld with %jd and cast to
7972         intmax_t.
7973         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7974         * nptl/tst-mutex5.c: Include <stdint.h>.
7975         (do_test): Replace %ld with %jd and cast to intmax_t.
7976         * posix/tst-regex.c (run_test): Likewise.
7977         (run_test_backwards): Likewise.
7978         * rt/tst-clock.c: Include <stdint.h>.
7979         (clock_test): Replace %ld with %jd and cast to intmax_t.
7980         * rt/tst-cpuclock1.c: Include <stdint.h>.
7981         (do_test): Replace %lu with %ju and cast to uintmax_t.
7982         * rt/tst-cpuclock2.c: Include <stdint.h>.
7983         (do_test): Replace %lu with %ju and cast to uintmax_t.
7984         * rt/tst-mqueue1.c: Include <stdint.h>.
7985         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7986         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7987         intmax_t.
7988         * rt/tst-mqueue4.c (do_test): Likewise.
7989         * rt/tst-timer4.c: Include <stdint.h>.
7990         (check_ts): Replace %ld with %jd and cast to intmax_t.
7991         (do_test): Likewise.
7992         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7993         and cast to intmax_t.
7994         * sysdeps/pthread/tst-timer.c (main): Likewise.
7995         * time/clocktest.c (main): Likewise.
7996         * time/tst-posixtz.c (do_test): Likewise.
7997         * timezone/tst-timezone.c (main): Likewise.
7999 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8000             H.J. Lu  <hongjiu.lu@intel.com>
8002         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8003         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8004         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8005         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8006         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8007         version if bit_Fast_Unaligned_Load is set.
8008         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8009         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8010         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8011         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8012         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8013         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8014         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8015         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8016         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8017         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8018         to 4.
8019         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8020         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8021         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8022         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8024 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8026         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8027         instead of #if to avoid a Wundef warning.
8028         * stdlib/tst-limits.c (do_test): Likewise.
8030         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8031         parallel other exception macros.
8032         (fegetenv): Convert from macro to extern inline so that it applies
8033         retroactively to inline functions already seen by the compiler.
8034         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8036         * posix/Makefile (before-compile): Use $(objpfx) for
8037         posix-conf-vars-def.h.
8039 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8041         * posix/getconf.c (main): Use size_t for type of I.
8042         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8043         NSPEC.
8045         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8046         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8047         * posix/posix-envs.def: Likewise.
8048         * sysdeps/posix/sysconf.c: Likewise.
8049         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8050         (specs): Remove array.
8051         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8052         array.
8054         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8055         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8056         (__sysconf): Use CONF_IS_* macros.
8058         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8059         ($(objpfx)posix-conf-vars-def.h): New target.
8060         * posix/posix-conf-vars.list: New file.
8061         * posix/posix-conf-vars.h: New file.
8062         * posix/confstr.c: Include posix-conf-vars.h.
8063         (confstr): Use CONF_IS_* macros.
8064         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8065         CONF_IS_* macros.
8066         * scripts/gen-posix-conf-vars.awk: New file.
8068 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8070         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8071         fegetround): Add no-op macros to avoid linknamespace issues.
8073         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8074         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8076         * sysdeps/unix/sysv/linux/tile/sysdep.h
8077         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8078         assembly-specific section to avoid a redefinition warning.
8080         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8081         long before casting to pointer to avoid a cast warning.
8083 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8085         * sysdeps/tile/tilegx/Implies: New file.
8087 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8089         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8091 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8093         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8095 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8097         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8098         not define.
8099         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8100         <kernel-features.h>.
8101         (__utimes) [__NR_utimes]: Make code unconditional.
8102         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8103         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8104         (__ASSUME_UTIMES): Do not undefine.
8105         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8106         (__ASSUME_UTIMES): Likewise.
8107         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8108         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8109         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8110         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8112 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8114         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8116 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8118         [BZ #17747]
8119         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8120         alias to weak alias for j0l, y0l.
8121         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8122         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8124         [BZ #17746]
8125         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8126         conversion.
8128 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8130         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8131         to zero if not already defined.
8133 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8135         [BZ #17724]
8136         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8137         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8138         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8139         (char *) casts added.
8140         * sysdeps/ieee754/k_standardf.c: New file.
8141         * sysdeps/ieee754/k_standardl.c: Likewise.
8142         * math/Makefile (libm-support): Remove k_standard.
8143         (libm-calls): Add k_standard.
8145 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8147         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8148         Optimize to avoid an unnecessary FPCR read.
8150 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8152         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8153         Optimize to reduce FPCR/FPSR accesses.
8155 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8157         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8158         Call libc_fetestexcept_aarch64.
8160 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8162         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8163         Call libc_fesetround_aarch64.
8165 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8167         [BZ #17733]
8168         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8169         (__bind): Do not define as weak alias.
8170         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8171         define.
8172         (__getsockname): Do not define as weak alias.
8174 2014-12-22  Will Newton  <will.newton@linaro.org>
8176         * manual/install.texi: Document that we require bison 2.7
8177         or above.
8178         * INSTALL: Regenerate.
8179         * configure.ac: Use AC_CHECK_PROG_VER instead of
8180         AC_PATH_PROG when checking for bison and check for
8181         version 2.7 or above.
8182         * configure: Regenerate.
8184 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8186         [BZ #17745]
8187         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8188         * sysdeps/tile/ffsll.c (ffsll): To here.
8190         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8192 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8194         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8195         if not defined.
8196         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8197         definition.
8198         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8199         hidden ___tls_get_addr.
8200         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8201         hidden __tls_get_addr.
8202         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8203         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8204         Likewise.
8206 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8208         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8209         _dl_init call.
8211 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8213         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8214         from "call _dl_init@PLT".
8215         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8217 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8219         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8220         guarantees.
8222 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8224         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8226 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8228         [BZ #17744]
8229         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8230         strnlen.
8232 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8234         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8235         of multu on MIPSr6.
8236         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8237         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8238         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8239         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8240         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8242 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8244         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8245         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8246         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8247         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8248         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8249         mips32r6/mips64r6.
8250         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8252 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8254         * string/strncat.c (STRNCAT): Simplify implementation.
8256 2014-12-19  David S. Miller  <davem@davemloft.net>
8258         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8259         access the quad as both a long double and as a series of 4 words.
8261         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8262         link_map->l_info array access.
8264 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8266         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8268         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8269         * math/atest-exp2.c (TIMEOUT): Likewise.
8270         * math/atest-sincos.c (TIMEOUT): Likewise.
8272 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8274         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8275         -Wno-error with -fno-builtin-lround.
8277 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8279         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8280         Contains futex constants and functions moved over from ...
8281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8282         <lowlevellock-futex.h>.
8283         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8284         (lll_timedwait_tid): Add comments and parentheses around macro
8285         arguments.
8287 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8289         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8290         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8291         (__lll_private_flag): Remove.
8292         (lll_futex_wait): Likewise.
8293         (lll_futex_timed_wait): Likewise.
8294         (lll_futex_wake): Likewise.
8295         (lll_futex_requeue): Likewise.
8296         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8297         (__lll_timedwait_tid): Spell out argument names.
8298         (lll_timedwait_tid): Add comments and parentheses around macro
8299         arguments.
8300         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8301         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8303 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8305         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8306         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8307         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8308         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8309         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8310         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8311         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8312         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8313         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8314         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8315         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8316         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8317         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8318         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8319         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8320         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8321         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8322         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8323         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8325 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8327         * sysdeps/x86_64/x32/Makefile: New file.
8329 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8331         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8332         1L with (mp_limb_t) 1.
8334 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8336         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8337         * nptl/libc_pthread_init.c: ... here.
8338         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8339         * nptl/register-atfork.c: ... here.
8341         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8342         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8343         Use assert_perror to check its return value.
8344         (__gai_create_helper_thread): Likewise.
8346         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8348         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8350 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8352         [BZ #17725]
8353         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8354         __profil_counter.
8355         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8356         Likewise.
8357         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8358         Likewise.
8359         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8360         Likewise.
8361         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8362         (profil_counter): Likewise.
8363         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8364         (profil_counter): Likewise.
8365         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8366         Likewise.
8367         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8368         Likewise.
8369         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8370         (profil_counter): Likewise.
8371         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8372         Likewise.
8373         [!__profil_counter] (profil_counter): Define as weak alias of
8374         __profil_counter.
8375         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8376         (profil_counter): Rename to __profil_counter.
8377         [!__profil_counter] (profil_counter): Define as weak alias of
8378         __profil_counter.
8379         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8380         (profil_counter): Rename to __profil_counter.
8381         [!__profil_counter] (profil_counter): Define as weak alias of
8382         __profil_counter.
8383         * sysdeps/posix/profil.c: Update comment referring to
8384         profil_counter.
8385         (__profil): Use __profil_counter instead of profil_counter.
8386         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8387         __profil_counter.  Use __profil_counter_ushort and
8388         __profil_counter_uint in definitions.
8389         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8390         instead of profil_counter_uint and profil_counter_ushort.
8392         [BZ #17722]
8393         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8394         define as weak alias of __inet_makeaddr.
8395         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8396         as weak alias of __inet_addr.
8397         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8398         as weak alias of __inet_pton.  Use libc_hidden_weak.
8399         * include/arpa/inet.h (__inet_pton): Declare.  Use
8400         libc_hidden_proto.
8401         (inet_makeaddr): Don't use libc_hidden_proto.
8402         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8403         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8404         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8405         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8406         Remove variable.
8407         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8408         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8410 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8412         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8414 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8416         * stdio-common/bug-vfprintf-nargs.c (do_test):
8417         Cast value to intptr_t to avoid format warning
8418         for usage with PRIdPTR printing macro.
8420 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8422         * libio/tst-widetext.c (do_test):
8423         Use format type %td instead of %Zd for ptrdiff_t
8424         in order to avoid format warning.
8426 2014-12-17  Andreas Schwab  <schwab@suse.de>
8428         * nscd/mem.c (gc): Add size_t cast to match printf format.
8430 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8432         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8433         (init): Apply PTR_MANGLE to pointers before storing them.
8434         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8435         before using them.
8437 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8439         [BZ #17719]
8440         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8441         define as weak alias of __memrchr.
8442         (__memrchr): Do not define as strong alias of memrchr.
8443         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8444         Remove variable.
8445         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8446         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8447         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8449         [BZ #17717]
8450         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8451         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8452         (if_indextoname): Rename to __if_indextoname and define as weak
8453         alias of __if_indextoname.  Use libc_hidden_weak.
8454         (if_freenameindex): Rename to __if_freenameindex and define as
8455         weak alias of __if_freenameindex.
8456         (if_nameindex): Rename to __if_nameindex and define as weak alias
8457         of __if_nameindex.
8458         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8459         __if_nametoindex and define as weak alias of __if_nametoindex.
8460         Use libc_hidden_weak.
8461         (if_freenameindex): Rename to __if_freenameindex and define as
8462         weak alias of __if_freenameindex.
8463         (if_nameindex): Rename to __if_nameindex and define as weak alias
8464         of __if_nameindex.
8465         (if_indextoname): Rename to __if_indextoname and define as weak
8466         alias of __if_indextoname.  Use libc_hidden_weak.
8467         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8468         __if_nametoindex and define as weak alias of __if_nametoindex.
8469         Use libc_hidden_weak.
8470         (if_freenameindex): Rename to __if_freenameindex and define as
8471         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8472         (if_nameindex_netlink): Use __if_freenameindex instead of
8473         if_freenameindex.
8474         (if_nameindex): Rename to __if_nameindex and define as weak alias
8475         of __if_nameindex.  Use libc_hidden_weak.
8476         (if_indextoname): Rename to __if_indextoname and define as weak
8477         alias of __if_indextoname.  Use libc_hidden_weak.
8478         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8479         libc_hidden_proto.
8480         [!_ISOMAC] (__if_freenameindex): Likewise.
8481         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8482         if_nametoindex.
8483         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8484         variable.
8485         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8486         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8487         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8488         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8489         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8490         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8491         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8493         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8494         Remove variable.
8495         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8496         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8498 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8500         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8501         subscript above bounds'
8503         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8504         bounds.
8506 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8508         * libio/tst-fopenloc.c: Use test-skeleton.c.
8510         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8511         (entry): Rename to ITEM.
8512         (do_test, comp): Adjust.
8514         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8516 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8518         * string/tester.c: Include <libc-internal.h>.
8519         (test_memset): Ignore -Wmemset-transposed-args.
8521 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8523         * misc/tst-mntent2.c (do_test): Fix warning.
8525 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8527         * elf/tst-unique4lib.cc(a): Mark as used.
8529 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8531         [BZ #17630]
8532         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8533         names.
8535 2014-12-16  Allan McRae  <allan@archlinux.org>
8537         * stdio-common/Makefile (tests): Re-add bug26.
8539 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8541         [BZ #17657]
8542         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8543         static array.
8545 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8547         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8548         (__lll_lock_wait): Likewise.
8549         (__lll_timedlock_wait): Likewise.
8550         (__lll_timedwait_tid): Likewise.
8551         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8552         (__lll_robust_timedlock_wait): Likewise.
8553         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8554         (lll_cond_trylock): Likewise.
8555         (__lll_lock): Likewise.
8556         (__lll_robust_lock): Likewise.
8557         (__lll_cond_lock): Likewise.
8558         (lll_robust_cond_lock): Likewise.
8559         (__lll_timedlock): Likewise.
8560         (__lll_robust_timedlock): Likewise.
8561         (__lll_unlock): Likewise.
8562         (__lll_robust_unlock): Likewise.
8563         (lll_wait_tid): Likewise.
8564         (lll_timedwait_tid): Likewise.
8566 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8568         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8570 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8572         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8574 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8576         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8577         * stdio-common/tst-sprintf.c: Likewise.
8579 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8581         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8583 2014-12-15  Jeff Law  <law@redhat.com>
8585         [BZ #16617]
8586         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8587         on the heap.  (CVE-2012-3406)
8588         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8589         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8590         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8592 2014-12-15  Will Newton  <will.newton@linaro.org>
8594         * manual/install.texi: Bump required version of texinfo
8595         to 4.7 from 4.5.
8596         * INSTALL: Regenerated.
8597         * configure.ac: Check for makeinfo version 4.7 and above.
8598         * configure: Regenerated.
8600 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8602         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8603         PREFIX, string constant to insert between directory and name.
8604         * sysdeps/posix/shm_open.c: Update caller.
8605         * sysdeps/posix/shm_unlink.c: Likewise.
8606         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8607         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8608         (SEM_SHM_PREFIX): New macro.
8609         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8610         [$(have-thread-library) = no].
8611         * nptl/Makefile (libpthread-routines): Add shm-directory.
8612         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8613         * sysdeps/nptl/shm-directory.h: New file.
8614         * sysdeps/posix/shm-directory.c
8615         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8616         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8617         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8618         INTERNAL_SYSCALL.
8619         (__where_is_shmfs): Function removed.
8620         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8621         Variables removed.
8622         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8623         Use SHM_GET_NAME.
8624         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8626         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8627         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8628         unconditional for use inside libpthread.
8629         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8631 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8633         * nptl/pthread_getaffinity.c: New file.
8634         * nptl/pthread_setaffinity.c: New file.
8635         * nptl/pthread_getname.c: New file.
8636         * nptl/pthread_setname.c: New file.
8638         * nptl/pthread_create.c (START_THREAD_DEFN)
8639         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8641 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8642             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8644         * resolv/res_send.c (send_vc): Disable warning resplen may
8645         be used uninitialized.
8647 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8649         * nptl/tst-mutex6.c
8650         (ATTR_NULL): New define checks ATTR against NULL.
8651         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8652         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8654 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8656         [BZ #17581]
8657         * malloc/hooks.c
8658         (mem2mem_check): Revert my previous change.
8659         (malloc_check_get_size): Revert my previous change.
8660         (mem2chunk_check): Revert my previous change.
8662 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8664         * sysdeps/posix/shm-directory.c: New file.
8665         * sysdeps/posix/shm-directory.h: New file.
8666         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8667         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8668         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8669         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8670         Transmute EPERM to EACCES.
8671         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8672         from ...
8673         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8674         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8676 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8678         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8679         pointer and cast to uintptr_t.
8680         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8681         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8682         Add cast to avoid warning.
8683         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8685 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8687         * nptl/semaphore.h: Move to ...
8688         * sysdeps/pthread/semaphore.h: ... here.
8689         * Makefile (installed-headers): Change nptl/semaphore.h to
8690         sysdeps/pthread/semaphore.h.
8692 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8694         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8695         generated error format strings.
8697         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8698         -Wformat-extra-args warnings for scanf formats.
8699         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8700         test of zero-length format (duh).
8701         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8702         corner-case scanf format test.
8703         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8704         generated fprintf format string.
8705         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8706         corner-case sprintf format tests.
8707         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8708         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8709         -Wformat-extra-args warnings throughout.
8710         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8711         (CFLAGS-scanf4.c): Likewise.
8712         (CFLAGS-scanf7.c): Likewise.
8713         (CFLAGS-tst-sprintf.c): Likewise.
8714         (CFLAGS-tst-printf.c): Likewise.
8715         (CFLAGS-tst-printfsz.c): Likewise.
8717 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8719         * include/cpio.h: New file.
8720         * include/fmtmsg.h: Likewise.
8722         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8723         corresponding format argument to size_t.
8724         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8725         arguments.
8726         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8727         corresponding format argument to size_t.
8728         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8729         arguments.
8730         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8731         corresponding format argument to size_t.
8732         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8733         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8734         (CFLAGS-tst-mbswcs2.c): Likewise.
8735         (CFLAGS-tst-mbswcs3.c): Likewise.
8736         (CFLAGS-tst-mbswcs4.c): Likewise.
8737         (CFLAGS-tst-mbswcs5.c): Likewise.
8738         (CFLAGS-tst-trans.c): Likewise
8740 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8742         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8743         rather than assuming they won't contain any '%'s.
8745 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8747         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8748         inhibit_loop_to_libcall to avoid recursive calls.
8749         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8750         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8752 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8754         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8755         prototype.
8757 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8759         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8760         integer value instead of boolean.
8762 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8764         * malloc/malloc.c: Fix powerof2 check.
8766 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8768         * locale/programs/locfile.h (maybe_swap_uint32):
8769         Remove inline and add unused attribute.
8771 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8774         Truncating assembler expression to a .long expression.
8776 2014-12-11  Andreas Schwab  <schwab@suse.de>
8778         * elf/rtld.c (struct map_args): Constify str member.
8779         (do_preload): Constify fname argument.
8781 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8783         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8784         constants definition.
8786 2014-12-11  Andreas Schwab  <schwab@suse.de>
8788         [BZ #16657]
8789         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8790         FORCE_ELISION instead of DO_ELISION.
8791         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8792         Remove.
8793         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8794         Likewise.
8796         * iconvdata/gconv-modules: Remove duplicate entry.
8798 2014-12-11  Will Newton  <will.newton@linaro.org>
8800         Merge gettext 0.19.3 into intl/.
8802         This involves a number of cosmetic changes to comments
8803         and ANSI function definitions and prototypes throughout
8804         all the files. The gettext copyright header is used but
8805         with the date ranges taken from the glibc copy.
8807         * NEWS: Add gettext merge to 2.21.
8808         * intl/bindtextdom.c: Switch to gettext copyright.
8809         Use ANSI definitions and prototypes.
8810         Use gl_* locking primitives rather than __libc_* ones.
8811         Use __builtin_expect rather than __glibc_likely/unlikely.
8812         * intl/dcgettext.c: Switch to gettext copyright.
8813         Use ANSI definitions and prototypes.
8814         * intl/dcigettext.c: Switch to gettext copyright.
8815         Use ANSI definitions and prototypes.
8816         (INTDIV0_RAISES_SIGFPE): New define.
8817         Use gl_* locking primitives rather than __libc_* ones.
8818         Include eval-plural.h instead of plural-eval.c.
8819         Use __builtin_expect rather than __glibc_likely/unlikely.
8820         * intl/dcngettext.c: Switch to gettext copyright.
8821         Use ANSI definitions and prototypes.
8822         * intl/dgettext.c: Likewise.
8823         * intl/dngettext.c: Likewise.
8824         * intl/plural-eval.c: Renamed to...
8825         * intl/eval-plural.h: ...this.
8826         * intl/explodename.c: Switch to gettext copyright.
8827         Use ANSI definitions and prototypes.
8828         (_nl_explode_name): Use strchr instead of __rawmemchr.
8829         * intl/finddomain.c: Switch to gettext copyright.
8830         Use ANSI definitions and prototypes.
8831         Use gl_* locking primitives rather than __libc_* ones.
8832         (_nl_find_domain): Use malloc rather than alloca for
8833         allocation of temporary locale name.
8834         * intl/gettext.c: Switch to gettext copyright.
8835         Use ANSI definitions and prototypes.
8836         * intl/gettextP.h: Switch to gettext copyright.
8837         Use ANSI definitions and prototypes.
8838         Use gl_* locking primitives rather than __libc_* ones.
8839         * intl/gmo.h: Switch to gettext copyright.
8840         (struct sysdep_string): Move struct segment_pair outside of
8841         struct definition.
8842         * intl/hash-string.c: Use ANSI definitions and prototypes.
8843         * intl/hash-string.h: Switch to gettext copyright.
8844         Use ANSI definitions and prototypes.
8845         * intl/l10nflist.c: Switch to gettext copyright.
8846         Use ANSI definitions and prototypes.
8847         (_nl_normalize_codeset): Avoid integer overflow.
8848         * intl/loadinfo.h: Switch to gettext copyright.
8849         Use ANSI definitions and prototypes.
8850         (LIBINTL_DLL_EXPORTED): New define.
8851         (PATH_SEPARATOR): New define.
8852         * intl/loadmsgcat.c: Switch to gettext copyright.
8853         * intl/localealias.c: Switch to gettext copyright.
8854         Use ANSI definitions and prototypes.
8855         (_nl_expand_alias): Use PATH_SEPARATOR.
8856         * intl/ngettext.c: Switch to gettext copyright.
8857         Use ANSI definitions and prototypes.
8858         * intl/plural-exp.c: Likewise.
8859         * intl/plural-exp.h: Switch to gettext copyright.
8860         Use ANSI definitions and prototypes.
8861         (struct expression): Move definition of enum operator outside
8862         of struct definition.
8863         * intl/plural.c: Regenerate.
8864         * intl/plural.y: Switch to gettext copyright.
8865         Use ANSI definitions and prototypes.
8866         Port to bison 3.0.
8867         * intl/textdomain.c: Switch to gettext copyright.
8868         Use ANSI definitions and prototypes.
8869         Use gl_* locking primitives rather than __libc_* ones.
8871 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8873         * debug/warning-nop.c: Add used atrribute.
8875 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8877         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8879         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8880         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8881         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8883 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8884             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8886         [BZ #17634]
8887         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8888         Undefine after defining function.  Define as weak alias of
8889         __wcschr.  Use libc_hidden_weak.
8890         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8891         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8892         (libc_hidden_def): Also define __GI___wcschr alias.
8893         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8894         __wcschr and define as weak alias of __wcschr.
8895         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8896         __wcschr.
8897         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8898         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8899         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8900         libc_hidden_weak.  Do not use libc_hidden_def.
8901         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8902         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8903         __GI___wcschr alias.
8904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8905         [IS_IN (libc)] (wcschr): Define as macro expanding to
8906         __redirect_wcschr.
8907         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8908         [IS_IN (libc)] (__wcschr_power6): Likewise.
8909         [IS_IN (libc)] (__wcschr_power7): Likewise.
8910         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8911         instead of wcschr.
8912         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8913         __libc_wcschr.
8914         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8915         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8916         __wcschr and define as weak alias of __wcschr.  Use
8917         libc_hidden_builtin_def.
8918         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8919         as weak alias of __wcschr.  Use libc_hidden_weak.
8920         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8921         wcschr.
8922         * time/era.c (_nl_init_era_entries): Likewise.
8923         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8924         variable.
8925         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8926         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8928 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8930         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8931         format for long int variable.
8933 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8935         [BZ #10672]
8936         * manual/search.texi: (Array Sort Function): Remove claim how to make
8937         qsort stable.
8939 2014-12-10  Andreas Schwab  <schwab@suse.de>
8941         [BZ #12847]
8942         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8943         user-controlled locks.
8945 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8947         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8948         register.
8950 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8952         * configure.ac (--disable-werror): New configure option.
8953         (enable_werror): New AC_SUBST.
8954         * configure: Regenerated.
8955         * config.make.in (enable-werror): New variable.
8956         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8957         -Wno-error=undef.
8958         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8959         * manual/install.texi (Configuring and compiling): Document
8960         --disable-werror.
8961         * INSTALL: Regenerated.
8962         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8963         (CFLAGS-tst-chk2.c): Likewise.
8964         (CFLAGS-tst-chk3.c): Likewise.
8965         (CFLAGS-tst-chk4.cc): Likewise.
8966         (CFLAGS-tst-chk5.cc): Likewise.
8967         (CFLAGS-tst-chk6.cc): Likewise.
8968         (CFLAGS-tst-lfschk1.c): Likewise.
8969         (CFLAGS-tst-lfschk2.c): Likewise.
8970         (CFLAGS-tst-lfschk3.c): Likewise.
8971         (CFLAGS-tst-lfschk4.cc): Likewise.
8972         (CFLAGS-tst-lfschk5.cc): Likewise.
8973         (CFLAGS-tst-lfschk6.cc): Likewise.
8975         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8976         (main): Disable -Wdeprecated-declarations around calls to
8977         register_printf_function.
8979         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8980         (do_test): Disable -Wdiv-by-zero around some calls to
8981         fwrite_unlocked and fread_unlocked.
8983         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8984         (DIAG_POP_NEEDS_COMMENT): Likewise.
8985         (_DIAG_STR1): Likewise.
8986         (_DIAG_STR): Likewise.
8987         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8988         * stdio-common/bug21.c: Include <libc-internal.h>.
8989         (do_test): Disable -Wformat around call to sscanf.
8990         * stdio-common/scanf14.c: Include <libc-internal.h>.
8991         (main): Disable -Wformat around some calls to scanf functions.
8993 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8995         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8997 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8999         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9000         stack variable alignment.
9002 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9004         [BZ #17682]
9005         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9006         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9007         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9008         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9009         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9010         __getrlimit instead of getrlimit.
9011         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9012         __gettimeofday instead of gettimeofday.
9013         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9014         Likewise.
9015         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9016         Likewise.
9017         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9018         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9019         Remove variable.
9020         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9021         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9023 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9025         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9026         for wide-character tests.
9028 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9030         * io/openat64.c: #include <libc-internal.h>
9031         (__openat64): Prototypify.  Use ignore_value on MODE.
9032         * io/openat.c: Likewise.
9033         * misc/reboot.c: #include <libc-internal.h>
9034         (reboot): Prototypify.  Use ignore_value on HOWTO.
9035         * misc/ptrace.c: #include <libc-internal.h>
9036         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9038 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9040         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9041         XPG4, UNIX98 and XOPEN2K.
9042         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9043         Remove variable.
9044         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9046 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9048         * libio/fileops.c: Use ISO C style for function definitions.
9049         * libio/iofopen.c: Likewise.
9050         * libio/wfileops.c: Likewise.
9052         [BZ #17653]
9053         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9054         offset on EOF.
9055         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9056         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9057         (fgets_func): Function pointer to fgets and fgetws.
9058         (do_ftell_test): Add test to verify ftell value after read
9059         EOF.
9060         (do_test): Set fgets_func.
9062         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9063         O_TRUNC flag for w and w+ modes.
9064         (do_rewind_test): Likewise.
9065         (do_ftell_test): Likewise.
9066         (do_write_test): Likewise.
9068         [BZ #17647]
9069         * libio/fileops.c (do_ftell): Seek only when there are
9070         unflushed writes.
9071         * libio/wfileops.c (do_ftell_wide): Likewise.
9072         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9073         test case.
9074         (do_one_test): Call it.
9076 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9078         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9079         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9080         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9081         Remove variable.
9082         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9083         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9084         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9086 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9088         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9089         Remove variable.
9090         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9092         [BZ #17668]
9093         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9094         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9095         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9096         __freeifaddrs.  Use libc_hidden_weak.
9097         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9098         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9099         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9100         __freeifaddrs.  Use libc_hidden_weak.
9101         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9102         __getifaddrs and define as weak alias of __getifaddrs.  Use
9103         libc_hidden_weak.
9104         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9105         __freeifaddrs.  Use libc_hidden_weak.
9106         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9107         Remove variable.
9108         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9109         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9111 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9113         [BZ #17601]
9114         * sysdeps/mips/start.S (__start): Use indirect jump to call
9115         __libc_start_main.
9117 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9119         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9121         * nptl/tst-mutex1.c: Include <stdbool.h>.
9122         [!ATTR] (ATTR_NULL): New macro.
9123         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9124         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9125         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9127         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9128         to char *.
9130         [BZ #17665]
9131         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9132         Change conditional to [__USE_MISC].
9134         [BZ #17664]
9135         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9136         fgets_unlocked.
9137         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9138         __fgets_unlocked.
9139         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9140         fgets_unlocked.
9141         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9142         Remove variable.
9143         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9144         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9145         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9146         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9147         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9148         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9149         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9150         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9151         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9153         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9155 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9158         Remove strpbrk objects.
9159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9160         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9161         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9162         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9163         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9164         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9167         Remove strcspn objects.
9168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9169         (__libc_ifunc_impl_list): Remove strcspn implementation.
9170         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9171         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9172         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9173         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9175         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9176         Remove strspn objetcs.
9177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9178         (__libc_ifunc_impl_list): Remove strspn implementation.
9179         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9180         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9181         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9182         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9184 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9186         [BZ #17581]
9187         * malloc/hooks.c
9188         (mem2mem_check): Add a terminator to the chain of checking blocks.
9189         (malloc_check_get_size): Use it here.
9190         (mem2chunk_check): Ditto.
9192 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9194         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9195         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9197 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9199         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9201         * nptl/nptl-init.c: Include libc-internal.h.
9202         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9204         * elf/ldconfig.c (search_dir): Expand comment.
9206 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9208         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9209         variable.
9210         (linknamespace-symlist-stdlibs-tests): Likewise.
9211         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9212         instead of $(objpfx)symlist-stdlibs.
9213         (linknamespace-libs-isoc): New variable.
9214         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9215         (linknamespace-libs-ISO): New variable.
9216         (linknamespace-libs-ISO99): Likewise.
9217         (linknamespace-libs-ISO11): Likewise.
9218         (linknamespace-libs-XPG3): Likewise.
9219         (linknamespace-libs-XPG4): Likewise.
9220         (linknamespace-libs-POSIX): Likewise.
9221         (linknamespace-libs-UNIX98): Likewise.
9222         (linknamespace-libs-XOPEN2K): Likewise.
9223         (linknamespace-libs-POSIX2008): Likewise.
9224         (linknamespace-libs-XOPEN2K8): Likewise.
9225         ($(objpfx)symlist-stdlibs): Replace by
9226         $(linknamespace-symlist-stdlibs-tests).  Use
9227         $(linknamespace-libs-$*) as set of libraries.
9228         ($(linknamespace-header-tests)): Update dependencies.  Use
9229         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9230         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9231         * conform/linknamespace.pl: Remove comment about considering
9232         definitions of symbols from irrelevant libraries.
9234 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9236         [BZ #13862]
9237         * elf/dl-tls.c: Include <atomic.h>.
9238         (oom): Remove #ifdef SHARED/#endif.
9239         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9240         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9241         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9242         big enough.
9243         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9244         * nptl/Makefile (tests): Add tst-stack4.
9245         (modules-names): Add tst-stack4mod.
9246         ($(objpfx)tst-stack4): New.
9247         (tst-stack4mod.sos): Likewise.
9248         ($(objpfx)tst-stack4.out): Likewise.
9249         ($(tst-stack4mod.sos)): Likewise.
9250         (clean): Likewise.
9251         * nptl/tst-stack4.c: New file.
9252         * nptl/tst-stack4mod.c: Likewise.
9254 2014-11-27  J. Brown  <jb999@gmx.de>
9256         * sysdeps/x86/bits/string.h: Add recent CPUs.
9258 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9260         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9261         sigblock.
9263         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9264         feof.
9266         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9267         variable.
9269 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9271         * nscd/connections.c: Include libc-internal.h because of macro
9272         usage ignore_value.
9274 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9276         * string/bits/string3.h (__warn_memset_zero_len): Don't
9277         declare for gcc newer than 5.0.
9278         (memset): Don't test for zero-length __LEN for gcc newer than
9279         5.0.
9281 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9283         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9284         size_t for %zu format.
9286         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9287         difference, not %ju.
9289 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9291         * include/libc-internal.h (ignore_value): New macro.
9292         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9293         with ignore_value.
9295         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9296         definition.
9298         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9299         pthread_cleanup_push to void *.
9301         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9302         Undefine.
9304         [BZ #16619]
9305         [BZ #16740]
9306         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9307         instead of 1L << 52.
9309         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9310         * libio/bug-rewind2.c (do_test): Likewise.
9312         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9313         * debug/test-strcpy_chk-ifunc.c: Likewise.
9314         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9315         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9316         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9317         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9318         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9319         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9320         * Rules [$(multi-arch) = no] (tests): Do not filter out
9321         $(tests-ifunc).
9322         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9323         * debug/Makefile (tests-ifunc): Remove variable.
9324         (tests): Do not add $(tests-ifunc).
9325         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9326         (tests): Do not add $(tests-ifunc).
9327         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9328         [TEST_IFUNC]: Remove conditionals.
9329         * string/test-string.h (TEST_IFUNC): Remove macro.
9330         [TEST_IFUNC]: Remove conditionals.
9332         * string/test-strchr.c [!WIDE] (L): New macro.
9333         [WIDE] (L): Likewise.
9334         (check1): Use CHAR instead of char.  Use L on string and character
9335         constants.
9337 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9339         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9340         tests.
9341         * sysdeps/powerpc/bits/atomic.h
9342         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9343         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9344         (atomic_exchange_and_add_acq): Likewise.
9345         (atomic_exchange_and_add_rel): Likewise.
9346         * sysdeps/powerpc/powerpc32/bits/atomic.h
9347         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9348         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9349         * sysdeps/powerpc/powerpc64/bits/atomic.h
9350         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9351         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9353 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9355         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9356         Change synchronization of __sched_fifo_min_prio and
9357         __sched_fifo_max_prio.
9358         * nptl/pthread_mutexattr_getprioceiling.c
9359         (pthread_mutexattr_getprioceiling): Likewise.
9360         * nptl/pthread_mutexattr_setprioceiling.c
9361         (pthread_mutexattr_setprioceiling): Likewise.
9362         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9363         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9364         Likewise.
9366 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9368         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9369         void.
9371 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9373         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9374         third argument const.
9376 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9378         fnmatch: work around GCC compiler warning bug with uninit var
9379         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9380         This works around a bug with x86-64 GCC 4.9.2 and earlier
9381         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9382         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9383         used uninitialized in this function [-Wmaybe-uninitialized]".
9385 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9387         * posix/bug-regex31.c (main): Return RES not 0.
9389 2014-11-25  Anton Blanchard <anton@samba.org>
9391         * sysdeps/powerpc/bits/atomic.h
9392         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9394 2014-11-24  Sterling Augustine  <saugustine@google.com>
9396         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9398 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9400         [BZ #17608]
9401         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9403 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9405         [BZ #17633]
9406         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9407         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9408         variable.
9409         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9410         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9412 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9414         * string/strncpy.c (strncpy): Improve performance by using memset.
9416 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9418         * string/strcpy.c (strcpy):
9419         Improve performance by using strlen and memcpy.
9421 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9423         * string/strcoll_l.c (get_next_seq): __always_inline.
9424         * string/strcoll_l.c (do_compare): __always_inline.
9426 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9428         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9429         defined.
9430         * include/mqueue.h: Likewise.
9431         * include/stdlib.h: Likewise.
9433         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9434         (get_null_defines): Adjust.
9435         * sunrpc/Makefile: Adjust comment.
9436         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9437         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9438         (CFLAGS-interp.c): Likewise.
9439         (CFLAGS-ldconfig.c): Likewise.
9440         (CPPFLAGS-.os): Likewise.
9441         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9442         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9443         * extra-modules.mk (extra-modules.mk): Likewise.
9444         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9445         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9446         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9447         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9448         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9449         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9450         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9451         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9452         * iconvdata/Makefile (CPPFLAGS): Likewise.
9453         (cpp-srcs-left): Add libof for all iconvdata routines.
9454         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9455         * include/assert.h: Likewise.
9456         * include/ctype.h: Likewise.
9457         * include/errno.h: Likewise.
9458         * include/libc-symbols.h: Likewise.
9459         * include/math.h: Likewise.
9460         * include/netdb.h: Likewise.
9461         * include/resolv.h: Likewise.
9462         * include/stdio.h: Likewise.
9463         * include/stdlib.h: Likewise.
9464         * include/string.h: Likewise.
9465         * include/sys/stat.h: Likewise.
9466         * include/wctype.h: Likewise.
9467         * intl/l10nflist.c: Likewise.
9468         * libidn/idn-stub.c: Likewise.
9469         * libio/libioP.h: Likewise.
9470         * nptl/libc_multiple_threads.c: Likewise.
9471         * nptl/pthreadP.h: Likewise.
9472         * posix/regex_internal.h: Likewise.
9473         * resolv/res_hconf.c: Likewise.
9474         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9475         * sysdeps/arm/memmove.S: Likewise.
9476         * sysdeps/arm/sysdep.h: Likewise.
9477         * sysdeps/generic/_itoa.h: Likewise.
9478         * sysdeps/generic/symbol-hacks.h: Likewise.
9479         * sysdeps/gnu/errlist.awk: Likewise.
9480         * sysdeps/gnu/errlist.c: Likewise.
9481         * sysdeps/i386/i586/memcpy.S: Likewise.
9482         * sysdeps/i386/i586/memset.S: Likewise.
9483         * sysdeps/i386/i686/memcpy.S: Likewise.
9484         * sysdeps/i386/i686/memmove.S: Likewise.
9485         * sysdeps/i386/i686/mempcpy.S: Likewise.
9486         * sysdeps/i386/i686/memset.S: Likewise.
9487         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9488         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9489         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9490         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9491         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9492         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9493         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9494         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9495         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9496         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9497         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9498         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9499         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9500         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9501         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9502         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9503         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9504         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9505         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9506         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9507         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9508         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9509         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9510         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9511         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9512         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9513         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9514         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9515         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9516         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9517         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9518         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9519         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9520         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9521         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9522         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9523         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9524         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9525         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9526         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9527         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9528         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9529         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9530         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9531         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9532         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9533         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9534         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9535         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9536         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9537         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9538         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9539         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9540         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9541         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9542         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9543         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9544         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9545         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9546         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9547         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9548         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9549         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9550         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9551         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9552         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9553         * sysdeps/posix/closedir.c: Likewise.
9554         * sysdeps/posix/opendir.c: Likewise.
9555         * sysdeps/posix/readdir.c: Likewise.
9556         * sysdeps/posix/rewinddir.c: Likewise.
9557         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9558         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9559         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9560         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9561         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9562         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9563         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9564         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9565         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9566         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9567         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9568         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9569         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9570         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9571         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9572         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9573         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9574         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9575         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9576         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9577         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9578         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9579         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9580         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9581         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9582         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9583         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9584         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9585         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9592         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9593         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9594         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9595         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9596         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9597         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9598         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9599         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9601         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9602         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9603         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9604         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9605         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9606         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9607         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9608         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9609         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9610         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9611         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9612         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9613         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9614         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9615         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9616         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9617         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9618         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9619         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9620         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9621         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9622         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9623         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9624         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9625         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9626         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9627         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9628         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9629         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9630         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9631         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9632         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9633         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9634         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9635         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9636         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9637         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9638         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9639         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9640         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9641         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9642         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9643         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9644         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9645         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9646         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9647         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9648         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9649         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9650         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9651         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9652         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9653         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9654         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9655         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9656         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9657         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9658         * sysdeps/unix/alpha/sysdep.S: Likewise.
9659         * sysdeps/unix/alpha/sysdep.h: Likewise.
9660         * sysdeps/unix/make-syscalls.sh: Likewise.
9661         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9662         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9663         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9664         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9665         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9666         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9667         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9668         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9669         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9670         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9671         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9672         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9674         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9675         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9676         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9677         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9678         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9679         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9680         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9681         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9682         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9683         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9684         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9685         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9686         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9687         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9690         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9691         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9695         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9697         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9698         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9699         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9700         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9701         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9702         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9703         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9704         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9705         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9706         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9707         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9708         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9709         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9710         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9711         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9712         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9713         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9714         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9715         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9716         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9717         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9718         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9719         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9720         * sysdeps/x86_64/memcpy.S: Likewise.
9721         * sysdeps/x86_64/memmove.c: Likewise.
9722         * sysdeps/x86_64/memset.S: Likewise.
9723         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9724         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9725         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9726         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9727         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9728         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9729         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9730         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9731         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9732         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9733         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9734         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9735         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9736         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9737         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9738         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9739         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9740         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9741         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9742         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9743         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9744         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9745         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9746         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9747         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9748         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9749         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9750         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9751         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9752         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9753         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9754         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9755         * sysdeps/x86_64/strcmp.S: Likewise.
9757         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9759         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9760         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9761         * elf/rtld-Rules: Likewise.
9762         * elf/setup-vdso.h: Likewise.
9763         * include/assert.h: Likewise.
9764         * include/bits/stdlib-float.h: Likewise.
9765         * include/errno.h: Likewise.
9766         * include/sys/stat.h: Likewise.
9767         * include/unistd.h: Likewise.
9768         * sysdeps/aarch64/setjmp.S: Likewise.
9769         * sysdeps/alpha/setjmp.S: Likewise.
9770         * sysdeps/arm/__longjmp.S: Likewise.
9771         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9772         * sysdeps/arm/setjmp.S: Likewise.
9773         * sysdeps/arm/sysdep.h: Likewise.
9774         * sysdeps/generic/_itoa.h: Likewise.
9775         * sysdeps/generic/dl-sysdep.h: Likewise.
9776         * sysdeps/generic/ldsodefs.h: Likewise.
9777         * sysdeps/i386/dl-tls.h: Likewise.
9778         * sysdeps/i386/setjmp.S: Likewise.
9779         * sysdeps/m68k/setjmp.c: Likewise.
9780         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9781         * sysdeps/mach/hurd/opendir.c: Likewise.
9782         * sysdeps/posix/getcwd.c: Likewise.
9783         * sysdeps/posix/opendir.c: Likewise.
9784         * sysdeps/posix/profil.c: Likewise.
9785         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9786         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9787         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9788         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9789         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9790         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9791         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9792         * sysdeps/s390/dl-tls.h: Likewise.
9793         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9794         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9795         * sysdeps/sh/sh3/setjmp.S: Likewise.
9796         * sysdeps/sh/sh4/setjmp.S: Likewise.
9797         * sysdeps/unix/alpha/sysdep.h: Likewise.
9798         * sysdeps/unix/arm/sysdep.S: Likewise.
9799         * sysdeps/unix/i386/sysdep.S: Likewise.
9800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9801         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9802         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9803         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9804         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9805         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9806         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9807         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9808         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9809         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9810         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9811         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9812         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9815         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9816         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9817         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9818         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9819         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9822         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9823         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9824         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9826         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9827         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9828         * sysdeps/x86_64/setjmp.S: Likewise.
9830         * include/math.h: Use IS_IN instead of IS_IN_libm.
9831         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9832         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9833         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9834         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9835         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9836         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9837         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9838         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9839         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9840         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9841         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9842         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9843         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9844         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9845         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9846         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9847         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9848         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9849         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9850         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9851         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9852         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9853         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9854         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9855         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9856         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9857         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9858         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9859         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9860         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9861         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9862         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9863         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9865         Likewise.
9866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9867         Likewise.
9868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9869         Likewise.
9870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9871         Likewise.
9872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9873         Likewise.
9874         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9875         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9876         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9877         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9878         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9879         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9885         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9886         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9887         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9888         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9889         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9890         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9891         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9892         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9893         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9894         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9895         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9896         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9898         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9900         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9902         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9903         * nptl/pthreadP.h: Likewise.
9904         * nptl_db/structs.def: Likewise.
9905         * sysdeps/arm/sysdep.h: Likewise.
9906         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9907         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9908         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9909         * sysdeps/unix/alpha/sysdep.h: Likewise.
9910         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9911         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9912         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9913         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9914         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9915         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9916         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9917         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9918         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9919         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9920         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9921         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9922         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9923         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9927         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9928         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9931         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9932         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9933         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9934         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9935         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9937         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9938         * nptl/pthreadP.h: Likewise.
9939         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9940         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9941         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9942         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9943         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9944         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9945         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9946         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9947         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9948         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9949         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9950         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9952         Likewise.
9953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9954         Likewise.
9955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9957         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9959         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9960         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9961         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9962         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9964         * dlfcn/dladdr.c: Use IS_IN.
9965         * dlfcn/dladdr1.c: Likewise.
9966         * dlfcn/dlclose.c: Likewise.
9967         * dlfcn/dlerror.c: Likewise.
9968         * dlfcn/dlinfo.c: Likewise.
9969         * dlfcn/dlmopen.c: Likewise.
9970         * dlfcn/dlopen.c: Likewise.
9971         * dlfcn/dlsym.c: Likewise.
9972         * dlfcn/dlvsym.c: Likewise.
9974         * include/ifaddrs.h: Use IS_IN.
9975         * inet/check_pf.c: Likewise.
9976         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9977         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9979         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9980         IS_IN_ldconfig.
9981         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9982         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9984         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9985         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9986         IS_IN (libc).
9988         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9990         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9991         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9992         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9993         * include/libc-symbols.h (IS_IN_LIB): New macro.
9994         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9995         * include/netdb.h: Likewise.
9996         * include/stap-probe.h: Remove all uses of IN_LIB.
9998         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9999         instead of IN_MODULE.
10000         * include/libc-symbols.h (IN_MODULE): Define using
10001         MODULE_NAME.
10002         (PASTE_NAME, PASTE_NAME1): New macros.
10003         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10004         of IN_LIB.
10005         (STAP_PROBE_ASM): Likewise.
10007 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10009         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10010         __mach_init in dlopened libc.
10012 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10014         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10015         * sysdeps/arm/preconfigure: Regenerate.
10017 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10019         * nptl/pthread_create.c (__pthread_create_2_1): Set
10020         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10021         when copying values from IATTR into PD.
10023 2014-11-21  Will Newton  <will.newton@linaro.org>
10024             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10026         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10027         Refactor inline-asm.  Also add comment.
10029         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10030         ElfW macro instead of hardcoded Elf64 types.
10031         (la_aarch64_gnu_pltenter): Likewise.
10032         * sysdeps/aarch64/dl-machine.h
10033         (elf_machine_runtime_setup): Use ElfW(Addr).
10035         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10036         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10037         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10038         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10039         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10040         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10041         (R_AARCH64_TLS_DTPMOD): This.
10042         (R_AARCH64_TLS_DTPREL64): Rename to ...
10043         (R_AARCH64_TLS_DTPREL): This.
10044         (R_AARCH64_TLS_TPREL64): Rename to ...
10045         (R_AARCH64_TLS_TPREL): This.
10046         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10047         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10048         R_AARCH64_TLS_TPREL64.
10049         (elf_machine_rela): Likewise.
10051 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10053         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10054         by setting it to 0.  64b atomics are not supported currently.
10056 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10058         [BZ #16469]
10059         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10060         search domain names.
10062 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10064         [BZ #16469]
10065         * NEWS: Update.
10066         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10067         trailing dot.
10068         * posix/tst-getaddrinfo5.c: New.
10069         * posix/Makefile (tests): Add it.
10071 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10073         [BZ #14498]
10074         * NEWS: Fixed.
10075         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10076         after parsing line but before break_if_match.
10077         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10078         if there is a protocol mismatch.
10080 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10082         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10083         because the potential race is on the user-supplied stream.
10085 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10087         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10088         string literal if not passed a buffer.
10089         * manual/job.texi (ctermid): Update reasoning, note deviation
10090         from posix, suggest mtasurace when not passed a buffer, for
10091         future non-preliminary safety notes.
10093 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10095         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10096         of not passing it a buffer.
10097         Reported by Peng Haitao.
10099 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10101         * manual/Makefile ($(objpfx)stamp-summary): Require
10102         check-safety.sh to pass.
10103         * manual/check-safety.sh: Wish for verification that every
10104         @deftypefn and @deftypefun is followed by a @safety remark.
10106 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10108         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10110         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10111         PTHREAD_CANCEL_ASYNCHRONOUS.
10112         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10113         send SIGCANCEL.
10115         * nptl/default-sched.h: New file.
10116         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10117         * nptl/pthread_create.c: Include it.
10118         (__pthread_create_2_1): Use collect_default_sched instead of making
10119         Linux syscalls here directly.
10121 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10123         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10124         __pthread_once): Use C11 atomics.
10126 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10128         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10130 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10132         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10133         atomic_thread_fence_acquire, atomic_thread_fence_release,
10134         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10135         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10136         atomic_compare_exchange_weak_relaxed,
10137         atomic_compare_exchange_weak_acquire,
10138         atomic_compare_exchange_weak_release,
10139         atomic_exchange_acquire, atomic_exchange_release,
10140         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10141         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10142         atomic_fetch_and_acquire,
10143         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10145 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10147         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10148         USE_ATOMIC_COMPILER_BUILTINS): Define.
10149         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10151         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10153         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10155         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10157         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10159         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10161         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10163         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10165         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10167         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10169         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10171         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10173         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10175         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10177         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10179         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10181         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10183         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10184         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10185         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10187         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10190 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10192         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10193         the sched_priority value here.  It was already checked when the user
10194         called pthread_attr_setschedparam.
10196         * nptl/tst-bad-schedattr.c: New file.
10197         * nptl/Makefile (tests): Add it.
10199 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10200             Florian Weimer  <fweimer@redhat.com>
10201             Joseph Myers  <joseph@codesourcery.com>
10202             Adam Conrad  <adconrad@0c3.net>
10203             Andreas Schwab  <schwab@suse.de>
10204             Brooks  <bmoses@google.com>
10206         [BZ #17625]
10207         * wordexp-test.c (__dso_handle): Add prototype.
10208         (__register_atfork): Likewise.
10209         (__app_register_atfork): New function.
10210         (registered_forks): New global.
10211         (register_fork): New function.
10212         (test_case): Add 3 new tests for WRDE_CMDSUB.
10213         (main): Call __app_register_atfork.
10214         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10215         fork count is non-zero fail the test.
10216         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10217         is set.
10218         (parse_dollars): Remove check for WRDE_NOCMD.
10219         (parse_dquote): Likewise.
10221 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10223         * Makeconfig (built-modules): List non-library modules to be
10224         built.
10225         (module-cppflags): Include libc-modules.h for
10226         everything except shlib-versions.v.i.
10227         (CPPFLAGS): Use it.
10228         (before-compile): Add libc-modules.h.
10229         ($(common-objpfx)libc-modules.h,
10230         $(common-objpfx)libc-modules.stmp): New targets.
10231         (common-generated): Add libc-modules.h and libc-modules.stmp.
10232         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10233         * include/libc-symbols.h: Don't include libc-modules.h.
10234         * include/libc-modules.h: Remove file.
10235         * scripts/gen-libc-modules.awk: New script to generate
10236         libc-modules.h.
10237         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10238         Depend on libc-modules.stmp.
10240         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10242         * Makeconfig (in-module): Get value of libof set for the
10243         translation unit.
10244         (CPPFLAGS): Use $(in-module).
10245         * Makerules: Don't suffix routine names for nonlib.
10246         * include/libc-modules.h: New file.
10247         * include/libc-symbols.h: Include libc-modules.h
10248         (IS_IN): New macro to replace IS_IN_* macros.
10249         * elf/Makefile: Set libof-* for each routine.
10250         * elf/rtld-Rules: Likewise.
10251         * extra-modules.mk: Likewise.
10252         * iconv/Makefile: Likewise.
10253         * iconvdata/Makefile: Likewise.
10254         * locale/Makefile: Likewise.
10255         * malloc/Makefile: Likewise.
10256         * nss/Makefile: Likewise.
10257         * sysdeps/gnu/Makefile: Likewise.
10258         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10259         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10260         * sysdeps/s390/s390-64/Makefile: Likewise.
10261         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10262         CPPFLAGS for nscd instead of nonlib.
10264 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10266         * nptl/createthread.c: New file.
10268         * nptl/createthread.c: Moved ...
10269         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10271         * nptl/createthread.c: Add proper top-line comment.
10272         (do_clone): Folded into ...
10273         (create_thread): ... here.  Take new arguments STOPPED_START and
10274         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10275         increment __nptl_threads, do event-reporting logic, do
10276         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10277         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10278         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10279         just send SIGCANCEL.
10280         * nptl/pthread_create.c: Forward-declare create_thread before
10281         including createthread.c.
10282         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10283         declaration, and new macro START_THREAD_SELF to replace argument.
10284         Remove return statement.
10285         (report_thread_creation): New function.
10286         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10287         synchronization logic, and __nptl_nthreads increment here, around
10288         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10289         PD->parent_cancelhandling here, before create_thread.  When
10290         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10291         __deallocate_stack, and ENOMEM translation here.
10293 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10295         [BZ #17616]
10296         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10297         (mptwo): Rename to __mptwo.
10298         (__inv): Use __mptwo instead of mptwo.
10299         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10300         (mptwo): Rename to __mptwo.
10301         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10302         of mpone and __mptwo instead of mptwo.
10303         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10304         instead of mpone.
10305         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10306         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10307         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10308         of mpone and __mptwo instead of mptwo.
10309         (__mpranred): Use __mpone instead of mpone.
10310         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10311         variable.
10312         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10313         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10314         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10315         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10316         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10317         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10318         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10319         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10320         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10321         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10322         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10323         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10324         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10325         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10326         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10327         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10328         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10329         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10330         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10332 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10334         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10335         replace BSD Handler xref with BSD Signal Handling.
10337 2014-11-17  Richard Henderson  <rth@redhat.com>
10339         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10340         (_FP_PACK_RAW_2): Remove.
10341         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10342         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10343         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10344         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10345         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10346         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10347         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10348         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10349         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10350         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10351         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10352         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10353         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10354         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10355         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10356         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10358 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10360         * signal/signal.h [__USE_MISC]
10361         (struct sigvec): Remove type.
10362         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10363         (sigvec): Remove declaration.
10364         * sysdeps/posix/sigvec.c: Moved ...
10365         * signal/sigvec.c: ... here, replacing old file.
10366         (struct sigvec): New type, copied from old signal.h definition.
10367         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10368         (__sigvec): Convert definition to prototype.
10369         (sigvec): Replace weak_alias with compat_symbol.
10370         * signal/Versions (libc: GLIBC_2.21): New version set.
10371         * include/signal.h: Remove __sigvec declaration.
10372         * sysdeps/unix/bsd/sigvec.c: Remove file.
10373         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10374         * manual/signal.texi (BSD Handler): Remove subsection.
10375         Move siginterrupt up to ...
10376         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10377         (Blocking in BSD): Fold subsection into its parent.
10378         * NEWS: Mention sigvec removal.
10380 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10382         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10383         (DLA_FMS): Make definition conditional only on [__FMA4__].
10384         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10385         definition.
10387         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10388         Make definition conditional only on [PROF].
10389         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10390         definition.
10391         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10392         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10394         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10395         !__GNUC__].
10396         * include/signal.h (__sigpause): Move declaration above call to
10397         libc_hidden_proto.
10398         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10399         variable.
10400         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10401         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10403 2014-11-14  David S. Miller  <davem@davemloft.net>
10405         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10406         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10408 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10410         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10411         * configure: Regenerated.
10412         * manual/install.texi (Tools for Compilation): Document a
10413         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10414         compiler verified to work.
10415         * INSTALL: Regenerated.
10417         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10418         redeclare with asm name.
10419         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10420         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10421         including <string.h>.
10422         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10424         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10425         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10426         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10427         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10428         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10430 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10432         * stdlib/strtol.c (__strtol): Use prototype definition.
10434         [BZ #17594]
10435         * stdlib/strtol.c (SYM__): New macro.
10436         (SYM__1): Likewise.
10437         (__strtol): Likewise.
10438         (strtol): Rename to __strtol and define as weak alias of
10439         __strtol.  Use libc_hidden_weak.
10441 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10443         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10444         Use numbered labels in inline assembly.
10446 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10448         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10449         Add setjmp LIBC_PROBE.
10450         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10451         Likewise.
10452         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10453         Add longjmp, longjmp_target LIBC_PROBE.
10454         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10455         Likewise.
10457 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10459         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10460         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10461         to get rid of unused variable warning.
10463 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10465         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10466         Check for unwind_backtrace ==  NULL only in SHARED case.
10467         (__backchain_backtrace): Compile only in SHARED case.
10468         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10469         Likewise.
10470         (__backchain_backtrace): Declare as static.
10472 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10474         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10475         (__libc_multiple_threads_ptr): Variable moved ...
10476         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10478 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10480         * conform/GlibcConform.pm: New file.
10481         * conform/conformtest.pl: Use GlibcConform module.
10482         * conform/linknamespace.pl: New file.
10483         * conform/list-header-symbols.pl: Likewise.
10484         * conform/Makefile (linknamespace-symlists-base): New variable.
10485         (linknamespace-symlists-tests): Likewise.
10486         (linknamespace-header-base): Likewise.
10487         (linknamespace-header-tests): Likewise.
10488         (tests-special): Add new tests.
10489         ($(linknamespace-symlists-tests)): New rule.
10490         (linknamespace-libs): New variable.
10491         ($(objpfx)symlist-stdlibs): New rule.
10492         ($(linknamespace-header-tests)): Likewise.
10493         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10494         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10495         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10496         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10497         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10498         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10499         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10500         (test-xfail-ISO/math.h/linknamespace): Likewise.
10501         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10502         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10503         (test-xfail-ISO/time.h/linknamespace): Likewise.
10504         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10505         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10506         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10507         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10508         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10509         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10510         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10511         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10512         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10513         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10514         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10515         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10516         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10517         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10518         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10519         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10520         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10521         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10522         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10523         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10524         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10525         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10526         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10527         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10528         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10529         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10530         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10531         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10532         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10533         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10534         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10535         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10536         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10537         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10538         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10539         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10540         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10541         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10542         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10543         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10544         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10545         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10546         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10547         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10548         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10549         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10550         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10551         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10552         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10553         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10554         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10555         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10556         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10557         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10558         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10559         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10560         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10561         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10562         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10563         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10564         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10565         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10566         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10567         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10568         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10569         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10570         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10571         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10572         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10573         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10574         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10575         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10576         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10577         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10578         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10579         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10580         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10581         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10582         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10583         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10584         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10585         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10586         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10587         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10588         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10589         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10590         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10591         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10592         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10593         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10594         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10595         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10596         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10597         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10598         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10599         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10600         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10601         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10602         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10603         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10604         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10605         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10606         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10607         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10608         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10609         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10610         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10611         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10612         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10613         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10614         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10615         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10616         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10617         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10618         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10619         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10620         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10621         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10622         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10623         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10624         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10625         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10626         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10627         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10628         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10629         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10630         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10631         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10632         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10633         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10634         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10635         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10636         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10637         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10638         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10639         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10640         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10641         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10642         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10643         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10644         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10645         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10646         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10647         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10648         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10649         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10650         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10651         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10652         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10653         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10655         [BZ #17589]
10656         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10657         of fgets_unlocked.
10659         [BZ #17585]
10660         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10661         (memmem): Rename to __memmem and define as weak alias of
10662         __memmem.  Use libc_hidden_weak.
10663         (__memmem): Use libc_hidden_def.
10664         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10665         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10666         memmem.
10668         [BZ #17582]
10669         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10670         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10671         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10672         and define as weak alias of __fgets_unlocked.  Use
10673         libc_hidden_weak.
10674         (__fgets_unlocked): Use libc_hidden_def.
10675         * include/stdio.h (__fgets_unlocked): Declare.  Use
10676         libc_hidden_proto.
10677         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10678         __fgets_unlocked instead of fgets_unlocked.
10679         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10680         (GET_NPROCS_CONF_PARSER): Likewise.
10681         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10682         (GET_NPROCS_CONF_PARSER): Likewise.
10684         [BZ #17574]
10685         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10686         weak alias of __wmemset.  Use libc_hidden_weak.
10687         (__wmemset): Use libc_hidden_def.
10688         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10689         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10690         of wmemset.
10692         [BZ #17573]
10693         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10694         with asm name __mempcpy.
10695         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10697         [BZ #17572]
10698         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10699         and define as weak alias of __rawmemchr.
10700         (__rawmemchr): Do not define as strong alias of rawmemchr.
10702         [BZ #17571]
10703         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10704         alias of __qsort_r.
10705         (qsort): Call __qsort_r instead of qsort_r.
10706         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10707         (__qsort_r): Declare.  Call libc_hidden_proto.
10708         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10709         instead of qsort_r.
10710         * nscd/gai.c (__qsort_r): Define to qsort_r.
10711         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10712         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10713         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10715         [BZ #17570]
10716         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10717         define as weak alias of __malloc_info.
10719         [BZ #17584]
10720         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10721         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10722         (__rewinddir): Use libc_hidden_def.
10723         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10724         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10725         (__rewinddir): Use libc_hidden_def.
10726         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10727         weak alias of __rewinddir.  Don't use libc_hidden_def.
10728         (__rewinddir): Use libc_hidden_def.
10729         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10730         (__rewinddir): Use libc_hidden_proto.
10731         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10732         rewinddir.
10733         (__getcwd): Use __rewinddir instead of rewinddir.
10735         [BZ #17583]
10736         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10737         alias of __fileno.  Use libc_hidden_weak.
10738         (__fileno): Use libc_hidden_def.
10739         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10740         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10741         alias of __ftello.
10742         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10743         __ftello.
10744         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10745         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10746         libc_hidden_def.
10747         (fread_unlocked): Don't use libc_hidden_ver.
10748         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10749         and define as weak alias of __fread_unlocked.  Don't use
10750         libc_hidden_def.
10751         (__fread_unlocked): Use libc_hidden_def.
10752         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10753         (ftello): Don't use libc_hidden_proto.
10754         (__ftello): Declare.  Use libc_hidden_proto.
10755         (fread_unlocked): Don't use libc_hidden_proto.
10756         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10757         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10758         and __ftello instead of fileno, fread_unlocked and ftello.
10760 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10762         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10763         GOT12.
10764         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10765         Likewise.
10766         (_dl_start_user): Likewise.
10767         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10769 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10770             Siddhesh Poyarekar  <siddhesh@redhat.com>
10772         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10773         Move argv and envp down instead of moving argc up.
10774         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10776 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10778         [BZ #17506]
10779         * test-skeleton.c (main): Return successful if one of
10780         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10781         * string/tst-strcoll-overflow.c: Define expected status.
10783 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10785         [BZ #17475]
10786         * locale/iso-639.def: Define Bhili and Tulu language codes.
10788 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10790         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10792 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10794         [BZ #17555]
10795         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10797 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10799         * configure.ac: Updated check of minimal required version to
10800         2.22.
10801         * manual/install.texi (Tools for Compilation): Updated version
10802         number.
10803         * configure: Regenerated.
10804         * INSTALL: Likewise.
10806 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10808         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10809         __tls_get_addr.
10811 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10813         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10814         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10815         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10816         libc_hidden_weak.
10817         (waitpid): Define as alias of __waitpid.
10818         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10819         __waitpid.
10820         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10821         libc_hidden_weak.
10822         (waitpid): Define as alias of __waitpid.
10823         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10824         __libc_waitpid alias.
10825         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10826         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10827         Likewise.
10828         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10829         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10830         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10831         alias.
10832         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10833         __waitpid.
10834         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10835         libc_hidden_weak.
10836         (waitpid): Define as alias of __waitpid.
10838 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10840         * manual/llio.texi: Add comment that write safety has been
10841         fixed in Linux.
10843         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10844         (localplt-build-dso): Add elf/ld.so.
10845         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10846         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10847         and free for ld.so.
10848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10849         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10851         Likewise.
10852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10853         Likewise.
10854         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10855         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10856         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10857         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10858         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10859         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10860         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10861         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10862         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10863         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10864         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10866 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10868         [BZ #14132]
10869         * include/libc-symbols.h (INTUSE): Remove macro.
10870         (INTDEF): Likewise.
10871         (INTVARDEF): Likewise.
10872         (_INTVARDEF): Likewise.
10873         (INTDEF2): Likewise.
10874         (INTVARDEF2): Likewise.
10875         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10876         rtld_hidden_def instead of INTVARDEF.
10877         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10878         (_dl_starting_up_internal): Remove declaration.
10879         (_dl_starting_up): Use rtld_hidden_proto.
10880         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10881         declaration.
10882         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10883         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10884         _dl_starting_up.
10885         * elf/dl-writev.h (_dl_writev): Likewise.
10886         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10887         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10888         _dl_starting_up_internal.
10890 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10892         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10893         test-skeleton.c.
10895 2014-11-05  Will Newton  <will.newton@linaro.org>
10897         * benchtests/Makefile: (bench-malloc): Add malloc thread
10898         scalability benchmark.
10899         * benchtests/bench-malloc-threads.c: New file.
10901 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10903         * sysdeps/aarch64/strchrnul.S: New file.
10905 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10907         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10908         definition.
10909         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10910         Likwise.
10911         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10912         Likewise.
10913         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10914         Likewise.
10915         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10916         Likewise.
10917         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10918         Likewise.
10920 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10922         * catgets/test-gencat.c: Use test-skeleton.c.
10923         * catgets/tst-catgets.c: Likewise.
10924         * csu/tst-empty.c: Likewise.
10925         * elf/tst-audit2.c: Likewise.
10926         * elf/tst-global1.c: Likewise.
10927         * elf/tst-pathopt.c: Likewise.
10928         * elf/tst-piemod1.c: Likewise.
10929         * elf/tst-tls10.c: Likewise.
10930         * elf/tst-tls11.c: Likewise.
10931         * elf/tst-tls12.c: Likewise.
10932         * gnulib/tst-gcc.c: Likewise.
10933         * iconvdata/tst-e2big.c: Likewise.
10934         * iconvdata/tst-loading.c: Likewise.
10935         * iconv/tst-iconv1.c: Likewise.
10936         * iconv/tst-iconv2.c: Likewise.
10937         * inet/test-inet6_opt.c: Likewise.
10938         * inet/tst-gethnm.c: Likewise.
10939         * inet/tst-network.c: Likewise.
10940         * inet/tst-ntoa.c: Likewise.
10941         * intl/tst-codeset.c: Likewise.
10942         * intl/tst-gettext2.c: Likewise.
10943         * intl/tst-gettext3.c: Likewise.
10944         * intl/tst-ngettext.c: Likewise.
10945         * intl/tst-translit.c: Likewise.
10946         * io/test-stat.c: Likewise.
10947         * libio/test-fmemopen.c: Likewise.
10948         * libio/tst-freopen.c: Likewise.
10949         * libio/tst-sscanf.c: Likewise.
10950         * libio/tst-ungetwc1.c: Likewise.
10951         * libio/tst-ungetwc2.c: Likewise.
10952         * libio/tst-widetext.c: Likewise.
10953         * localedata/tst-ctype.c: Likewise.
10954         * localedata/tst-digits.c: Likewise.
10955         * localedata/tst-leaks.c: Likewise.
10956         * localedata/tst-mbswcs1.c: Likewise.
10957         * localedata/tst-mbswcs2.c: Likewise.
10958         * localedata/tst-mbswcs3.c: Likewise.
10959         * localedata/tst-mbswcs4.c: Likewise.
10960         * localedata/tst-mbswcs5.c: Likewise.
10961         * localedata/tst-setlocale.c: Likewise.
10962         * localedata/tst-trans.c: Likewise.
10963         * localedata/tst-wctype.c: Likewise.
10964         * localedata/tst-xlocale1.c: Likewise.
10965         * login/tst-grantpt.c: Likewise.
10966         * malloc/tst-calloc.c: Likewise.
10967         * malloc/tst-malloc.c: Likewise.
10968         * malloc/tst-mallocstate.c: Likewise.
10969         * malloc/tst-mcheck.c: Likewise.
10970         * malloc/tst-mtrace.c: Likewise.
10971         * malloc/tst-obstack.c: Likewise.
10972         * math/atest-exp2.c: Likewise.
10973         * math/atest-exp.c: Likewise.
10974         * math/atest-sincos.c: Likewise.
10975         * math/test-matherr.c: Likewise.
10976         * math/test-misc.c: Likewise.
10977         * math/test-powl.c: Likewise.
10978         * math/tst-definitions.c: Likewise.
10979         * misc/tst-dirname.c: Likewise.
10980         * misc/tst-efgcvt.c: Likewise.
10981         * misc/tst-fdset.c: Likewise.
10982         * misc/tst-hsearch.c: Likewise.
10983         * misc/tst-mntent2.c: Likewise.
10984         * nptl/tst-sem7.c: Likewise.
10985         * nptl/tst-sem8.c: Likewise.
10986         * nptl/tst-sem9.c: Likewise.
10987         * nss/test-netdb.c: Likewise.
10988         * posix/tst-fnmatch.c: Likewise.
10989         * posix/tst-getlogin.c: Likewise.
10990         * posix/tst-gnuglob.c: Likewise.
10991         * posix/tst-mmap.c: Likewise.
10992         * pwd/tst-getpw.c: Likewise.
10993         * resolv/tst-inet_ntop.c: Likewise.
10994         * rt/tst-timer.c: Likewise.
10995         * stdio-common/test-fseek.c: Likewise.
10996         * stdio-common/test-popen.c: Likewise.
10997         * stdio-common/test-vfprintf.c: Likewise.
10998         * stdio-common/tst-cookie.c: Likewise.
10999         * stdio-common/tst-fileno.c: Likewise.
11000         * stdio-common/tst-gets.c: Likewise.
11001         * stdio-common/tst-obprintf.c: Likewise.
11002         * stdio-common/tst-perror.c: Likewise.
11003         * stdio-common/tst-sprintf2.c: Likewise.
11004         * stdio-common/tst-sprintf3.c: Likewise.
11005         * stdio-common/tst-sprintf.c: Likewise.
11006         * stdio-common/tst-swprintf.c: Likewise.
11007         * stdio-common/tst-tmpnam.c: Likewise.
11008         * stdio-common/tst-unbputc.c: Likewise.
11009         * stdio-common/tst-wc-printf.c: Likewise.
11010         * stdlib/tst-environ.c: Likewise.
11011         * stdlib/tst-fmtmsg.c: Likewise.
11012         * stdlib/tst-limits.c: Likewise.
11013         * stdlib/tst-rand48-2.c: Likewise.
11014         * stdlib/tst-rand48.c: Likewise.
11015         * stdlib/tst-random2.c: Likewise.
11016         * stdlib/tst-random.c: Likewise.
11017         * stdlib/tst-strtol.c: Likewise.
11018         * stdlib/tst-strtoll.c: Likewise.
11019         * stdlib/tst-tls-atexit.c: Likewise.
11020         * stdlib/tst-xpg-basename.c: Likewise.
11021         * string/test-ffs.c: Likewise.
11022         * string/tst-bswap.c: Likewise.
11023         * string/tst-inlcall.c: Likewise.
11024         * string/tst-strtok.c: Likewise.
11025         * string/tst-strxfrm.c: Likewise.
11026         * sysdeps/x86_64/tst-audit10.c: Likewise.
11027         * sysdeps/x86_64/tst-audit3.c: Likewise.
11028         * sysdeps/x86_64/tst-audit4.c: Likewise.
11029         * sysdeps/x86_64/tst-audit5.c: Likewise.
11030         * time/tst-ftime_l.c: Likewise.
11031         * time/tst-getdate.c: Likewise.
11032         * time/tst-mktime3.c: Likewise.
11033         * time/tst-mktime.c: Likewise.
11034         * time/tst-posixtz.c: Likewise.
11035         * time/tst-strptime2.c: Likewise.
11036         * time/tst-strptime3.c: Likewise.
11037         * wcsmbs/tst-btowc.c: Likewise.
11038         * wcsmbs/tst-mbrtowc.c: Likewise.
11039         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11040         * wcsmbs/tst-wchar-h.c: Likewise.
11041         * wcsmbs/tst-wcpncpy.c: Likewise.
11042         * wcsmbs/tst-wcrtomb.c: Likewise.
11043         * wcsmbs/tst-wcsnlen.c: Likewise.
11044         * wcsmbs/tst-wcstof.c: Likewise.
11046 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11048         [BZ #14132]
11049         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11050         INTDEF.
11051         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11052         declaration.
11053         (_dl_mcount): Use rtld_hidden_proto.
11054         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11055         _dl_mcount.
11056         * elf/rtld.c (_rtld_global_ro): Likewise.
11058         [BZ #14132]
11059         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11060         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11061         of _dl_init_internal.
11062         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11063         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11064         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11065         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11066         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11067         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11068         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11069         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11070         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11071         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11072         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11073         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11074         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11075         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11076         * sysdeps/tile/dl-start.S (_start): Likewise.
11077         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11078         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11080         [BZ #14132]
11081         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11082         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11083         (rtld_progname): Make macro definition unconditional.
11084         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11085         INTDEF.
11086         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11087         (dl_main): Likewise.
11088         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11089         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11090         instead of _dl_argv_internal.
11091         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11092         __GI__dl_argv instead of INTUSE(_dl_argv).
11093         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11094         __GI__dl_argv instead of _dl_argv_internal.
11096         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11097         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11098         macro.
11099         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11100         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11101         New macro.
11102         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11103         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11104         macro.
11105         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11106         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11108 2014-11-04  Andreas Schwab  <schwab@suse.de>
11110         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11112 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11114         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11115         mtvsrd instruction in binary form.
11117 2014-11-03  Andreas Schwab  <schwab@suse.de>
11119         [BZ #17522]
11120         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11121         for less than MB_LEN_MAX use a local buffer of that size.
11122         * libio/tst-fputws.c: New file.
11123         * libio/Makefile (tests): Add tst-fputws.
11125 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11127         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11128         the size of the fpu_fr.fpu_dregs[] array.
11130 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11132         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11133         (__nanosleep): Do not define as alias.
11134         (nanosleep): Define as alias of __nanosleep.
11135         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11136         __libc_nanosleep name.
11138 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11140         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11141         install.texi in comment.
11143 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11145         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11146         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11147         ... add here and use lwsync or sync ...
11148         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11149         ... and add here using lwsync.
11151 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11153         * elf/dl-machine-reject-phdr.h: New file.
11154         * elf/dl-load.c: #include that.
11155         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11156         if that returned true.
11158 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11160         [BZ #17496]
11161         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11162         gen-as-const-headers chunk.  Add a big scare comment after the last
11163         safe place to touch before-compile.
11165 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11167         * manual/install.texi (Tools for Compilation): Update autoconf
11168         version requirements.
11169         * INSTALL: Regenerated.
11171         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11172         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11173         (__libc_pselect): Likewise.
11175         [BZ #14138]
11176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11181 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11183         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11184         correct barrier instruction.
11185         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11186         Likewise.
11187         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11188         Likewise.
11190 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11192         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11193         after defining inlines.  Instead, just use parens to defeat macro
11194         expansion of __isctype in its declaration.
11196 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11198         * include/sys/uio.h (__libc_readv): Remove declaration.
11199         (__libc_writev): Likewise.
11200         * misc/readv.c (__libc_readv): Rename to __readv.
11201         (__readv): Do not define as alias.
11202         (readv): Define as alias of __readv.
11203         * misc/writev.c (__libc_writev): Rename to __writev.
11204         (__writev): Do not define as alias.
11205         (writev): Define as alias of __writev.
11206         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11207         (__readv): Do not define as alias.
11208         (readv): Define unconditionally as alias of __readv.
11209         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11210         (__writev): Do not define as alias.
11211         (writev): Define unconditionally as alias of __writev.
11212         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11213         name.
11214         (writev): Do not define __libc_writev name.
11216 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11218         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11219         (convert_charseq): New function, broken out of ...
11220         (use_from_charmap): ... here.  Call it.
11221         (use_to_charmap): Use convert_charseq and free instead of duplicating
11222         its code with a variable-length stack struct.
11224 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11226         * include/fcntl.h (__libc_creat): Remove declaration.
11227         * io/creat.c (__libc_creat): Rename to creat.
11228         (creat): Do not define as alias.
11229         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11230         of creat instead of __libc_creat.
11231         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11232         to creat.
11233         (creat): Do not define as alias.
11234         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11235         __libc_creat.
11236         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11237         __libc_creat name.
11238         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11239         Likewise.
11241 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11243         * manual/llio.texi: Add comments discussing why write() may be
11244         considered MT-unsafe on Linux.
11246 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11248         * dl-load.c (local_strdup): Remove.
11249         (expand_dynamic_string_token): Use __strdup.
11250         (decompose_rpath): Likewise.
11251         (_dl_map_object): Likewise.
11253 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11255         [BZ #14132]
11256         * sysdeps/generic/unwind-dw2-fde.c
11257         (__register_frame_info_bases_internal): Do not declare.
11258         (__register_frame_info_table_bases_internal): Likewise.
11259         (__deregister_frame_info_bases_internal): Likewise.
11260         (__register_frame_info_bases): Declare and use hidden_proto before
11261         definition.  Use hidden_def instead of INTDEF.
11262         (__register_frame_info_table_bases): Likewise.
11263         (__deregister_frame_info_bases): Likewise.
11264         (__register_frame_info): Do not use INTUSE.
11265         (__register_frame): Likewise.
11266         (__register_frame_info_table): Likewise.
11267         (__register_frame_table): Likewise.
11268         (__deregister_frame_info): Likewise.
11269         (__deregister_frame): Likewise.
11271 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11273         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11274         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11275         not undefine.
11276         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11277         Likewise.
11278         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11279         Likewise.
11281 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11283         [BZ #14138]
11284         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11285         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11286         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11287         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11288         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11289         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11290         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11291         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11292         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11293         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11294         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11295         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11296         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11297         syscall.
11298         (setfsuid): Likewise.
11299         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11300         (setfsuid): Likewise.
11301         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11302         (setfsuid): Likewise.
11303         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11304         Likewise.
11305         (setfsuid): Likewise.
11306         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11307         (setfsuid): Likewise.
11308         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11309         Likewise.
11310         (setfsuid): Likewise.
11312 2014-10-27  Andreas Schwab  <schwab@suse.de>
11314         [BZ #17501]
11315         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11316         check for Slow_SSE4_2 feature bit.
11317         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11318         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11319         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11320         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11322 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11324         * configure.ac: Validate compiler version with a empirical test of
11325         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11326         $CC -v output.
11327         * configure: Regenerated.
11329         * inet/htons.c (htons): Prototypify.
11330         * inet/htonl.c (htonl): Likewise.
11332 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11334         * string/strncat.c (strncat): Improve performance by using strlen.
11336 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11338         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11340 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11342         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11343         Call libc_fetestexcept_aarch64.
11345 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11347         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11348         Call libc_feholdexcept_aarch64.
11350 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11352         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11353         Call get_rounding_mode.
11355 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11357         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11358         Simplify logic.
11360 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11362         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11363         Simplify logic.
11365 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11367         [BZ #14138]
11368         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11369         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11370         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11371         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11372         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11373         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11374         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11375         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11376         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11377         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11378         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11379         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11380         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11381         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11382         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11383         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11384         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11385         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11386         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11387         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11388         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11389         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11390         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11391         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11392         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11393         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11394         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11395         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11396         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11397         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11398         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11399         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11400         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11401         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11402         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11403         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11404         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11405         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11406         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11407         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11408         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11409         syscall.
11410         (geteuid): Likewise.
11411         (getgid): Likewise.
11412         (getuid): Likewise.
11413         (getresgid): Likewise.
11414         (getresuid): Likewise.
11415         (getgroups): Likewise.
11416         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11417         (geteuid): Likewise.
11418         (getgid): Likewise.
11419         (getuid): Likewise.
11420         (getresgid): Likewise.
11421         (getresuid): Likewise.
11422         (getgroups): Likewise.
11423         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11424         (geteuid): Likewise.
11425         (getgid): Likewise.
11426         (getuid): Likewise.
11427         (getresgid): Likewise.
11428         (getresuid): Likewise.
11429         (getgroups): Likewise.
11430         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11431         Likewise.
11432         (geteuid): Likewise.
11433         (getgid): Likewise.
11434         (getuid): Likewise.
11435         (getresgid): Likewise.
11436         (getresuid): Likewise.
11437         (getgroups): Likewise.
11438         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11439         (geteuid): Likewise.
11440         (getgid): Likewise.
11441         (getuid): Likewise.
11442         (getresgid): Likewise.
11443         (getresuid): Likewise.
11444         (getgroups): Likewise.
11445         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11446         Likewise.
11447         (geteuid): Likewise.
11448         (getgid): Likewise.
11449         (getuid): Likewise.
11450         (getgroups): Likewise.
11452         [BZ #14138]
11453         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11454         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11455         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11456         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11457         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11458         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11459         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11460         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11461         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11462         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11463         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11464         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11465         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11466         __chown.
11467         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11468         (lchown): Likewise.
11469         (fchown): Likewise.
11470         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11471         Likewise.
11472         (lchown): Likewise.
11473         (fchown): Likewise.
11474         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11475         (lchown): Likewise.
11476         (fchown): Likewise.
11477         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11478         Likewise.
11479         (lchown): Likewise.
11480         (fchown): Likewise.
11482 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11484         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11485         Simplify logic.
11487 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11489         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11490         Cleanup logic.
11492 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11494         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11495         Remove unused include.
11497 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11499         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11500         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11501         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11502         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11504 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11505             Helge Deller <deller@gmx.de>
11507         [BZ #17508]
11508         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11509         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11510         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11512 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11514         [BZ #14132]
11515         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11516         Remove macro definition.
11517         (__ashrdi3_v_glibc20): Likewise.
11518         (__lshrdi3_v_glibc20): Likewise.
11519         (__cmpdi2_v_glibc20): Likewise.
11520         (__ucmpdi2_v_glibc20): Likewise.
11521         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11522         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11523         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11524         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11525         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11526         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11528 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11530         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11531         old GNU extension [0] syntax.
11532         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11533         alloca rather than an array member with variable length.
11534         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11535         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11536         (parse_opt): ... here.  Likewise use alloca there.
11537         Validate the -i argument before checking for rootness.
11538         (send_shutdown): New function, broken out of ...
11539         (parse_opt): ... here.
11541 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11543         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11544         macro to get at the _rt_local_ro field.
11545         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11546         ([PIC] case) or _dl_hwcap ([!PIC] case).
11547         * sysdeps/arm/setjmp.S: Likewise.
11549         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11550         * sysdeps/arm/configure.ac: New check to define it.
11551         * sysdeps/arm/configure: Regenerated.
11552         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11553         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11554         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11555         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11556         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11557         Use move/movt pair instead of a load.
11558         (LDST_GLOBAL): Macro removed.
11559         (LDR_GLOBAL): New macro replaces it.
11560         (LDR_HIDDEN): New macro.
11561         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11562         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11564         * setjmp/tst-setjmp-static.c: New file.
11565         * setjmp/Makefile (tests): Add it.
11566         (tests-static): New variable.
11568 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11570         [BZ #17485]
11571         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11573 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11575         [BZ #14132]
11576         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11578 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11580         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11582 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11584         * io/fts.c (dirent_not_directory): New function.
11585         (fts_build): Call it.
11587 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11589         * nptl/version.c (__nptl_main): Use normal __write rather than
11590         INTERNAL_SYSCALL.
11591         (banner): Update copyright years.
11593         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11594         gettimeofday.
11595         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11596         * nptl/pthread_cond_timedwait.c: Likewise.
11597         * nptl/pthread_mutex_timedlock.c: Likewise.
11598         * nptl/sem_timedwait.c: Likewise.
11600         * sysdeps/nptl/bits/libc-lock.h
11601         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11602         (__libc_lock_init_recursive): Return void, not 0.
11603         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11604         (__libc_rwlock_init): Likewise.
11605         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11607 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11609         [BZ #15215]
11610         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11611         (__pthread_once_slow): ... here.
11612         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11613         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11615 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11617         [BZ #15215]
11618         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11619         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11620         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11621         * nptl/pthread_once.c (__pthread_once): Likewise.
11622         Update comments.
11624 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11626         [BZ #14138]
11627         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11628         name.
11629         (writev): Use __libc_writev as strong name.
11630         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11631         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11633 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11635         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11637         * sysdeps/i386/nptl/tls.h
11638         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11639         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11640         New macros.
11641         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11642         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11643         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11644         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11645         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11646         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11648         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11649         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11650         on [__NR_futex].
11651         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11652         broken out of ...
11653         (__pthread_mutex_init): ... here.  Call it.
11654         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11655         Conditionalize PI cases on [__NR_futex].
11656         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11657         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11658         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11660         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11661         conditional on [SIGSETXID].
11662         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11663         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11664         is defined.  Likewise for SIGSETXID.
11665         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11666         Conditionalize definitions on [SIGSETXID].
11667         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11668         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11669         unblocking on [SIGCANCEL].
11671         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11672         [__NR_set_robust_list].
11674 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11676         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11677         (do_compare): Likewise.
11679 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11681         [BZ #15884]
11682         * string/strcoll_l.c: Don't include stdio.h.
11683         (coll_seq): Remove members idxarr and rulearr.
11684         (get_next_seq_cached): Remove function.
11685         (get_next_seq): Likewise.
11686         (get_next_seq_nocache): Rename to get_next_seq.
11687         (do_compare): Remove function.
11688         (do_compare_nocache): Rename to do_compare.
11689         (STRCOLL): Remove weight and rules cache.
11691 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11693         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11694         * sysdeps/arm/sfp-machine.h: ... to here.
11695         * sysdeps/arm/Implies: Remove arm/soft-fp.
11697 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11699         * conform/data/sys/utsname.h-data (*_t): Allow.
11700         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11701         [POSIX] (WEXITED): Do not expect constant.
11702         [POSIX] (WSTOPPED): Likewise.
11703         [POSIX] (WNOHANG): Likewise.
11704         [POSIX] (WNOWAIT): Likewise.
11705         [POSIX] (siginfo_t): Do not expect type or elements.
11706         [POSIX] (pid_t): Do not expect type.
11707         [POSIX] (signal.h): Do not allow header.
11708         [POSIX] (sys/resource.h): Likewise.
11709         [POSIX] (si_*): Do not allow pattern.
11710         [POSIX] (W*): Likewise.
11711         [POSIX] (P_*): Likewise.
11712         [POSIX] (BUS_*): Likewise.
11713         [POSIX] (CLD_*): Likewise.
11714         [POSIX] (FPE_*): Likewise.
11715         [POSIX] (ILL_*): Likewise.
11716         [POSIX] (POLL_*): Likewise.
11717         [POSIX] (SEGV_*): Likewise.
11718         [POSIX] (SI_*): Likewise.
11719         [POSIX] (TRAP_*): Likewise.
11720         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11721         variable.
11723 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11725         [BZ #12926]
11726         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11727         infinite loop when __recvmsg returns 0.
11729 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11731         * CANCEL-FCT-WAIVE: Remove file.
11732         * CANCEL-FILE-WAIVE: Likewise.
11734         [BZ #14132]
11735         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11736         instead of INTVARDEF.
11737         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11738         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11739         rtld_hidden_data_def instead of INTVARDEF.
11740         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11741         * elf/dl-deps.c (expand_dst): Likewise.
11742         * elf/dl-load.c (_dl_dst_count): Likewise.
11743         (_dl_dst_substitute): Likewise.
11744         (decompose_rpath): Likewise.
11745         (_dl_init_paths): Likewise.
11746         (open_path): Likewise.
11747         (_dl_map_object): Likewise.
11748         * elf/rtld.c (dl_main): Likewise.
11749         (process_dl_audit): Likewise.
11750         (process_envvars): Likewise.
11751         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11752         Remove declaration.
11753         (__libc_enable_secure): Use rtld_hidden_proto.
11755 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11757         * elf/dl-load.c
11758         (add_path): New function broken out of _dl_rtld_di_serinfo.
11759         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11761 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11763         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11764         parentheses around macro arguments.
11765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11768         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11769         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11770         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11771         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11772         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11773         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11774         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11775         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11776         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11777         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11778         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11779         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11780         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11781         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11782         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11786         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11787         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11790         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11791         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11792         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11794         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11795         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11796         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11797         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11798         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11799         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11800         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11801         Likewise.
11802         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11803         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11804         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11805         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11806         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11807         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11808         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11809         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11810         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11811         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11812         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11813         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11814         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11815         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11816         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11819         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11820         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11821         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11822         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11823         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11824         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11825         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11826         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11827         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11828         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11829         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11830         (_FP_FRAC_SRS_1): Likewise.
11831         (_FP_FRAC_CLZ_1): Likewise.
11832         (_FP_MUL_MEAT_1_imm): Likewise.
11833         (_FP_MUL_MEAT_1_wide): Likewise.
11834         (_FP_MUL_MEAT_1_hard): Likewise.
11835         (_FP_SQRT_MEAT_1): Likewise.
11836         (_FP_FRAC_ASSEMBLE_1): Likewise.
11837         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11838         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11839         (__FP_CLZ_2): Likewise.
11840         (_FP_MUL_MEAT_2_wide): Likewise.
11841         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11842         (_FP_MUL_MEAT_2_gmp): Likewise.
11843         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11844         (_FP_SQRT_MEAT_2): Likewise.
11845         (_FP_FRAC_ASSEMBLE_2): Likewise.
11846         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11847         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11848         (_FP_FRAC_CLZ_4): Likewise.
11849         (_FP_MUL_MEAT_4_wide): Likewise.
11850         (_FP_MUL_MEAT_4_gmp): Likewise.
11851         (_FP_SQRT_MEAT_4): Likewise.
11852         (_FP_FRAC_ASSEMBLE_4): Likewise.
11853         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11854         * soft-fp/op-common.h (_FP_CMP): Likewise.
11855         (_FP_CMP_EQ): Likewise.
11856         (_FP_CMP_UNORD): Likewise.
11857         (_FP_TO_INT): Likewise.
11858         (_FP_FROM_INT): Likewise.
11859         [!__FP_CLZ] (__FP_CLZ): Likewise.
11860         (_FP_DIV_HELP_imm): Likewise.
11861         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11862         Likewise.
11863         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11866         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11867         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11868         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11869         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11870         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11871         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11872         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11873         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11874         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11875         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11876         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11877         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11878         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11879         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11880         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11881         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11882         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11883         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11884         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11885         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11886         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11887         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11888         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11889         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11890         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11891         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11892         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11893         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11894         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11895         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11896         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11897         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11898         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11899         (FP_UNPACK_RAW_SP): Likewise.
11900         (FP_PACK_RAW_S): Likewise.
11901         (FP_PACK_RAW_SP): Likewise.
11902         (FP_UNPACK_S): Likewise.
11903         (FP_UNPACK_SP): Likewise.
11904         (FP_UNPACK_SEMIRAW_S): Likewise.
11905         (FP_UNPACK_SEMIRAW_SP): Likewise.
11906         (FP_PACK_S): Likewise.
11907         (FP_PACK_SP): Likewise.
11908         (FP_PACK_SEMIRAW_S): Likewise.
11909         (FP_PACK_SEMIRAW_SP): Likewise.
11910         (_FP_SQRT_MEAT_S): Likewise.
11911         (FP_CMP_S): Likewise.
11912         (FP_CMP_EQ_S): Likewise.
11913         (FP_CMP_UNORD_S): Likewise.
11914         (FP_TO_INT_S): Likewise.
11915         (FP_FROM_INT_S): Likewise.
11917         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11919         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11920         (FP_EX_INVALID_IMZ): Likewise.
11921         (FP_EX_INVALID_IMZ_FMA): Likewise.
11922         (FP_EX_INVALID_ISI): Likewise.
11923         (FP_EX_INVALID_ZDZ): Likewise.
11924         (FP_EX_INVALID_IDI): Likewise.
11925         (FP_EX_INVALID_SQRT): Likewise.
11926         (FP_EX_INVALID_CVI): Likewise.
11927         (FP_EX_INVALID_VC): Likewise.
11928         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11929         "invalid" exceptions.
11930         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11931         (_FP_ADD_INTERNAL): Likewise.
11932         (_FP_MUL): Likewise.
11933         (_FP_FMA): Likewise.
11934         (_FP_DIV): Likewise.
11935         (_FP_CMP_CHECK_NAN): Likewise.
11936         (_FP_SQRT): Likewise.
11937         (_FP_TO_INT): Likewise.
11938         (FP_EXTEND): Likewise.
11940 2014-10-09  Allan McRae  <allan@archlinux.org>
11942         * po/fr.po: Update French translation from translation project.
11944 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11946         [BZ #14132]
11947         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11948         of INTDEF.
11949         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11950         (__cxa_atexit): Use libc_hidden_proto.
11951         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11953         [BZ #14132]
11954         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11955         declaration.
11956         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11957         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11958         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11959         [!_ISOMAC] (__iswctype_internal): Likewise.
11960         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11961         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11962         alias.
11963         (fcntl): Remove __fcntl_internal alias.
11964         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11965         __connect_internal alias.
11966         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11967         Likewise.
11969         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11970         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11971         FP_DENORM_ZERO.
11972         (_FP_CHECK_FLUSH_ZERO): New macro.
11973         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11974         (_FP_CMP): Likewise.
11975         (_FP_CMP_EQ): Likewise.
11976         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11977         FP_DENORM_ZERO.
11978         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11979         (FP_TRUNC): Likewise.
11981         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11982         treated as invalid conversion, not as normal exponent.
11984         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11985         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11986         (_FP_CMP_EQ): Likewise.
11987         (_FP_CMP_UNORD): Likewise.
11988         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11989         (FP_CMP_EQ_D): Likewise.
11990         (FP_CMP_UNORD_D): Likewise.
11991         * soft-fp/extended.h (FP_CMP_E): Likewise.
11992         (FP_CMP_EQ_E): Likewise.
11993         (FP_CMP_UNORD_E): Likewise.
11994         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11995         (FP_CMP_EQ_Q): Likewise.
11996         (FP_CMP_UNORD_Q): Likewise.
11997         * soft-fp/single.h (FP_CMP_S): Likewise.
11998         (FP_CMP_EQ_S): Likewise.
11999         (FP_CMP_UNORD_S): Likewise.
12000         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12001         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12002         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12003         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12004         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12005         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12006         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12007         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12008         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12009         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12010         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12011         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12012         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12013         to FP_CMP_Q.
12014         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12015         FP_CMP_Q.
12016         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12017         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12018         FP_CMP_EQ_Q.
12019         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12020         FP_CMP_Q.
12021         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12022         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12023         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12024         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12025         FP_CMP_EQ_Q.
12026         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12027         FP_CMP_Q.
12028         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12029         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12030         FP_CMP_EQ_Q.
12031         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12032         FP_CMP_Q.
12033         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12034         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12035         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12036         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12037         FP_CMP_EQ_Q.
12039         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12040         a subnormal result, set the underflow exception if trapping on
12041         underflow is enabled.
12042         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12043         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12044         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12045         redefine to 0.
12046         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12047         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12048         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12049         * soft-fp/extendxftf2.c (__extendxftf2): Use
12050         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12052         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12053         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12054         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12055         FP_HANDLE_EXCEPTIONS.
12056         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12057         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12058         FP_HANDLE_EXCEPTIONS.
12059         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12060         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12061         FP_HANDLE_EXCEPTIONS.
12062         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12063         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12064         FP_HANDLE_EXCEPTIONS.
12066 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12068         [BZ #14132]
12069         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12070         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12071         use INTUSE.
12072         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12073         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12074         Remove alias.
12075         (__adjtimex): Define using libc_hidden_ver.
12076         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12077         Remove declaration.
12078         (ntp_gettime): Call __adjtimex directly.
12079         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12080         Remove declaration.
12081         (ntp_gettimex): Call __adjtimex directly.
12082         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12083         __adjtimex_internal alias.
12085 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12087         [BZ #17460]
12088         * nscd/nscd.c (more_help): Rewrite list of tables collection
12089         using xstrdup and asprintf.
12091         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12093 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12094             Roland McGrath  <roland@hack.frob.com>
12096         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12097         (do_lookup_unique): ... local function 'enter' here; update callers.
12099 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12101         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12102         compat_symbol calls on [SHARED].
12103         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12104         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12105         Remove.
12106         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12107         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12108         (oldsetrlimit): Remove.
12109         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12111         (lchown): New syscall entry.
12112         (oldsetrlimit): Remove.
12113         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12114         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12115         (oldsetrlimit): Remove.
12116         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12118         [BZ #14138]
12119         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12120         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12121         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12122         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12123         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12124         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12125         (fchown): Likewise.
12126         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12127         (fchown): Likewise.
12128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12129         Likewise.
12131 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12133         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12134         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12135         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12136         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12137         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12138         Likewise.
12139         (__old_sem_post): Likewise.
12141 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12143         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12144         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12145         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12146         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12147         Use INLINE_VSYSCALL macro.
12148         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12149         __vdso_clock_gettime.
12150         * sysdeps/unix/sysv/linux/tile/init-first.c
12151         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12152         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12153         __vdso_clock_gettime.
12155         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12156         to set up frame more cleanly.
12158         * sysdeps/tile/memcmp.c: New file.
12160         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12162         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12163         * sysdeps/tile/tilegx/strcasestr.c: New file.
12164         * sysdeps/tile/tilegx/strnlen.c: New file.
12165         * sysdeps/tile/tilegx/strstr.c: New file.
12167         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12169 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12171         * nptl/tst-setuid3.c: Write errors to stdout.
12173 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12175         * elf/dl-deps.c
12176         (preload): New functions broken out of _dl_map_object_deps.
12177         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12179 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12181         [BZ #14138]
12182         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12183         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12185 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12187         * sysdeps/mips/strcmp.S: New.
12189 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12191         [BZ #14138]
12192         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12193         (linkat): Likewise.
12194         (mkdirat): Likewise.
12195         (readlinkat): Likewise.
12196         (renameat): Likewise.
12197         (symlinkat): Likewise.
12198         (unlinkat): Likewise.
12199         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12200         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12201         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12202         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12203         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12204         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12205         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12207 2014-09-30  Will Newton  <will.newton@linaro.org>
12209         * math/math.h: Define long double math functions if
12210         _LIBC_TEST is defined.
12211         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12213         * localedata/Makefile: Move assignment to tests-special
12214         into an ifdef testing run-built-tests.
12215         * timezone/Makefile: Likewise.
12217 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12219         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12220         with $(BASH) not $(SHELL).
12222 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12223             Matthew LeGendre  <legendre1@llnl.gov>
12225         [BZ #17411]
12226         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12227         l_reloc_result.
12229 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12231         * stdio-common/printf_fp.c
12232         (hack_digit): New function, broken out of ...
12233         (__printf_fp): ... local function here.  Update call sites.
12234         hack_digit now takes an additional parameter that is a pointer
12235         to a struct of the referenced locals.  Those locals moved inside
12236         the struct and references updated.
12238 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12240         * aclocal.m4: Require autoconf 2.69.
12241         * configure: Regenerated.
12242         * sysdeps/aarch64/configure: Likewise.
12243         * sysdeps/alpha/configure: Likewise.
12244         * sysdeps/arm/armv7/configure: Likewise.
12245         * sysdeps/arm/configure: Likewise.
12246         * sysdeps/ia64/configure: Likewise.
12247         * sysdeps/mach/configure: Likewise.
12248         * sysdeps/mips/configure: Likewise.
12249         * sysdeps/s390/configure: Likewise.
12250         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12253         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12254         file.
12255         * sysdeps/ia64/configure.ac: Likewise.
12257 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12260         specify symbol version for ld.so.  Do not include entry for
12261         libpthread.
12262         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12263         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12264         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12266         [BZ #14171]
12267         * Makeconfig [$(build-shared) = yes]
12268         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12269         makefiles.
12270         [$(build-shared) = yes && $(soversions.mk-done) = t]
12271         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12272         [$(build-shared) = yes && $(soversions.mk-done) = t]
12273         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12274         to Makerules.
12275         [$(build-shared) = yes && $(soversions.mk-done) = t]
12276         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12277         here.
12278         [$(build-shared) = yes && $(soversions.mk-done) = t]
12279         (common-generated): Don't append gnu/lib-names.h and
12280         gnu/lib-names.stmp here.
12281         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12282         (lib-names-h-abi): New variable.
12283         [$(build-shared) = yes && $(soversions.mk-done) = t]
12284         (lib-names-stmp-abi): Likewise.
12285         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12286         abi-variants] (before-compile): Append
12287         $(common-objpfx)$(lib-names-h-abi).
12288         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12289         abi-variants] (common-generated): Append gnu/lib-names.h.
12290         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12291         abi-variants] (install-others-nosubdir): Depend on
12292         $(inst_includedir)/$(lib-names-h-abi).
12293         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12294         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12295         [$(build-shared) = yes && $(soversions.mk-done) = t]
12296         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12297         [$(build-shared) = yes && $(soversions.mk-done) = t]
12298         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12299         [$(build-shared) = yes && $(soversions.mk-done) = t]
12300         (common-generated): Append $(lib-names-h-abi) and
12301         $(lib-names-stmp-abi).
12302         * scripts/lib-names.awk: Do not handle multi being set.
12303         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12304         Remove variable.
12305         (abi-lp64_be-ld-soname): Likewise.
12306         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12307         Likewise.
12308         (abi-hard-ld-soname): Likewise.
12309         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12310         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12311         Remove variable.
12312         (abi-o32_hard-ld-soname): Likewise.
12313         (abi-o32_soft_2008-ld-soname): Likewise.
12314         (abi-o32_hard_2008-ld-soname): Likewise.
12315         (abi-n32_soft-ld-soname): Likewise.
12316         (abi-n32_hard-ld-soname): Likewise.
12317         (abi-n32_soft_2008-ld-soname): Likewise.
12318         (abi-n32_hard_2008-ld-soname): Likewise.
12319         (abi-n64_soft-ld-soname): Likewise.
12320         (abi-n64_hard-ld-soname): Likewise.
12321         (abi-n64_soft_2008-ld-soname): Likewise.
12322         (abi-n64_hard_2008-ld-soname): Likewise.
12323         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12324         Likewise.
12325         (abi-64-v2-ld-soname): Likewise.
12326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12327         ld.so entries.
12328         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12329         variable.
12330         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12331         entry.
12332         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12333         variable.
12334         (abi-64-ld-soname): Likewise.
12335         (abi-x32-ld-soname): Likewise.
12336         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12337         entry.
12338         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12340 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12342         [BZ #14138]
12343         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12344         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12345         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12346         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12347         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12348         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12349         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12350         syscall entry for GLIBC_2.2 symbol version.
12351         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12352         Likewise.
12353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12354         (setrlimit): Likewise.
12355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12356         Likewise.
12358 2014-09-23  Will Newton  <will.newton@linaro.org>
12360         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12361         _LINUX_ARM_SYSDEP_H include guard too.
12362         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12363         define.
12365 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12367         * sysdeps/unix/sysv/linux/eventfd.c:
12368         Make first argument unsigned.
12369         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12370         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12372 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12374         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12375         * socket/sys/socket.h: Likewise
12376         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12378 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12380         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12382 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12384         * time/tst-ftime.c: New test.
12385         * time/Makefile (tests): Add tst-ftime.
12387 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12389         * soft-fp/extended.h: Fix comment formatting.
12390         * soft-fp/op-1.h: Likewise.
12391         * soft-fp/op-2.h: Likewise.
12392         * soft-fp/op-4.h: Likewise.
12393         * soft-fp/op-8.h: Likewise.
12394         * soft-fp/op-common.h: Likewise.
12395         * soft-fp/soft-fp.h: Likewise.
12397         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12399 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12401         [BZ #6652]
12402         * Makeconfig (soversions-default-setname): Remove variable.
12403         ($(common-objpfx)soversions.i): Don't pass default_setname to
12404         soversions.awk.
12405         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12406         oldest_abi to abi-versions.awk.
12407         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12408         * config.make.in (oldest-abi): Remove variable.
12409         * configure.ac (--enable-oldest-abi): Remove configure option.
12410         * configure: Regenerated.
12411         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12412         text.
12413         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12414         * scripts/soversions.awk: Do not handle default_setname variable.
12415         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12416         variable.
12417         * sysdeps/mach/hurd/configure: Regenerated.
12418         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12419         variable.
12420         * sysdeps/unix/sysv/linux/configure: Regenerated.
12422 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12424         * elf/Makefile (CFLAGS-interp.c): Remove.
12425         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12426         path string.
12427         * elf/interp.c: Include generated runtime-linker.h
12429         * Makerules (lib%.so): Don't include $(+interp) in
12430         prerequisites.
12431         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12432         * dlfcn/eval.c: Remove file.
12434         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12435         macros.
12437         [BZ #17266]
12438         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12439         4.2 and newer.
12441         [BZ #17370]
12442         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12444 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12445             Jakub Jelinek  <jakub@redhat.com>
12447         [BZ #17266]
12448         * libio/stdio.h: Check definition of __fortify_function
12449         instead of __extern_always_inline to include bits/stdio2.h.
12450         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12451         check if __extern_always_inline is defined.
12452         [__USE_MISC || __USE_XOPEN]: Likewise.
12453         [__USE_ISOC99] Likewise.
12454         * misc/sys/cdefs.h (__fortify_function): Define only if
12455         __extern_always_inline is defined.
12456         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12457         __extern_always_inline and __extern_inline only for g++-4.3
12458         and newer or a compatible gcc.
12460 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12462         [BZ #17371]
12463         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12464         last change to handle zero prefix length.
12466 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12468         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12469         _SC_REGEX_VERSION.
12471         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12472         _POSIX_RAW_SOCKETS.
12474 2014-09-13  Allan McRae  <allan@archlinux.org>
12476         * po/ru.po: Update Russian translation from translation project.
12478 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12480         * locale/programs/locale.c (show_locale_vars): Inline local function
12481         into its sole call site.  Clean up some style nits.
12482         (print_item): New function, broken out of ...
12483         (show_info): ... local function here.  Clean up style nits.
12485         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12486         out of ...
12487         (set_class_defaults): ... local function set_default here.
12488         Define set_default as a macro locally to pass constant parameters.
12489         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12490         rather than a shared local.
12492         * stdlib/rpmatch.c (try): New function, broken out of ...
12493         (rpmatch): ... local function here.  Also, prototypify definition.
12495 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12497         * scripts/soversions.awk: Do not handle configuration names.
12498         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12499         vendor and os variables to soversions.awk.
12500         * configure.ac: Do not modify gnu-* host_os.
12501         * configure: Regenerated
12502         * shlib-versions: Remove first column with configuration names.
12503         * nptl/shlib-versions: Likewise.
12504         * nptl_db/shlib-versions: Likewise.
12505         * sysdeps/hppa/shlib-versions: Likewise.
12506         * sysdeps/m68k/shlib-versions: Likewise.
12507         * sysdeps/mach/hurd/shlib-versions: Likewise.
12508         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12509         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12510         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12511         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12512         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12513         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12514         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12515         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12517         Likewise.
12518         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12519         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12520         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12521         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12522         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12523         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12524         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12525         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12528         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12530         Regenerated.
12531         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12533         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12535         * shlib-versions: Remove OS-specific entries.  Moved to files in
12536         sysdeps.
12537         * sysdeps/mach/hurd/shlib-versions: New file.
12538         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12540         * nptl/shlib-versions: Remove architecture-specific entries.
12541         Moved to files in sysdeps.
12542         * shlib-versions: Likewise.
12543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12544         file.
12545         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12546         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12547         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12548         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12550         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12551         (UDP_NO_CHECK6_RX): Likewise.
12553 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12555         * sysdeps/posix/sysconf.c (__sysconf): Spell
12556         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12558 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12560         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12561         loading.
12562         * iconv/Versions (__gconv_transliterate): Export for use from
12563         gconv modules.
12564         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12565         (struct __gconv_trans_data, __gconv_trans_fct,
12566         __gconv_trans_context_fct, __gconv_trans_query_fct,
12567         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12568         definitions.
12569         (struct __gconv_step_data): Remove __trans member.
12570         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12571         longer hidden.  Remove unused trans_data argument.
12572         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12573         (__gconv_translit_find): Remove declaration.
12574         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12575         prototype.
12576         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12577         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12578         trans_data argument.  Add hidden definition.
12579         (__gconv_translit_find): Remove.
12580         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12581         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12582         * iconv/skeleton.c: Remove transliteration initialization.
12583         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12584         __gconv_step_data initialization.
12585         * libio/iofwide.c (__libio_translit_): Remove.
12586         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12587         * wcsmbs/btowc.c (__btowc): Likewise.
12588         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12589         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12590         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12591         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12592         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12593         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12594         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12595         * wcsmbs/wctob.c (wctob): Likewise.
12597 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12599         [BZ #16194]
12600         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12601         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12602         register usage.
12603         * sysdeps/x86/Makefile: Adjust.
12605 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12606             Roland McGrath  <roland@hack.frob.com>
12608         * locale/weight.h: Add include guard.
12609         (findidx): Make static rather than auto; take new parameters
12610         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12611         * locale/weightwc.h: Likewise.
12612         * posix/fnmatch_loop.c
12613         (FCT): Change type of EXTRA from int32_t to wint_t.
12614         Don't include either header inside the function.
12615         Call FINDIDX rather than findidx, and pass new arguments.
12616         #undef FINDIDX at the end of the file.
12617         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12618         FINDIDX before including fnmatch_loop.c for the non-wide version.
12619         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12620         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12621         for the wide version.
12622         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12623         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12624         Pass new arguments to findidx.
12625         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12626         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12627         Don't #include it inside the function.  Pass new arguments to findidx.
12628         * posix/regex_internal.h
12629         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12630         (re_string_elem_size_at): Don't #include it inside the function.
12631         Pass new arguments to findidx.
12632         * string/strcoll_l.c: #include WEIGHT_H at top level.
12633         (get_next_seq): Don't #include it inside the function.
12634         Pass new arguments to findidx.
12635         (get_next_seq_nocache): Likewise.
12636         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12637         (STRXFRM): Don't #include it inside the function.
12638         Pass new arguments to findidx.
12640 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12642         [BZ #17344]
12643         * malloc/malloc.c (unlink): Turn asserts into a call to
12644         malloc_printerr.
12646 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12648         [BZ #17370]
12649         * libio/wfileops (do_ftell_wide): Free OUT.
12651 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12653         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12655 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12657         [BZ #17363]
12658         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12659         group if the current group is empty.
12661 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12663         * benchtests/bench-memset.c (test_main): Add more test from size
12664         from 32 to 512 bytes.
12665         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12666         Add POWER8 memset object.
12667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12668         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12669         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12670         implementation.
12671         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12672         Likewise.
12673         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12674         multiarch POWER8 memset optimization.
12675         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12676         POWER8 memset optimization.
12678         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12679         Remove bzero multiarch objects.
12680         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12681         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12682         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12683         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12684         Remove define.
12685         [__bzero]: Redefine to specific name.
12686         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12687         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12688         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12689         define.
12690         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12691         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12693 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12695         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12696         warnings into errors.
12698         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12699         __cxa_thread_atexit_impl prototype.
12701 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12703         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12704         Fix capitalization of error message.
12706 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12708         * sysdeps/mips/preconfigure: Modify ABI tests.
12710 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12712         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12714 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12715             Carlos O'Donell  <carlos@systemhalted.org>
12717         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12718         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12719         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12720         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12721         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12722         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12723         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12724         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12725         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12726         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12727         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12728         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12729         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12730         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12731         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12732         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12733         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12734         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12735         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12736         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12737         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12738         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12739         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12740         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12741         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12742         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12743         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12744         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12745         Deconditionalize the code that was previously under [RESET_PID].
12746         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12747         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12748         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12749         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12750         include sysdep.h.
12752 2014-09-08  Allan McRae  <allan@archlinux.org>
12754         * version.h (RELEASE): Set to "development".
12755         (VERSION): Set to "2.20.90"
12757 2014-09-07  Allan McRae  <allan@archlinux.org
12759         * version.h (RELEASE): Set to "stable".
12760         (VERSION): Set to "2.20"
12761         * include/features.h (__GLIBC_MINOR__): Set to 20.
12763         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12764         Liebler.
12766         * po/ko.po: Update Korean translation from translation project.
12768 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12770         [BZ #17354]
12771         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12772         macro for handling signed relocations.
12774 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12776         [BZ #17325]
12777         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12778         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12779         assert.
12780         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12781         * iconvdata/ibm935.c (BODY): Likewise.
12782         * iconvdata/ibm937.c (BODY): Likewise.
12783         * iconvdata/ibm939.c (BODY): Likewise.
12784         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12785         assert.
12786         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12787         script.
12788         * iconvdata/run-iconv-test.sh: New test loop for checking for
12789         decoder crashers.
12791 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12793         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12794         libm_hidden_ver.
12796 2014-09-01  Allan McRae  <allan@archlinux.org>
12798         * po/eo.po: Update Esperanto translation from translation project.
12800         * po/ca.po: Update Catalan translation from translation project.
12802 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12804         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12805         __proc_dostop call.
12807 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12809         [BZ #17319]
12810         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12811         to call set_thread_area instead of hand written asm.
12812         (__NR_set_thread_area): Removed define.
12813         (TLS_FLAG_WRITABLE): Likewise.
12814         (__ASSUME_SET_THREAD_AREA): Remove check.
12815         (TLS_EBX_ARG): Remove define.
12816         (TLS_LOAD_EBX): Likewise.
12818 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12820         Simplify atomicity of socket creation in bind.
12822         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12823         looking up the name after linking the file.
12825 2014-08-27  Allan McRae  <allan@archlinux.org>
12827         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12829 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12831         [BZ #17187]
12832         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12833         trans_compare, open_translit, __gconv_translit_find):
12834         Remove module loading code.
12836 2014-08-26  Allan McRae  <allan@archlinux.org>
12838         * po/vi.po: Update Vietnamese translation from translation project.
12840         * po/uk.po: Update Ukrainian translation from translation project.
12842         * po/fr.po: Update French translation from translation project.
12844         * po/ru.po: Update Russian translation from translation project.
12846         * po/pl.po: Update Polish translation from translation project.
12848         * po/cs.po: Update Czech translation from translation project.
12850         * po/de.po: Update German translation from translation project.
12852         * po/bg.po: Update Bulgarian translation from translation project.
12854         * po/sv.po: Update Sweedish translation from translation project.
12856         * po/nl.po: Update Dutch translation from translation project.
12858         * po/es.po: Update Spanish translation from translation project.
12860 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12862         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12864         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12865         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12866         (CPPFLAGS-iconvconfig): Likewise.
12867         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12869         * include/libc-symbols.h: Remove unnecessary check for
12870         NOT_IN_libc.
12871         * nptl/pthreadP.h: Likewise.
12872         * sysdeps/aarch64/setjmp.S: Likewise.
12873         * sysdeps/alpha/setjmp.S: Likewise.
12874         * sysdeps/arm/sysdep.h: Likewise.
12875         * sysdeps/i386/setjmp.S: Likewise.
12876         * sysdeps/m68k/setjmp.c: Likewise.
12877         * sysdeps/posix/getcwd.c: Likewise.
12878         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12879         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12880         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12881         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12882         * sysdeps/sh/sh3/setjmp.S: Likewise.
12883         * sysdeps/sh/sh4/setjmp.S: Likewise.
12884         * sysdeps/unix/alpha/sysdep.h: Likewise.
12885         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12886         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12887         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12888         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12891         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12892         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12893         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12894         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12895         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12896         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12898         * sysdeps/x86_64/setjmp.S: Likewise.
12900 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12902         [BZ #17263]
12903         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12904         <stdint.h>.
12905         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12906         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12908 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12910         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12912         [BZ #17262]
12913         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12914         and __x86_64__ when disabling x87 inline functions.
12916 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12918         [BZ #17259]
12919         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12920         asm statement with __cpuid_count.
12922 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12924         * configure.ac: Change __ehdr_start code to dereference the struct.
12925         Run readelf on the output to look for relocations.
12926         * configure: Regenerated.
12928 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12930         [BZ #17261]
12931         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12932         value to 0.
12933         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12935 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12937         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12939 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12941         [BZ #16892]
12942         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12943         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12945 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12947         * malloc/malloc.c: Fix typo in comment.
12949 2014-08-09  Allan McRae  <allan@archlinux.org>
12951         * Regenerate libc.po.
12953 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12955         * intl/tst-gettext2.sh: Check every lang file for creation.
12957 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12959         * sysdeps/aarch64/fpu/math_private.h
12960         (libc_feholdsetround_noex_aarch64_ctx): New function.
12962 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12964         * sysdeps/arm/armv6/strcpy.S (strcpy):
12965         Fix performance issue in misaligned cases.
12967 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12969         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12970         Move definition from termios.h.
12971         (struct termio): Likewise.
12972         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12973         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12974         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12975         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12976         Likewise.
12977         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12978         Move definition to ioctl-types.h
12979         (struct termio): Likewise.
12980         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12981         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12982         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12983         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12984         Likewise.
12986 2014-08-05  Richard Henderson  <rth@redhat.com>
12988         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12989         exceptions.
12990         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12991         Add fraiseexcpt.
12992         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12993         Use __feraiseexcept.
12994         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12995         Protect libm symbols with IS_IN_libm.
12997         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12999 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13001         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13003 2014-08-04  Will Newton  <will.newton@linaro.org>
13005         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13006         file.
13008 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13010         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13011         variants for each function.
13013 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13015         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13016         appended ...
13017         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13018         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13019         appended ...
13020         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13021         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13022         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13023         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13024         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13025         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13026         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13027         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13028         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13029         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13030         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13031         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13032         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13033         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13034         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13035         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13036         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13037         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13038         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13039         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13040         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13041         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13042         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13043         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13044         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13045         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13046         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13047         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13048         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13049         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13050         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13051         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13052         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13053         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13054         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13055         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13056         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13057         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13058         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13059         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13060         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13061         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13062         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13063         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13064         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13065         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13066         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13067         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13068         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13069         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13070         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13071         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13072         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13073         Update #include.
13074         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13075         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13077 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13079         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13080         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13081         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13082         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13083         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13084         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13086 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13088         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13089         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13090         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13091         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13093 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13095         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13096         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13097         (__libc_vfork): Define function under this name.
13098         (__vfork): Define as an alias.
13099         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13100         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13102 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13104         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13105         that was previously under [RESET_PID].
13106         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13108 2014-08-04  Andreas Schwab  <schwab@suse.de>
13110         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13112 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13114         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13115         (main): Likewise.
13117 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13119         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13121 2014-08-01  Richard Henderon  <rth@redhat.com>
13123         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13124         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13125         typo in exact zero test.
13126         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13127         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13128         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13130 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13132         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13133         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13134         * sysdeps/arm/sysdep.h: ... here.
13135         [!__ASSEMBLER__]: Include <stdint.h>.
13137 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13139         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13140         (HAVE_WCTYPE_H): Likewise.
13141         (HAVE_ISWCTYPE): Likewise.
13142         (ENABLE_NLS): Likewise.
13143         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13144         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13146         * posix/regex_internal.c: Check if DEBUG is defined and is
13147         set.
13149         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13150         (HAVE_MBSRTOWCS): Likewise.
13151         * posix/fnmatch.c: Include string.h unconditionally.
13153 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13155         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13156         reversal.
13158 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13160         * sysdeps/generic/safe-fatal.h: New file.
13161         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13162         * nptl/forward.c: Include it.
13163         (__pthread_unwind): Use __safe_fatal as default action, rather
13164         than a bogus use of INTERNAL_SYSCALL that could never work.
13166         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13167         * configure.ac (libc_cv_builtin_trap): New test.
13168         * configure: Regenerated.
13169         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13170         (ABORT_INSTRUCTION): Define using __builtin_trap.
13172         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13173         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13174         * sysdeps/nptl/nptl-signals.h: New file.
13175         * nptl/pthreadP.h: Include <nptl-signals.h>.
13177 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13179         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13180         (ONE_DIRECTION): Define.
13181         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13182         (ONE_DIRECTION): Define.
13183         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13184         (ONE_DIRECTION): Define.
13186 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13188         * sysdeps/s390/Makefile: Delete file.
13189         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13190         * sysdeps/s390/__longjmp.c: Delete file.
13191         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13192         Remove fields __flags and __reserved.
13193         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13194         and add versioning.
13195         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13196         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13197         * sysdeps/s390/rtld-setjmp.S: Likewise.
13198         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13199         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13200         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13201         * sysdeps/s390/s390-32/setjmp.S: ... here.
13202         Add versioning.
13203         (__sigsetjmp): Remove setting __flags field.
13204         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13205         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13206         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13207         * sysdeps/s390/s390-64/setjmp.S: ... here.
13208         Add versioning.
13209         (__sigsetjmp): Remove setting __flags field.
13210         * sysdeps/s390/setjmp.S: Delete file.
13211         * sysdeps/s390/sigjmp.c: Likewise.
13212         * sysdeps/s390/v1-longjmp.c: Likewise.
13213         * sysdeps/s390/v1-setjmp.h: Likewise.
13214         * sysdeps/s390/v1-sigjmp.c: Likewise.
13215         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13216         Remove v1-longjmp_chk.
13217         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13218         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13219         Include debug/longjmp_chk.c and add versioning.
13220         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13221         Include nptl/pt-longjmp.c and add versioning.
13222         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13223         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13224         Include __longjmp.c.
13225         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13226         Move to ...
13227         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13228         (__getcontext): Remove setting __flags field.
13229         Add versioning.
13230         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13231         Don't restore upper high grps.
13232         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13233         Likewise.
13234         (__swapcontext): Remove setting uc_flags field.
13235         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13236         Delete file.
13237         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13238         Include __longjmp.c.
13239         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13240         Move to ...
13241         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13242         (__getcontext): Remove setting __flags field.
13243         Add versioning.
13244         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13245         (__swapcontext): Remove setting uc_flags field.
13246         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13247         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13248         Remove fields uc_high_gprs and __reserved.
13249         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13250         New file with reverted content.
13251         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13252         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13253         Regenerated.
13254         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13255         Regenerated.
13257 2014-07-31  Andreas Schwab  <schwab@suse.de>
13259         * config.h.in (HAVE_IFUNC): Define to 0.
13260         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13261         definedness.
13263 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13266         memmove-avx-unaligned, memcpy-avx-unaligned and
13267         mempcpy-avx-unaligned.
13268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13269         Add tests for AVX memcpy functions.
13270         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13271         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13272         memcpy_chk.
13273         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13274         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13275         memmove_chk.
13276         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13277         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13278         mempcpy_chk.
13279         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13280         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13281         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13283 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13285         [BZ #17213]
13286         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13287         powerpc64le.
13289 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13291         [BZ #16839]
13292         * manual/llio.texi: Add section about open file description locks.
13293         * manual/examples/ofdlocks.c: Example of open file description
13294         lock usage.
13295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13296         F_OFD_SETLK, and F_OFD_SETLKW.
13298 2014-07-23  Allan McRae  <allan@archlinux.org>
13300         * po/es.po: Update Spanish translation from translation project.
13302 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13304         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13306 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13308         [BZ #17078]
13309         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13310         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13311         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13313 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13315         [BZ #17088]
13316         * math/fesetenv.c (__fesetenv)
13317         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13318         * math/feupdateenv.c (__feupdateenv)
13319         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13321         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13322         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13323         (__ASSUME_SOCKETCALL): Do not define.
13325         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13326         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13327         (__ASSUME_SOCKETCALL): Do not define.
13328         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13329         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13330         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13331         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13333         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13334         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13335         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13337         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13338         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13339         (__ASSUME_SOCKETCALL): Do not define.
13340         (__ASSUME_IPC64): Define unconditionally.
13341         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13342         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13343         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13344         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13345         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13347         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13348         Likewise.
13350         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13351         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13352         (__ASSUME_SOCKETCALL): Do not define.
13353         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13354         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13355         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13356         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13357         (__ASSUME_REQUEUE_PI): Define unconditionally.
13358         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13359         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13360         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13361         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13362         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13363         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13365         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13366         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13367         (__ASSUME_SOCKETCALL): Do not define.
13368         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13369         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13370         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13371         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13372         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13373         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13375         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13376         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13377         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13378         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13379         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13380         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13382         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13383         (__ASSUME_GETCPU_SYSCALL): Likewise.
13385         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13386         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13387         cases for individual architectures.
13388         * sysdeps/gnu/configure: Regenerated.
13389         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13390         LIBC_SLIBDIR_RTLDDIR.
13391         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13392         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13393         LIBC_SLIBDIR_RTLDDIR.
13394         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13396         LIBC_SLIBDIR_RTLDDIR.
13397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13398         Regenerated.
13399         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13400         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13401         file.
13402         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13403         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13404         file.
13405         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13406         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13407         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13408         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13410         * sysdeps/aarch64/shlib-versions: Move to ...
13411         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13412         * sysdeps/alpha/shlib-versions: Move to ...
13413         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13414         * sysdeps/arm/shlib-versions: Move to ...
13415         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13416         * sysdeps/hppa/shlib-versions: Move all contents except for
13417         libgcc_s entry to ...
13418         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13419         entry from ...
13420         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13421         * sysdeps/ia64/shlib-versions: Move to ...
13422         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13423         entry from ...
13424         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13425         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13426         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13427         * sysdeps/microblaze/shlib-versions: Move to ...
13428         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13429         * sysdeps/mips/shlib-versions: Move to ...
13430         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13431         entry from ...
13432         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13433         * sysdeps/tile/shlib-versions: Move to ...
13434         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13435         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13436         from ...
13437         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13438         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13439         entry from ...
13440         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13442 2014-07-17  Will Newton  <will.newton@linaro.org>
13444         * sysdeps/arm/bits/atomic.h
13445         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13446         (__arch_compare_and_exchange_bool_16_int): Likewise.
13447         (__arch_compare_and_exchange_bool_64_int): Likewise.
13449         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13450         into an #else block.
13452 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13454         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13455         just Linux configurations.  Test empirically that the compiler sets
13456         __ARM_EABI__, rather than using the tuple to decide.
13457         * sysdeps/arm/preconfigure: Regenerated.
13458         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13459         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13460         contents appended ...
13461         * sysdeps/arm/configure.ac: ... here.
13462         * sysdeps/arm/configure: Regenerated.
13464 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13466         * nptl/pthread_kill.c: New file.
13467         * nptl/pthread_sigmask.c: New file.
13468         * nptl/pthread_sigqueue.c: New file.
13470         * sysdeps/nptl/lowlevellock.h: New file.
13471         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13472         * sysdeps/nptl/lowlevellock-futex.h: New file.
13474         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13475         Remove dead declarations.
13477 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13479         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13480         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13481         config-cflags-avx2.
13482         * sysdeps/x86_64/configure.ac: Likewise.
13483         * sysdeps/i386/configure: Regenerated.
13484         * sysdeps/x86_64/configure: Likewise.
13485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13486         memset-avx2 only if config-cflags-avx2 is yes.
13487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13488         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13489         defined.
13490         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13491         only if HAVE_AVX2_SUPPORT is defined.
13492         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13494 2014-07-14  Alan Modra  <amodra@gmail.com>
13496         [BZ #17153]
13497         * elf/elf.h (DT_PPC64_NUM): Correct value.
13498         * NEWS: Add to fixed bug list.
13500 2014-07-13  Jim Meyering  <meyering@fb.com>
13502         [BZ 17150]
13503         regex: don't deref NULL upon heap allocation failure
13504         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13505         failure in one more place.
13506         To trigger the segfault, configure grep -with-included-regex,
13507         build it, and run these commands:
13508         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13510 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13512         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13514 2014-07-11  Richard Henderson  <rth@redhat.com>
13516         * sysdeps/aarch64/libm-test-ulps: Update.
13518 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13520         [BZ #17135]
13521         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13522         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13523         (__nptl_setxid): Initialize error member.  Call
13524         __nptl_setxid_error.
13525         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13526         * nptl/descr.h (struct xid_command): Add error member.
13527         * nptl/tst-setuid3.c: New file.
13528         * nptl/Makefile (tests): Add it.
13530 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13532         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13533         New define.
13534         (__lll_trylock): Use __lll_base_trylock.
13535         (__lll_cond_trylock): Likewise.
13537 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13539         * nptl/pthread_create.c (start_thread): Use atomic_or and
13540         lll_futex_wake directly rather than lll_robust_dead.
13541         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13542         (lll_robust_dead): Macro removed.
13543         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13544         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13545         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13546         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13547         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13548         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13549         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13550         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13551         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13552         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13553         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13554         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13555         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13556         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13557         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13559         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13560         Use atomic_compare_and_exchange_val_acq directly rather than
13561         lll_robust_trylock.
13562         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13563         (__lll_robust_trylock, lll_robust_trylock): Removed.
13564         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13565         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13566         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13568         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13569         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13570         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13571         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13572         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13573         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13574         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13575         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13576         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13577         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13579 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13581         * manual/locale.texi (Locale Names): New section documenting
13582         locale name syntax.  Adjust menu and node chaining accordingly.
13583         (Choosing Locale): Reference Locale Names, Locale Categories.
13584         Mention setting LC_ALL=C.  Reflect that name syntax is now
13585         documented.
13586         (Locale Categories): New section title.  Reference Locale Names.
13587         LC_ALL is an environment variable, but not a category.
13588         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13589         description, now in Locale Name.  Reference that section.  Locale
13590         name syntax is now documented.
13592 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13594         [BZ #17137]
13595         * locale/findlocale.c (name_present, valid_locale_name): New
13596         functions.
13597         (_nl_find_locale): Use the loc_name variable to store name
13598         candidates.  Call name_present and valid_locale_name to check and
13599         validate locale names.  Return an error if the locale is invalid.
13601 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13603         * locale/setlocale.c (setlocale): Use strdup for allocating
13604         composite name copy.
13606 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13608         Sync up with gnulib.
13609         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13610         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13611         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13612         and _GL_ARG_NONNULL.
13613         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13614         [!_LIBC]: Include code for Windows and Cygwin.
13615         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13616         Include prototype for int strerror_r.
13617         [!_LIBC] (is_open): New function.
13618         (flush_stdout): New function.
13619         (print_errno_message): Use it.
13620         (error): Likewise.
13621         (error_at_line): Likewise.
13622         (error_tail) Add function attribute macros.  Use
13623         __builtin_expect.
13625         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13627         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13629         * io/ftw.c: Include sys/param.h unconditionally.
13631         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13633         [BZ #17125]
13634         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13635         libc_freeres_ptr.
13636         (freecache): New function to free CACHE on exit.
13638         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13639         initialization.
13641 2014-07-09  David S. Miller  <davem@davemloft.net>
13643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13645         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13646         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13647         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13648         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13649         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13650         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13651         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13652         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13653         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13654         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13655         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13656         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13657         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13659 2014-07-09  Andreas Schwab  <schwab@suse.de>
13661         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13662         output.
13663         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13664         (do_test): Likewise.
13666         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13668 2014-07-09  Will Newton  <will.newton@linaro.org>
13670         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13671         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13672         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13673         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13674         * sysdeps/hppa/start.S (_start): Likewise.
13676 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13678         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13680         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13681         defined.
13683 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13685         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13686         after checking that it is non-NULL.
13688         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13690 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13692         * sysdeps/powerpc/memmove.c: Remove file.
13693         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13694         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13695         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13696         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13697         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13698         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13699         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13700         string memmove instead of removed powerpc one.
13702         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13703         [weak_alias]: Fix compiler warning due trailing data.
13704         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13705         [weak_alias]: Likewise.
13706         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13707         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13709         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13710         (__libc_ifunc_impl_list): Add memmove functions.
13712 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13714         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13715         Remove code.
13716         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13717         Likewise
13718         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13719         Likewise
13720         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13721         Likewise
13722         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13723         Likewise
13724         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13725         Likewise
13726         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13727         Likewise
13728         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13729         Likewise
13730         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13731         Likewise
13732         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13733         Likewise
13734         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13735         Likewise
13736         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13737         Likewise
13738         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13739         Likewise
13740         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13741         Likewise
13742         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13743         Likewise
13744         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13745         Likewise
13746         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13747         Likewise
13749 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13751         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13752         to avoid alignment traps in non-cacheable memory.
13753         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13756         multiarch objects.
13757         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13758         file: multiarch power7 memmove.
13759         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13760         multiarch default memmove.
13761         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13762         multiarch memove for powerpc32/power4.
13764         * string/bcopy.c: Use full path to include memmove.c.
13765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13766         multiarch objects.
13767         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13768         bcopy for powerpc64.
13769         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13770         bcopy for powerpc64.
13771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13772         and memmove implementations.
13773         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13774         optimized multiarch memmove for POWER7/powerpc64.
13775         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13776         default multiarch memmove for powerpc64.
13777         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13778         multiarch for powerpc64.
13779         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13780         for POWER7/powerpc64.
13781         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13782         memmove for POWER7/powerpc64.
13784         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13785         glibc default one.
13787         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13788         __ELF_NATIVE_CLASS equal to 64.
13790 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13792         * sysdeps/nptl/lowlevellock.h: File removed.
13794         * NEWS: NPTL is no longer an add-on!
13795         * nptl/internaltypes.h: Moved ...
13796         * sysdeps/nptl/internaltypes.h: ... here.
13797         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13798         * sysdeps/nptl/fork.c: Likewise.
13799         * sysdeps/nptl/gai_misc.h: Likewise.
13800         * sysdeps/nptl/librt-cancellation.c: Likewise.
13801         * sysdeps/nptl/jmp-unwind.c: Likewise.
13802         * sysdeps/nptl/setxid.h: Likewise.
13803         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13804         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13805         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13806         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13807         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13808         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13809         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13810         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13811         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13812         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13813         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13814         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13815         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13816         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13817         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13818         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13819         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13820         * nptl/Makeconfig: Moved ...
13821         * sysdeps/nptl/Makeconfig: ... here.
13822         * nptl/configure: File removed.
13823         * nptl/ANNOUNCE: File removed.
13824         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13825         * sysdeps/unix/sysv/linux/configure: Regenerated.
13827         * nptl/Makefile (routines): Add libc_pthread_init,
13828         libc_multiple_threads, register-atfork and unregister-atfork.
13829         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13830         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13831         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13832         pthread-pi-defines.sym, structsem.sym.
13833         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13834         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13835         [$(subdir) = nptl] (tests): Add tst-setgetname.
13836         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13837         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13838         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13839         [!LIBC_SIGACTION]: Remove aliases.
13840         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13841         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13842         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13843         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13844         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13845         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13846         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13847         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13848         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13849         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13850         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13851         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13852         __libc_allocate_rtsig_private.
13853         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13854         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13855         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13856         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13857         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13858         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13859         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13860         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13861         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13862         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13863         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13864         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13865         * nptl/internaltypes.h: ... here.
13866         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13867         * sysdeps/nptl/jmp-unwind.c: ... here.
13868         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13869         * nptl/libc-lowlevellock.c: ... here.
13870         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13871         * nptl/libc_multiple_threads.c: ... here.
13872         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13873         * nptl/libc_pthread_init.c: ... here.
13874         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13875         * nptl/lowlevelbarrier.sym: ... here.
13876         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13877         * nptl/lowlevelcond.sym: ... here.
13878         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13879         * nptl/lowlevellock.c: ... here.
13880         * nptl/lowlevellock.h: Moved ...
13881         * sysdeps/nptl/lowlevellock.h: ... here.
13882         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13883         * nptl/lowlevelrobustlock.c: ... here.
13884         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13885         * nptl/lowlevelrobustlock.sym: ... here.
13886         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13887         * nptl/lowlevelrwlock.sym: ... here.
13888         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13889         * nptl/pt-fork.c: ... here.
13890         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13891         * nptl/pthread-pi-defines.sym: ... here.
13892         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13893         * nptl/pthread_attr_getaffinity.c: ... here.
13894         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13895         * nptl/pthread_attr_setaffinity.c: ... here.
13896         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13897         * nptl/pthread_mutex_cond_lock.c: ... here.
13898         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13899         Update #include.
13900         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13901         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13902         * nptl/pthread_once.c: ... here, replacing old file.
13903         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13904         * nptl/pthread_yield.c: ... here.
13905         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13906         * nptl/register-atfork.c: ... here.
13907         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13908         * nptl/sem_post.c: ... here.
13909         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13910         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13911         * nptl/sem_timedwait.c: ... here.
13912         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13913         * nptl/sem_trywait.c: ... here.
13914         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13915         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13916         * nptl/sem_wait.c: ... here.
13917         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13918         * nptl/structsem.sym: ... here.
13919         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13920         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13921         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13922         * nptl/unregister-atfork.c: ... here.
13923         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13924         * nptl/unwindbuf.sym: ... here.
13925         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13926         * sysdeps/nptl/fork.c: ... here.
13927         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13928         * sysdeps/nptl/fork.h: ... here.
13929         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13930         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13931         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13932         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13933         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13934         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13935         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13936         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13937         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13938         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13939         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13940         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13941         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13942         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13943         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13944         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13945         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13946         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13947         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13948         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13949         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13950         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13951         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13952         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13953         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13955         * sysdeps/unix/sysv/linux/raise.c: ... here.
13956         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13957         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13958         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13959         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13960         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13961         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13962         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13963         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13964         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13965         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13966         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13967         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13968         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13969         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13970         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13972 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13974         * sysdeps/generic/memcopy.h: Add comment for
13975         MEMCPY_OK_FOR_FWD_MEMMOVE.
13977 2014-07-04  Will Newton  <will.newton@linaro.org>
13979         * string/memchr.c: Merge from gnulib.
13980         [_LIBC]: Remove conditionals.
13981         (__ptr_t): Remove define.
13982         (LONG_MAX_32_BITS): Likewise.
13983         (LONG_MAX): Likewise.
13984         (MEMCHR): Use ANSI prototype and optimize algorithm.
13986         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13988 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13990         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13991         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13993         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13994         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13995         in a bare environment with no <stdlib.h> installed.
13996         * sysdeps/nptl/configure: Regenerated.
13998         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14000         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14001         AC_EGREP_CPP for kernel header checks, so they only succeed if
14002         including <linux/version.h> actually works right.
14003         * sysdeps/unix/sysv/linux/configure: Regenerated.
14005         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14006         value so it's not diagnosed as unused.
14008         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14009         thing) with "ifeq ($(subdir),rt)".
14011 2014-07-03  Richard Henderson  <rth@redhat.com>
14013         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14014         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14015         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14017         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14018         (math_force_eval): New.
14020         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14021         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14023         * sysdeps/alpha/fpu/s_round.c: Remove file.
14024         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14026         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14027         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14028         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14029         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14030         (_dl_start, print_statistics): Likewise.
14031         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14032         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14034         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14035         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14036         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14037         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14038         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14039         (HP_SMALL_TIMING_AVAIL): Define.
14040         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14041         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14042         (HP_SMALL_TIMING_AVAIL): Define.
14043         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14044         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14046         * sysdeps/aarch64/hp-timing.h: New file.
14048         * sysdeps/generic/hp-timing.h: Remove dead comment.
14049         * sysdeps/generic/hp-timing-common.h: New file.
14050         * sysdeps/alpha/hp-timing.h: Include it.
14051         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14052         * sysdeps/i386/i686/hp-timing.h: Likewise.
14053         * sysdeps/ia64/hp-timing.h: Likewise.
14054         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14055         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14056         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14057         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14058         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14059         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14060         (hp_timing_t): New.
14062         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14063         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14064         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14065         * elf/rtld.c (_dl_start_final): Likewise.
14066         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14067         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14068         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14069         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14070         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14071         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14072         (HP_TIMING_DIFF_INIT): Remove.
14073         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14074         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14075         (HP_TIMING_DIFF_INIT): Remove.
14076         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14077         * sysdeps/i386/i686/hp-timing.c: Remove file.
14078         * sysdeps/x86_64/hp-timing.c: Remove file.
14079         * sysdeps/ia64/hp-timing.c: Remove file.
14080         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14081         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14082         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14083         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14085         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14086         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14087         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14088         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14089         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14090         (HP_TIMING_ACCUM): Remove.
14091         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14092         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14093         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14095         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14096         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14097         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14098         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14099         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14100         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14102         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14104         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14106 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14108         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14110 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14112         Sync up with gettext.
14113         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14114         [_MSC_VER]: Include malloc.h
14115         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14116         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14117         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14118         TEMP_FAILURE_RETRY.  Cast return of alloca.
14119         [!_LIBC] Call gl_rwlock_init.
14120         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14122 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14124         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14125         before checking its value.
14127 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14129         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14131         * debug/memcpy_chk.c: Don't include pagecopy.h.
14132         * debug/mempcpy_chk.c: Likewise.
14133         * string/memcpy.c: Likewise.
14134         * string/memmove.c: Likewise.
14135         * sysdeps/powerpc/memmove.c: Likewise.
14136         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14137         definition of PAGE_COPY_FWD_MAYBE here...
14138         * sysdeps/generic/pagecopy.h: ... from here.
14139         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14141 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14142             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14144         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14146         optimizations.
14147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14148         (__libc_ifunc_impl_list): Likewise.
14149         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14150         multiarch strcat for PPC64.
14151         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14152         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14154 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14156         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14158 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14160         * intl/loadmsgcat.c: Remove declaration of
14161         get_sysdep_segment_value.
14162         (get_sysdep_segment_value): Use ISO C style.
14163         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14164         semicolon.  Fix typo and formatting in comment.
14165         (_nl_unload_domain): Use ISO C style.
14167         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14169 2014-07-02  Will Newton  <will.newton@linaro.org>
14171         * malloc/obstack.c: Merge from gnulib master.
14172         [HAVE_CONFIG_H]: Remove conditional code.
14173         [!_LIBC]: Include config.h.
14174         [!ELIDE_CODE]: Don't include inttypes.h, include
14175         stdint.h unconditionally.
14176         (print_and_abort): Mark as _Noreturn.
14177         (_obstack_allocated_p): Mark as __attribute_pure__.
14178         (obstack_free): Rename to __obstack_free.
14179         [!__attribute__]: Remove conditional code.
14180         * malloc/obstack.h: Merge from gnulib master.
14181         [__cplusplus]: Move conditional down.
14182         [!__attribute_pure__]: Define __attribute_pure__ here
14183         if it is not already defined.
14184         (_obstack_memory_used): Mark as __attribute_pure__.
14185         [!__obstack_free]: Define as obstack_free.
14186         [__GNUC__]: Remove check for ancient NeXT gcc.
14188 2014-07-02  Will Newton  <will.newton@linaro.org>
14189             Paul Eggert  <eggert@cs.ucla.edu>
14191         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14193 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14195         * resolv/gethnamaddr.c: Add comment warning that the file is
14196         not maintained.
14198 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14200         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14201         entries.
14203         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14204         entry for aio_cancel and aio_cancel64.
14205         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14206         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14207         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14208         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14209         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14210         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14211         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14212         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14213         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14214         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14215         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14216         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14217         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14219 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14221         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14222         * nptl/pthread_mutex_lock.c: Likewise.
14223         * nptl/pthread_mutex_timedlock.c: Likewise.
14224         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14226 2014-07-01  Richard henderson  <rth@redhat.com>
14228         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14229         (__isnan, __isnanl): Remove.
14230         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14232         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14234 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14236         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14238 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14240         * resolv/nss_dns/dns-host.c (getanswer_r)
14241         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14243 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14245         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14246         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14247         undefine.
14248         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14249         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14251 2014-07-01  Roland McGrath <roland@hack.frob.com>
14253         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14254         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14256         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14257         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14259         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14260         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14261         ... here.
14262         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14263         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14265         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14266         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14267         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14268         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14270         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14271         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14272         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14273         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14274         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14275         Moved ...
14276         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14277         ... here.
14278         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14279         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14280         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14281         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14282         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14283         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14284         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14285         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14286         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14287         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14288         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14289         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14290         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14291         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14292         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14293         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14294         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14295         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14296         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14297         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14298         ... here.
14299         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14300         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14301         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14302         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14303         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14304         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14305         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14306         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14308 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14310         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14311         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14312         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14313         Add sysdep.
14315 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14319 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14321         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14322         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14324         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14326         * sysdeps/arm/libm-test-ulps: Regenerated.
14328 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14329             Roland McGrath <roland@hack.frob.com>
14331         * test-skeleton.c (signal_handler): Kill the whole process group
14332         before killing the child individually.
14333         (main): Report any failure on `setpgid'.
14335 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14337         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14338         from _TLS_H to _ARM_NPTL_TLS_H.
14339         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14340         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14342 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14344         [BZ #16539]
14345         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14346         (__expm1l): Return argument unchanged when small but not
14347         subnormal.
14349         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14350         include macro name.
14351         (_FP_UNPACK_RAW_1_P): Likewise.
14352         (_FP_PACK_RAW_1): Likewise.
14353         (_FP_PACK_RAW_1_P): Likewise.
14354         (_FP_MUL_MEAT_1_wide): Likewise.
14355         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14356         (_FP_MUL_MEAT_1_hard): Likewise.
14357         (_FP_DIV_MEAT_1_imm): Likewise.
14358         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14359         (_FP_DIV_MEAT_1_udiv): Likewise.
14360         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14361         (_FP_UNPACK_RAW_2): Likewise.
14362         (_FP_UNPACK_RAW_2_P): Likewise.
14363         (_FP_PACK_RAW_2): Likewise.
14364         (_FP_PACK_RAW_2_P): Likewise.
14365         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14366         (_FP_MUL_MEAT_2_wide): Likewise.
14367         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14368         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14369         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14370         (_FP_MUL_MEAT_2_gmp): Likewise.
14371         (_FP_DIV_MEAT_2_udiv): Likewise.
14372         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14373         (_FP_FRAC_SRL_4): Likewise.
14374         (_FP_FRAC_SRST_4): Likewise.
14375         (_FP_FRAC_SRS_4): Likewise.
14376         (_FP_UNPACK_RAW_4): Likewise.
14377         (_FP_UNPACK_RAW_4_P): Likewise.
14378         (_FP_PACK_RAW_4): Likewise.
14379         (_FP_PACK_RAW_4_P): Likewise.
14380         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14381         (_FP_MUL_MEAT_4_wide): Likewise.
14382         (_FP_MUL_MEAT_4_gmp): Likewise.
14383         (umul_ppppmnnn): Likewise.
14384         (_FP_DIV_MEAT_4_udiv): Likewise.
14385         (__FP_FRAC_ADD_4): Likewise.
14386         (__FP_FRAC_SUB_3): Likewise.
14387         (__FP_FRAC_SUB_4): Likewise.
14388         (__FP_FRAC_DEC_3): Likewise.
14389         (__FP_FRAC_DEC_4): Likewise.
14390         (__FP_FRAC_ADDI_4): Likewise.
14391         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14392         (_FP_FRAC_SRL_8): Likewise.
14393         (_FP_FRAC_SRS_8): Likewise.
14395         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14396         include macro name.
14397         (FP_UNPACK_RAW_EP): Likewise.
14398         (FP_PACK_RAW_E): Likewise.
14399         (FP_PACK_RAW_EP): Likewise.
14400         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14401         (_FP_ISSIGNAN): Likewise.
14402         (_FP_ADD_INTERNAL): Likewise.
14403         (_FP_FMA): Likewise.
14404         (_FP_CMP): Likewise.
14405         (_FP_SQRT): Likewise.
14406         (_FP_TO_INT): Likewise.
14407         (_FP_FROM_INT): Likewise.
14408         (FP_EXTEND): Likewise.
14409         (_FP_DIV_MEAT_N_loop): Likewise.
14411 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14413         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14414         throughout.
14416 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14418         [BZ #17097]
14419         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14420         result with correct sign in case of exponents that produce
14421         overflow except for X very close to 1.
14423 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14425         mktime: merge #if/#ifdef usage from glibc
14426         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14427         as that works with both Glibc's and Gnulib's style.
14428         See thread starting at Siddhesh Poyarekar's bug report at:
14429         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14431 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14434         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14435         * sysdeps/tile/tilegx/memmove.c: Remove file.
14437 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14439         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14440         abi-name definition.
14441         * scripts/soversions.awk: Do not handle or generate ABI lines.
14442         * shlib-versions: Remove ABI entries.
14443         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14444         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14446 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14449         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14450         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14451         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14453         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14455         Moved ...
14456         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14457         ... here.
14458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14459         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14461         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14463         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14465         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14467         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14469         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14471         Moved ...
14472         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14474         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14476         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14478         Moved ...
14479         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14481         Moved ...
14482         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14484         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14486         Moved ...
14487         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14489         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14491         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14493         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14494         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14495         Moved ...
14496         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14498         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14499         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14500         Moved ...
14501         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14502         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14503         Moved ...
14504         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14506         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14508         Moved ...
14509         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14510         ... here.
14511         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14512         Identical file removed.
14513         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14514         Moved ...
14515         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14517         Identical file removed.
14518         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14519         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14520         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14521         Moved ...
14522         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14523         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14524         Identical file removed.
14525         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14526         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14528         Identical file removed.
14529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14530         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14531         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14532         Identical file removed.
14533         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14534         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14535         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14536         Identical file removed.
14537         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14538         Moved ...
14539         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14541         Identical file removed.
14542         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14543         Moved ...
14544         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14545         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14546         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14547         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14548         Identical file removed.
14549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14550         Moved ...
14551         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14552         ... here.
14553         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14554         Identical file removed.
14555         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14556         Moved ...
14557         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14559         Identical file removed.
14560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14561         Moved ...
14562         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14563         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14564         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14566         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14567         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14568         Moved ...
14569         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14570         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14571         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14573         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14574         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14575         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14576         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14577         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14579 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14581         [BZ #17092]
14582         * nscd/nscd.c (monitor_child): Return exit status of child
14583         instead of return value from wait syscall.
14585 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14587         * configure.ac (libc_commonpagesize): Remove variable.
14588         (libc_relro_required): Likewise.
14589         (libc_cv_z_relro): Remove configure test.
14590         * configure: Regenerated.
14591         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14592         variable.
14593         (libc_relro_required): Likewise.
14594         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14595         (libc_relro_required): Likewise.
14596         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14597         (libc_relro_required): Likewise.
14598         * sysdeps/arm/preconfigure: Regenerated.
14599         * sysdeps/ia64/preconfigure: Remove file.
14600         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14601         variable.
14602         (libc_relro_required): Likewise.
14604         [BZ #16561]
14605         [BZ #16562]
14606         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14607         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14608         recompute overflowing results in original rounding mode.
14609         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14610         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14611         recompute overflowing results in original rounding mode.
14612         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14613         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14614         recompute overflowing results in original rounding mode.
14615         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14616         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14617         recompute overflowing results in original rounding mode.
14618         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14619         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14620         recompute overflowing results in original rounding mode.
14621         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14622         (libc_feholdsetround_ctx): New macro.
14623         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14624         * sysdeps/i386/fpu/libm-test-ulps: Update.
14625         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14627 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14629         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14630         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14631         corresponding .cpsetup call.
14633 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14635         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14636         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14637         * sysdeps/arm/Makefile [$(subdir) = csu]
14638         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14639         (static-only-routines): Add aeabi_read_tp here.
14640         (shared-only-routines): Add libc-aeabi_read_tp here.
14641         (CFLAGS-libc-start.c): Add -fexceptions here.
14642         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14643         (sysdep_routines, static-only-routines, shared-only-routines):
14644         Don't add to these here.
14645         (CFLAGS-libc-start.c): Likewise.
14647         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14648         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14649         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14650         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14651         * sysdeps/arm/Makefile [$(subdir) = rt]
14652         (librt-sysdep_routines, librt-shared-only-routines):
14653         Append rt-aeabi_unwind_cpp_pr1 here.
14654         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14655         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14656         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14657         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14658         Append nptl-aeabi_unwind_cpp_pr1 here.
14659         (tests): Filter out tst-cleanupx4 here.
14660         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14661         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14662         Don't do those here.
14664 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14666         * scripts/list-sources.sh: Do not handle ports specially.
14668 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14670         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14671         * sysdeps/arm/feupdateenv.c: Likewise.
14673         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14675 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14677         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14678         trailing whitespace removed.
14679         * scripts/config.guess: Update to version 2014-03-23.
14680         * scripts/config.sub: Update to version 2014-05-01
14681         * scripts/install-sh: Update to version 2013-12-25.23.
14682         * scripts/move-if-change: Update from gnulib.
14684 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14686         * debug/memmove_chk.c: Remove pagecopy.h include.
14688 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14690         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14691         identical to gnulib mktime.
14693 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14695         * configure.ac: Do not test for machine being rs6000.  Do not test
14696         for powerpc*-*soft.
14697         * configure: Regenerated.
14699         [BZ #11505]
14700         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14701         test.
14702         * configure: Regenerated.
14703         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14704         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14705         Remove configure test.
14706         * sysdeps/arm/configure: Regenerated.
14707         * sysdeps/nptl/configure.ac: Do not check
14708         libc_cv_asm_cfi_directives.
14709         * sysdeps/nptl/configure: Regenerated.
14710         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14711         * sysdeps/x86_64/nptl/configure: Remove generated file.
14712         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14713         unconditional.
14714         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14716 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14718         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14719         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14720         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14721         it is defined.
14723         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14724         instead of whether it is defined.
14725         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14726         * sysdeps/hppa/dl-machine.h: Likewise.
14727         * sysdeps/ia64/dl-machine.h: Likewise.
14728         * sysdeps/m68k/dl-machine.h: Likewise.
14729         * sysdeps/microblaze/dl-machine.h: Likewise.
14730         * sysdeps/mips/dl-machine.: Likewise.
14731         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14732         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14733         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14734         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14735         * sysdeps/sh/dl-machine.h: Likewise.
14736         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14737         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14738         * sysdeps/tile/dl-machine.h: Likewise.
14739         * sysdeps/x86_64/dl-machine.h: Likewise.
14741         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14742         code.
14743         (verify_persistent_db): Likewise.
14745 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14748         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14750         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14752         Moved ...
14753         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14754         ... here.
14755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14756         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14758         Identical file removed.
14759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14760         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14762         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14764         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14766         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14768         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14770         Moved ...
14771         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14773         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14775         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14777         Moved ...
14778         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14780         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14782         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14784         Identical file removed.
14785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14786         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14788         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14790         Moved ...
14791         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14792         ... here.
14793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14794         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14796         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14798         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14800         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14802         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14804         Moved ...
14805         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14807         Moved ...
14808         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14810         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14812         Moved ...
14813         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14815         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14817         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14818         folded into ...
14819         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14820         * sysdeps/unix/sysv/linux/s390/Versions
14821         (libpthread: GLIBC_2.19): New version set.
14822         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14823         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14824         (librt: GLIBC_2.3.3): New version set.
14825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14826         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14827         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14828         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14829         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14830         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14831         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14832         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14833         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14834         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14835         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14836         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14837         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14838         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14839         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14840         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14841         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14842         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14843         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14844         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14845         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14846         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14847         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14848         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14849         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14850         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14851         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14852         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14853         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14854         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14855         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14856         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14857         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14858         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14859         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14861         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14862         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14863         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14864         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14865         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14867         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14868         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14869         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14871         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14872         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14873         (__libc_vfork): Define the function under this name.
14874         [!NOT_IN_libc] (__vfork): Make this an alias.
14875         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14877         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14878         (__libc_vfork): Define the function under this name.
14879         [!NOT_IN_libc] (__vfork): Make this an alias.
14880         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14881         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14882         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14884         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14885         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14887         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14888         code that was previously under [RESET_PID].
14889         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14890         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14891         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14893         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14894         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14895         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14896         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14897         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14898         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14899         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14900         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14901         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14902         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14903         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14904         Moved ...
14905         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14906         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14907         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14908         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14909         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14910         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14911         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14912         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14913         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14914         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14915         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14916         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14917         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14918         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14919         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14920         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14921         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14922         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14923         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14924         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14925         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14926         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14927         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14928         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14929         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14930         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14931         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14932         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14933         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14935 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14937         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14938         that was previously under [RESET_PID].
14939         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14941 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14943         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14944         not undefine and redefine.
14945         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14946         [O_CLOEXEC]: Make code unconditional.
14947         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14948         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14949         <kernel-features.h>.
14950         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14951         conditional variable definition.
14952         (shm_open) [O_CLOEXEC]: Make code unconditional.
14953         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14954         code.
14956         * configure.ac (USE_REGPARMS): Don't define here.
14957         * configure: Regenerated.
14958         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14959         * sysdeps/i386/configure: Regenerated.
14961         * nptl/createthread.c: Don't include kernel-features.h.
14962         * nptl/pthread_cancel.c: Likewise.
14963         * nptl/pthread_condattr_setclock.c: Likewise.
14964         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14965         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14966         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14967         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14968         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14969         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14970         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14971         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14972         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14973         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14974         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14975         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14976         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14977         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14978         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14979         * nscd/gai.c: Likewise.
14980         * nss/nss_db/db-open.c: Likewise.
14981         * sysdeps/generic/ldsodefs.h: Likewise.
14982         * sysdeps/sh/nptl/tls.h: Likewise.
14983         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14984         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14985         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14986         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14987         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14988         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14989         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14990         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14991         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14992         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14993         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14994         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14995         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14996         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14997         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14998         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14999         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15000         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15001         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15002         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15004         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15005         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15006         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15007         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15008         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15009         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15010         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15011         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15012         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15013         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15014         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15015         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15016         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15017         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15018         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15019         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15020         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15021         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15022         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15023         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15024         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15025         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15026         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15027         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15028         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15029         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15030         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15031         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15032         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15033         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15034         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15035         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15036         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15037         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15038         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15039         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15040         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15063         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15064         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15065         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15066         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15067         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15068         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15069         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15070         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15071         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15072         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15073         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15074         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15075         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15076         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15077         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15078         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15079         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15080         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15081         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15082         * sysdeps/unix/sysv/linux/system.c: Likewise.
15083         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15084         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15085         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15086         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15087         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15088         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15089         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15091         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15092         * configure: Regenerated.
15093         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15095         * configure.ac (base_machine): Do not set specially for particular
15096         machines here.
15097         * configure: Regenerated.
15098         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15099         settings from configure.ac.
15100         * sysdeps/i386/preconfigure: New file.
15101         * sysdeps/s390/preconfigure: Likewise.
15102         * sysdeps/sh/preconfigure: Likewise.
15103         * sysdeps/sparc/preconfigure: Likewise.
15105 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15107         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15108         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15109         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15110         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15111         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15112         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15113         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15114         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15115         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15116         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15117         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15118         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15119         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15120         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15121         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15122         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15123         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15124         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15125         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15127         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15128         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15129         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15130         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15131         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15132         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15133         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15134         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15135         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15136         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15137         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15138         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15139         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15140         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15141         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15142         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15143         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15144         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15145         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15146         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15147         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15148         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15149         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15150         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15151         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15152         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15154         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15155         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15156         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15157         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15158         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15159         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15160         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15161         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15162         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15163         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15164         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15167         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15169         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15171         Moved ...
15172         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15173         ... here.
15174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15175         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15177         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15179         Moved ...
15180         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15182         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15184         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15186         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15188         Moved ...
15189         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15191         Moved ...
15192         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15194         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15196         Moved ...
15197         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15199         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15201         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15203         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15205         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15207         Moved ...
15208         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15209         ... here.
15210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15211         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15213         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15215         Moved ...
15216         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15218         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15220         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15222         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15224         Moved ...
15225         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15227         Moved ...
15228         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15230         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15232         Moved ...
15233         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15235         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15237         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15239 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15241         * timezone/checktab.awk: Update from tzcode 2014e.
15242         * timezone/private.h: Likewise.
15243         * timezone/tzfile.h: Likewise.
15244         * timezone/zdump.c: Likewise.
15245         * timezone/zic.c: Likewise.
15247         * sysdeps/unix/sysv/linux/kernel-features.h
15248         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15249         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15250         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15251         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15252         Remove conditional code.
15254 2014-06-25  Will Newton  <will.newton@linaro.org>
15256         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15257         (_dl_arm_cap_flags): Add HWCAP2 values.
15258         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15259         (_DL_HWCAP_COUNT): Increase to 37.
15260         (_DL_HWCAP_LAST): New define.
15261         (_DL_HWCAP2_LAST): New define.
15262         (_dl_procinfo): Add support for printing
15263         AT_HWCAP2 entries.
15264         (_dl_string_hwcap): Use _dl_hwcap_string.
15266 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15270 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15272         * README: Do not mention ports directory.
15274         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15275         Remove macro.
15276         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15277         <kernel-features.h>.
15278         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15279         conditional variable definition.
15280         (__futimes): Update comment.
15281         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15282         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15284         [BZ #16560]
15285         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15286         arguments close to 0.
15287         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15288         Likewise.
15289         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15290         Likewise.
15291         * math/auto-libm-test-in: Add more tests of exp10.
15292         * math/auto-libm-test-out: Regenerated.
15293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15295         * sysdeps/unix/sysv/linux/kernel-features.h
15296         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15297         * sysdeps/unix/sysv/linux/readv.c: Do not include
15298         <kernel-features.h>.
15299         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15300         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15301         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15302         unconditional.
15303         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15304         conditional code.
15305         * sysdeps/unix/sysv/linux/writev.c: Do not include
15306         <kernel-features.h>.
15307         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15308         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15309         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15310         unconditional.
15311         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15312         conditional code.
15314 2014-06-25  Will Newton  <will.newton@linaro.org>
15316         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15317         comment changes throughout the file.  Remove checks
15318         for HAVE_*_H definitions that are not required.
15319         (__gen_tempname): Call abort if an unknown kind value is
15320         passed.
15322 2014-06-25  Andreas Schwab  <schwab@suse.de>
15324         [BZ #17086]
15325         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15326         scalbln, scalblnf, scalblnl in libc.
15328 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15330         [BZ #17086]
15331         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15332         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15333         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15335 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15337         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15338         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15339         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15340         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15341         Update #include.
15342         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15343         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15344         Update #include.
15345         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15346         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15347         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15348         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15349         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15350         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15351         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15352         * sysdeps/x86/bits/semaphore.h: ... here.
15353         * sysdeps/x86/nptl/elide.h: Moved ...
15354         * sysdeps/x86/elide.h: ... here.
15355         * sysdeps/x86_64/nptl/Implies: File removed.
15356         * sysdeps/i386/nptl/Implies: File removed.
15358 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15360         [BZ #16539]
15361         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15362         return the argument for normal arguments with exponent below -64.
15363         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15364         Likewise.
15365         * math/auto-libm-test-in: Add another test of expm1.
15366         * math/auto-libm-test-out: Regenerated.
15368         [BZ #16287]
15369         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15370         calling __erfcl for arguments at least 16.
15371         * math/auto-libm-test-in: Add more tests of erf.
15372         * math/auto-libm-test-out: Regenerated.
15374         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15375         individual architectures.
15376         * sysdeps/unix/sysv/linux/configure: Regenerated.
15377         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15378         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15379         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15380         (ldd_rewrite_script): Define variable.
15381         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15383         file.
15384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15385         generated file.
15386         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15387         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15388         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15389         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15390         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15391         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15392         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15393         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15395 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15397         [BZ #17084]
15398         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15399         Rename member __data.d to __data.__elision_data.
15401 2014-06-24  Wilco  <wdijkstr@arm.com>
15403         * NEWS: Add 16918 to fixed bug list.
15405 2014-06-24  Wilco  <wdijkstr@arm.com>
15407         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15409 2014-06-24  Wilco  <wdijkstr@arm.com>
15411         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15412         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15413         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15414         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15415         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15416         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15417         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15418         Use _FPU_MASK_RM.
15420 2014-06-24  Wilco  <wdijkstr@arm.com>
15422         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15424 2014-06-24  Wilco  <wdijkstr@arm.com>
15426         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15427         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15428         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15429         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15431 2014-06-24  Wilco  <wdijkstr@arm.com>
15433         [BZ #16918]
15434         * sysdeps/arm/feupdateenv.c (feupdateenv):
15435         Rewrite to reduce FPSCR accesses and fix return value.
15437 2014-06-24  Wilco  <wdijkstr@arm.com>
15439         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15440         Optimize to avoid unnecessary FPSCR writes.
15441         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15442         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15443         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15444         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15446 2014-06-24  Wilco  <wdijkstr@arm.com>
15448         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15449         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15450         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15451         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15452         Call libc_fetestexcept_vfp.
15453         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15454         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15455         __SOFTFP__ ifdef so that they can be built for softfp.
15457 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15459         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15460         argument type signed char.
15462         * Makerules (check-abi): Dump diff of symlist if the test
15463         fails.
15465 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15467         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15468         using abort.
15470         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15471         Remove unused variable ST.
15473 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15475         [BZ #16354]
15476         [BZ #17061]
15477         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15478         small arguments before calling __expm1.
15479         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15480         small arguments before calling __expm1f.
15481         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15482         small arguments before calling __expm1l.
15483         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15484         Likewise.
15485         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15486         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15487         spurious underflow for some cosh tests.
15488         * math/auto-libm-test-out: Regenerated.
15489         * sysdeps/i386/fpu/libm-test-ulps: Update.
15491         [BZ #17050]
15492         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15493         (__ieee754_y1): Set errno if return value overflows.
15494         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15495         (__ieee754_y1f): Set errno if return value overflows.
15496         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15497         (__ieee754_y1l): Set errno if return value overflows.
15498         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15499         (__ieee754_y1l): Set errno if return value overflows.
15500         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15501         * math/auto-libm-test-out: Regenerated.
15503         * math/gen-auto-libm-tests.c: Document use of
15504         ignore-zero-inf-sign.
15505         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15506         (input_flags): Add ignore-zero-inf-sign.
15507         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15508         * math/gen-libm-test.pl (generate_testfile): Handle
15509         ignore-zero-inf-sign.
15510         * math/auto-libm-test-in: Mark some cpow tests with
15511         ignore-zero-inf-sign and some with xfail-rounding.
15512         * math/auto-libm-test-out: Regenerated.
15513         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15514         * sysdeps/i386/fpu/libm-test-ulps: Update.
15515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15517         [BZ #16315]
15518         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15519         overflowing or underflowing operations take place with sign of
15520         result.
15521         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15522         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15523         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15524         (__ieee754_pow): Recompute overflowing and underflowing results in
15525         original rounding mode.
15526         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15527         (__powl_helper): Allow negative argument X and scale negated value
15528         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15529         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15530         overflowing or underflowing operations take place with sign of
15531         result.
15532         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15533         Include <math.h>.
15534         * math/auto-libm-test-in: Add more tests of pow.
15535         * math/auto-libm-test-out: Regenerated.
15536         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15537         (pow_tonearest_test_data): Remove.
15538         (pow_test_tonearest): Likewise.
15539         (pow_towardzero_test_data): Likewise.
15540         (pow_test_towardzero): Likewise.
15541         (pow_downward_test_data): Likewise.
15542         (pow_test_downward): Likewise.
15543         (pow_upward_test_data): Likewise.
15544         (pow_test_upward): Likewise.
15545         (main): Don't call removed functions.
15546         * sysdeps/i386/fpu/libm-test-ulps: Update.
15547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15549 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15552         Moved ...
15553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15555         Moved ...
15556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15558         Moved ...
15559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15561         Moved ...
15562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15564         File removed.
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15566         File removed.
15567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15568         File removed.
15569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15570         File removed.
15571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15572         File removed.
15573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15574         File removed.
15575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15576         File removed.
15577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15578         File removed.
15579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15580         File removed.
15581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15582         File removed.
15583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15584         File removed.
15585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15586         File removed.
15587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15588         Moved ...
15589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15591         Moved ...
15592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15593         ... here.
15594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15595         Moved ...
15596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15598         Moved ...
15599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15601         Moved ...
15602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15604         Moved ...
15605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15607         Moved ...
15608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15610         Moved ...
15611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15613         Moved ...
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15617         ... here.
15618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15619         Moved ...
15620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15622         Moved ...
15623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15624         ... here.
15625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15626         Moved ...
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15628         ... here.
15629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15630         Moved ...
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15632         ... here.
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15634         Moved ...
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15637         Moved ...
15638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15642         Moved ...
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15644         ... here.
15645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15646         Moved ...
15647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15648         ... here.
15649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15650         Moved ...
15651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15653         Moved ...
15654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15656         Moved ...
15657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15659         Moved ...
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15662         Moved ...
15663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15664         ... here.
15665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15666         Moved ...
15667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15669         Moved ...
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15672         Moved ...
15673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15675         Moved ...
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15680         Moved ...
15681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15683         Moved ...
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15686         Moved ...
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15688         ... here.
15689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15690         Moved ...
15691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15692         ... here.
15693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15694         Moved ...
15695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15696         ... here.
15697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15698         Moved ...
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15701         Moved ...
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15704         Moved ...
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15707         Moved ...
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15709         ... here.
15710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15711         Moved ...
15712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15713         ... here.
15714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15715         Moved ...
15716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15717         ... here.
15718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15719         Moved ...
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15722         Moved ...
15723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15725 2014-06-23  Will Newton  <will.newton@linaro.org>
15726             Wilco  <wdijkstr@arm.com>
15728         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15729         implementation.  Include get-rounding-mode.h.
15730         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15731         [!libc_feholdsetround_noex_ctx]: Define
15732         libc_feholdsetround_noex_ctx.
15733         [!libc_feholdsetround_noexf_ctx]: Define
15734         libc_feholdsetround_noexf_ctx.
15735         [!libc_feholdsetround_noexl_ctx]: Define
15736         libc_feholdsetround_noexl_ctx.
15737         (libc_feholdsetround_ctx): New function.
15738         (libc_feresetround_ctx): New function.
15739         (libc_feholdsetround_noex_ctx): New function.
15740         (libc_feresetround_noex_ctx): New function.
15742 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15744         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15745         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15746         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15747         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15748         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15749         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15751         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15752         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15753         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15754         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15755         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15756         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15757         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15758         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15759         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15760         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15761         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15762         Moved ...
15763         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15764         ... here.
15765         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15766         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15767         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15768         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15769         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15770         Moved ...
15771         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15772         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15773         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15775         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15777         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15779         Moved ...
15780         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15782         Moved ...
15783         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15784         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15785         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15786         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15787         Moved ...
15788         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15789         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15790         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15791         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15792         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15793         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15794         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15795         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15796         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15797         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15798         Moved ...
15799         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15800         ... here.
15801         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15802         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15803         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15804         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15806         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15807         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15808         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15809         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15810         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15811         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15812         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15813         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15814         Moved ...
15815         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15817         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15819         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15821         Moved ...
15822         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15824         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15825         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15826         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15828         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15829         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15830         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15833         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15834         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15835         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15836         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15837         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15839         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15840         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15841         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15842         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15843         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15844         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15845         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15846         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15847         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15848         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15849         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15851         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15852         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15853         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15855         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15857 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15859         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15860         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15861         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15862         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15863         (IPV6_PMTUDISC_INTERFACE): Likewise.
15864         (IPV6_PMTUDISC_OMIT): Likewise.
15866 2014-06-23  Andreas Schwab  <schwab@suse.de>
15868         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15869         Remove unused errout label.
15871 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15873         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15874         macro: hardware supports Vector Crypto instructions.
15876 2014-06-23  Will Newton  <will.newton@linaro.org>
15878         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15879         rather than __builtin_expect.
15881         * elf/dl-lookup.c (undefined_msg): Remove variable.
15882         (_dl_lookup_symbol_x): Replace undefined_msg with string
15883         literal.
15885         * elf/dl-lookup.c (do_lookup_unique): New function.
15886         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15887         to a separate function.
15889 2014-06-23  Andreas Schwab  <schwab@suse.de>
15891         [BZ #17079]
15892         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15893         before reading the next line.
15895 2014-06-23  Will Newton  <will.newton@linaro.org>
15897         * test-skeleton.c (signal_handler): Use printf and %m
15898         rather than perror.  Use printf rather than fprintf to
15899         stderr.  Use puts rather than fputs to stderr.
15900         (main): Likewise.
15902 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15904         * nscd/nscd.c (thread_info_t): Remove typedef.
15905         (thread_info): Remove variable.
15907 2014-06-21  Allan McRae  <allan@archlinux.org>
15909         * NEWS: Mention CVE-2014-4043.
15911 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15913         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15914         * nptl/smp.h: ... here.
15916         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15918         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15919         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15920         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15921         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15923         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15924         * nptl/stack-aliasing.h: New file.
15925         * sysdeps/i386/i686/stack-aliasing.h: New file.
15926         * sysdeps/i386/i686/nptl/Makefile: File removed.
15927         * sysdeps/x86_64/stack-aliasing.h: New file.
15928         * sysdeps/x86_64/nptl/Makefile
15929         (CFLAGS-pthread_create.c): Variable removed.
15931         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15932         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15933         old file.
15934         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15935         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15936         old file.
15938 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15940         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15941         (__ASSUME_SIGFRAME_V2): Remove macro.
15942         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15943         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15944         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15945         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15946         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15947         Declare as function.  Remove conditional macro definitions.
15948         (__default_rt_sa_restorer): Likewise.
15949         (__default_sa_restorer_v1): Remove declaration.
15950         (__default_sa_restorer_v2): Likewise.
15951         (__default_rt_sa_restorer_v1): Likewise.
15952         (__default_rt_sa_restorer_v2): Likewise.
15953         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15954         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15955         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15957 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15959         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15960         (libpthread-routines): Add sysdep.
15961         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15962         * sysdeps/unix/sysv/linux/sparc/Versions
15963         (libpthread: GLIBC_2.3.3): New version set.
15964         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15965         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15966         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15967         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15968         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15969         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15970         Moved ...
15971         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15972         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15973         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15974         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15975         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15976         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15977         * sysdeps/sparc/nptl/sem_init.c: ... here.
15978         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15979         * sysdeps/sparc/nptl/sem_post.c: ... here.
15980         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15981         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15982         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15983         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15984         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15985         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15986         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15987         (libpthread-routines): Add cpu_relax.
15988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15989         File removed.
15990         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15991         (librt: GLIBC_2.3.3): New version set.
15992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15993         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15994         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15995         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15998         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16000         Moved ...
16001         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16003         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16005         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16007         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16009         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16011         Moved ...
16012         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16013         Update #include.
16014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16015         Moved ...
16016         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16017         Update #include.
16018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16019         Moved ...
16020         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16021         Update #include.
16022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16023         Moved ...
16024         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16025         Update #include.
16026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16027         Moved ...
16028         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16029         Update #include.
16030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16031         Moved ...
16032         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16033         Update #include.
16034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16035         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16037         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16041         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16043         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16045         Moved ...
16046         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16048         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16050         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16052 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16054         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16055         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16056         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16057         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16058         * nscd/nscd.c: Likewise.
16059         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16060         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16061         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16062         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16064         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16065         <kernel-features.h>.
16066         (init_mq_netlink): Remove conditional have_sock_cloexec
16067         definitions.  Remove code conditional on have_sock_cloexec < 0.
16068         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16069         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16070         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16071         <kernel-features.h>.
16072         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16073         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16075 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16078         Add tests for memset_chk and memset.
16080         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16081         with AVX2_Usable.
16083 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16085         [BZ #16046]
16086         * elf/tst-dl-iter-static.c: New file.
16087         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16089         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16090         error.
16092 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16094         * sysdeps/unix/sysv/linux/kernel-features.h
16095         (__ASSUME_F_GETOWN_EX): Remove macro.
16096         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16097         <kernel-features.h>.
16098         (miss_F_GETOWN_EX): Remove variable or macro.
16099         (do_fcntl): Do not check miss_F_GETOWN_EX.
16100         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16103         Remove macro.
16104         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16105         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16106         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16108         * sysdeps/unix/sysv/linux/kernel-features.h
16109         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16110         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16111         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16112         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16114 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16116         [BZ #17075]
16117         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16118         Fix calculation of the symbol's value.
16119         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16120         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16121         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16122         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16123         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16124         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16125         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16126         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16127         (modules-names): Add `tst-armtlsdescmod',
16128         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16129         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16130         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16131         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16132         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16133         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16134         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16135         ($(objpfx)tst-armtlsdescloc): New dependency.
16136         ($(objpfx)tst-armtlsdescextnow): Likewise.
16137         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16138         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16139         TLS scheme support.
16140         * sysdeps/arm/configure: Regenerate.
16142 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16144         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16145         (__atfct_seterrno_2): Likewise.
16146         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16147         <kernel-features.h>.
16148         (__ASSUME_ATFCTS): Do not undefine and redefine.
16149         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16150         (__have_atfcts): Remove conditional definition.
16151         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16152         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16153         unreachable if [__ASSUME_ATFCTS].
16154         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16155         not undefine and redefine.
16156         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16157         <kernel-features.h>.
16158         (faccessat) [__NR_faccessat]: Make code unconditional.
16159         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16160         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16161         <kernel-features.h>.
16162         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16163         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16164         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16165         <kernel-features.h>.
16166         (fchownat) [__NR_fchownat]: Make code unconditional.
16167         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16168         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16169         <kernel-features.h>.
16170         (futimesat) [__NR_futimesat]: Make code unconditional.
16171         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16172         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16173         <kernel-features.h>.
16174         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16175         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16176         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16177         <kernel-features.h>.
16178         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16179         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16180         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16181         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16182         <kernel-features.h>.
16183         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16184         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16185         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16186         <kernel-features.h>.
16187         (linkat) [__NR_linkat]: Make code unconditional.
16188         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16189         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16190         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16191         <kernel-features.h>.
16192         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16193         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16194         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16195         <kernel-features.h>.
16196         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16197         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16198         * sysdeps/unix/sysv/linux/openat.c: Do not include
16199         <kernel-features.h>.
16200         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16201         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16202         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16203         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16204         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16205         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16206         <kernel-features.h>.
16207         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16208         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16209         result of INLINE_SYSCALL directly, not via int variable.
16210         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16211         <kernel-features.h>.
16212         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16213         (renameat) [__NR_renameat]: Make code unconditional.
16214         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16215         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16216         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16217         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16218         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16219         (__ASSUME_ATFCTS): Do not undefine and redefine.
16220         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16221         <kernel-features.h>.
16222         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16223         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16224         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16225         <kernel-features.h>.
16226         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16227         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16228         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16229         (__ASSUME_ATFCTS): Do not undefine and redefine.
16230         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16231         <kernel-features.h>.
16232         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16233         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16234         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16235         <kernel-features.h>.
16236         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16237         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16239 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16241         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16243 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16245         [BZ #17069]
16246         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16247         constructed tree before returning error.
16248         * posix/bug-regexp36.c: Expand test case.
16250 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16252         [BZ #6803]
16253         * math/libm-test.inc (scalbln_test_date):
16254         Add errno expectations.
16255         * math/w_scalblnf.c: New File.
16256         Add wrapper which checks for setting errno to ERANGE.
16257         Add weak_alias for corresponding scalbln function.
16258         * math/w_scalbln.c: Likewise.
16259         * math/w_scalblnl.c: Likewise.
16260         * math/Makefile (libm-calls): Add w_scalbln.
16261         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16262         Remove weak_alias for corresponding scalbln function.
16263         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16264         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16265         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16266         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16267         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16268         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16269         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16270         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16271         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16272         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16273         Remove long_double_symbol for scalblnl function in libm, libc.
16274         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16275         Add wrapper which checks for setting errno to ERANGE.
16276         Add long_double_symbol for scalblnl function in libm, libc.
16277         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16278         Remove long_double_symbol for scalblnl in libm.
16279         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16280         Add wrapper which checks for setting errno to ERANGE.
16281         Add long_double_symbol for scalblnl function in libm.
16282         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16283         Do not use wrapper because of own implementation.
16285 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16287         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16288         3 bytes for __pad1 for x32.
16289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16291 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16292             H.J. Lu  <hongjiu.lu@intel.com>
16294         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16295         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16296         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16297         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16298         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16300 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16302         [BZ #17069]
16303         * posix/regcomp.c (parse_expression): Deallocate partially
16304         constructed tree before returning error.
16305         * posix/Makefile.c (tests): Add bug-regex36.
16306         (generated): Add bug-regex36.mtrace.
16307         (tests-special): Add $(objpfx)bug-regex36-mem.out
16308         (bug-regex36-ENV): New variable.
16309         ($(objpfx)bug-regex36-mem.out): New rule.
16310         * posix/bug-regex36.c: New file.
16312 2014-06-19  Will Newton  <will.newton@linaro.org>
16314         * malloc/malloc.c (systrim): If extra is zero then return
16315         early.
16317 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16319         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16321 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16323         * sysdeps/aarch64/strchr.S: New file.
16325 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16327         [BZ #17022]
16328         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16329         from arguments -2 or below.
16330         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16331         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16333 2014-06-18  Andreas Schwab  <schwab@suse.de>
16335         [BZ #17062]
16336         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16337         of a bracket expr not to run off the end of the string.
16338         * posix/Makefile (tests): Add tst-fnmatch3.
16339         * posix/tst-fnmatch3.c: New file.
16341 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16343         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16344         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16345         [$(cross-compiling) = no]: Likewise.
16346         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16347         [$(cross-compiling) = no]: Likewise.
16349 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16351         [BZ #17031]
16352         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16353         double, adjusted for any remainder from the high double.
16354         * math/libm-test.inc (nearbyint): Add tests.
16355         (rint): Likewise.
16357 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16359         * nptl/sysdeps/powerpc/Makefile: Moved ...
16360         * sysdeps/powerpc/nptl/Makefile: ... here.
16361         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16362         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16363         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16364         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16365         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16366         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16367         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16368         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16369         * nptl/sysdeps/powerpc/tls.h: Moved ...
16370         * sysdeps/powerpc/nptl/tls.h: ... here.
16372 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16374         [BZ #16681]
16375         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16376         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16377         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16378         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16379         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16380         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16381         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16382         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16383         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16385 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16387         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16389 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16391         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16392         defined operator.
16394         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16395         $TIMEOUTFACTOR.
16397 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16399         [BZ #17058]
16400         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16401         non-executed part of the test.
16403 2014-06-16  Andreas Schwab  <schwab@suse.de>
16405         * string/bits/string2.h (strdup, strndup): Update feature guard.
16407 2014-06-14  David S. Miller  <davem@davemloft.net>
16409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16411 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16413         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16414         that was previously under [RESET_PID].
16415         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16417         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16418         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16419         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16420         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16421         (__libc_vfork): New strong alias.
16422         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16424 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16426         * sysdeps/generic/elide.h: New file.
16428 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16430         * Makefile (installed-headers): Adjust path of pthread.h header.
16432 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16434         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16435         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16436         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16437         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16439         * nptl/sysdeps/s390/Makefile: Moved ...
16440         * sysdeps/s390/nptl/Makefile: ... here.
16441         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16442         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16443         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16444         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16445         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16446         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16447         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16448         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16449         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16450         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16451         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16452         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16453         * nptl/sysdeps/s390/tls.h: Moved ...
16454         * sysdeps/s390/nptl/tls.h: ... here.
16456         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16457         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16459 2014-06-13  David S. Miller  <davem@davemloft.net>
16461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16464         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16468         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16469         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16470         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16471         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16472         Remove RESET_PID cpp guards.
16473         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16474         Remove RESET_PID cpp guards.
16475         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16477 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16479         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16480         __sp to uintptr_t.
16482 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16484         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16485         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16486         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16487         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16488         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16489         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16490         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16491         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16492         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16493         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16494         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16495         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16496         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16497         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16498         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16499         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16500         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16501         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16502         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16503         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16505         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16506         (pthread_rwlock_rdlock): Add elision.
16507         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16508         (pthread_rwlock_wrlock): Add elision.
16509         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16510         (pthread_rwlock_trywrlock): Add elision.
16511         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16512         (pthread_rwlock_tryrdlock): Add elision.
16513         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16514         (pthread_rwlock_tryrdlock): Add elision unlock.
16515         * nptl/sysdeps/pthread/pthread.h:
16516         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16517         (PTHREAD_RWLOCK_INITIALIZER,
16518         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16519         Handle new elision field.
16520         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16521         * sysdeps/arm/nptl/bits/pthreadtypes.h
16522         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16523         * sysdeps/sh/nptl/bits/pthreadtypes.h
16524         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16525         * sysdeps/tile/nptl/bits/pthreadtypes.h
16526         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16527         * sysdeps/a/nptl/bits/pthreadtypes.h
16528         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16529         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16530         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16531         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16532         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16533         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16534         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16535         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16537         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16539         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16541         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16543         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16545         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16546         (elision_init): Set try_xbegin to zero when no RTM.
16547         * sysdeps/x86/nptl/bits/pthreadtypes.h
16548         (pthread_rwlock_t): Change __pad1 to __rwelision.
16549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16551 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16553         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16554         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16555         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16556         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16558 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16560         [BZ #16996]
16561         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16562         that the cached result has been set before returning it.
16564 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16566         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16567         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16568         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16569         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16570         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16571         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16573         * nptl/sysdeps/sparc/Makefile: Moved ...
16574         * sysdeps/sparc/nptl/Makefile: ... here.
16575         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16576         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16577         * nptl/sysdeps/sparc/tls.h: Moved ...
16578         * sysdeps/sparc/nptl/tls.h: ... here.
16579         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16580         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16581         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16582         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16583         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16584         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16585         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16586         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16587         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16588         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16589         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16590         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16591         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16592         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16593         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16594         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16595         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16596         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16597         Update #include.
16598         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16599         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16600         Update #include.
16601         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16602         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16603         Update #include.
16604         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16605         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16606         Update #include.
16608         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16610         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16611         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16613         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16614         (struct list_links): Type removed.
16615         (struct thread_node, struct timer_node): Replace struct list_links
16616         with struct list_head.
16617         (list_unlink_ip): Likewise.
16618         * sysdeps/pthread/timer_routines.c
16619         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16620         (list_append, list_insbefore): Likewise.
16621         (list_init): Function removed.
16622         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16623         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16624         * sysdeps/pthread/Makefile: ... here, new file.
16626         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16627         * sysdeps/nptl/Implies: ... here.
16628         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16629         * nptl/sysdeps/pthread/list.h: Moved ...
16630         * include/list.h: ... here.
16631         * nptl/sysdeps/pthread/createthread.c: Moved ...
16632         * nptl/createthread.c: ... here.
16633         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16634         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16635         * nptl/pt-longjmp.c: ... here.
16636         * nptl/sysdeps/pthread/Makefile: Moved ...
16637         * sysdeps/nptl/Makefile: ... here.
16638         * nptl/sysdeps/pthread/Subdirs: Moved ...
16639         * sysdeps/nptl/Subdirs: ... here.
16640         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16641         * sysdeps/nptl/aio_misc.h: ... here.
16642         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16643         * sysdeps/nptl/bits/libc-lock.h: ... here.
16644         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16645         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16646         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16647         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16648         * nptl/sysdeps/pthread/configure: Moved ...
16649         * sysdeps/nptl/configure: ... here.
16650         * nptl/sysdeps/pthread/configure.ac: Moved ...
16651         * sysdeps/nptl/configure.ac: ... here.
16652         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16653         * sysdeps/nptl/gai_misc.h: ... here.
16654         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16655         * sysdeps/nptl/librt-cancellation.c: ... here.
16656         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16657         * sysdeps/nptl/malloc-machine.h: ... here.
16658         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16659         * sysdeps/nptl/pthread-functions.h: ... here.
16660         * nptl/sysdeps/pthread/pthread.h: Moved ...
16661         * sysdeps/nptl/pthread.h: ... here.
16662         * nptl/sysdeps/pthread/setxid.h: Moved ...
16663         * sysdeps/nptl/setxid.h: ... here.
16664         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16665         * sysdeps/nptl/sigfillset.c: ... here.
16666         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16667         * sysdeps/nptl/tcb-offsets.h: ... here.
16668         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16669         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16670         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16671         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16672         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16673         * sysdeps/pthread/allocalim.h: ... here.
16674         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16675         * sysdeps/pthread/bits/sigthread.h: ... here.
16676         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16677         * sysdeps/pthread/flockfile.c: ... here.
16678         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16679         * sysdeps/pthread/ftrylockfile.c: ... here.
16680         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16681         * sysdeps/pthread/funlockfile.c: ... here.
16682         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16683         * sysdeps/pthread/posix-timer.h: ... here.
16684         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16685         * sysdeps/pthread/timer_create.c: ... here.
16686         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16687         * sysdeps/pthread/timer_delete.c: ... here.
16688         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16689         * sysdeps/pthread/timer_getoverr.c: ... here.
16690         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16691         * sysdeps/pthread/timer_gettime.c: ... here.
16692         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16693         * sysdeps/pthread/timer_routines.c: ... here.
16694         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16695         * sysdeps/pthread/timer_settime.c: ... here.
16696         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16697         * sysdeps/pthread/tst-timer.c: ... here.
16698         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16699         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16701         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16702         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16704         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16705         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16706         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16707         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16708         Update #include target.
16709         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16710         * sysdeps/i386/i686/nptl/Makefile: ... here.
16711         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16712         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16713         Update #include target.
16714         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16715         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16716         * nptl/sysdeps/i386/Makefile: Moved ...
16717         * sysdeps/i386/nptl/Makefile: ... here.
16718         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16719         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16720         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16721         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16722         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16723         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16724         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16725         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16726         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16727         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16728         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16729         * nptl/sysdeps/i386/tls.h: Moved ...
16730         * sysdeps/i386/nptl/tls.h: ... here.
16732         * sysdeps/sh/Makefile [$(subdir) = csu]
16733         (gen-as-const-headers): Add tcb-offsets.sym.
16734         * nptl/sysdeps/sh/Makefile: File removed.
16735         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16736         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16737         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16738         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16739         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16740         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16741         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16742         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16743         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16744         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16745         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16746         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16747         * nptl/sysdeps/sh/tls.h: Moved ...
16748         * sysdeps/sh/nptl/tls.h: ... here.
16749         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16750         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16751         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16752         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16753         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16754         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16755         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16756         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16757         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16758         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16759         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16760         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16761         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16762         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16763         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16764         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16765         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16766         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16767         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16768         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16769         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16770         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16771         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16772         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16773         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16774         Moved ...
16775         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16776         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16777         Moved ...
16778         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16779         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16780         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16782         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16783         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16784         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16785         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16786         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16787         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16788         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16789         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16790         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16791         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16792         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16793         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16794         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16795         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16796         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16798 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16800         * posix/spawn_faction_addopen.c: Include string.h.
16802 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16804         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16805         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16806         * nptl/sysdeps/x86_64/Makefile: Moved ...
16807         * sysdeps/x86_64/nptl/Makefile: ... here.
16808         * nptl/sysdeps/x86_64/configure: Moved ...
16809         * sysdeps/x86_64/nptl/configure: ... here.
16810         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16811         * sysdeps/x86_64/nptl/configure.ac: ... here.
16812         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16813         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16814         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16815         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16816         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16817         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16818         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16819         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16820         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16821         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16822         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16823         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16824         * nptl/sysdeps/x86_64/tls.h: Moved ...
16825         * sysdeps/x86_64/nptl/tls.h: ... here.
16826         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16827         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16828         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16829         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16831         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16833 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16837 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16839         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16840         type.
16841         [POSIX] (off_t): Likewise.
16842         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16843         [POSIX] (S_ISBLK): Require macro.
16844         [POSIX] (S_ISCHR): Likewise.
16845         [POSIX] (S_ISDIR): Likewise.
16846         [POSIX] (S_ISFIFO): Likewise.
16847         [POSIX] (S_ISREG): Likewise.
16848         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16849         optional-macro.
16850         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16851         type.
16852         [POSIX] (time_t): Likewise.
16853         [POSIX] (timer_t): Likewise.
16855 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16857         [BZ #17048]
16858         * posix/spawn_int.h (struct __spawn_action): Make the path string
16859         non-const to support deallocation.
16860         * posix/spawn_faction_addopen.c
16861         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16862         * posix/spawn_faction_destroy.c
16863         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16864         path in all spawn_do_open actions.
16865         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16866         posix_spawn_file_actions_addopen.
16868 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16870         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16871         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16872         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16873         conditional code always true.
16874         (__libc_vfork): New alias.
16876 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16878         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16879         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16881         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16883         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16884         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16886         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16887         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16889         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16890         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16892 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16894         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16895         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16896         multiarch strcmp for PPC64.
16897         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16898         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16900         multiarch optimizations.
16901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16902         (__libc_ifunc_impl_list): Likewise.
16904 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16906         * benchtests/scripts/validate_benchout.py: New script.
16907         * benchtests/Makefile (bench-func): Call it.
16908         * benchtests/scripts/benchout.schema.json: New file.
16910 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16912         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16913         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16914         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16915         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16916         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16917         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16918         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16919         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16920         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16921         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16922         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16923         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16924         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16925         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16926         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16927         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16929         Moved ...
16930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16931         ... here.
16932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16933         Moved ...
16934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16936         Moved ...
16937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16938         ... here.
16939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16940         Moved ...
16941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16942         ... here.
16943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16944         Moved ...
16945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16947         Moved ...
16948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16949         ... here.
16950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16951         Moved ...
16952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16953         ... here.
16954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16955         Moved ...
16956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16958         Moved ...
16959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16960         ... here.
16961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16962         Moved ...
16963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16964         ... here.
16965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16966         Moved ...
16967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16968         ... here.
16969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16970         Moved ...
16971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16973         Moved ...
16974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16975         ... here.
16976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16977         Moved ...
16978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16979         ... here.
16980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16981         Moved ...
16982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16983         ... here.
16984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16985         Moved ...
16986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16988         Moved ...
16989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16990         ... here.
16991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16992         Moved ...
16993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16994         ... here.
16995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16996         Moved ...
16997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16999         Moved ...
17000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17001         ... here.
17002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17003         Moved ...
17004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17006         Moved ...
17007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17009         Moved ...
17010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17011         ... here.
17012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17013         Moved ...
17014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17015         ... here.
17016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17017         Moved ...
17018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17019         ... here.
17020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17021         Moved ...
17022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17024         Moved ...
17025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17026         ... here.
17027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17028         Moved ...
17029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17030         ... here.
17031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17032         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17034         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17035         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17036         Moved ...
17037         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17038         ... here.
17039         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17040         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17041         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17042         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17043         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17044         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17045         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17046         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17047         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17048         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17050         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17052         Moved ...
17053         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17055         Moved ...
17056         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17058         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17060         Moved ...
17061         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17062         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17063         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17064         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17065         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17066         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17067         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17069 2014-06-10  Wilco  <wdijkstr@arm.com>
17071         * math/test-fenv-return.c: New file.
17072         * math/Makefile: Add new test test-fenv-return.
17074 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17076         [BZ #17042]
17077         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17078         when x - 1 is zero.
17079         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17080         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17081         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17082         0.0L for an argument of 1.0L.
17083         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17084         Likewise.
17085         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17086         value when x - 1 is zero.
17087         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17088         * sysdeps/i386/fpu/libm-test-ulps: Update.
17089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17091 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17093         [BZ #15119]
17094         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17096 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17098         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17099         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17101 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17103         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17104         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17106         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17107         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17109         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17110         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17112         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17113         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17115         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17116         if not already defined.
17117         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17118         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17119         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17120         (TLS_INIT_TP): Use it.
17121         (TLS_DEFINE_INIT_TP): New macro.
17122         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17124 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17126         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17127         constant.
17128         [POSIX] (IXANY): Likewise.
17129         [POSIX] (OLCUC): Likewise.
17130         [POSIX || POSIX2008] (CBAUD): Do not allow.
17131         [POSIX || POSIX2008] (DEFECHO): Likewise.
17132         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17133         [POSIX || POSIX2008] (ECHOKE): Likewise.
17134         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17135         [POSIX || POSIX2008] (EXTA): Likewise.
17136         [POSIX || POSIX2008] (EXTB): Likewise.
17137         [POSIX || POSIX2008] (FLUSHO): Likewise.
17138         [POSIX || POSIX2008] (LOBLK): Likewise.
17139         [POSIX || POSIX2008] (PENDIN): Likewise.
17140         [POSIX || POSIX2008] (SWTCH): Likewise.
17141         [POSIX || POSIX2008] (VDISCARD): Likewise.
17142         [POSIX || POSIX2008] (VDSUSP): Likewise.
17143         [POSIX || POSIX2008] (VLNEXT): Likewise.
17144         [POSIX || POSIX2008] (VREPRINT): Likewise.
17145         [POSIX || POSIX2008] (VSTATUS): Likewise.
17146         [POSIX || POSIX2008] (VWERASE): Likewise.
17147         (B*): Change to B[0123456789]*.
17148         * conform/data/time.h-data [POSIX || UNIX98]
17149         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17150         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17151         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17152         [POSIX] (tm_*): Do not allow.
17154 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17156         * Makefile (install): Don't set LANGUAGE.
17157         * Makefile.in (install): Likewise.
17158         * assert/Makefile (test-assert-ENV): Remove variable.
17159         (test-assert-perr-ENV): Likewise.
17160         * elf/Makefile (neededtest4-ENV): Likewise.
17161         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17162         [$(cross-compiling) = no]: Don't set LANGUAGE.
17163         * io/ftwtest-sh (LANG): Remove variable.
17164         * libio/Makefile (tst-widetext-ENV): Likewise.
17165         * manual/install.texi (Running make install): Don't refer to
17166         environment settings for make install.
17167         * INSTALL: Regenerated.
17168         * nptl/tst-tls6.sh: Don't set LANG.
17169         * posix/globtest.sh (LANG): Remove variable.
17170         * string/Makefile (tester-ENV): Likewise.
17171         (inl-tester-ENV): Likewise.
17172         (noinl-tester-ENV): Likewise.
17173         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17174         [$(cross-compiling) = no]: Don't set LANGUAGE.
17175         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17176         without explicit environment settings.
17178 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17180         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17181         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17182         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17183         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17185 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17187         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17188         other files in the crypt directory.
17189         * crypt/crypt.c: Remove duplicate includes.
17190         * crypt/crypt-entry.c: Likewise.
17191         * crypt/crypt_util.c: Likewise.
17193 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17195         * Makeconfig (run-program-env): New variable.
17196         (run-program-prefix-before-env): Likewise.
17197         (run-program-prefix-after-env): Likewise.
17198         (run-program-prefix): Define in terms of new variables.
17199         (built-program-cmd-before-env): New variable.
17200         (built-program-cmd-after-env): Likewise.
17201         (built-program-cmd): Define in terms of new variables.
17202         (test-program-prefix-before-env): New variable.
17203         (test-program-prefix-after-env): Likewise.
17204         (test-program-prefix): Define in terms of new variables.
17205         (test-program-cmd-before-env): New variable.
17206         (test-program-cmd-after-env): Likewise.
17207         (test-program-cmd): Define in terms of new variables.
17208         * Rules (make-test-out): Use $(run-program-env).
17209         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17210         (help): Do not mention environment variables.  Mention
17211         --timeoutfactor option.
17212         (timeoutfactor): New variable.
17213         (blacklist_exports): Remove function.
17214         (exports): Remove variable.
17215         (command): Do not include ${exports}.
17216         * manual/install.texi (Configuring and compiling): Do not mention
17217         test wrappers preserving environment variables.  Mention that last
17218         assignment to a variable must take precedence.
17219         * INSTALL: Regenerated.
17220         * benchtests/Makefile (run-bench): Use $(run-program-env).
17221         * catgets/Makefile ($(objpfx)test1.cat): Use
17222         $(built-program-cmd-before-env), $(run-program-env) and
17223         $(built-program-cmd-after-env).
17224         ($(objpfx)test2.cat): Do not specify environment variables
17225         explicitly.
17226         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17227         $(run-program-env) and $(built-program-cmd-after-env).
17228         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17229         $(run-program-env) and $(test-program-cmd-after-env).
17230         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17231         explicitly.
17232         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17233         run_program_env and test_program_cmd_after_env arguments.
17234         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17235         * elf/tst-pathopt.sh: Use run_program_env argument.
17236         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17237         $(test-wrapper-env) and $(run-program-env).
17238         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17239         run_program_env arguments.
17240         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17241         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17242         $(test-program-prefix-before-env), $(run-program-env) and
17243         $(test-program-prefix-after-env).
17244         ($(objpfx)tst-gettext2.out): Likewise.
17245         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17246         run_program_env and test_program_prefix_after_env arguments.
17247         * intl/tst-gettext2.sh: Likewise.
17248         * intl/tst-gettext4.sh: Do not set environment variables
17249         explicitly.
17250         * intl/tst-gettext6.sh: Likewise.
17251         * intl/tst-translit.sh: Likewise.
17252         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17253         $(test-program-prefix-before-env), $(run-program-env) and
17254         $(test-program-prefix-after-env).
17255         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17256         run_program_env and test_program_prefix_after_env arguments.
17257         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17258         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17259         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17260         explicitly with each use of ${test_wrapper_env}.
17261         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17262         $(test-program-prefix-before-env), $(run-program-env) and
17263         $(test-program-prefix-after-env).
17264         * posix/tst-getconf.sh: Do not set environment variables
17265         explicitly.
17266         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17267         run_program_env and test_program_prefix_after_env arguments.
17268         * stdio-common/tst-printf.sh: Do not set environment variables
17269         explicitly.
17270         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17271         $(test-program-prefix-before-env), $(run-program-env) and
17272         $(test-program-prefix-after-env).
17273         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17274         run_program_env and test_program_prefix_after_env arguments.
17275         Split $test calls into $test_pre and $test.
17276         * timezone/Makefile (build-testdata): Use
17277         $(built-program-cmd-before-env), $(run-program-env) and
17278         $(built-program-cmd-after-env).
17280 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17282         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17283         strlen for non SHARED builds.
17285 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17287         * nptl/allocatestack.c (check_list): Inlined function...
17288         (__reclaim_stacks): ... here.
17290 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17292         [BZ #15698]
17293         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17294         memory overrun.
17296 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17298         * Rules (make-test-out): Include
17299         LOCPATH=$(common-objpfx)localedata in default environment.
17300         * debug/Makefile (tst-chk1-ENV): Remove variable.
17301         (tst-chk2-ENV): Likewise.
17302         (tst-chk3-ENV): Likewise.
17303         (tst-chk4-ENV): Likewise.
17304         (tst-chk5-ENV): Likewise.
17305         (tst-chk6-ENV): Likewise.
17306         (tst-lfschk1-ENV): Likewise.
17307         (tst-lfschk2-ENV): Likewise.
17308         (tst-lfschk3-ENV): Likewise.
17309         (tst-lfschk4-ENV): Likewise.
17310         (tst-lfschk5-ENV): Likewise.
17311         (tst-lfschk6-ENV): Likewise.
17312         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17313         (tst-iconv7-ENV): Likewise.
17314         * intl/Makefile (LOCPATH-ENV): Likewise.
17315         (tst-codeset-ENV): Likewise.
17316         (tst-gettext3-ENV): Likewise.
17317         (tst-gettext5-ENV): Likewise.
17318         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17319         (tst-fopenloc-ENV): Likewise.
17320         (tst-fgetws-ENV): Remove variable.
17321         (tst-ungetwc1-ENV): Likewise.
17322         (tst-ungetwc2-ENV): Likewise.
17323         (bug-ungetwc2-ENV): Likewise.
17324         (tst-swscanf-ENV): Likewise.
17325         (bug-ftell-ENV): Likewise.
17326         (tst-fgetwc-ENV): Likewise.
17327         (tst-fseek-ENV): Likewise.
17328         (tst-ftell-partial-wide-ENV): Likewise.
17329         (tst-ftell-active-handler-ENV): Likewise.
17330         (tst-ftell-append-ENV): Likewise.
17331         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17332         (tst-regexloc-ENV): Likewise.
17333         (bug-regex1-ENV): Likewise.
17334         (tst-regex-ENV): Likewise.
17335         (tst-regex2-ENV): Likewise.
17336         (bug-regex5-ENV): Likewise.
17337         (bug-regex6-ENV): Likewise.
17338         (bug-regex17-ENV): Likewise.
17339         (bug-regex18-ENV): Likewise.
17340         (bug-regex19-ENV): Likewise.
17341         (bug-regex20-ENV): Likewise.
17342         (bug-regex22-ENV): Likewise.
17343         (bug-regex23-ENV): Likewise.
17344         (bug-regex25-ENV): Likewise.
17345         (bug-regex26-ENV): Likewise.
17346         (bug-regex30-ENV): Likewise.
17347         (bug-regex32-ENV): Likewise.
17348         (bug-regex33-ENV): Likewise.
17349         (bug-regex34-ENV): Likewise.
17350         (bug-regex35-ENV): Likewise.
17351         (tst-rxspencer-ENV): Likewise.
17352         (tst-rxspencer-no-utf8-ENV): Likewise.
17353         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17354         (tst-sscanf-ENV): Likewise.
17355         (tst-swprintf-ENV): Likewise.
17356         (tst-swscanf-ENV): Likewise.
17357         (test-vfprintf-ENV): Likewise.
17358         (scanf13-ENV): Likewise.
17359         (bug14-ENV): Likewise.
17360         (tst-grouping-ENV): Likewise.
17361         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17362         (tst-strtod3-ENV): Likewise.
17363         (tst-strtod4-ENV): Likewise.
17364         (tst-strtod5-ENV): Likewise.
17365         (testmb2-ENV): Likewise./
17366         * string/Makefile (tst-strxfrm-ENV): Likewise.
17367         (tst-strxfrm2-ENV): Likewise.
17368         (bug-strcoll1-ENV): Likewise.
17369         (test-strcasecmp-ENV): Likewise.
17370         (test-strncasecmp-ENV): Likewise.
17371         * time/Makefile (tst-strptime-ENV): Likewise.
17372         (tst-ftime_l-ENV): Likewise.
17373         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17374         (tst-mbrtowc-ENV): Likewise.
17375         (tst-wcrtomb-ENV): Likewise.
17376         (tst-mbrtowc2-ENV): Likewise.
17377         (tst-c16c32-1-ENV): Likewise.
17378         (tst-mbsnrtowcs-ENV): Likewise.
17380 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17382         * manual/resource.texi (How to get information about the memory
17383         subsystem?): Fix typo.
17384         Reported by Peon de la Parra Ivan <peon@keba.com>
17386 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17388         [BZ #16882]
17389         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17390         (pthread_spin_lock): Branch out of spin loop to proper location.
17391         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17392         (pthread_spin_lock): Likewise.
17394         * nptl/tst-spin4.c: New test.
17395         * nptl/Makefile (tests): Add tst-spin4.
17397 2014-06-03  Andreas Schwab  <schwab@suse.de>
17399         [BZ #15946]
17400         * resolv/res_send.c (send_dg): Reload file descriptor after
17401         calling reopen.
17403 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17405         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17407 2014-06-03  Richard Henderson  <rth@redhat.com>
17409         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17410         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17411         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17412         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17413         in the SAVE_PID block.
17414         (__libc_vfork): New alias.
17415         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17417         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17418         child in registers, not on the stack.  Remove RESET_PID conditionals.
17419         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17421 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17423         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17425 2014-06-03  Wilco  <wdijkstr@arm.com>
17427         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17428         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17429         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17430         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17431         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17432         Likewise.
17434 2014-06-03  Wilco  <wdijkstr@arm.com>
17436         * sysdeps/aarch64/fpu/math_private.h
17437         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17438         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17439         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17440         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17441         Fix declarations.
17443 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17445         * crypt/crypt-private.h: Include ufc-crypt.h.
17446         (__b64_from_24bit): Declare extern.
17447         * crypt/crypt_util.c(__b64_from_24bit): New function.
17448         (b64t): New static const variable.
17449         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17450         (b64t): Remove variable.
17451         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17452         * crypt/sha256-crypt.c: Include crypt-private.h.
17453         (b64t): Remove variable.
17454         (__sha256_crypt_r): Remove b64_from_24bit and replace
17455         with __b64_from_24bit.
17456         * crypt/sha512-crypt.c: Likewise.
17458 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17460         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17461         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17462         Label the code __libc_vfork rather than __vfork.
17463         [!NOT_IN_libc] (vfork): Define as weak alias.
17464         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17465         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17466         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17468 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17470         * malloc/malloc.c (malloc_info): Fix format specifier for
17471         n_mmaps.
17473 2014-06-02  Wilco  <wdijkstr@arm.com>
17475         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17476         FPCR write.
17478 2014-06-02  Wilco  <wdijkstr@arm.com>
17480         [BZ #17009]
17481         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17482         Rewrite to reduce FPCR/FPSR accesses.
17484 2014-06-01  David S. Miller  <davem@davemloft.net>
17486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17488 2014-05-31  David S. Miller  <davem@davemloft.net>
17490         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17491         to occur in round to nearest mode when |x| >= 2.0
17493 2014-05-30  Richard Henderson  <rth@twiddle.net>
17495         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17496         (PSEUDO_RET_NOERRNO): Remove.
17497         (ret): Don't redefine.
17498         (ret_NOERRNO): Define in terms of ret.
17499         (ret_ERRVAL): Likewise.
17501         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17502         use of PSEUDO_RET; perform the error check directly.
17504 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17506         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17507         with __int128_t.
17509 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17511         * malloc/malloc (malloc_info): Fix formatting.
17513 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17514             Roland McGrath  <roland@hack.frob.com>
17516         * malloc/malloc (malloc_info): Also print mmapped statistics.
17518 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17520         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17521         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17523 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17525         * malloc/malloc.c (malloc_info): Inline mi_arena.
17527 2014-05-29  Richard Henderson  <rth@twiddle.net>
17529         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17530         Remove comma before expanding ASM_ARGS_##nr.
17531         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17532         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17533         of ASM_ARGS_##nr.
17534         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17535         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17536         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17537         (ASM_ARGS_1): Add leading comma.
17539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17540         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17541         to __errno_location.
17542         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17543         Remove the expected plt for __errno_location.
17545         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17546         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17547         call to __read_tp.
17549         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17550         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17551         it and break it down.
17552         (DOCARGS_0, DOCARGS_1): Do nothing.
17553         (DOCARGS_2): Update to store into the new stack frame.
17554         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17555         (UNDOCARGS_1): Update to restore from the new stack frame.
17556         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17557         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17559         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17560         (SINGLE_THREAD_P): New parameter for result regno.
17561         (PSEUDO): Update to match; use cbz instead of beq.
17563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17564         Use ENTRY to define the _nocancel entry point.  Share the syscall
17565         and syscall error check paths with the cancel path.
17566         (PSEUDO_END): New.
17568         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17569         whitespace; tabs before and after asm mnemonics.
17571 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17573         [BZ #15132]
17574         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17575         Call fstat64 or stat64 internally, depending on arguments passed.
17576         Replace stat buffer argument with file descriptor argument.
17577         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17578         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17579         Pass fd to __internal_statvfs instead of calling fstat64.
17580         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17581         Pass fd to __internal_statvfs64 instead of calling fstat64.
17582         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17583         Pass -1 to __internal_statvfs instead of calling stat64.
17584         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17585         Pass -1 to __internal_statvfs64 instead of calling stat64.
17587 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17589         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17590         that was previously under [RESET_PID].
17591         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17593         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17594         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17596 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17598         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17600         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17601         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17603 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17605         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17607 2014-05-27  Andreas Schwab  <schwab@suse.de>
17609         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17610         TLS_INIT_TP macro.
17611         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17612         * elf/rtld.c (init_tls, dl_main): Likewise.
17613         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17614         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17615         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17616         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17617         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17618         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17619         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17620         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17621         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17622         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17623         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17624         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17625         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17626         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17627         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17628         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17629         * sysdeps/generic/tls.h: Update description.
17631 2014-05-27  Will Newton  <will.newton@linaro.org>
17633         [BZ #16990]
17634         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17635         and restore r2 rather than just restoring.
17637 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17639         [BZ #16724]
17640         * libio/tst-ftell-append.c: New test case.
17641         * libio/Makefile (tests): Add test case.
17642         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17643         append mode.
17644         * libio/wfileops.c (do_ftell_wide): Likewise.
17646 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17650         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17651         ...
17652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17654         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17655         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17656         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17657         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17658         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17659         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17661         Moved ...
17662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17664         Moved ...
17665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17666         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17667         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17668         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17669         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17670         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17671         ...
17672         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17673         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17674         Moved ...
17675         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17676         here.
17677         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17678         ...
17679         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17680         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17681         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17683         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17684         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17685         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17686         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17689         merge into ...
17690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17692         ...
17693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17695         ...
17696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17698         Moved ...
17699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17700         here.
17701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17702         Moved ...
17703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17705         Moved ...
17706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17709         conditional [RESET_PID].
17710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17712         removed.
17713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17714         removed.
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17717         <tcb-offsets.h>.
17718         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17719         (__libc_vfork): New strong alias.
17720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17721         removed.
17722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17723         Removed.
17725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17726         <tcb-offsets.h>.
17727         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17728         (__libc_vfork): New strong alias.
17729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17730         removed.
17731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17732         removed.
17734 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17736         * malloc/malloc.c (mi_arena): New function.
17737         (malloc_info): Remove nested function mi_arena. Call non-nosted
17738         function mi_arena.
17740 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17742         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17743         by insrwi.
17744         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17745         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17746         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17747         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17748         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17749         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17750         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17752 2014-05-26  Andreas Schwab  <schwab@suse.de>
17754         [BZ #16984]
17755         * locale/programs/repertoire.c (repertoire_read): Add slash
17756         between I18NPATH element and file name.
17757         * locale/programs/locfile.c (locfile_read): Likewise.
17759 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17761         * nptl/pthread_mutexattr_settype.c
17762         (__pthread_mutexattr_settype):
17763         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17765 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17767         * nptl/tst-mutex5 (do_test):
17768         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17770 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17772         * benchtests/README: Document 'init' directive.
17773         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17774         BENCH_INIT.
17775         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17776         (parse_file): Recognize 'init' directive.
17778 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17780         [BZ #16796]
17781         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17782         alignment of struct pthread.
17784 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17786         [BZ #16878]
17787         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17788         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17789         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17790         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17792 2014-05-25  Richard Henderson  <rth@twiddle.net>
17794         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17795         (SINGLE_THREAD_P_PIC): Remove.
17796         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17797         (SINGLE_THREAD_P_PIC): Remove.
17799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17800         branch to syscall error ...
17801         (PSEUDO): ... here.
17802         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17803         from __local_syscall_error to .Lsyscall_error.
17804         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17805         (SYSCALL_ERROR): Update label name.
17807         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17808         Do not use DOARGS/UNDOARGS.
17809         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17810         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17811         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17812         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17813         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17815         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17816         block comment.
17818         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17819         define if !NOT_IN_libc.
17820         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17821         define with non-default symbol versions.
17823 2014-05-23  Richard Henderson  <rth@twiddle.net>
17825         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17826         (vfork, __vfork): Define via compat_symbol.
17828         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17829         [!HAVE_IFUNC] (vfork_compat): Remove.
17830         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17832 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17834         [BZ #16978]
17835         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17836         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17837         variable.
17839 2014-05-23  Richard Henderson  <rth@twiddle.net>
17841         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17842         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17843         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17844         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17846         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17847         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17848         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17849         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17850         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17851         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17852         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17853         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17854         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17855         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17856         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17857         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17858         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17859         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17860         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17861         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17862         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17863         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17864         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17865         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17866         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17867         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17868         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17869         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17870         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17871         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17872         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17873         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17874         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17875         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17876         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17877         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17878         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17879         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17880         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17881         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17882         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17883         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17884         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17885         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17886         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17887         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17888         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17889         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17890         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17891         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17892         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17893         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17894         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17895         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17896         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17897         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17898         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17899         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17900         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17901         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17903         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17904         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17905         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17906         before exiting on error.
17907         (__libc_vfork): New strong alias.
17908         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17909         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17911         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17912         that was previously under [RESET_PID].
17913         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17915         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17917 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17919         [BZ #16977]
17920         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17921         value when x - 1 is zero.
17922         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17923         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17924         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17925         0.0L for an argument of 1.0L.
17926         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17927         Likewise.
17928         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17929         value when x - 1 is zero.
17930         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17931         * sysdeps/i386/fpu/libm-test-ulps: Update.
17932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17934 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17936         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17937         alphasort and versionsort.
17939 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17941         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17942         macro.
17943         [copysignf]: Likewise.
17945 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17947         * crypt/md5-crypt.c: Fix formatting.
17949 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17951         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17952         (b64_from_24bit): New function.
17954 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17956         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17957         libc_hidden_builtin_def to ifunc.
17958         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17959         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17961 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17963         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17964         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17966 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17968         * nscd/Depend (linuxthreads): Remove.
17969         (nptl): Add.
17970         * resolv/Depend (linuxthreads): Remove.
17971         * rt/Depend (linuxthreads): Remove.
17973         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17974         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17975         $(common-objpfx)elf/.
17976         (link-libc-before-gnulib): Likewise.
17977         (elfobjdir): Remove variable.
17978         * Makefile (install): Use $(elf-objpfx) instead of
17979         $(common-objpfx)elf/.
17980         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17981         $(elfobjdir)/.
17982         (link-libc-deps): Likewise.
17983         ($(common-objpfx)libc.so): Likewise.
17984         ($(common-objpfx)linkobj/libc.so): Likewise.
17985         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17986         instead of $(common-objpfx)elf/.
17987         (symbolic-link-list): Likewise.
17988         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17989         [$(cross-compiling) = no]: Likewise.
17990         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17991         $(elfobjdir)/.
17992         (static-gnulib-arch): Likewise.
17993         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17994         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17995         $(common-objpfx)elf/.
17997 2014-05-21  Richard Henderson  <rth@redhat.com>
17999         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18000         (SINGLE_THREAD_P): Use the correct width load.  Fold
18001         into the ldr offset.
18003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18004         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18006 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18008         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18009         (libgcc_s_resume): Use __attribute_used__.
18010         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18011         Likewise.
18013 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18015         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18016         optimization when used with float constants.
18018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18020 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18022         [BZ #16915]
18023         * locale/nl_langinfo_l.c: Make direct reference to every
18024         _nl_current_CATEGORY symbol.
18025         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18026         (tests-static): Add tst-langinfo-static.
18027         (tests-special): Add tst-langinfo-static.out.
18028         ($(objpfx)tst-langinfo.out): Redirect output.
18029         ($(objpfx)tst-langinfo-static.out): New.
18030         * localedata/tst-langinfo.sh: Send output to stdout.
18031         * localedata/tst-langinfo-static.c: New file.
18033         [BZ #16965]
18034         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18035         when the shift amount is modulo the limb size.
18037 2014-05-20  Richard Henderson  <rth@redhat.com>
18039         [BZ #16967]
18040         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18041         Change type of sa_flags from unsigned int to int.
18043         [BZ #16966]
18044         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18046         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18048 2014-05-20  Will Newton  <will.newton@linaro.org>
18050         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18051         Test the return value of the system call in the nocancel case.
18053 2014-05-20  Will Newton  <will.newton@linaro.org>
18054             Yvan Roux  <yvan.roux@linaro.org>
18056         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18057         #include of asm/ptrace.h.
18058         (PTRACE_GET_THREAD_AREA): Remove #undef.
18059         (PTRACE_GETHBPREGS): Likewise.
18060         (PTRACE_SETHBPREGS): Likewise.
18061         (struct user_regs_struct): New structure.
18062         (struct user_fpsimd_struct): New structure.
18063         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18064         #include of asm/ptrace.h and second #include of sys/user.h.
18065         (PTRACE_GET_THREAD_AREA): Remove #undef.
18066         (PTRACE_GETHBPREGS): Likewise.
18067         (PTRACE_SETHBPREGS): Likewise.
18068         (ELF_NGREG): Use new struct user_regs_struct.
18069         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18071 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18073         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18074         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18076 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18078         [BZ #16958]
18079         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18080         membar to avoid block loads/stores to overlap previous stores.
18082 2014-05-17  Richard Henderson  <rth@redhat.com>
18084         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18085         Create the __##syscall_name##_nocancel entry point.
18086         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18087         Remove; let the sysdep-cancel.h code create it.
18089 2014-05-17  David S. Miller  <davem@davemloft.net>
18091         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18092         Protect with __USE_GNU.
18093         (TIOCSET_TEMPT): Likewise.
18094         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18095         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18096         these are already provided in bits/ioctl-types.h
18098 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18100         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18101         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18103         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18104         Use wait4 regardless of [__NR_waitpid].
18106 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18108         PR libgcc/60166
18109         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18110         (_FP_NANSIGN_Q): Set the quiet bit.
18112 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18114         * benchtests/Makefile
18115         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18116         not $(common-objpfx)math/libm.so.
18117         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18118         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18119         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18120         $(common-objpfx)dlfcn/libdl.so.
18121         ($(objpfx)tst-audit8): Depend on $(libm), not
18122         $(common-objpfx)math/libm.so.
18123         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18124         not $(common-objpfx)dlfcn/libdl.so.
18125         * math/Makefile
18126         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18127         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18128         [$(build-shared) = yes].
18129         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18130         $(common-objpfx)nptl/libpthread.so.
18131         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18132         $(common-objpfx)math/libm.so$(libm.so-version) or
18133         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18134         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18135         $(common-objpfx)dlfcn/libdl.so.
18136         * setjmp/Makefile (link-libm): Remove variable.
18137         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18138         * stdio-common/Makefile (link-libm): Remove variable.
18139         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18140         * stdlib/Makefile (link-libm): Remove variable.
18141         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18142         ($(objpfx)tst-strtod-round): Likewise.
18143         ($(objpfx)tst-tininess): Likewise.
18144         ($(objpfx)tst-strtod-underflow): Likewise.
18145         ($(objpfx)tst-strtod6): Likewise.
18146         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18147         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18148         $(common-objpfx)dlfcn/libdl.so.
18150 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18152         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18153         BSD terminal modes definitions.
18155 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18157         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18158         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18160         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18161         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18162         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18163         Don't do #include_next.
18164         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18165         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18166         Don't do #include_next.
18167         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18168         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18169         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18170         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18172 2014-05-16  Allan McRae  <allan@archlinux.org>
18174         * po/sv.po: Update Swedish translation from translation project.
18176         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18177         in sed expression.
18179 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18181         [BZ #16917]
18182         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18183         errno if the TIOCGPTN ioctl fails with an error different than
18184         EINVAL.
18185         * login/tst-ptsname.c: New file.
18186         * login/Makefile (tests): Add tst-ptsname.
18188         [BZ #16943]
18189         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18190         and prlimit64.
18192 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18194         [BZ #16849]
18195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18196         herrno to return EAI_AGAIN.
18198 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18200         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18201         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18202         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18203         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18204         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18205         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18206         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18207         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18208         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18209         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18210         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18211         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18212         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18213         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18214         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18215         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18216         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18217         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18218         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18219         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18220         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18221         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18222         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18223         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18224         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18225         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18226         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18227         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18228         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18229         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18231         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18233         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18235         Moved ...
18236         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18238         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18240         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18242         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18244         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18246         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18248         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18250         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18252         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18254         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18256         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18258         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18260         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18262         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18264         Moved ...
18265         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18267         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18269         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18271         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18273         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18275         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18277         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18279         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18281         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18283         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18285         Moved ...
18286         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18288         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18290         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18291         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18292         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18293         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18294         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18295         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18296         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18297         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18298         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18299         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18300         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18301         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18302         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18303         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18304         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18305         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18306         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18307         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18308         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18309         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18310         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18311         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18312         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18313         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18314         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18315         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18316         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18317         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18318         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18319         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18320         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18322         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18323         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18325         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18326         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18327         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18328         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18329         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18330         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18331         Moved ...
18332         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18333         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18334         Moved ...
18335         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18336         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18337         Moved ...
18338         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18339         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18340         Moved ...
18341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18342         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18343         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18344         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18345         Moved ...
18346         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18347         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18348         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18349         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18350         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18351         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18352         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18354         Moved ...
18355         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18356         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18357         Moved ...
18358         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18359         ... here.
18360         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18361         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18362         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18363         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18364         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18365         Moved ...
18366         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18367         ... here.
18368         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18369         Moved ...
18370         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18371         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18372         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18373         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18374         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18375         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18376         Moved ...
18377         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18378         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18379         Moved ...
18380         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18381         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18382         Moved ...
18383         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18384         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18385         Moved ...
18386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18387         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18388         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18389         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18390         Moved ...
18391         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18392         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18393         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18394         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18395         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18396         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18397         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18399         Moved ...
18400         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18401         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18402         Moved ...
18403         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18404         ... here.
18405         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18406         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18407         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18408         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18409         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18410         Moved ...
18411         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18412         ... here.
18413         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18414         Moved ...
18415         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18416         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18417         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18418         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18419         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18420         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18421         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18422         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18423         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18424         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18425         Moved ...
18426         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18427         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18428         Moved ...
18429         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18430         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18431         Moved ...
18432         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18433         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18434         Moved ...
18435         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18436         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18437         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18438         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18439         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18440         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18441         Moved ...
18442         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18443         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18444         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18445         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18446         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18447         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18448         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18450         Moved ...
18451         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18452         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18453         Moved ...
18454         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18455         ... here.
18456         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18457         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18458         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18459         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18460         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18461         Moved ...
18462         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18463         ... here.
18464         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18465         Moved ...
18466         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18467         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18468         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18469         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18470         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18471         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18472         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18473         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18474         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18475         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18476         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18478         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18479         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18481         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18482         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18484         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18485         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18486         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18488         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18489         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18490         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18491         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18492         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18493         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18494         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18495         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18496         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18498         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18500         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18502         Moved ...
18503         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18504         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18505         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18507         Moved ...
18508         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18509         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18510         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18511         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18512         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18514         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18516         Moved ...
18517         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18519         Moved ...
18520         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18521         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18522         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18523         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18524         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18525         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18526         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18527         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18528         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18529         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18530         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18531         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18532         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18533         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18534         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18536         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18538         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18539         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18540         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18541         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18542         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18544         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18545         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18546         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18547         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18548         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18549         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18550         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18551         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18552         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18553         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18555         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18556         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18558         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18559         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18560         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18561         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18562         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18563         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18564         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18565         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18566         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18567         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18568         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18569         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18570         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18571         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18573         Update #include.
18574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18575         Likewise.
18576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18577         Likewise.
18578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18579         Likewise.
18580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18581         Likewise.
18582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18583         Likewise.
18584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18585         Likewise.
18586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18587         Likewise.
18588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18589         Likewise.
18590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18591         Likewise.
18592         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18593         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18595         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18597         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18598         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18599         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18601         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18602         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18603         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18604         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18605         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18606         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18608         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18609         that was previously under [RESET_PID].
18610         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18611         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18612         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18614         * sysdeps/i386/nptl/Implies: New file.
18615         * sysdeps/x86_64/nptl/Implies: New file.
18616         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18617         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18618         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18619         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18621         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18622         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18623         (__libc_vfork): New strong alias.
18624         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18625         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18627         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18628         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18629         (__libc_vfork): New strong alias.
18630         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18631         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18633         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18634         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18635         (__libc_vfork): New strong alias.
18636         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18637         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18638         * nptl/pt-vfork.c: New file.
18639         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18640         (libpthread: GLIBC_2.20): New version set (empty).
18642 2014-05-14  Will Newton  <will.newton@linaro.org>
18644         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18645         rather than #if.
18647 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18649         [BZ #16564]
18650         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18651         arguments with exponent 65 or above.
18652         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18653         arguments 0x1p113L or above.
18654         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18655         to arguments 0x1p107L or above.
18656         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18657         positive arguments with exponent 65 or above.
18658         * math/auto-libm-test-in: Add more tests of log1p.
18659         * math/auto-libm-test-out: Regenerated.
18661         [BZ #16928]
18662         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18663         non-finite arguments is +0.
18664         * math/s_cacosf.c (__cacosf): Likewise.
18665         * math/s_cacosl.c (__cacosl): Likewise.
18666         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18667         * sysdeps/i386/fpu/libm-test-ulps: Update.
18668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18670         [BZ #16927]
18671         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18672         value.
18673         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18674         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18675         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18676         for explicit high bit of mantissa when testing for argument equal
18677         to 1.
18678         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18679         * sysdeps/i386/fpu/libm-test-ulps: Update.
18680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18682         [BZ #16516]
18683         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18684         (__erf): Scale by 16 instead of 8 in potentially underflowing
18685         case.  Ensure exception if result actually underflows.
18686         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18687         (__erff): Scale by 16 instead of 8 in potentially underflowing
18688         case.  Ensure exception if result actually underflows.
18689         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18690         (efx8): Remove variable.
18691         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18692         case.  Ensure exception if result actually underflows.
18693         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18694         (efx8): Remove variable.
18695         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18696         case.  Ensure exception if result actually underflows.
18697         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18698         (efx8): Remove variable.
18699         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18700         case.  Ensure exception if result actually underflows.
18701         * math/auto-libm-test-in: Add more tests of erf.
18702         * math/auto-libm-test-out: Regenerated.
18704 2014-05-14  Andreas Schwab  <schwab@suse.de>
18706         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18707         Remove code conditionalized on USE___THREAD.
18709         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18710         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18711         not definedness.
18713 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18715         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18716         Define unconditionally.
18717         (__ASSUME_O_CLOEXEC): Likewise.
18718         (__ASSUME_SOCK_CLOEXEC): Likewise.
18719         (__ASSUME_IN_NONBLOCK): Likewise.
18720         (__ASSUME_PIPE2): Likewise.
18721         (__ASSUME_EVENTFD2): Likewise.
18722         (__ASSUME_SIGNALFD4): Likewise.
18723         (__ASSUME_DUP3): Likewise.
18724         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18725         (__ASSUME_DUP3): Do not define.
18726         (__ASSUME_EVENTFD2): Likewise.
18727         (__ASSUME_IN_NONBLOCK): Likewise.
18728         (__ASSUME_O_CLOEXEC): Likewise.
18729         (__ASSUME_PIPE2): Likewise.
18730         (__ASSUME_SIGNALFD4): Likewise.
18731         (__ASSUME_SOCK_CLOEXEC): Likewise.
18732         (__ASSUME_UTIMES): Undefine.
18733         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18734         (__ASSUME_UTIMES): Do not define.
18735         (__ASSUME_O_CLOEXEC): Likewise.
18736         (__ASSUME_SOCK_CLOEXEC): Likewise.
18737         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18738         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18739         0x020621].
18740         (__ASSUME_PIPE2): Likewise.
18741         (__ASSUME_EVENTFD2): Likewise.
18742         (__ASSUME_SIGNALFD4): Likewise.
18743         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18744         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18745         Do not define.
18746         (__ASSUME_EVENTFD2): Likewise.
18747         (__ASSUME_SIGNALFD4): Likewise.
18748         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18749         (__ASSUME_32BITUIDS): Likewise.
18750         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18751         (__ASSUME_IPC64): Likewise.
18752         (__ASSUME_ST_INO_64_BIT): Likewise.
18753         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18754         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18755         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18756         (__ASSUME_UTIMES): Do not define.
18757         (__ASSUME_PSELECT): Likewise.
18758         (__ASSUME_PPOLL): Likewise.
18759         (__ASSUME_O_CLOEXEC): Likewise.
18760         (__ASSUME_SOCK_CLOEXEC): Likewise.
18761         (__ASSUME_IN_NONBLOCK): Likewise.
18762         (__ASSUME_PIPE2): Likewise.
18763         (__ASSUME_EVENTFD2): Likewise.
18764         (__ASSUME_SIGNALFD4): Likewise.
18765         (__ASSUME_DUP3): Likewise.
18766         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18767         (__ASSUME_UTIMES): Likewise.
18768         (__ASSUME_O_CLOEXEC): Likewise.
18769         (__ASSUME_SOCK_CLOEXEC): Likewise.
18770         (__ASSUME_IN_NONBLOCK): Likewise.
18771         (__ASSUME_PIPE2): Likewise.
18772         (__ASSUME_EVENTFD2): Likewise.
18773         (__ASSUME_SIGNALFD4): Likewise.
18774         (__ASSUME_DUP3): Likewise.
18775         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18776         (__ASSUME_UTIMES): Likewise.
18777         (__ASSUME_O_CLOEXEC): Likewise.
18778         (__ASSUME_SOCK_CLOEXEC): Likewise.
18779         (__ASSUME_IN_NONBLOCK): Likewise.
18780         (__ASSUME_PIPE2): Likewise.
18781         (__ASSUME_EVENTFD2): Likewise.
18782         (__ASSUME_SIGNALFD4): Likewise.
18783         (__ASSUME_DUP3): Likewise.
18784         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18785         Likewise.
18786         (__ASSUME_UTIMES): Likewise.
18787         (__ASSUME_EVENTFD2): Likewise.
18788         (__ASSUME_SIGNALFD4): Likewise.
18789         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18790         (__ASSUME_O_CLOEXEC): Likewise.
18791         (__ASSUME_SOCK_CLOEXEC): Likewise.
18792         (__ASSUME_IN_NONBLOCK): Likewise.
18793         (__ASSUME_PIPE2): Likewise.
18794         (__ASSUME_EVENTFD2): Likewise.
18795         (__ASSUME_SIGNALFD4): Likewise.
18796         (__ASSUME_DUP3): Likewise.
18797         (__ASSUME_UTIMES): Undefine.
18799         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18800         feclearexcept.  Remove symbol versioning code.
18801         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18802         symbol versioning code.
18803         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18804         symbol versioning code.
18805         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18806         feupdateenv.  Remove symbol versioning code.
18807         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18808         fegetexceptflag.  Remove symbol versioning code.
18809         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18810         fesetexceptflag.  Remove symbol versioning code.
18811         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18812         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18813         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18814         (__posix_fadvise64_l32): Remove prototype.
18815         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18816         code.
18818 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18820         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18821         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18822         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18823         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18825 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18827         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18828         current working directory
18830 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18832         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18833         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18834         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18835         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18836         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18837         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18838         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18839         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18840         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18841         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18842         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18843         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18844         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18845         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18846         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18847         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18848         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18849         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18850         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18851         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18852         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18853         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18854         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18855         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18856         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18857         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18858         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18859         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18860         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18861         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18862         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18863         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18864         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18865         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18866         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18867         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18868         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18869         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18870         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18871         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18872         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18873         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18875         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18876         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18878         * sysdeps/unix/sysv/linux/arm/Makefile
18879         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18880         Add rt-aeabi_unwind_cpp_pr1.
18881         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18882         Add nptl-aeabi_unwind_cpp_pr1.
18883         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18884         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18885         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18886         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18887         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18888         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18890         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18891         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18892         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18893         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18895         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18896         Deconditionalize the code that was previously under [RESET_PID].
18897         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18899         * sysdeps/generic/exit-thread.h: New file.
18900         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18901         * include/unistd.h (__exit_thread): Remove declaration.
18902         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18903         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18904         * csu/libc-start.c: Include <exit-thread.h>.
18905         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18906         * nptl/pthread_create.c: Include <exit-thread.h>.
18907         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18908         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18909         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18910         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18911         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18912         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18913         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18914         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18915         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18916         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18917         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18918         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18919         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18920         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18921         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18922         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18923         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18925 2014-05-13  Andreas Schwab  <schwab@suse.de>
18927         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18929 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18931         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18932         (__ASSUME_UTIMES): Do not condition on kernel version.
18933         (__ASSUME_PSELECT): Define unconditionally.
18934         (__ASSUME_PPOLL): Likewise.
18935         (__ASSUME_ATFCTS): Likewise.
18936         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18937         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18938         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18939         (__ASSUME_UTIMENSAT): Define unconditionally.
18940         (__ASSUME_PRIVATE_FUTEX): Likewise.
18941         (__ASSUME_FALLOCATE): Likewise.
18942         (__ASSUME_O_CLOEXEC): Likewise.
18943         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18944         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18945         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18946         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18947         (__ASSUME_IN_NONBLOCK): Likewise.
18948         (__ASSUME_PIPE2): Likewise.
18949         (__ASSUME_EVENTFD2): Likewise.
18950         (__ASSUME_SIGNALFD4): Likewise.
18951         (__ASSUME_DUP3): Likewise.
18952         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18953         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18954         (__ASSUME_AT_RANDOM): Likewise.
18955         (__ASSUME_PREADV): Likewise.
18956         (__ASSUME_PWRITEV): Likewise.
18957         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18958         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18959         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18960         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18961         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18962         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18963         (__ASSUME_O_CLOEXEC): Define unconditionally.
18964         (__ASSUME_PSELECT): Do not undefine conditionally.
18965         (__ASSUME_PPOLL): Likewise.
18966         (__ASSUME_ATFCTS): Likewise.
18967         (__ASSUME_SET_ROBUST_LIST): Likewise.
18968         (__ASSUME_UTIMENSAT): Likewise.
18969         (__ASSUME_FDATASYNC): Define unconditionally.
18970         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18971         (__ASSUME_SIGFRAME_V2): Likewise.
18972         )__ASSUME_EVENTFD2): Likewise.
18973         (__ASSUME_SIGNALFD4): Likewise.
18974         (__ASSUME_PSELECT): Do not undefine conditionally.
18975         (__ASSUME_PPOLL): Likewise.
18976         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18977         (__ASSUME_PSELECT): Define unconditionally.
18978         (__ASSUME_PPOLL): Likewise.
18979         (__ASSUME_O_CLOEXEC): Likewise.
18980         (__ASSUME_SOCK_CLOEXEC): Likewise.
18981         (__ASSUME_IN_NONBLOCK): Likewise.
18982         (__ASSUME_PIPE2): Likewise.
18983         (__ASSUME_EVENTFD2): Likewise.
18984         (__ASSUME_SIGNALFD4): Likewise.
18985         (__ASSUME_DUP3): Likewise.
18986         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18987         (__ASSUME_O_CLOEXEC): Likewise.
18988         (__ASSUME_SOCK_CLOEXEC): Likewise.
18989         (__ASSUME_IN_NONBLOCK): Likewise.
18990         (__ASSUME_PIPE2): Likewise.
18991         (__ASSUME_EVENTFD2): Likewise.
18992         (__ASSUME_SIGNALFD4): Likewise.
18993         (__ASSUME_DUP3): Likewise.
18994         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18995         (__ASSUME_EVENTFD2): Likewise.
18996         (__ASSUME_SIGNALFD4): Likewise.
18997         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18999 2014-05-12  Andreas Schwab  <schwab@suse.de>
19001         [BZ #16932]
19002         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19003         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19004         than maximum RPC packet size.
19005         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19006         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19007         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19008         (_nss_nis_getservbyport_r): Likewise.
19010 2014-05-12  Will Newton  <will.newton@linaro.org>
19012         * malloc/Makefile (tests): Add tst-mallopt.
19013         * malloc/tst-mallopt.c: New file.
19015 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19017         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19018         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19020 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19022         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19023         (tst-tlsmod6.so): Likewise.
19025 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19027         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19029 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19031         [BZ #16064]
19032         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19033         and <dl-procinfo.h>.
19034         (__fegetenv): Save SSE state in envp->__eip if supported.
19035         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19036         envp->__eip if supported.
19037         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19038         and <dl-procinfo.h>.
19039         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19040         __data_offset and __data_selector in environment to 0.  Set SSE
19041         state if supported.
19042         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19043         test-fenv-sse.
19044         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19045         -mfpmath=sse.
19046         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19048 2014-05-09  Will Newton  <will.newton@linaro.org>
19050         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19051         and libc_relro_required for ARM.
19052         * sysdeps/arm/preconfigure: Regenerate.
19054 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19055             Stefan Liebler  <stli@linux.vnet.ibm.com>
19057         * config.make.in (enable-lock-elision): New Makefile variable.
19058         * configure.ac: Likewise.
19059         * configure: Regenerate.
19060         * sysdeps/s390/configure.ac:
19061         Add check for gcc transactions support.
19062         * sysdeps/s390/configure: Regenerate.
19063         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19064         Build elision files if enabled.
19065         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19066         Add lock elision support for s390.
19067         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19068         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19069         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19070         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19071         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19072         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19073         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19074         Likewise.
19075         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19076         Likewise.
19077         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19078         Likewise.
19079         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19080         Likewise.
19081         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19082         (__lll_timedlock_elision, __lll_lock_elision)
19083         (__lll_unlock_elision, __lll_trylock_elision)
19084         (lll_timedlock_elision, lll_lock_elision)
19085         (lll_unlock_elision, lll_trylock_elision): Add.
19086         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19087         (pthread_mutex_t): Add lock elision support for s390.
19089 2014-05-14  Wilco  <wdijkstr@arm.com>
19091         * sysdeps/arm/fclrexcpt.c: Cleanup.
19092         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19093         * sysdeps/arm/feenablxcpt.c: Cleanup.
19094         * sysdeps/arm/fegetenv.c: Cleanup.
19095         * sysdeps/arm/fegetexcept.c: Cleanup.
19096         * sysdeps/arm/fegetround.c: Cleanup.
19097         * sysdeps/arm/feholdexcpt.c: Cleanup.
19098         * sysdeps/arm/fesetenv.c: Cleanup.
19099         * sysdeps/arm/fesetround.c: Cleanup.
19100         * sysdeps/arm/feupdateenv.c: Cleanup.
19101         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19102         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19103         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19104         * sysdeps/arm/ftestexcept.c: Cleanup.
19105         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19106         * sysdeps/arm/setfpucw.c: Cleanup.
19108 2014-05-09  Will Newton  <will.newton@linaro.org>
19110         * sysdeps/arm/armv7/strcmp.S: New file.
19111         * NEWS: Mention addition of ARMv7 optimized strcmp.
19113 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19115         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19116         look for %.ac rather than %.in.
19118         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19119         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19120         * sysdeps/mach/hurd/configure: Regenerated.
19121         * sysdeps/unix/sysv/linux/configure: Regenerated.
19123         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19125 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19127         [BZ# 16922]
19128         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19129         (LONG_SUB): Ditto.
19130         (PTR_SUB): Ditto.
19132 2014-05-07  Andreas Schwab  <schwab@suse.de>
19134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19135         when skipping over non-matching result from nscd.
19137 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19139         [BZ #16876]
19140         * nptl/sockperf.c (client): Check socket return value.
19142         [BZ #16877]
19143         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19144         nscd security class.
19146 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19148         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19149         * sysdeps/arm/unwind.h: ... here.
19151 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19153         [BZ# 16916]
19154         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19155         Define.
19157 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19159         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19160         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19161         multiarch strncpy for PPC64.
19162         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19163         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19165         multiarch optimizations.
19166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19167         (__libc_ifunc_impl_list): Likewise.
19168         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19169         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19170         multiarch stpncpy for PPC64.
19171         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19172         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19174 2014-05-06  Andreas Schwab  <schwab@suse.de>
19176         [BZ #16912]
19177         * gmon/mcount.c (_MCOUNT_DECL): Use
19178         atomic_compare_and_exchange_bool_acq instead of
19179         catomic_compare_and_exchange_bool_acq.
19181 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19183         * elf/Makefile (others, install-bin): Remove pldd.
19184         (pldd-modules): Variable removed.
19185         ($(objpfx)pldd): Target removed.
19186         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19187         (others, install-bin): Append pldd here.
19188         ($(objpfx)pldd): New target.
19190         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19191         to 0, so the first #if test emitted later doesn't see it undefined.
19192         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19193         * sysdeps/gnu/errlist.c: Regenerated.
19195 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19197         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19198         [libc_hidden_builtin_def]: Define to empty value.
19199         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19200         [libc_hidden_builtin_def]: Likewise.
19201         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19202         [libc_hidden_builtin_def]: Likewise.
19203         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19204         [libc_hidden_builtin_def]: Likewise.
19205         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19206         __redirect_memcpy and define ifunc as default hidden symbol.
19207         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19208         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19210 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19212         * locale/iso-4217.def: Reintroduce XDR currency.
19214 2014-05-04  Allan McRae  <allan@archlinux.org>
19216         * po/eo.po: Update Esperanto translation from translation project.
19218 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19220         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19221         and FEATURE_INDEX_MAX to 1.
19222         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19224 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19226         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19227         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19228         * iconvdata/big5.c (ONE_DIRECTION): Define.
19229         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19230         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19231         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19232         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19233         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19234         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19235         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19236         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19237         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19238         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19239         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19240         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19241         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19242         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19243         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19244         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19245         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19246         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19247         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19248         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19249         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19250         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19251         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19252         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19253         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19254         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19255         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19256         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19257         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19258         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19259         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19260         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19261         * iconvdata/johab.c (ONE_DIRECTION): Define.
19262         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19263         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19264         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19265         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19266         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19267         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19268         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19269         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19270         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19271         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19273 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19275         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19276         (_IO_JUMPS_OFFSET): Define to 0.
19278         * nptl/sysdeps/pthread/bits/libc-lock.h
19279         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19280         (__libc_lock_define_initialized_recursive): Always define using
19281         initializer.  Modern compilers treat uninitialized (implicit zero) and
19282         explicit zero initializers the same (i.e. put the datum in bss).
19284 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19286         * nscd/nscd-client.h: Include <string.h>.
19288 2014-05-01  David S. Miller  <davem@davemloft.net>
19290         [BZ #16885]
19291         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19292         multiple zero bytes exist at the end of a string.
19293         Reported by Aurelien Jarno <aurelien@aurel32.net>
19295         * string/test-strcmp.c (check): Add explicit test for situations where
19296         there are multiple zero bytes after the first.
19298 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19300         [BZ #16890]
19301         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19302         when compiling wprintf.
19303         * stdio-common/tstdiomisc.c (t3): New function.
19304         (main): Call it.
19306 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19308         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19309         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19310         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19311         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19313 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19315         * stdlib/longlong.h: Updated from GCC.
19317 2014-05-01  Will Newton  <will.newton@linaro.org>
19318             Bernard Ogden  <bernie.ogden@linaro.org>
19320         * NEWS: Update fixed bug list.
19322         [BZ #15119]
19323         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19325 2014-04-30  David S. Miller  <davem@davemloft.net>
19327         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19328         (libc_feholdexcept_setround_sparc_ctx): New function.
19329         (libc_fesetenv_sparc_ctx): Likewise.
19330         (libc_feupdateenv_sparc_ctx): Likewise.
19331         (libc_feholdsetround_sparc_ctx): Likewise.
19332         (libc_feholdexcept_setround_ctx): Define.
19333         (libc_feholdexcept_setroundf_ctx): Likewise.
19334         (libc_feholdexcept_setroundl_ctx): Likewise.
19335         (libc_fesetenv_ctx): Likewise.
19336         (libc_fesetenvf_ctx): Likewise.
19337         (libc_fesetenvl_ctx): Likewise.
19338         (libc_feupdateenv_ctx): Likewise.
19339         (libc_feupdateenvf_ctx): Likewise.
19340         (libc_feupdateenvl_ctx): Likewise.
19341         (libc_feresetround_ctx): Likewise.
19342         (libc_feresetroundf_ctx): Likewise.
19343         (libc_feresetroundl_ctx): Likewise.
19344         (libc_feholdsetround_ctx): Likewise.
19345         (libc_feholdsetroundf_ctx): Likewise.
19346         (libc_feholdsetroundl_ctx): Likewise.
19348         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19349         with __USE_GNU instead of XOPEN cpp guards.
19351         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19352         0.
19354         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19355         with XOPEN cpp guards.
19357 2014-04-30  Julian Brown  <julian@codesourcery.com>
19359         [BZ #16888]
19360         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19361         handling.
19363 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19365         [BZ #9894]
19366         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19367         Change to 2.6.32.
19368         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19369         * sysdeps/unix/sysv/linux/configure: Regenerated.
19370         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19371         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19372         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19373         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19374         * README: Update reference to required Linux kernel version.
19375         * manual/install.texi (Linux): Update reference to required Linux
19376         kernel headers version.
19377         * INSTALL: Regenerated.
19379         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19380         header inclusion.
19381         [POSIX] (limits.h): Likewise.
19382         [POSIX] (math.h): Likewise.
19383         [POSIX] (sys/wait.h): Likewise.
19384         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19385         function.
19386         [POSIX] (stddef.h): Do not allow header inclusion.
19388 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19390         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19392 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19394         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19395         Return immediately after lll_futex_wake.
19397 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19399         [BZ #16791]
19400         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19401         structure.
19402         (datahead_init_pos): Call datahead_init_common early.
19403         (datahead_init_neg): Likewise.
19405         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19406         datahead_init_neg): New functions.
19407         * nscd/aicache.c (addhstaiX): Use them.
19408         * nscd/grpcache.c (cache_addgr): Likewise.
19409         * nscd/hstcache.c (cache_addhst): Likewise.
19410         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19411         * nscd/netgroupcache.c (do_notfound): Likewise.
19412         (addgetnetgrentX): Likewise.
19413         (addinnetgrX): Likewise.
19414         * nscd/pwdcache.c (cache_addpw): Likewise.
19415         * nscd/servicescache.c (cache_addserv): Likewise.
19417 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19418             Atsushi Onoe  <atsushi@onoe.org>
19420         [BZ #14308]
19421         [BZ #12994]
19422         [BZ #13651]
19423         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19424         one response is valid.
19425         * resolv/res_send.c (send_dg): Check for validity of other
19426         response if the current response is a referral.
19428 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19430         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19432 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19434         [BZ #16823]
19435         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19436         Always divide by positive zero when computing -Inf result.
19437         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19438         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19440 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19442         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19443         FPSCR if value do not change.
19444         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19445         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19446         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19447         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19448         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19449         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19450         function.
19452 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19454         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19455         * sysdeps/unix/sysv/linux/hppa: Move directory from
19456         ports/systeps/unix/sysv/linux/hppa.
19457         * README: Update listing for hppa-*-linux-gnu.
19459 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19461         [BZ #16754]
19462         * manual/stdio.texi (Hook functions): Fix types of stream hook
19463         functions.
19464         [BZ #16854]
19465         * socket/sys/socket.h: Fix typo in comment.
19467 2014-04-28  Wilco  <wdijkstr@arm.com>
19469         * sysdeps/arm/fenv_private.h: New file.
19470         * sysdeps/arm/math_private.h: New file.
19471         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19473 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19475         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19476         with __int128_t.
19477         (La_x86_64_retval): Likewise.
19479 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19481         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19482         fpsr if value didn't change.
19483         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19484         to fpcr if value didn't change.
19485         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19486         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19487         fpsr or fpcr if value didn't change.
19488         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19489         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19490         fpcr if value didn't change.
19491         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19492         to fpsr if value didn't change.
19494 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19496         * nptl/tst-sem3.c: Use test-skeleton.c
19497         (main): Rename to do_test.  Use return instead of
19498         exit.
19499         * nptl/tst-sem4.c: Use test-skeleton.c
19500         (main): Rename to do_test.
19502 2014-04-22  David S. Miller  <davem@davemloft.net>
19504         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19505         (struct sigaction): New struct member __glibc_reserved0, change
19506         type of sa_flags to int.
19508 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19510         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19511         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19513 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19515         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19516         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19518 2014-04-22  Will Newton  <will.newton@linaro.org>
19519             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19521         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19522         (__longjmp): Add longjmp and longjmp_target SystemTap
19523         probes.
19524         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19525         (__sigsetjmp): Add setjmp SystemTap probe.
19527 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19529         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19530         match manual order.
19532 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19534         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19536         * sysdeps/powerpc/fpu/fenv_private.h
19537         (libc_feholdexcept_setroundl_ctx): Define to
19538         libc_feholdexcept_setround_ppc_ctx.
19539         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19540         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19541         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19542         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19544 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19546         * sysdeps/aarch64/math-tests.h: New file.
19548 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19550         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19551         New.
19552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19553         Check and set bit_AVX2_Usable.
19554         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19555         macro.
19556         (bit_AVX2): Likewise.
19557         (index_AVX2_Usable): Likewise.
19558         (CPUID_AVX2): Likewise.
19559         (HAS_AVX2): Likewise.
19561 2014-04-17  Will Newton  <will.newton@linaro.org>
19563         * manual/setjmp.texi (System V contexts): Add note that
19564         calling setcontext on a context created by a call to a
19565         signal handler is undefined.  Update text to note that
19566         setcontext from a signal handler is possible but not
19567         recommended.
19569         [BZ #16629]
19570         * stdlib/tst-setcontext.c: Include signal.h.
19571         (main): Check that the signal stack before and
19572         after swapcontext is the same.
19574         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19575         Re-implement to restore registers in user code and avoid
19576         rt_sigreturn system call.
19578 2014-04-17  Wilco  <wdijkstr@arm.com>
19580         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19581         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19582         * math/test-fenv.c: Skip exception trap tests on targets which only
19583         support non-stop mode.
19585 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19586             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19588         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19589         (libc_feholdsetround_aarch64_ctx)
19590         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19591         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19592         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19593         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19594         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19595         (libc_feresetround_noexl_ctx): Define.
19597 2014-04-16  Richard Henderson  <rth@redhat.com>
19599         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19601         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19602         unwind tables.
19604         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19605         const from the non-libc, non-ldso copy.
19607         * sysdeps/alpha/libm-test-ulps: Regenerate.
19609 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19610             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19612         * sysdeps/aarch64/fpu/math_private.h: New file.
19614 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19616         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19618 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19620         [BZ #16275]
19621         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19622         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19623         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19624         Intel MPX bound registers before _dl_profile_fixup.
19625         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19626         registers after _dl_profile_fixup.  Save and restore bound
19627         registers bnd0/bnd1 when calling _dl_call_pltexit.
19628         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19629         (LR_BND_OFFSET): Likewise.
19630         (LRV_BND0_OFFSET): Likewise.
19631         (LRV_BND1_OFFSET): Likewise.
19633 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19635         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19636         to...
19637         * sysdeps/mach/hurd/i386/tls.h: ... here.
19638         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19639         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19640         fields.
19642 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19644         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19646 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19648         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19650 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19652         [BZ #14770]
19653         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19654         * sysdeps/s390/configure: Regenerate.
19656         [BZ #16824]
19657         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19658         Set round-to-nearest internally to reduce error accumulation.
19660 2014-04-16  Alan Modra  <amodra@gmail.com>
19662         [BZ #16740]
19663         [BZ #16619]
19664         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19665         * math/libm-test.inc (frexp_test_data): Add tests.
19666         * NEWS: Update fixed bug list.
19668 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19670         * benchtests/Makefile: Depend on libraries in build directory.
19671         (bench-math): Separate out math tests.
19672         (bench-pthread): Separate out pthread tests.
19673         (bench): Include math and pthread tests.
19675 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19677         [BZ #16831]
19678         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19679         _dl_debug_initialize.
19681         * configure.ac: Remove SELinux header check.
19682         * configure: Regenerate.
19683         * nscd/selinux.c (perms): Array of const char* to permission names.
19684         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19685         default policy. Call string_to_security_class and string_to_av_perm to
19686         translate strings. Enforce default policy and call avs_has_perm with
19687         results of translated strings.
19689 2014-04-13  David S. Miller  <davem@davemloft.net>
19691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19693 2014-04-12  Allan McRae  <allan@archlinux.org>
19695         [BZ #16838]
19696         * manual/string.texi (Collation Functions): Fix qsort argument
19697         order in example.
19698         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19700 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19702         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19703         Make the test a no-op if there are no exceptions defined.
19705 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19707         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19708         enable-hardcoded-path-in-tests
19710 2014-04-11  Will Newton  <will.newton@linaro.org>
19712         * benchtests/Makefile (extra-objs): Add json-lib.o.
19713         (bench-func): Tidy up JSON output.
19714         * benchtests/bench-skeleton.c: Include json-lib.h.
19715         (main): Use JSON library functions to do output of
19716         benchmark results.
19717         * benchtests/bench-timing-type.c (main): Output the
19718         timing type simply, leaving formatting to the user.
19719         * benchtests/json-lib.c: New file.
19720         * benchtests/json-lib.h: Likewise.
19722 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19724         [BZ #15215]
19725         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19726         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19727         memory barriers.  Add comments.
19728         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19729         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19730         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19731         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19732         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19733         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19735 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19737         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19738         * sysdeps/s390/s390-64/configure.ac: ... this ...
19739         * sysdeps/s390/configure.ac: ... to here.
19740         * sysdeps/s390/s390-32/configure: Delete file.
19741         * sysdeps/s390/s390-64/configure: Delete file.
19742         * sysdeps/s390/configure: Regenerate.
19744 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19746         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19748 2014-04-11  Will Newton  <will.newton@linaro.org>
19750         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19751         to zero if it is not defined elsewhere.  (mtrim): Test
19752         the value of MALLOC_DEBUG with #if rather than #ifdef.
19754 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19756         * benchtests/pthread_once-inputs: New file.
19757         * benchtests/pthread_once-source.c: New file.
19758         * benchtests/README: Update documentation.
19760 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19761             H.J. Lu  <hongjiu.lu@intel.com>
19763         [BZ #16275]
19764         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19765         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19766         * sysdeps/x86_64/configure: Regenerated.
19767         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19768         macro.
19769         (REGISTER_SAVE_RAX): Likewise.
19770         (REGISTER_SAVE_RCX): Likewise.
19771         (REGISTER_SAVE_RDX): Likewise.
19772         (REGISTER_SAVE_RSI): Likewise.
19773         (REGISTER_SAVE_RDI): Likewise.
19774         (REGISTER_SAVE_R8): Likewise.
19775         (REGISTER_SAVE_R9): Likewise.
19776         (REGISTER_SAVE_BND0): Likewise.
19777         (REGISTER_SAVE_BND1): Likewise.
19778         (REGISTER_SAVE_BND2): Likewise.
19779         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19780         bound registers when calling _dl_fixup.
19782 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19784         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19785         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19786         of its definition.
19787         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19788         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19789         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19790         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19791         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19792         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19793         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19795 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19797         [BZ #15514]
19798         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19799         pathconf(_PC_NAME_MAX).
19801 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19803         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19804         Remove macro usage.
19805         (__PTHREAD_SPINS): Move definition to ...
19806         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19807         (__PTHREAD_SPINS): ... here.
19808         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19809         (__PTHREAD_SPIN): Likewise.
19810         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19811         (__PTHREAD_SPIN): Likewise.
19812         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19813         (__PTHREAD_SPIN): Likewise.
19814         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19815         (__PTHREAD_SPIN): Likewise.
19816         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19817         (__PTHREAD_SPIN): Likewise.
19818         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19819         (__PTHREAD_SPIN): Likewise.
19820         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19821         (__PTHREAD_SPIN): Likewise.
19822         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19823         (__PTHREAD_SPIN): Likewise.
19824         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19825         (__PTHREAD_SPIN): Likewise.
19826         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19827         (__PTHREAD_SPIN): Likewise.
19828         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19829         (__PTHREAD_SPIN): Likewise.
19830         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19831         (__PTHREAD_SPIN): Likewise.
19833         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19834         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19835         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19836         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19837         imply folder.
19838         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19839         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19840         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19841         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19842         correct imply path.
19843         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19844         strlen symbol for non multi-arch builds.
19845         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19846         missing hidden_def and weak_alias.
19848 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19850         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19852 2014-04-07  Will Newton  <will.newton@linaro.org>
19854         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19855         and contents.  [!_LIBC] Remove #ifndef and contents.
19856         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19857         * string/memccpy.c (__memccpy): Use ANSI prototype.
19858         * string/memfrob.c (memfrob): Likewise.
19859         * string/strcoll.c (STRCOLL): Likewise.
19860         * string/strlen.c (strlen): Likewise.
19861         * string/strtok.c (STRTOK): Likewise.
19862         * string/strcat.c: Remove unused #include of memcopy.h.
19863         (strcat): Use ANSI prototype.
19864         * string/strchr.c: Remove unused #include of memcopy.h.
19865         (strchr): Use ANSI prototype.
19866         * string/strcmp.c: Remove unused #include of memcopy.h.
19867         (strcmp): Use ANSI prototype.
19868         * string/strcpy.c: Remove unused #include of memcopy.h.
19869         (strcpy): Use ANSI prototype.
19871 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19873         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19874         * config.make.in (config-extra-cppflags): Set it from
19875         libc_extra_cppflags.
19876         * configure.ac (libc_extra_cflags): Make it accumulate over
19877         configure fragments.
19878         (libc_extra_cppflags): New flag.
19879         * configure. Regenerate.
19880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19881         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19882         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19885         [BZ #16815]
19886         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19887         result for FE_DOWNWARD rounding mode.
19888         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19889         Likewise.
19890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19892 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19894         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19895         in function argument name.
19897 2014-04-03  David Svoboda  <svoboda@cert.org>
19899         [BZ #5666]
19900         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19901         explicitly.
19903 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19905         * elf/dl-unmap-segments.h: New file.
19906         * sysdeps/generic/ldsodefs.h
19907         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19908         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19909         * elf/dl-fptr.c: Likewise.
19910         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19911         * sysdeps/aarch64/tlsdesc.c: Likewise.
19912         * sysdeps/arm/tlsdesc.c: Likewise.
19913         * sysdeps/i386/tlsdesc.c: Likewise.
19914         * sysdeps/tile/dl-runtime.c: Likewise.
19915         * sysdeps/x86_64/tlsdesc.c: Likewise.
19916         * elf/dl-load.h: New file.
19917         * elf/dl-load.c: Include it.
19918         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19919         Macros moved to dl-load.h.
19920         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19921         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19922         Use _dl_unmap_segments in place of __munmap.
19923         Break out segment-mapping loop into ...
19924         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19926 2014-04-03  Will Newton  <will.newton@linaro.org>
19928         * elf/dl-lookup.c (do_lookup_x): Remove comment
19929         referring to nested function and move variable
19930         declarations down to before first use.
19932 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19934         [BZ #16799]
19935         [BZ #16800]
19936         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19937         with 0 numerator.
19938         * math/s_catanf.c (__catanf): Likewise.
19939         * math/s_catanh.c (__catanh): Likewise.
19940         * math/s_catanhf.c (__catanhf): Likewise.
19941         * math/s_catanhl.c (__catanhl): Likewise.
19942         * math/s_catanl.c (__catanl): Likewise.
19943         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19944         by positive zero when computing -Inf result.
19945         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19946         (catanh_test): Likewise.
19947         * sysdeps/i386/fpu/libm-test-ulps: Update.
19948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19950         [BZ #16789]
19951         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19952         instead of using underflowing value in computing result.
19953         * math/s_clog10.c (__clog10): Likewise.
19954         * math/s_clog10f.c (__clog10f): Likewise.
19955         * math/s_clog10l.c (__clog10l): Likewise.
19956         * math/s_clogf.c (__clogf): Likewise.
19957         * math/s_clogl.c (__clogl): Likewise.
19958         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19959         (clog10_test): Likewise.
19960         * sysdeps/i386/fpu/libm-test-ulps: Update.
19961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19963 2014-04-02  Alan Modra  <amodra@gmail.com>
19965         [BZ #16739]
19966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19967         output when value is near a power of two.  Use int64_t for lx and
19968         remove casts.  Use decimal rather than hex exponent constants.
19969         Don't use long double multiplication when double will suffice.
19970         * math/libm-test.inc (nextafter_test_data): Add tests.
19971         * NEWS: Add 16739 and 16786 to bug list.
19973         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19975         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19977 2014-04-01  Will Newton  <will.newton@linaro.org>
19979         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19980         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19982 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19984         [BZ #13347]
19985         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19986         * nptl/tst-setuid2.c: New file.
19987         * nptl/Makefile (xtests): Add tst-setuid2.
19989 2014-04-01  Alan Modra  <amodra@gmail.com>
19991         [BZ #16786]
19992         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19994 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19996         [BZ #6803]
19997         [BZ #6804]
19998         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19999         set errno as appropriate.
20000         * math/w_scalbf.c (__scalbf): Likewise.
20001         * math/w_scalbl.c (__scalbl): Likewise.
20002         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20003         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20004         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20005         Add more NaN tests.
20007         [BZ #16349]
20008         * math/w_atan2.c: Include <errno.h>.
20009         (__atan2): Set errno for result underflowing to zero.
20010         * math/w_atan2f.c: Include <errno.h>.
20011         (__atan2f): Set errno for result underflowing to zero.
20012         * math/w_atan2l.c: Include <errno.h>.
20013         (__atan2l): Set errno for result underflowing to zero.
20014         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20015         tests.
20016         * math/auto-libm-test-out: Regenerated.
20018 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20020         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20021         Encode instruction correctly in little endian.
20022         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20023         Likewise.
20024         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20025         Likewise.
20026         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20027         Likewise.
20028         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20029         Likewise.
20031 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20033         [BZ #9894]
20034         * sysdeps/unix/sysv/linux/kernel-features.h
20035         [__sparc__ && !__arch64__ && !__sparc_v9__]
20036         (__ASSUME_SET_ROBUST_LIST): Do not define.
20037         [__sparc__ && !__arch64__ && !__sparc_v9__]
20038         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20039         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20040         Likewise.
20041         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20042         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20043         (__ASSUME_REQUEUE_PI): Likewise.
20044         (__ASSUME_SET_ROBUST_LIST): Likewise.
20045         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20046         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20047         Undefine.
20048         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20049         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20050         Likewise.
20051         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20052         Likewise.
20053         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20054         Likewise.
20055         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20056         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20057         Undefine.
20058         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20059         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20060         Likewise.
20062         [BZ #16648]
20063         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20064         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20065         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20067 2014-03-31  Will Newton  <will.newton@linaro.org>
20069         * benchtests/Makefile (bench): Add ffs and ffsll to list
20070         of tests.
20071         * benchtests/ffs-inputs: New file.
20072         * benchtests/ffsll-inputs: Likewise.
20074 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20076         [BZ #16770]
20077         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20078         too large before casting to int.
20079         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20080         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20081         * math/libm-test.inc (scalb_test_data): Add more tests.
20083 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20085         * benchtests/Makefile (DETAILED_OPT): New make option.
20086         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20087         set.
20088         * benchtests/bench-skeleton.c: Include stdbool.h.
20089         (main): Store and print timings per input.
20090         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20091         member to each argument value.
20092         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20093         (_print_arg_data): Initialize per-input timing to 0.
20095         * benchtests/Makefile (timing-type): New binary.
20096         (bench-clean): Also remove bench-timing-type.
20097         (bench): New target for timing-type.
20098         (bench-func): Print output in JSON format.
20099         * benchtests/bench-skeleton.c (main): Print output in JSON
20100         format.
20101         * benchtests/bench-timing-type.c: New file.
20102         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20103         (TIMING_PRINT_STATS): Remove.
20104         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20105         name separately.
20107         * benchtests/bench-modf.c: Remove.
20108         * benchtests/modf-inputs: New inputs file.
20110 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20112         [BZ #16362]
20113         * math/s_clog10.c (M_PI_LOG10E): New macro.
20114         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20115         imaginary parts are 0.
20116         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20117         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20118         imaginary parts are 0.
20119         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20120         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20121         imaginary parts are 0.
20122         * math/libm-test.inc (clog10_test_data): Update expected results
20123         for when real and imaginary parts are 0.
20125 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20127         * elf/dl-load.c: Finish conversion of __builtin_expect into
20128         __glibc_{un}likely.
20130 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20132         [BZ #16348]
20133         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20134         1+x for argument with exponent below -67.
20135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20136         Likewise.
20137         * math/auto-libm-test-in: Add more tests of exp.
20138         * math/auto-libm-test-out: Regenerated.
20140 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20142         [BZ #16759]
20143         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20144         (nscd_getnetgrent): Use it.
20146         [BZ #16760]
20147         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20148         of stpcpy.
20150 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20152         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20153         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20154         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20155         (lll_robust_unlock): Remove out of line section. Use cfi
20156         intrinsics.
20157         (LLL_STUB_UNWIND_INFO*): Remove.
20158         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20159         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20160         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20161         (lll_robust_unlock): Remove out of line section. Use cfi
20162         intrinsics.
20163         (LLL_STUB_UNWIND_INFO*): Remove.
20165 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20167         [BZ #16758]
20168         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20169         blank values.
20171 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20173         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20175 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20177         [BZ #16198]
20178         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20179         fnstenv.
20180         * math/test-fenv-preserve.c: New file.
20181         * math/Makefile (tests): Add test-fenv-preserve.
20183 2014-03-26  Will Newton <will.newton@linaro.org>
20185         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20187 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20189         * scripts/versionlist.awk: Partition the version sets and emit all
20190         GLIBC_* (sorted) before all others (sorted).
20192 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20194         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20195         GLIBC_2.2.5 version.
20197 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20199         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20200         calls.
20202         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20203         previous change.
20205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20207 2014-03-25  Andreas Schwab  <schwab@suse.de>
20209         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20210         label to be used after in6ailist is initialized.
20212 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20214         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20215         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20217 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20219         [BZ #16357]
20220         [BZ #16599]
20221         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20222         min_plus_half.
20223         (fp_formats): Update initializers.
20224         (init_fp_formats): Initialize new field.
20225         (output_for_one_input_case): Allow underflow for results up to
20226         min_plus_half.
20227         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20228         * math/auto-libm-test-in: Don't mark some underflows from asin and
20229         atanh as spurious.
20230         * math/auto-libm-test-out: Regenerated.
20231         * sysdeps/i386/fpu/libm-test-ulps: Update.
20232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20234 2014-03-25  Andreas Schwab  <schwab@suse.de>
20236         * libio/Makefile (tst-ftell-partial-wide-ENV)
20237         (tst-ftell-active-handler-ENV): Define.
20239 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20241         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20243 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20245         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20247 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20249         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20250         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20251         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20253 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20255         [BZ #16634]
20256         * elf/dl-load.c (open_verify): Add mode parameter.
20257         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20258         (open_path): Change from boolean 'secure' to complete flag 'mode'
20259         (_dl_map_object): Adjust.
20260         * elf/Makefile (tests): Add tst-dlopen-aout.
20261         * elf/tst-dlopen-aout.c: New test.
20263 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20265         [BZ #16714]
20266         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20267         (struct stat): Rename member pad0 to __glibc_reserved0.
20269         [BZ #16712]
20270         * sysdeps/s390/s390-32/bits/wordsize.h
20271         (__WORDSIZE32_SIZE_ULONG): New define.
20272         * sysdeps/s390/s390-64/bits/wordsize.h
20273         (__WORDSIZE32_SIZE_ULONG): Likewise.
20274         * sysdeps/generic/stdint.h (SIZE_MAX):
20275         Define as UL if __WORDSIZE32_SIZE_ULONG.
20277         [BZ #16713]
20278         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20279         (__glibc_reserved0): New variable.
20280         (sa_flags): Change type to int.
20282         * posix/Makefile (before-compile): Use += before-compile instead
20283         of a :=.
20285         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20286         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20288 2014-03-20  Andreas Schwab  <schwab@suse.de>
20290         [BZ #16743]
20291         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20292         non-matching result from nscd.
20294 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20296         * scripts/bench.py: Moved to ...
20297         * benchtests/scripts/bench.py: ... here.
20298         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20300 2014-03-24  Andreas Schwab  <schwab@suse.de>
20302         [BZ #16002]
20303         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20304         alloca_account and account alloca use for struct in6ailist.
20306 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20308         [BZ #16284]
20309         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20310         rounding mode to recompute results that overflow to infinity or
20311         underflow to zero.
20312         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20313         bug 16284.
20314         * math/auto-libm-test-out: Regenerated.
20315         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20316         (ccosh_test): Likewise.
20317         (csin_test_data): Use plus_oflow.
20318         (csin_test): Use ALL_RM_TEST.
20319         (csinh_test_data): Use plus_oflow.
20320         (csinh_test): Use ALL_RM_TEST.
20321         * sysdeps/i386/fpu/libm-test-ulps: Update.
20322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20324 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20326         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20327         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20328         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20330         [BZ #16731]
20331         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20332         when x - 1 is zero.
20333         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20334         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20335         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20336         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20337         argument is 1.
20338         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20339         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20340         zero.
20341         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20342         * sysdeps/i386/fpu/libm-test-ulps: Update.
20343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20345 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20347         * scripts/bench.pl: Remove file.
20348         * scripts/bench.py: New benchmark script.
20349         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20350         * benchtests/README: Mention python dependency.
20351         * scripts/pylintrc: New file.
20352         * scripts/pylint: New file.
20354         * bits/mathdef.h: Use #ifdef instead of #if.
20355         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20356         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20357         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20358         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20359         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20360         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20362 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20363             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20365         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20367         and strpbrk-ppc64 objects.
20368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20369         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20370         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20371         multiarch strpbrk for POWER7.
20372         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20373         multiarch strpbrk for PPC64.
20374         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20375         ifunc selector.
20376         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20377         strpbrk for POWER7.
20379 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20381         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20382         (atan_test): Likewise.
20383         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20384         (atanh_test): Use ALL_RM_TEST.
20385         (atan2_test_data): Likewise.
20386         (cabs_test): Likewise.
20387         (cacosh_test): Likewise.
20388         (carg_test): Likewise.
20389         (casin_test): Likewise.
20390         (casinh_test): Likewise.
20391         (cbrt_test): Likewise.
20392         (csqrt_test): Likewise.
20393         (erf_test): Likewise.
20394         (erfc_test): Likewise.
20395         (pow10_test): Likewise.
20396         (exp2_test): Likewise.
20397         (hypot_test): Likewise.
20398         (j0_test): Likewise.
20399         (j1_test): Likewise.
20400         (lgamma_test): Likewise.
20401         (gamma_test): Likewise.
20402         (sincos_test): Likewise.
20403         (tanh_test): Likewise.
20404         (y0_test): Likewise.
20405         (y1_test): Likewise.
20406         * sysdeps/i386/fpu/libm-test-ulps: Update.
20407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20409 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20411         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20413         and strcspn-ppc64 objects.
20414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20415         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20416         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20417         multiarch strcspn for POWER7.
20418         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20419         multiarch strcspn for PPC64.
20420         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20421         ifunc selector.
20422         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20423         strcspn for POWER7.
20425 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20427         * math/gen-libm-test.pl (generate_testfile): Expect only function
20428         name as argument to AUTO_TESTS_* and pass results for all rounding
20429         modes to parse_args.
20430         (parse_auto_input): Separate inputs of automatic tests from
20431         outputs before storing in %auto_tests.
20432         * math/libm-test.inc (acos_test_data): Update call to
20433         AUTO_TESTS_f_f.
20434         (acos_test): Use ALL_RM_TEST.
20435         (acos_tonearest_test_data): Remove.
20436         (acos_test_tonearest): Likewise.
20437         (acos_towardzero_test_data): Likewise.
20438         (acos_test_towardzero): Likewise.
20439         (acos_downward_test_data): Likewise.
20440         (acos_test_downward): Likewise.
20441         (acos_upward_test_data): Likewise.
20442         (acos_test_upward): Likewise.
20443         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20444         (asin_test_data): Likewise.
20445         (asin_test): Use ALL_RM_TEST.
20446         (asin_tonearest_test_data): Remove.
20447         (asin_test_tonearest): Likewise.
20448         (asin_towardzero_test_data): Likewise.
20449         (asin_test_towardzero): Likewise.
20450         (asin_downward_test_data): Likewise.
20451         (asin_test_downward): Likewise.
20452         (asin_upward_test_data): Likewise.
20453         (asin_test_upward): Likewise.
20454         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20455         (atan_test_data): Likewise.
20456         (atanh_test_data): Likewise.
20457         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20458         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20459         (carg_test_data): Likewise.
20460         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20461         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20462         (ccosh_test_data): Likewise.
20463         (cexp_test_data): Likewise.
20464         (clog_test_data): Likewise.
20465         (clog10_test_data): Likewise.
20466         (cos_test_data): Update call to AUTO_TESTS_f_f.
20467         (cos_test): Use ALL_RM_TEST.
20468         (cos_tonearest_test_data): Remove.
20469         (cos_test_tonearest): Likewise.
20470         (cos_towardzero_test_data): Likewise.
20471         (cos_test_towardzero): Likewise.
20472         (cos_downward_test_data): Likewise.
20473         (cos_test_downward): Likewise.
20474         (cos_upward_test_data): Likewise.
20475         (cos_test_upward): Likewise.
20476         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20477         (cosh_test): Use ALL_RM_TEST.
20478         (cosh_tonearest_test_data): Remove.
20479         (cosh_test_tonearest): Likewise.
20480         (cosh_towardzero_test_data): Likewise.
20481         (cosh_test_towardzero): Likewise.
20482         (cosh_downward_test_data): Likewise.
20483         (cosh_test_downward): Likewise.
20484         (cosh_upward_test_data): Likewise.
20485         (cosh_test_upward): Likewise.
20486         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20487         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20488         (ctan_test_data): Likewise.
20489         (ctan_test): Use ALL_RM_TEST.
20490         (ctan_tonearest_test_data): Remove.
20491         (ctan_test_tonearest): Likewise.
20492         (ctan_towardzero_test_data): Likewise.
20493         (ctan_test_towardzero): Likewise.
20494         (ctan_downward_test_data): Likewise.
20495         (ctan_test_downward): Likewise.
20496         (ctan_upward_test_data): Likewise.
20497         (ctan_test_upward): Likewise.
20498         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20499         (ctanh_test): Use ALL_RM_TEST.
20500         (ctanh_tonearest_test_data): Remove.
20501         (ctanh_test_tonearest): Likewise.
20502         (ctanh_towardzero_test_data): Likewise.
20503         (ctanh_test_towardzero): Likewise.
20504         (ctanh_downward_test_data): Likewise.
20505         (ctanh_test_downward): Likewise.
20506         (ctanh_upward_test_data): Likewise.
20507         (ctanh_test_upward): Likewise.
20508         (erf_test_data): Update call to AUTO_TESTS_f_f.
20509         (erfc_test_data): Likewise.
20510         (exp_test_data): Likewise.
20511         (exp_test): Use ALL_RM_TEST.
20512         (exp_tonearest_test_data): Remove.
20513         (exp_test_tonearest): Likewise.
20514         (exp_towardzero_test_data): Likewise.
20515         (exp_test_towardzero): Likewise.
20516         (exp_downward_test_data): Likewise.
20517         (exp_test_downward): Likewise.
20518         (exp_upward_test_data): Likewise.
20519         (exp_test_upward): Likewise.
20520         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20521         (exp10_test): Use ALL_RM_TEST.
20522         (exp10_tonearest_test_data): Remove.
20523         (exp10_test_tonearest): Likewise.
20524         (exp10_towardzero_test_data): Likewise.
20525         (exp10_test_towardzero): Likewise.
20526         (exp10_downward_test_data): Likewise.
20527         (exp10_test_downward): Likewise.
20528         (exp10_upward_test_data): Likewise.
20529         (exp10_test_upward): Likewise.
20530         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20531         (expm1_test_data): Likewise.
20532         (expm1_test): Use ALL_RM_TEST.
20533         (expm1_tonearest_test_data): Remove.
20534         (expm1_test_tonearest): Likewise.
20535         (expm1_towardzero_test_data): Likewise.
20536         (expm1_test_towardzero): Likewise.
20537         (expm1_downward_test_data): Likewise.
20538         (expm1_test_downward): Likewise.
20539         (expm1_upward_test_data): Likewise.
20540         (expm1_test_upward): Likewise.
20541         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20542         (fma_test): Use ALL_RM_TEST.
20543         (fma_towardzero_test_data): Remove.
20544         (fma_test_towardzero): Likewise.
20545         (fma_downward_test_data): Likewise.
20546         (fma_test_downward): Likewise.
20547         (fma_upward_test_data): Likewise.
20548         (fma_test_upward): Likewise.
20549         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20550         (j0_test_data): Update call to AUTO_TESTS_f_f.
20551         (j1_test_data): Likewise.
20552         (jn_test_data): Update call to AUTO_TESTS_if_f.
20553         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20554         (log_test_data): Update call to AUTO_TESTS_f_f.
20555         (log10_test_data): Likewise.
20556         (log1p_test_data): Likewise.
20557         (log2_test_data): Likewise.
20558         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20559         (pow_tonearest_test_data): Likewise.
20560         (sin_test_data): Update call to AUTO_TESTS_f_f.
20561         (sin_test): Use ALL_RM_TEST.
20562         (sin_tonearest_test_data): Remove.
20563         (sin_test_tonearest): Likewise.
20564         (sin_towardzero_test_data): Likewise.
20565         (sin_test_towardzero): Likewise.
20566         (sin_downward_test_data): Likewise.
20567         (sin_test_downward): Likewise.
20568         (sin_upward_test_data): Likewise.
20569         (sin_test_upward): Likewise.
20570         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20571         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20572         (sinh_test): Use ALL_RM_TEST.
20573         (sinh_tonearest_test_data): Remove.
20574         (sinh_test_tonearest): Likewise.
20575         (sinh_towardzero_test_data): Likewise.
20576         (sinh_test_towardzero): Likewise.
20577         (sinh_downward_test_data): Likewise.
20578         (sinh_test_downward): Likewise.
20579         (sinh_upward_test_data): Likewise.
20580         (sinh_test_upward): Likewise.
20581         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20582         (sqrt_test): Use ALL_RM_TEST.
20583         (sqrt_tonearest_test_data): Remove.
20584         (sqrt_test_tonearest): Likewise.
20585         (sqrt_towardzero_test_data): Likewise.
20586         (sqrt_test_towardzero): Likewise.
20587         (sqrt_downward_test_data): Likewise.
20588         (sqrt_test_downward): Likewise.
20589         (sqrt_upward_test_data): Likewise.
20590         (sqrt_test_upward): Likewise.
20591         (tan_test_data): Update call to AUTO_TESTS_f_f.
20592         (tan_test): Use ALL_RM_TEST.
20593         (tan_tonearest_test_data): Remove.
20594         (tan_test_tonearest): Likewise.
20595         (tan_towardzero_test_data): Likewise.
20596         (tan_test_towardzero): Likewise.
20597         (tan_downward_test_data): Likewise.
20598         (tan_test_downward): Likewise.
20599         (tan_upward_test_data): Likewise.
20600         (tan_test_upward): Likewise.
20601         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20602         (tgamma_test_data): Likewise.
20603         (y0_test_data): Likewise.
20604         (y1_test_data): Likewise.
20605         (yn_test_data): Update call to AUTO_TESTS_if_f.
20606         (main): Do not call removed functions.
20608 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20610         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20611         (ldexp_test_data): Remove.
20612         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20613         scalbn_test_data.
20614         (scalb_test): Use ALL_RM_TEST.
20616 2014-03-19  Andreas Schwab  <schwab@suse.de>
20618         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20620 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20622         [BZ #16649]
20623         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20624         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20625         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20627         (__ASSUME_PREADV): Undefine.
20628         (__ASSUME_PWRITEV): Likewise.
20630 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20632         * bits/mman-linux.h: Add comment about non-Linux use.
20633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20634         bits/mman-linux.h resting place.
20636         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20637         * bits/mman-linux.h: ... here.
20639 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20641         * conform/conformtest.pl: Add standard definition when calling C
20642         preprocessor on data files.
20643         (checknamespace): Remove unused variable.
20645 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20647         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20648         minus_oflow, plus_uflow and minus_uflow in expected results.
20649         * math/libm-test.inc (scalbn_test_data): Add more tests of
20650         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20651         minus_uflow.
20652         (scalbn_test): Use ALL_RM_TEST.
20653         (scalbln_test_data): Add more tests of negative arguments.  Use
20654         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20655         (scalbln_test): Use ALL_RM_TEST.
20657 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20659         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20661 2014-03-18  Will Newton  <will.newton@linaro.org>
20663         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20664         inaccurate comment.
20666 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20668         * Makerules [!subdir] (check-abi): Exit with error status if a
20669         test failed.
20671 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20673         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20674         for rint.  Include results for all rounding modes.
20675         (nearbyint_test): Use ALL_RM_TEST.
20676         (rint_test_data): Include all tests used for nearbyint.
20678 2014-03-17  Will Newton  <will.newton@linaro.org>
20680         * nptl/sysdeps/pthread/pthread.h: Revert previous
20681         change.
20683         * sysdeps/generic/ldsodefs.h: Revert previous
20684         change.
20686         * libio/genops.c: Revert previous change.
20687         * libio/libioP.h: Likewise.
20688         * stdio-common/vfprintf.c: Likewise.
20690         * sysdeps/generic/math_private.h: Revert previous
20691         change.
20693         * sysdeps/generic/math_private.h: Check whether
20694         HAVE_RM_CTX is defined with #ifdef rather
20695         than #if.
20697         * argp/argp-fmtstream.h: Check whether
20698         __STRICT_ANSI__ is defined with #ifdef rather
20699         than #if.
20700         * argp/argp.h: Likewise.
20702         * libio/genops.c: Check whether
20703         _IO_JUMPS_OFFSET is defined with #ifdef rather
20704         than #if.
20705         * libio/libioP.h: Likewise.
20706         * stdio-common/vfprintf.c: Likewise.
20708         * sysdeps/generic/ldsodefs.h: Check whether
20709         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20710         than #if.
20712         * nptl/sysdeps/pthread/pthread.h: Check
20713         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20714         its value.
20716 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20718         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20719         setting O_APPEND.
20720         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20721         test case.
20723         [BZ #16680]
20724         * libio/fileops.c (_IO_file_open): Seek to end of file but
20725         don't cache the offset.
20726         (get_file_offset): Remove function.
20727         (do_ftell): Use cached offset when available.
20728         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20729         don't cache the offset.
20730         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20731         case.
20732         (do_one_test): Call it.
20733         (do_ftell_test): Fix up expected old offset for a+ mode.
20734         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20735         available.
20737         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20738         up test status with function return status.
20739         (do_write_test): Likewise.
20740         (do_append_test): Likewise.
20742         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20743         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20744         Remove.
20746 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20748         * math/gen-libm-test.pl (parse_args): Handle results specified for
20749         each rounding mode separately.
20750         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20751         tests and results from lrint_tonearest_test_data,
20752         lrint_towardzero_test_data, lrint_downward_test_data and
20753         lrint_upward_test_data.
20754         (lrint_test): Use ALL_RM_TEST.
20755         (lrint_tonearest_test_data): Remove.
20756         (lrint_test_tonearest): Likewise.
20757         (lrint_towardzero_test_data): Likewise.
20758         (lrint_test_towardzero): Likewise.
20759         (lrint_downward_test_data): Likewise.
20760         (lrint_test_downward): Likewise.
20761         (lrint_upward_test_data): Likewise.
20762         (lrint_test_upward): Likewise.
20763         (llrint_test_data): Merge in per-rounding-mode tests and results
20764         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20765         llrint_downward_test_data and llrint_upward_test_data.
20766         (llrint_test): Use ALL_RM_TEST.
20767         (llrint_tonearest_test_data): Remove.
20768         (llrint_test_tonearest): Likewise.
20769         (llrint_towardzero_test_data): Likewise.
20770         (llrint_test_towardzero): Likewise.
20771         (llrint_downward_test_data): Likewise.
20772         (llrint_test_downward): Likewise.
20773         (llrint_upward_test_data): Likewise.
20774         (llrint_test_upward): Likewise.
20775         (rint_test_data): Merge in per-rounding-mode tests and results
20776         from rint_tonearest_test_data, rint_towardzero_test_data,
20777         rint_downward_test_data and rint_upward_test_data.  Add
20778         per-rounding-mode results for tests not in those arrays.
20779         (rint_test): Use ALL_RM_TEST.
20780         (rint_tonearest_test_data): Remove.
20781         (rint_test_tonearest): Likewise.
20782         (rint_towardzero_test_data): Likewise.
20783         (rint_test_towardzero): Likewise.
20784         (rint_downward_test_data): Likewise.
20785         (rint_test_downward): Likewise.
20786         (rint_upward_test_data): Likewise.
20787         (rint_test_upward): Likewise.
20788         (main): Don't call removed functions.
20790 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20792         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20793         "Compiled on ..." crapola.  It is anti-useful.
20795 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20797         * scripts/evaluate-test.sh: Handle fourth argument to determine
20798         whether test run should stop on failure.
20799         * Makeconfig (stop-on-test-failure): New variable.
20800         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20801         $(stop-on-test-failure).
20802         * Makefile (tests): Give a summary of results from testing and
20803         exit with failure status if they include an ERROR or FAIL.
20804         (xtests): Likewise.
20805         * manual/install.texi (Configuring and compiling): Mention
20806         stop-on-test-failure=y.
20807         * INSTALL: Regenerated.
20809 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20811         * scripts/versionlist.awk: New file.
20812         * Makerules [$(build-shared) = yes]
20813         (postclean-generated): Add Versions.def, not Versions.def.v and
20814         Versions.def.v.i.
20815         ($(common-objpfx)Versions.def.v.i): Target removed.
20816         ($(common-objpfx)Versions.def): New target.
20817         ($(common-objpfx)Versions.all): Depend on that rather that
20818         $(common-objpfx)Versions.def.v.
20819         * Versions.def: File removed.
20821         * Makeconfig (+gccwarn): Add -Wundef.
20822         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20823         a dl-sysdep.h breaking its contract.
20824         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20825         * include/stackinfo.h: New file.
20826         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20827         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20828         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20829         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20830         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20831         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20832         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20833         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20834         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20835         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20836         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20837         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20838         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20839         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20840         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20842 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20844         [BZ #16707]
20845         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20846         implementation.
20847         * math/libm-test.inc (round_test_data): Add more tests.
20849         [BZ #16706]
20850         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20851         implementation.
20852         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20854         [BZ #16701]
20855         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20856         implementation.
20857         * math/libm-test.inc (ceil_test_data): Add more tests.
20859         * math/libm-test.inc (trunc_test_data): Add more tests related to
20860         BZ#16414.
20862 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20864         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20865         with #if rather than #ifdef.
20866         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20868 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20870         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20871         first.  Disable AVX-512 GCC support if assembler doesn't support
20872         it.
20873         * sysdeps/x86_64/configure: Regenerated.
20875 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20877         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20878         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20879         (__old_pthread_attr_setstack): Likewise.
20880         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20881         [!_STACK_GROWS_DOWN]: Likewise.
20883 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20885         * config.make.in (have-bash2): Delete.
20886         * configure.ac (libc_cv_have_bash2): Delete.
20887         * configure: Regenerate.
20888         * elf/Makefile (common-ldd-rewrite): Rename to ...
20889         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20890         (sh-ldd-rewrite): Delete.
20891         (bash-ldd-rewrite): Delete.
20892         (have-bash2): Delete checks.
20893         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20894         ldd-rewrite.
20896         * config.make.in (have-ksh): Delete.
20897         (KSH): Delete.
20898         * configure.ac (libc_cv_have_ksh): Delete.
20899         * configure: Regenerate.
20901         * elf/Makefile: Delete $(have-ksh) check.
20902         ($(objpfx)sotruss): Change KSH to BASH.
20903         * elf/sotruss.ksh: Rename to ...
20904         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20905         function style to match POSIX.  Drop ksh vim mode setting.
20907         * manual/time.texi (Specifying the Time Zone with TZ): Change
20908         Tuesday to Thursday.
20910         * debug/tst-longjmp_chk2.c: Update header comment.
20911         (stackoverflow_handler): Add comment.  Call assert on pass value.
20913 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20915         [BZ #16194]
20916         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20917         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20918         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20919         (La_x86_64_vector): Add zmm.
20920         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20921         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20922         ($(objpfx)tst-audit10): New target.
20923         ($(objpfx)tst-audit10.out): Likewise.
20924         (tst-audit10-ENV): New.
20925         (AVX512-CFLAGS): Likewise.
20926         (CFLAGS-tst-audit10.c): Likewise.
20927         (CFLAGS-tst-auditmod10a.c): Likewise.
20928         (CFLAGS-tst-auditmod10b.c): Likewise.
20929         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20930         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20931         * sysdeps/x86_64/configure: Regenerated.
20932         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20933         AVX-512 zmm register support.
20934         (_dl_x86_64_save_sse): Likewise.
20935         (_dl_x86_64_restore_sse): Likewise.
20936         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20937         size vector registers.
20938         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20939         (ZMM_SIZE): Likewise.
20940         * sysdeps/x86_64/tst-audit10.c: New file.
20941         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20942         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20944 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20946         * configure.ac (HAVE_EHDR_START): New check.
20947         * configure: Regenerated.
20948         * config.h.in (HAVE_EHDR_START): New #undef.
20949         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20950         assuming the lowest-addressed segment maps the start of the file.
20952 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20954         * INSTALL: Regenerated.
20956 2014-03-13  Will Newton  <will.newton@linaro.org>
20958         * manual/setjmp.texi (System V contexts): Improve
20959         clarity and grammar of documentation.
20961 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20963         [BZ #16381]
20964         * elf/Makefile (tests): Add tst-pie2.
20965         (tests-pie): Add tst-pie2.
20966         * elf/tst-pie2.c: New file.
20967         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20968         for ET_EXEC.
20969         * elf/rtld.c (map_doit): Load executable as lt_executable.
20970         (dl_main): Likewise.
20972 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20974         [BZ #16642]
20975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20976         (__ASSUME_PSELECT): Undefine.
20978 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20980         [BZ #16689]
20981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20982         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20983         static build.
20984         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20985         selector for static builds.
20987 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20989         [BZ #16695]
20990         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20991         key in the buffer.
20993 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20995         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20996         IFUNC selector for static builds.
20998 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21000         * sysdeps/mips/math_private.h [__mips_hard_float]
21001         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21002         libc_feresetround_mips_ctx.
21003         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21004         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21005         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21007         [BZ #16677]
21008         * math/s_nextafter.c (__nextafter): Do not return value from
21009         overflowing computation.
21010         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21011         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21012         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21013         Likewise.
21014         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21015         Likewise.
21016         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21017         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21019 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21021         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21022         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21023         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21024         the new mov targetting sp.
21026 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21028         [BZ #16683]
21029         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21030         Define it for static builds as well.
21031         (NO_BZERO_IMPL): Likewise.
21033 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21035         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21036         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21037         multiarch strspn for PPC64.
21038         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21039         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21041         (__libc_ifunc_impl_list): Likewise.
21042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21043         multiarch optimizations
21044         * string/strspn.c (strspn): Using macro to redefine symbol name.
21046 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21047             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21049         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21050         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21051         multiarch strncat for PPC64.
21052         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21053         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21055         (__libc_ifunc_impl_list): Likewise.
21056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21057         multiarch optimizations
21059 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21061         [BZ #16639]
21062         * nscd/nscd.service: Make service type forking.
21064 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21066         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21067         sign in non default rounding modes.
21068         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21070 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21072         * math/libm-test.inc (ALL_RM_TEST): New macro.
21073         (ceil_test): Use ALL_RM_TEST.
21074         (cimag_test): Likewise.
21075         (conj_test): Likewise.
21076         (copysign_test): Likewise.
21077         (cproj_test): Likewise.
21078         (creal_test): Likewise.
21079         (fabs_test): Likewise.
21080         (floor_test): Likewise.
21081         (fmax_test): Likewise.
21082         (fmin_test): Likewise.
21083         (fmod_test): Likewise.
21084         (fpclassify_test): Likewise.
21085         (frexp_test): Likewise.
21086         (ilogb_test): Likewise.
21087         (isfinite_test): Likewise.
21088         (finite_test): Likewise.
21089         (isgreater_test): Likewise.
21090         (isgreaterequal_test): Likewise.
21091         (isinf_test): Likewise.
21092         (isless_test): Likewise.
21093         (islessequal_test): Likewise.
21094         (islessgreater_test): Likewise.
21095         (isnan_test): Likewise.
21096         (isnormal_test): Likewise.
21097         (issignaling_test): Likewise.
21098         (isunordered_test): Likewise.
21099         (logb_test): Likewise.
21100         (logb_downward_test_data): Remove.
21101         (logb_test_downward): Likewise.
21102         (lround_test): Use ALL_RM_TEST.
21103         (llround_test): Likewise.
21104         (modf_test): Likewise.
21105         (nexttoward_test): Likewise.
21106         (remainder_test): Likewise.
21107         (drem_test): Likewise.
21108         (remainder_tonearest_test_data): Likewise.
21109         (remainder_test_tonearest): Likewise.
21110         (drem_test_tonearest): Likewise.
21111         (remainder_towardzero_test_data): Likewise.
21112         (remainder_test_towardzero): Likewise.
21113         (drem_test_towardzero): Likewise.
21114         (remainder_downward_test_data): Likewise.
21115         (remainder_test_downward): Likewise.
21116         (drem_test_downward): Likewise.
21117         (remainder_upward_test_data): Likewise.
21118         (remainder_test_upward): Likewise.
21119         (drem_test_upward): Likewise.
21120         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21121         (round_test): Use ALL_RM_TEST.
21122         (signbit_test): Likewise.
21123         (trunc_test): Likewise.
21124         (significand_test): Likewise.
21125         (main): Don't call removed functions.
21127 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21129         [BZ #16674]
21130         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21131         || __USE_XOPEN2K8].
21132         (ILL_ILLOPN): Likewise.
21133         (ILL_ILLADR): Likewise.
21134         (ILL_ILLTRP): Likewise.
21135         (ILL_PRVOPC): Likewise.
21136         (ILL_PRVREG): Likewise.
21137         (ILL_COPROC): Likewise.
21138         (ILL_BADSTK): Likewise.
21139         (FPE_INTDIV): Likewise.
21140         (FPE_INTOVF): Likewise.
21141         (FPE_FLTDIV): Likewise.
21142         (FPE_FLTOVF): Likewise.
21143         (FPE_FLTUND): Likewise.
21144         (FPE_FLTRES): Likewise.
21145         (FPE_FLTINV): Likewise.
21146         (FPE_FLTSUB): Likewise.
21147         (SEGV_MAPERR): Likewise.
21148         (SEGV_ACCERR): Likewise.
21149         (BUS_ADRALN): Likewise.
21150         (BUS_ADRERR): Likewise.
21151         (BUS_OBJERR): Likewise.
21152         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21153         (TRAP_TRACE): Likewise.
21154         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21155         __USE_XOPEN2K8].
21156         (CLD_KILLED): Likewise.
21157         (CLD_DUMPED): Likewise.
21158         (CLD_TRAPPED): Likewise.
21159         (CLD_STOPPED): Likewise.
21160         (CLD_CONTINUED): Likewise.
21161         (POLL_IN): Likewise.
21162         (POLL_OUT): Likewise.
21163         (POLL_MSG): Likewise.
21164         (POLL_ERR): Likewise.
21165         (POLL_PRI): Likewise.
21166         (POLL_HUP): Likewise.
21167         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21168         Likewise.
21169         (ILL_ILLOPN): Likewise.
21170         (ILL_ILLADR): Likewise.
21171         (ILL_ILLTRP): Likewise.
21172         (ILL_PRVOPC): Likewise.
21173         (ILL_PRVREG): Likewise.
21174         (ILL_COPROC): Likewise.
21175         (ILL_BADSTK): Likewise.
21176         (FPE_INTDIV): Likewise.
21177         (FPE_INTOVF): Likewise.
21178         (FPE_FLTDIV): Likewise.
21179         (FPE_FLTOVF): Likewise.
21180         (FPE_FLTUND): Likewise.
21181         (FPE_FLTRES): Likewise.
21182         (FPE_FLTINV): Likewise.
21183         (FPE_FLTSUB): Likewise.
21184         (SEGV_MAPERR): Likewise.
21185         (SEGV_ACCERR): Likewise.
21186         (BUS_ADRALN): Likewise.
21187         (BUS_ADRERR): Likewise.
21188         (BUS_OBJERR): Likewise.
21189         (BUS_MCEERR_AR): Likewise.
21190         (BUS_MCEERR_AO): Likewise.
21191         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21192         (TRAP_TRACE): Likewise.
21193         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21194         __USE_XOPEN2K8].
21195         (CLD_KILLED): Likewise.
21196         (CLD_DUMPED): Likewise.
21197         (CLD_TRAPPED): Likewise.
21198         (CLD_STOPPED): Likewise.
21199         (CLD_CONTINUED): Likewise.
21200         (POLL_IN): Likewise.
21201         (POLL_OUT): Likewise.
21202         (POLL_MSG): Likewise.
21203         (POLL_ERR): Likewise.
21204         (POLL_PRI): Likewise.
21205         (POLL_HUP): Likewise.
21206         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21207         (ILL_ILLOPN): Likewise.
21208         (ILL_ILLADR): Likewise.
21209         (ILL_ILLTRP): Likewise.
21210         (ILL_PRVOPC): Likewise.
21211         (ILL_PRVREG): Likewise.
21212         (ILL_COPROC): Likewise.
21213         (ILL_BADSTK): Likewise.
21214         (FPE_INTDIV): Likewise.
21215         (FPE_INTOVF): Likewise.
21216         (FPE_FLTDIV): Likewise.
21217         (FPE_FLTOVF): Likewise.
21218         (FPE_FLTUND): Likewise.
21219         (FPE_FLTRES): Likewise.
21220         (FPE_FLTINV): Likewise.
21221         (FPE_FLTSUB): Likewise.
21222         (SEGV_MAPERR): Likewise.
21223         (SEGV_ACCERR): Likewise.
21224         (BUS_ADRALN): Likewise.
21225         (BUS_ADRERR): Likewise.
21226         (BUS_OBJERR): Likewise.
21227         (BUS_MCEERR_AR): Likewise.
21228         (BUS_MCEERR_AO): Likewise.
21229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21230         (TRAP_TRACE): Likewise.
21231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21232         __USE_XOPEN2K8].
21233         (CLD_KILLED): Likewise.
21234         (CLD_DUMPED): Likewise.
21235         (CLD_TRAPPED): Likewise.
21236         (CLD_STOPPED): Likewise.
21237         (CLD_CONTINUED): Likewise.
21238         (POLL_IN): Likewise.
21239         (POLL_OUT): Likewise.
21240         (POLL_MSG): Likewise.
21241         (POLL_ERR): Likewise.
21242         (POLL_PRI): Likewise.
21243         (POLL_HUP): Likewise.
21244         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21245         Likewise.
21246         (ILL_ILLOPN): Likewise.
21247         (ILL_ILLADR): Likewise.
21248         (ILL_ILLTRP): Likewise.
21249         (ILL_PRVOPC): Likewise.
21250         (ILL_PRVREG): Likewise.
21251         (ILL_COPROC): Likewise.
21252         (ILL_BADSTK): Likewise.
21253         (ILL_BADIADDR): Likewise.
21254         (ILL_BREAK): 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         (FPE_DECOVF): Likewise.
21264         (FPE_DECDIV): Likewise.
21265         (FPE_DECERR): Likewise.
21266         (FPE_INVASC): Likewise.
21267         (FPE_INVDEC): Likewise.
21268         (SEGV_MAPERR): Likewise.
21269         (SEGV_ACCERR): Likewise.
21270         (SEGV_PSTKOVF): Likewise.
21271         (BUS_ADRALN): Likewise.
21272         (BUS_ADRERR): Likewise.
21273         (BUS_OBJERR): Likewise.
21274         (BUS_MCEERR_AR): Likewise.
21275         (BUS_MCEERR_AO): Likewise.
21276         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21277         (TRAP_TRACE): Likewise.
21278         (TRAP_BRANCH): Likewise.
21279         (TRAP_HWBKPT): Likewise.
21280         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21281         __USE_XOPEN2K8].
21282         (CLD_KILLED): Likewise.
21283         (CLD_DUMPED): Likewise.
21284         (CLD_TRAPPED): Likewise.
21285         (CLD_STOPPED): Likewise.
21286         (CLD_CONTINUED): Likewise.
21287         (POLL_IN): Likewise.
21288         (POLL_OUT): Likewise.
21289         (POLL_MSG): Likewise.
21290         (POLL_ERR): Likewise.
21291         (POLL_PRI): Likewise.
21292         (POLL_HUP): Likewise.
21293         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21294         (ILL_ILLOPN): Likewise.
21295         (ILL_ILLADR): Likewise.
21296         (ILL_ILLTRP): Likewise.
21297         (ILL_PRVOPC): Likewise.
21298         (ILL_PRVREG): Likewise.
21299         (ILL_COPROC): Likewise.
21300         (ILL_BADSTK): Likewise.
21301         (FPE_INTDIV): Likewise.
21302         (FPE_INTOVF): Likewise.
21303         (FPE_FLTDIV): Likewise.
21304         (FPE_FLTOVF): Likewise.
21305         (FPE_FLTUND): Likewise.
21306         (FPE_FLTRES): Likewise.
21307         (FPE_FLTINV): Likewise.
21308         (FPE_FLTSUB): Likewise.
21309         (SEGV_MAPERR): Likewise.
21310         (SEGV_ACCERR): Likewise.
21311         (BUS_ADRALN): Likewise.
21312         (BUS_ADRERR): Likewise.
21313         (BUS_OBJERR): Likewise.
21314         (BUS_MCEERR_AR): Likewise.
21315         (BUS_MCEERR_AO): Likewise.
21316         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21317         (TRAP_TRACE): Likewise.
21318         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21319         __USE_XOPEN2K8].
21320         (CLD_KILLED): Likewise.
21321         (CLD_DUMPED): Likewise.
21322         (CLD_TRAPPED): Likewise.
21323         (CLD_STOPPED): Likewise.
21324         (CLD_CONTINUED): Likewise.
21325         (POLL_IN): Likewise.
21326         (POLL_OUT): Likewise.
21327         (POLL_MSG): Likewise.
21328         (POLL_ERR): Likewise.
21329         (POLL_PRI): Likewise.
21330         (POLL_HUP): Likewise.
21331         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21332         (ILL_ILLOPN): Likewise.
21333         (ILL_ILLADR): Likewise.
21334         (ILL_ILLTRP): Likewise.
21335         (ILL_PRVOPC): Likewise.
21336         (ILL_PRVREG): Likewise.
21337         (ILL_COPROC): Likewise.
21338         (ILL_BADSTK): Likewise.
21339         (FPE_INTDIV): Likewise.
21340         (FPE_INTOVF): Likewise.
21341         (FPE_FLTDIV): Likewise.
21342         (FPE_FLTOVF): Likewise.
21343         (FPE_FLTUND): Likewise.
21344         (FPE_FLTRES): Likewise.
21345         (FPE_FLTINV): Likewise.
21346         (FPE_FLTSUB): Likewise.
21347         (SEGV_MAPERR): Likewise.
21348         (SEGV_ACCERR): Likewise.
21349         (BUS_ADRALN): Likewise.
21350         (BUS_ADRERR): Likewise.
21351         (BUS_OBJERR): Likewise.
21352         (BUS_MCEERR_AR): Likewise.
21353         (BUS_MCEERR_AO): Likewise.
21354         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21355         (TRAP_TRACE): Likewise.
21356         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21357         __USE_XOPEN2K8].
21358         (CLD_KILLED): Likewise.
21359         (CLD_DUMPED): Likewise.
21360         (CLD_TRAPPED): Likewise.
21361         (CLD_STOPPED): Likewise.
21362         (CLD_CONTINUED): Likewise.
21363         (POLL_IN): Likewise.
21364         (POLL_OUT): Likewise.
21365         (POLL_MSG): Likewise.
21366         (POLL_ERR): Likewise.
21367         (POLL_PRI): Likewise.
21368         (POLL_HUP): Likewise.
21369         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21370         (ILL_ILLOPN): Likewise.
21371         (ILL_ILLADR): Likewise.
21372         (ILL_ILLTRP): Likewise.
21373         (ILL_PRVOPC): Likewise.
21374         (ILL_PRVREG): Likewise.
21375         (ILL_COPROC): Likewise.
21376         (ILL_BADSTK): Likewise.
21377         (FPE_INTDIV): Likewise.
21378         (FPE_INTOVF): Likewise.
21379         (FPE_FLTDIV): Likewise.
21380         (FPE_FLTOVF): Likewise.
21381         (FPE_FLTUND): Likewise.
21382         (FPE_FLTRES): Likewise.
21383         (FPE_FLTINV): Likewise.
21384         (FPE_FLTSUB): Likewise.
21385         (SEGV_MAPERR): Likewise.
21386         (SEGV_ACCERR): Likewise.
21387         (BUS_ADRALN): Likewise.
21388         (BUS_ADRERR): Likewise.
21389         (BUS_OBJERR): Likewise.
21390         (BUS_MCEERR_AR): Likewise.
21391         (BUS_MCEERR_AO): Likewise.
21392         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21393         (TRAP_TRACE): Likewise.
21394         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21395         __USE_XOPEN2K8].
21396         (CLD_KILLED): Likewise.
21397         (CLD_DUMPED): Likewise.
21398         (CLD_TRAPPED): Likewise.
21399         (CLD_STOPPED): Likewise.
21400         (CLD_CONTINUED): Likewise.
21401         (POLL_IN): Likewise.
21402         (POLL_OUT): Likewise.
21403         (POLL_MSG): Likewise.
21404         (POLL_ERR): Likewise.
21405         (POLL_PRI): Likewise.
21406         (POLL_HUP): Likewise.
21407         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21408         (ILL_ILLOPN): Likewise.
21409         (ILL_ILLADR): Likewise.
21410         (ILL_ILLTRP): Likewise.
21411         (ILL_PRVOPC): Likewise.
21412         (ILL_PRVREG): Likewise.
21413         (ILL_COPROC): Likewise.
21414         (ILL_BADSTK): Likewise.
21415         (ILL_DBLFLT): Likewise.
21416         (ILL_HARDWALL): Likewise.
21417         (FPE_INTDIV): Likewise.
21418         (FPE_INTOVF): Likewise.
21419         (FPE_FLTDIV): Likewise.
21420         (FPE_FLTOVF): Likewise.
21421         (FPE_FLTUND): Likewise.
21422         (FPE_FLTRES): Likewise.
21423         (FPE_FLTINV): Likewise.
21424         (FPE_FLTSUB): Likewise.
21425         (SEGV_MAPERR): Likewise.
21426         (SEGV_ACCERR): Likewise.
21427         (BUS_ADRALN): Likewise.
21428         (BUS_ADRERR): Likewise.
21429         (BUS_OBJERR): Likewise.
21430         (BUS_MCEERR_AR): Likewise.
21431         (BUS_MCEERR_AO): Likewise.
21432         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21433         (TRAP_TRACE): Likewise.
21434         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21435         __USE_XOPEN2K8].
21436         (CLD_KILLED): Likewise.
21437         (CLD_DUMPED): Likewise.
21438         (CLD_TRAPPED): Likewise.
21439         (CLD_STOPPED): Likewise.
21440         (CLD_CONTINUED): Likewise.
21441         (POLL_IN): Likewise.
21442         (POLL_OUT): Likewise.
21443         (POLL_MSG): Likewise.
21444         (POLL_ERR): Likewise.
21445         (POLL_PRI): Likewise.
21446         (POLL_HUP): Likewise.
21447         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21448         (ILL_ILLOPN): Likewise.
21449         (ILL_ILLADR): Likewise.
21450         (ILL_ILLTRP): Likewise.
21451         (ILL_PRVOPC): Likewise.
21452         (ILL_PRVREG): Likewise.
21453         (ILL_COPROC): Likewise.
21454         (ILL_BADSTK): Likewise.
21455         (FPE_INTDIV): Likewise.
21456         (FPE_INTOVF): Likewise.
21457         (FPE_FLTDIV): Likewise.
21458         (FPE_FLTOVF): Likewise.
21459         (FPE_FLTUND): Likewise.
21460         (FPE_FLTRES): Likewise.
21461         (FPE_FLTINV): Likewise.
21462         (FPE_FLTSUB): Likewise.
21463         (SEGV_MAPERR): Likewise.
21464         (SEGV_ACCERR): Likewise.
21465         (BUS_ADRALN): Likewise.
21466         (BUS_ADRERR): Likewise.
21467         (BUS_OBJERR): Likewise.
21468         (BUS_MCEERR_AR): Likewise.
21469         (BUS_MCEERR_AO): Likewise.
21470         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21471         (TRAP_TRACE): Likewise.
21472         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21473         __USE_XOPEN2K8].
21474         (CLD_KILLED): Likewise.
21475         (CLD_DUMPED): Likewise.
21476         (CLD_TRAPPED): Likewise.
21477         (CLD_STOPPED): Likewise.
21478         (CLD_CONTINUED): Likewise.
21479         (POLL_IN): Likewise.
21480         (POLL_OUT): Likewise.
21481         (POLL_MSG): Likewise.
21482         (POLL_ERR): Likewise.
21483         (POLL_PRI): Likewise.
21484         (POLL_HUP): Likewise.
21485         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21486         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21488         [BZ #16670]
21489         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21490         before #include of <time.h>.
21491         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21492         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21493         (test-xfail-UNIX98/sched.h/conform): Likewise.
21495 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21497         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21498         error absence of trapping exception support.
21499         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21501 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21503         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21504         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21505         * timezone/Makefile (testdata): Move definition above include of
21506         Rules.
21507         (test-zones): New variable.
21508         (tests-special): Add zone files.
21509         (build-testdata): Use $(evaluate-test).
21511         * elf/Makefile (tests-special): Rename tests to end with .out.
21512         ($(objpfx)noload-mem): Likewise.
21513         ($(objpfx)tst-leaks1-mem): Likewise.
21514         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21515         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21516         $(objpfx)test-iconvconfig.out.
21517         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21518         set -e inside subshell and redirect output to file.
21519         * iconvdata/Makefile (generated): Rename tests to end with .out.
21520         Correct type.
21521         (tests-special): Rename tests to end with .out.
21522         ($(objpfx)mtrace-tst-loading): Likewise.
21523         * intl/Makefile (generated): Likewise.
21524         (tests-special): Likewise.
21525         ($(objpfx)mtrace-tst-gettext): Likewise.
21526         * misc/Makefile (generated): Likewise.
21527         (tests-special): Likewise.
21528         ($(objpfx)tst-error1-mem): Likewise.
21529         * nptl/Makefile (tests-special): Likewise.
21530         ($(objpfx)tst-stack3-mem): Likewise.
21531         (generated): Likewise.
21532         * posix/Makefile (generated): Likewise.
21533         (tests-special): Likewise.
21534         (xtests-special): Likewise.
21535         ($(objpfx)tst-fnmatch-mem): Likewise.
21536         ($(objpfx)bug-regex2-mem): Likewise.
21537         ($(objpfx)bug-regex14-mem): Likewise.
21538         ($(objpfx)bug-regex21-mem): Likewise.
21539         ($(objpfx)bug-regex31-mem): Likewise.
21540         ($(objpfx)tst-vfork3-mem): Likewise.
21541         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21542         ($(objpfx)tst-pcre-mem): Likewise.
21543         ($(objpfx)tst-boost-mem): Likewise.
21544         ($(objpfx)bug-ga2-mem): Likewise.
21545         ($(objpfx)bug-glob2-mem): Likewise.
21546         * resolv/Makefile (generate): Likewise.
21547         (tests-special): Likewise.
21548         (xtests-special): Likewise.
21549         (generated): Likewise.
21550         ($(objpfx)mtrace-tst-leaks): Likewise.
21551         ($(objpfx)mtrace-tst-leaks2): Likewise.
21553         * scripts/merge-test-results.sh: New file.
21554         * Makefile (tests-special-notdir): New variable.
21555         (tests): Run merge-test-results.sh.
21556         (xtests): Likewise.
21557         * Rules (tests-special-notdir): New variable.
21558         (xtests-special-notdir): Likewise.
21559         (tests): Run merge-test-results.sh
21560         (xtests): Likewise.
21562         * Makeconfig (test-xfail-name): New variable.
21563         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21564         compute variable name for expected failures.
21565         * conform/Makefile (conformtest-headers-data): New variable.
21566         (conformtest-standards): Likewise.
21567         (conformtest-headers-ISO): Likewise.
21568         (conformtest-headers-ISO99): Likewise.
21569         (conformtest-headers-ISO11): Likewise.
21570         (conformtest-headers-POSIX): Likewise.
21571         (conformtest-headers-XPG3): Likewise.
21572         (conformtest-headers-XPG4): Likewise.
21573         (conformtest-headers-UNIX98): Likewise.
21574         (conformtest-headers-XOPEN2K): Likewise.
21575         (conformtest-headers-POSIX2008): Likewise.
21576         (conformtest-headers-XOPEN2K8): Likewise.
21577         (conformtest-header-list-base): Likewise.
21578         (conformtest-header-list-tests): Likewise.
21579         (conformtest-header-base): Likewise.
21580         (conformtest-header-tests): Likewise.
21581         (tests-special): Add $(conformtest-header-list-tests).  If
21582         [$(fast-check) && !$(cross-compiling)], add
21583         $(conformtest-header-tests) instead of
21584         $(objpfx)run-conformtest.out.
21585         (generated): Add $(conformtest-header-list-base).  If
21586         [$(fast-check) && !$(cross-compiling)], add
21587         $(conformtest-header-base).  Remove previous setting.
21588         ($(conformtest-header-list-tests)): New target.
21589         (test-xfail-run-conformtest): Remove variable.
21590         ($(objpfx)run-conformtest.out): Remove target.
21591         (test-xfail-ISO11/complex.h/conform): New variable.
21592         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21593         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21594         (test-xfail-XPG3/varargs.h/conform): Likewise.
21595         (test-xfail-XPG4/varargs.h/conform): Likewise.
21596         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21597         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21598         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21599         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21600         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21601         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21602         (test-xfail-XPG3/ftw.h/conform): Likewise.
21603         (test-xfail-XPG3/grp.h/conform): Likewise.
21604         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21605         (test-xfail-XPG3/limits.h/conform): Likewise.
21606         (test-xfail-XPG3/pwd.h/conform): Likewise.
21607         (test-xfail-XPG3/search.h/conform): Likewise.
21608         (test-xfail-XPG3/signal.h/conform): Likewise.
21609         (test-xfail-XPG3/stdio.h/conform): Likewise.
21610         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21611         (test-xfail-XPG3/string.h/conform): Likewise.
21612         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21613         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21614         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21615         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21616         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21617         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21618         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21619         (test-xfail-XPG3/termios.h/conform): Likewise.
21620         (test-xfail-XPG3/time.h/conform): Likewise.
21621         (test-xfail-XPG3/unistd.h/conform): Likewise.
21622         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21623         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21624         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21625         (test-xfail-XPG4/netdb.h/conform): Likewise.
21626         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21627         (test-xfail-XPG4/signal.h/conform): Likewise.
21628         (test-xfail-XPG4/stdio.h/conform): Likewise.
21629         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21630         (test-xfail-XPG4/stropts.h/conform): Likewise.
21631         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21632         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21633         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21634         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21635         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21636         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21637         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21638         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21639         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21640         (test-xfail-XPG4/termios.h/conform): Likewise.
21641         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21642         (test-xfail-XPG4/unistd.h/conform): Likewise.
21643         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21644         (test-xfail-POSIX/sched.h/conform): Likewise.
21645         (test-xfail-POSIX/signal.h/conform): Likewise.
21646         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21647         (test-xfail-POSIX/tar.h/conform): Likewise.
21648         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21649         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21650         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21651         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21652         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21653         (test-xfail-UNIX98/sched.h/conform): Likewise.
21654         (test-xfail-UNIX98/signal.h/conform): Likewise.
21655         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21656         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21657         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21658         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21659         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21660         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21661         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21662         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21663         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21664         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21665         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21666         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21667         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21668         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21669         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21670         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21671         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21672         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21673         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21674         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21675         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21676         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21677         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21678         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21679         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21680         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21681         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21682         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21683         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21684         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21685         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21686         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21687         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21688         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21689         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21690         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21691         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21692         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21693         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21694         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21695         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21696         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21697         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21698         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21699         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21700         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21701         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21702         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21703         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21704         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21705         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21706         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21707         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21708         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21709         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21710         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21711         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21712         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21713         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21714         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21715         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21716         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21717         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21718         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21719         (conformtest-cc-flags): Likewise.
21720         ($(conformtest-header-tests): New target.
21721         * conform/check-header-lists.sh: New file.
21722         * conform/run-conformtest.sh: Remove.
21724         * conform/conformtest.pl: Allow ' and \ in values given for
21725         constants.
21726         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21727         inclusion.
21728         [POSIX] (sys/types.h): Likewise.
21729         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21730         inclusion.
21731         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21732         inclusion.
21733         * conform/data/signal.h-data (SIGIO): Remove expectation.
21734         [XPG3] (SIGBUS): Do not expect.
21735         [POSIX || XPG3] (SIGPOLL): Likewise.
21736         [POSIX || XPG3] (SIGPROF): Likewise.
21737         [POSIX || XPG3] (SIGSYS): Likewise.
21738         [XPG3] (SIGTRAP): Likewise.
21739         [POSIX || XPG3] (SIGURG): Likewise.
21740         [POSIX || XPG3] (SIGVTALRM): Likewise.
21741         [POSIX || XPG3] (SIGXCPU): Likewise.
21742         [POSIX || XPG3] (SIGXFSZ): Likewise.
21743         [POSIX] (SA_SIGINFO): Expect.
21744         [XPG3] (siginfo_t): Do not expect type or contents.
21745         [POSIX] (si_pid): Do not expect element.
21746         [POSIX] (si_uid): Likewise.
21747         [POSIX] (si_addr): Likewise.
21748         [POSIX] (si_status): Likewise.
21749         [POSIX] (si_band): Likewise.
21750         [XPG4] (si_value): Likewise.
21751         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21752         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21753         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21754         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21755         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21756         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21757         [POSIX || XPG3] (ILL_COPROC): Likewise.
21758         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21759         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21760         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21761         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21762         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21763         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21764         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21765         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21766         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21767         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21768         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21769         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21770         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21771         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21772         [POSIX || XPG3] (CLD_EXITED): Likewise.
21773         [POSIX || XPG3] (CLD_KILLED): Likewise.
21774         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21775         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21776         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21777         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21778         [POSIX || XPG3] (POLL_IN): Likewise.
21779         [POSIX || XPG3] (POLL_OUT): Likewise.
21780         [POSIX || XPG3] (POLL_MSG): Likewise.
21781         [POSIX || XPG3] (POLL_ERR): Likewise.
21782         [POSIX || XPG3] (POLL_PRI): Likewise.
21783         [POSIX || XPG3] (POLL_HUP): Likewise.
21784         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21785         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21786         (SIG*): Do not allow.
21787         [XPG3] (si_*): Likewise.
21788         [XPG3] (SI_*): Likewise.
21789         [XPG3 || XPG4] (sigev_*): Likewise.
21790         [XPG3 || XPG4] (SIGEV_*): Likewise.
21791         [XPG3 || XPG4] (sival_*): Likewise.
21792         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21793         [POSIX || XPG3] (BUS_*): Likewise.
21794         [POSIX || XPG3] (CLD_*): Likewise.
21795         [POSIX || XPG3] (FPE_*): Likewise.
21796         [POSIX || XPG3] (ILL_*): Likewise.
21797         [POSIX || XPG3] (POLL_*): Likewise.
21798         [POSIX || XPG3] (SEGV_*): Likewise.
21799         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21800         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21801         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21802         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21803         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21804         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21805         Specify type and value.
21806         (TVERSLEN): Likewise.
21807         (REGTYPE): Likewise.
21808         (AREGTYPE): Likewise.
21809         (LNKTYPE): Likewise.
21810         (SYMTYPE): Likewise.
21811         (CHRTYPE): Likewise.
21812         (BLKTYPE): Likewise.
21813         (DIRTYPE): Likewise.
21814         (FIFOTYPE): Likewise.
21815         (CONTTYPE): Likewise.
21816         (TSUID): Likewise.
21817         (TSGID): Likewise.
21818         (TSVTX): Likewise.
21819         (TUREAD): Likewise.
21820         (TUWRITE): Likewise.
21821         (TUEXEC): Likewise.
21822         (TGREAD): Likewise.
21823         (TGWRITE): Likewise.
21824         (TGEXEC): Likewise.
21825         (TOREAD): Likewise.
21826         (TOWRITE): Likewise.
21827         (TOEXEC): Likewise.
21828         [POSIX] (TSVTX): Expect constant.
21830 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21832         * Makefile (tests): Change dependencies to ....
21833         (tests-special): ... additions to this variable.
21834         (tests): Depend on $(tests-special).
21835         * Makerules (check-abi-list): New variable.
21836         (check-abi): Depend on $(check-abi-list).
21837         [$(subdir) = elf] (tests-special): Add
21838         $(objpfx)check-abi-libc.out.
21839         [$(build-shared) = yes && subdir] (tests-special): Add
21840         $(check-abi-list).
21841         [$(build-shared) = yes && subdir] (tests): Do not depend on
21842         check-abi.
21843         * Rules (tests): Depend on $(tests-special).
21844         (xtests): Depend on $(xtests-special).
21845         * catgets/Makefile (tests): Change dependencies to ....
21846         (tests-special): ... additions to this variable.
21847         * conform/Makefile (tests): Change dependencies to ....
21848         (tests-special): ... additions to this variable.
21849         * elf/Makefile (tests): Change dependencies to ....
21850         (tests-special): ... additions to this variable.
21851         * grp/Makefile (tests): Change dependencies to ....
21852         (tests-special): ... additions to this variable.
21853         * iconv/Makefile (xtests): Change dependencies to ....
21854         (xtests-special): ... additions to this variable.
21855         * iconvdata/Makefile (tests): Change dependencies to ....
21856         (tests-special): ... additions to this variable.
21857         * intl/Makefile (tests): Change dependencies to ....
21858         (tests-special): ... additions to this variable.  Also add
21859         $(objpfx)tst-gettext.out.
21860         * io/Makefile (tests): Change dependencies to ....
21861         (tests-special): ... additions to this variable.
21862         * libio/Makefile (tests): Change dependencies to ....
21863         (tests-special): ... additions to this variable.
21864         * malloc/Makefile (tests): Change dependencies to ....
21865         (tests-special): ... additions to this variable.
21866         * misc/Makefile (tests): Change dependencies to ....
21867         (tests-special): ... additions to this variable.
21868         * nptl/Makefile (tests): Change dependencies to ....
21869         (tests-special): ... additions to this variable.
21870         * nptl_db/Makefile (tests): Change dependencies to ....
21871         (tests-special): ... additions to this variable.
21872         * posix/Makefile (tests): Change dependencies to ....
21873         (tests-special): ... additions to this variable.
21874         (xtests): Change dependencies to ....
21875         (xtests-special): ... additions to this variable.
21876         * resolv/Makefile (tests): Change dependencies to ....
21877         (tests-special): ... additions to this variable.
21878         (xtests): Change dependencies to ....
21879         (xtests-special): ... additions to this variable.
21880         * stdio-common/Makefile (tests): Change dependencies to ....
21881         (tests-special): ... additions to this variable.
21882         (do-tst-unbputc): Remove target.
21883         (do-tst-printf): Likewise.
21884         * stdlib/Makefile (tests): Change dependencies to ....
21885         (tests-special): ... additions to this variable.
21886         * string/Makefile (tests): Change dependencies to ....
21887         (tests-special): ... additions to this variable.
21888         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21889         (tests-special): ... additions to this variable.
21891         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21892         whole file.
21893         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21894         whole file.
21895         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21896         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21898         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21899         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21900         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21901         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21902         * conform/data/libgen.h-data [XPG3]: Likewise.
21903         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21904         * conform/data/ndbm.h-data [XPG3]: Likewise.
21905         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21906         * conform/data/netdb.h-data [XPG3]: Likewise.
21907         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21908         * conform/data/poll.h-data [XPG3]: Likewise.
21909         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21910         * conform/data/strings.h-data [XPG3]: Likewise.
21911         * conform/data/stropts.h-data [XPG3]: Likewise.
21912         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21913         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21914         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21915         Likewise.
21916         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21917         * conform/data/sys/time.h-data [XPG3]: Likewise.
21918         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21919         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21920         * conform/data/sys/un.h-data [XPG3]: Likewise.
21921         * conform/data/syslog.h-data [XPG3]: Likewise.
21922         * conform/data/ucontext.h-data [XPG3]: Likewise.
21923         * conform/data/utmpx.h-data [XPG3]: Likewise.
21924         * conform/data/varargs.h-data [UNIX98]: Enable file.
21926         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21928         * math/libm-test.inc (struct test_f_f_data): Move expected results
21929         into structure for each rounding mode.
21930         (struct test_ff_f_data): Likewise.
21931         (struct test_ff_f_data_nexttoward): Likewise.
21932         (struct test_fi_f_data): Likewise.
21933         (struct test_fl_f_data): Likewise.
21934         (struct test_if_f_data): Likewise.
21935         (struct test_fff_f_data): Likewise.
21936         (struct test_c_f_data): Likewise.
21937         (struct test_f_f1_data): Likewise.
21938         (struct test_fF_f1_data): Likewise.
21939         (struct test_ffI_f1_data): Likewise.
21940         (struct test_c_c_data): Likewise.
21941         (struct test_cc_c_data): Likewise.
21942         (struct test_f_i_data): Likewise.
21943         (struct test_ff_i_data): Likewise.
21944         (struct test_f_l_data): Likewise.
21945         (struct test_f_L_data): Likewise.
21946         (struct test_fFF_11_data): Likewise.
21947         (RM_): New macro.
21948         (RM_FE_DOWNWARD): Likewise.
21949         (RM_FE_TONEAREST): Likewise.
21950         (RM_FE_TOWARDZERO): Likewise.
21951         (RM_FE_UPWARD): Likewise.
21952         (RUN_TEST_LOOP_f_f): Update references to expected results.
21953         (RUN_TEST_LOOP_2_f): Likewise.
21954         (RUN_TEST_LOOP_fff_f): Likewise.
21955         (RUN_TEST_LOOP_c_f): Likewise.
21956         (RUN_TEST_LOOP_f_f1): Likewise.
21957         (RUN_TEST_LOOP_fF_f1): Likewise.
21958         (RUN_TEST_LOOP_fI_f1): Likewise.
21959         (RUN_TEST_LOOP_ffI_f1): Likewise.
21960         (RUN_TEST_LOOP_c_c): Likewise.
21961         (RUN_TEST_LOOP_cc_c): Likewise.
21962         (RUN_TEST_LOOP_f_i): Likewise.
21963         (RUN_TEST_LOOP_f_i_tg): Likewise.
21964         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21965         (RUN_TEST_LOOP_f_b): Likewise.
21966         (RUN_TEST_LOOP_f_b_tg): Likewise.
21967         (RUN_TEST_LOOP_f_l): Likewise.
21968         (RUN_TEST_LOOP_f_L): Likewise.
21969         (RUN_TEST_LOOP_fFF_11): Likewise.
21970         * math/gen-libm-test.pl (parse_args): Output four copies of
21971         expected results for each test.
21973         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21974         (__ASSUME_UTIMES): Remove.
21975         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21976         (__ASSUME_UTIMES): Likewise.
21978         * math/gen-auto-libm-tests.c: Update comment on output format.
21979         (output_for_one_input_case): Generate before-rounding and
21980         after-rounding information as conditions on output flags not
21981         floating-point format.
21982         * math/auto-libm-test-out: Regenerated.
21983         * math/gen-libm-test.pl (cond_value): New function.
21984         (or_cond_value): Use cond_value.
21985         (generate_testfile): Handle conditional exceptions.
21987 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21989         * math/libm-test.inc (max_valid_error): New variable.
21990         (init_max_error): Take new argument specifying whether function
21991         results are exactly determined.  Set max_valid_error and bound
21992         other variables for errors based on this argument.
21993         (set_max_error): Do not record results above max_valid_error.
21994         (check_float_internal): Only accept errors of up to 0.5ulps if
21995         also at most max_valid_error.
21996         (START): Take new argument EXACT and pass it to init_max_error.
21997         (acos_test): Update call to START.
21998         (acos_test_tonearest): Likewise.
21999         (acos_test_towardzero): Likewise.
22000         (acos_test_downward): Likewise.
22001         (acos_test_upward): Likewise.
22002         (acosh_test): Likewise.
22003         (asin_test): Likewise.
22004         (asin_test_tonearest): Likewise.
22005         (asin_test_towardzero): Likewise.
22006         (asin_test_downward): Likewise.
22007         (asin_test_upward): Likewise.
22008         (asinh_test): Likewise.
22009         (atan_test): Likewise.
22010         (atanh_test): Likewise.
22011         (atan2_test): Likewise.
22012         (cabs_test): Likewise.
22013         (cacos_test): Likewise.
22014         (cacosh_test): Likewise.
22015         (carg_test): Likewise.
22016         (casin_test): Likewise.
22017         (casinh_test): Likewise.
22018         (catan_test): Likewise.
22019         (catanh_test): Likewise.
22020         (cbrt_test): Likewise.
22021         (ccos_test): Likewise.
22022         (ccosh_test): Likewise.
22023         (ceil_test): Likewise.
22024         (cexp_test): Likewise.
22025         (cimag_test): Likewise.
22026         (clog_test): Likewise.
22027         (clog10_test): Likewise.
22028         (conj_test): Likewise.
22029         (copysign_test): Likewise.
22030         (cos_test): Likewise.
22031         (cos_test_tonearest): Likewise.
22032         (cos_test_towardzero): Likewise.
22033         (cos_test_downward): Likewise.
22034         (cos_test_upward): Likewise.
22035         (cosh_test): Likewise.
22036         (cosh_test_tonearest): Likewise.
22037         (cosh_test_towardzero): Likewise.
22038         (cosh_test_downward): Likewise.
22039         (cosh_test_upward): Likewise.
22040         (cpow_test): Likewise.
22041         (cproj_test): Likewise.
22042         (creal_test): Likewise.
22043         (csin_test): Likewise.
22044         (csinh_test): Likewise.
22045         (csqrt_test): Likewise.
22046         (ctan_test): Likewise.
22047         (ctan_test_tonearest): Likewise.
22048         (ctan_test_towardzero): Likewise.
22049         (ctan_test_downward): Likewise.
22050         (ctan_test_upward): Likewise.
22051         (ctanh_test): Likewise.
22052         (ctanh_test_tonearest): Likewise.
22053         (ctanh_test_towardzero): Likewise.
22054         (ctanh_test_downward): Likewise.
22055         (ctanh_test_upward): Likewise.
22056         (erf_test): Likewise.
22057         (erfc_test): Likewise.
22058         (exp_test): Likewise.
22059         (exp_test_tonearest): Likewise.
22060         (exp_test_towardzero): Likewise.
22061         (exp_test_downward): Likewise.
22062         (exp_test_upward): Likewise.
22063         (exp10_test): Likewise.
22064         (exp10_test_tonearest): Likewise.
22065         (exp10_test_towardzero): Likewise.
22066         (exp10_test_downward): Likewise.
22067         (exp10_test_upward): Likewise.
22068         (pow10_test): Likewise.
22069         (exp2_test): Likewise.
22070         (expm1_test): Likewise.
22071         (expm1_test_tonearest): Likewise.
22072         (expm1_test_towardzero): Likewise.
22073         (expm1_test_downward): Likewise.
22074         (expm1_test_upward): Likewise.
22075         (fabs_test): Likewise.
22076         (fdim_test): Likewise.
22077         (floor_test): Likewise.
22078         (fma_test): Likewise.
22079         (fma_test_towardzero): Likewise.
22080         (fma_test_downward): Likewise.
22081         (fma_test_upward): Likewise.
22082         (fmax_test): Likewise.
22083         (fmin_test): Likewise.
22084         (fmod_test): Likewise.
22085         (fpclassify_test): Likewise.
22086         (frexp_test): Likewise.
22087         (hypot_test): Likewise.
22088         (ilogb_test): Likewise.
22089         (isfinite_test): Likewise.
22090         (finite_test): Likewise.
22091         (isgreater_test): Likewise.
22092         (isgreaterequal_test): Likewise.
22093         (isinf_test): Likewise.
22094         (isless_test): Likewise.
22095         (islessequal_test): Likewise.
22096         (islessgreater_test): Likewise.
22097         (isnan_test): Likewise.
22098         (isnormal_test): Likewise.
22099         (issignaling_test): Likewise.
22100         (isunordered_test): Likewise.
22101         (j0_test): Likewise.
22102         (j1_test): Likewise.
22103         (jn_test): Likewise.
22104         (ldexp_test): Likewise.
22105         (lgamma_test): Likewise.
22106         (gamma_test): Likewise.
22107         (lrint_test): Likewise.
22108         (lrint_test_tonearest): Likewise.
22109         (lrint_test_towardzero): Likewise.
22110         (lrint_test_downward): Likewise.
22111         (lrint_test_upward): Likewise.
22112         (llrint_test): Likewise.
22113         (llrint_test_tonearest): Likewise.
22114         (llrint_test_towardzero): Likewise.
22115         (llrint_test_downward): Likewise.
22116         (llrint_test_upward): Likewise.
22117         (log_test): Likewise.
22118         (log10_test): Likewise.
22119         (log1p_test): Likewise.
22120         (log2_test): Likewise.
22121         (logb_test): Likewise.
22122         (logb_test_downward): Likewise.
22123         (lround_test): Likewise.
22124         (llround_test): Likewise.
22125         (modf_test): Likewise.
22126         (nearbyint_test): Likewise.
22127         (nextafter_test): Likewise.
22128         (nexttoward_test): Likewise.
22129         (pow_test): Likewise.
22130         (pow_test_tonearest): Likewise.
22131         (pow_test_towardzero): Likewise.
22132         (pow_test_downward): Likewise.
22133         (pow_test_upward): Likewise.
22134         (remainder_test): Likewise.
22135         (drem_test): Likewise.
22136         (remainder_test_tonearest): Likewise.
22137         (drem_test_tonearest): Likewise.
22138         (remainder_test_towardzero): Likewise.
22139         (drem_test_towardzero): Likewise.
22140         (remainder_test_downward): Likewise.
22141         (drem_test_downward): Likewise.
22142         (remainder_test_upward): Likewise.
22143         (drem_test_upward): Likewise.
22144         (remquo_test): Likewise.
22145         (rint_test): Likewise.
22146         (rint_test_tonearest): Likewise.
22147         (rint_test_towardzero): Likewise.
22148         (rint_test_downward): Likewise.
22149         (rint_test_upward): Likewise.
22150         (round_test): Likewise.
22151         (scalb_test): Likewise.
22152         (scalbn_test): Likewise.
22153         (scalbln_test): Likewise.
22154         (signbit_test): Likewise.
22155         (sin_test): Likewise.
22156         (sin_test_tonearest): Likewise.
22157         (sin_test_towardzero): Likewise.
22158         (sin_test_downward): Likewise.
22159         (sin_test_upward): Likewise.
22160         (sincos_test): Likewise.
22161         (sinh_test): Likewise.
22162         (sinh_test_tonearest): Likewise.
22163         (sinh_test_towardzero): Likewise.
22164         (sinh_test_downward): Likewise.
22165         (sinh_test_upward): Likewise.
22166         (sqrt_test): Likewise.
22167         (sqrt_test_tonearest): Likewise.
22168         (sqrt_test_towardzero): Likewise.
22169         (sqrt_test_downward): Likewise.
22170         (sqrt_test_upward): Likewise.
22171         (tan_test): Likewise.
22172         (tan_test_tonearest): Likewise.
22173         (tan_test_towardzero): Likewise.
22174         (tan_test_downward): Likewise.
22175         (tan_test_upward): Likewise.
22176         (tanh_test): Likewise.
22177         (tgamma_test): Likewise.
22178         (trunc_test): Likewise.
22179         (y0_test): Likewise.
22180         (y1_test): Likewise.
22181         (yn_test): Likewise.
22182         (significand_test): Likewise.
22184         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22185         individual tests in comment.
22186         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22187         (prev_max_error): New variable.
22188         (prev_real_max_error): Likewise.
22189         (prev_imag_max_error): Likewise.
22190         (compare_ulp_data): Don't refer to test names in comment.
22191         (find_test_ulps): Remove function.
22192         (find_function_ulps): Likewise.
22193         (find_complex_function_ulps): Likewise.
22194         (init_max_error): Take function name as argument.  Look up ulps
22195         for that function.
22196         (print_ulps): Remove function.
22197         (print_max_error): Use prev_max_error instead of calling
22198         find_function_ulps.
22199         (print_complex_max_error): Use prev_real_max_error and
22200         prev_imag_max_error instead of calling find_complex_function_ulps.
22201         (check_float_internal): Take max_ulp parameter instead of calling
22202         find_test_ulps.  Don't call print_ulps.
22203         (check_float): Update call to check_float_internal.
22204         (check_complex): Update calls to check_float_internal.
22205         (START): Pass argument to init_max_error.
22206         * math/gen-libm-test.pl (%results): Don't include "kind"
22207         information.
22208         (parse_ulps): Don't handle ulps of individual tests.
22209         (print_ulps_file): Likewise.
22210         (output_ulps): Likewise.
22211         * math/README.libm-test: Update.
22212         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22213         individual tests.
22214         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22215         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22216         * sysdeps/arm/libm-test-ulps: Likewise.
22217         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22218         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22219         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22220         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22221         * sysdeps/microblaze/libm-test-ulps: Likewise.
22222         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22223         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22224         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22225         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22226         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22227         * sysdeps/sh/libm-test-ulps: Likewise.
22228         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22229         * sysdeps/tile/libm-test-ulps: Likewise.
22230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22232 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22234         * math/libm-test.inc (print_complex_max_error): Check separately
22235         whether real and imaginary errors are within allowed range and
22236         pass 0 to print_complex_function_ulps instead of value within
22237         allowed range.
22239 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22241         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22242         formatting.
22243         (get_handles_fopen): Likewise.
22244         (do_write_test): Likewise.
22246         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22248         * libio/fileops.c (do_ftell): Use cached offset when
22249         available.
22250         * libio/iofwide.c (do_ftell_wide): Likewise.
22251         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22252         _IO_file_attach.
22253         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22255         [BZ #16532]
22256         * libio/libioP.h (get_file_offset): New function.
22257         * libio/fileops.c (get_file_offset): Likewise.
22258         (do_ftell): Likewise.
22259         (_IO_new_file_seekoff): Split out ftell logic.
22260         * libio/wfileops.c (do_ftell_wide): Likewise.
22261         (_IO_wfile_seekoff): Split out ftell logic.
22262         * libio/tst-ftell-active-handler.c: New test case.
22263         * libio/Makefile (tests): Add it.
22265 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22267         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22268         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22270 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22272         [BZ #16639]
22273         * nscd/connections.c (nscd_init): Call do_exit.
22274         (start_threads): Call do_exit and notify_parent.
22275         (begin_drop_privileges): Call do_exit.
22276         (finish_drop_privileges): Likewise.
22277         * nscd/selinux.c (preserve_capabilities): Likewise.
22278         (install_real_capabilities): Likewise.
22279         (nscd_selinux_enabled): Likewise.
22280         (avc_create_thread): Likewise.
22281         (avc_alloc_lock): Likewise.
22282         (nscd_avc_init): Likewise.
22283         * nscd/nscd.c (parent_fd): New static variable.
22284         (main): Create a pipe between parent and child processes.
22285         Skip closing parent_fd.
22286         (monitor_child): New function.
22287         (do_exit): Likewise.
22288         (notify_parent): Likewise.
22289         * nscd/nscd.h (notify_parent): Likewise.
22290         (do_exit): Likewise.
22292 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22294         * malloc/malloc.c (__libc_calloc): Revert last change.
22296 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22300 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22302         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22304         implementation.
22305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22306         (__libc_ifunc_impl_list): Likewise.
22307         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22308         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22309         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22310         * string/strrchr.c: Define STRRCHR.
22312 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22314         * benchtest/bench-strtok.c (simple_strtok): Delete.
22315         (strtok_string): Use as benchmark.
22316         * string/strtok (STRTOK): New macro.
22318 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22320         * manual/threads.texi: Add header and standard comments to all
22321         functions.
22323         * elf/dl-lookup.c (check_match): New function.
22324         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22325         (do_lookup_x): Remove nested function check_match. Use non-nested
22326         function check_match.
22328 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22330         * csu/Makefile (generated, before-compile): Use += rather than =.
22331         * catgets/Makefile (generated, generated-dirs): Likewise.
22332         * debug/Makefile (generated): Likewise.
22333         * dlfcn/Makefile (generated): Likewise.
22334         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22335         * iconvdata/Makefile (before-compile, generated): Likewise.
22336         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22337         * libio/Makefile (generated): Likewise.
22338         * malloc/Makefile (generated): Likewise.
22339         * manual/Makefile (generated, generated-dirs): Likewise.
22340         * misc/Makefile (generated): Likewise.
22341         * posix/Makefile (generated): Likewise.
22342         * resolv/Makefile (generated): Likewise.
22343         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22344         * timezone/Makefile (generated, generated-dirs): Likewise.
22346         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22348 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22351         power8 implementation.
22352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22353         file: POWER8 llround ifunc implementation.
22354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22355         (__lllround): Add POWER8 implementation.
22356         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22357         POWER8 llround implementation.
22359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22360         power8 implementation.
22361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22362         file: POWER8 llrint ifunc implementation.
22363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22364         Add POWER8 implementation.
22365         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22366         POWER8 llrint implementation.
22368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22369         power8 implementation.
22370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22371         file: POWER8 finite ifunc implementation.
22372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22373         Add POWER8 implementation.
22374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22375         Likewise.
22376         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22377         POWER8 finite implementation.
22378         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22381         power8 implementation.
22382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22383         file: POWER8 isinf ifunc implementation.
22384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22385         POWER8 implementation.
22386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22387         Likewise.
22388         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22389         isinf implementation.
22390         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22392         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22393         (INIT_ARCH): Add hwcap2 initialization.
22394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22395         power8 implementation.
22396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22397         file: POWER8 isnan ifunc implementation.
22398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22399         POWER8 implementation.
22400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22401         Likewise.
22402         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22403         isnan implementation.
22404         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22406 2014-02-27  Joey Ye  <joey.ye@arm.com>
22408         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22409         (_FP_NANFRAC_Q): Set to zero.
22411 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22413         [BZ #16623]
22414         * math/auto-libm-test-in: New test inputs.
22415         * math/auto-libm-test-out: Regenerate.
22416         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22417         and DA.
22418         (__cos): Likewise.
22419         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22421 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22423         * scripts/evaluate-test.sh: Take new argument indicating whether
22424         failure is expected.
22425         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22426         indicating whether failure is expected.
22427         * conform/Makefile (test-xfail-run-conformtest): New variable.
22428         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22429         level.
22430         * posix/Makefile (test-xfail-annexc): New variable.
22431         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22433 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22435         * argp/Makefile: Include Makeconfig immediately after defining
22436         subdir.
22437         * assert/Makefile: Likewise.
22438         * benchtests/Makefile: Likewise.
22439         * catgets/Makefile: Likewise.
22440         * conform/Makefile: Likewise.
22441         * crypt/Makefile: Likewise.
22442         * csu/Makefile: Likewise.
22443         (all): Remove target.
22444         * ctype/Makefile: Include Makeconfig immediately after defining
22445         subdir.
22446         * debug/Makefile: Likewise.
22447         * dirent/Makefile: Likewise.
22448         * dlfcn/Makefile: Likewise.
22449         * gmon/Makefile: Likewise.
22450         * gnulib/Makefile: Likewise.
22451         * grp/Makefile: Likewise.
22452         * gshadow/Makefile: Likewise.
22453         * hesiod/Makefile: Likewise.
22454         * hurd/Makefile: Likewise.
22455         (all): Remove target.
22456         * iconvdata/Makefile: Include Makeconfig immediately after
22457         defining subdir.
22458         * inet/Makefile: Likewise.
22459         * intl/Makefile: Likewise.
22460         * io/Makefile: Likewise.
22461         * libio/Makefile: Likewise.
22462         (all): Remove target.
22463         * locale/Makefile: Include Makeconfig immediately after defining
22464         subdir.
22465         * login/Makefile: Likewise.
22466         * mach/Makefile: Likewise.
22467         (all): Remove target.
22468         * malloc/Makefile: Include Makeconfig immediately after defining
22469         subdir.
22470         (all): Remove target.
22471         * manual/Makefile: Include Makeconfig immediately after defining
22472         subdir.
22473         * math/Makefile: Likewise.
22474         * misc/Makefile: Likewise.
22475         * nis/Makefile: Likewise.
22476         * nss/Makefile: Likewise.
22477         * po/Makefile: Likewise.
22478         (all): Remove target.
22479         * posix/Makefile: Include Makeconfig immediately after defining
22480         subdir.
22481         * pwd/Makefile: Likewise.
22482         * resolv/Makefile: Likewise.
22483         * resource/Makefile: Likewise.
22484         * rt/Makefile: Likewise.
22485         * setjmp/Makefile: Likewise.
22486         * shadow/Makefile: Likewise.
22487         * signal/Makefile: Likewise.
22488         * socket/Makefile: Likewise.
22489         * soft-fp/Makefile: Likewise.
22490         * stdio-common/Makefile: Likewise.
22491         * stdlib/Makefile: Likewise.
22492         * streams/Makefile: Likewise.
22493         * string/Makefile: Likewise.
22494         * sunrpc/Makefile: Likewise.
22495         (all): Remove target.
22496         * sysvipc/Makefile: Include Makeconfig immediately after defining
22497         subdir.
22498         * termios/Makefile: Likewise.
22499         * time/Makefile: Likewise.
22500         * timezone/Makefile: Likewise.
22501         (all): Remove target.
22502         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22503         subdir.
22504         * wctype/Makefile: Likewise.
22506 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22508         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22509         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22510         (libc_feholdexcept_setround_mips): Ditto.
22511         (libc_feholdsetround): New.
22512         (libc_feholdsetroundf): New.
22513         (libc_feholdsetroundl): New.
22514         (libc_feupdateenv_test_mips): New.
22515         (libc_feupdateenv_test): New.
22516         (libc_feupdateenv_testf): New.
22517         (libc_feupdateenv_testl): New.
22518         (libc_feresetround): New.
22519         (libc_feresetroundf): New.
22520         (libc_feresetroundl): New.
22521         (libc_fetestexcept_mips): New.
22522         (libc_fetestexcept): New.
22523         (libc_fetestexceptf): New.
22524         (libc_fetestexceptl): New.
22525         (HAVE_RM_CTX): New.
22526         (libc_feholdexcept_setround_mips_ctx): New.
22527         (libc_feholdexcept_setround_ctx): New.
22528         (libc_feholdexcept_setroundf_ctx): New.
22529         (libc_feholdexcept_setroundl_ctx): New.
22530         (libc_fesetenv_mips_ctx): New.
22531         (libc_fesetenv_ctx): New.
22532         (libc_fesetenv_ctxf): New.
22533         (libc_fesetenv_ctxl): New.
22534         (libc_feupdateenv_mips_ctx): New.
22535         (libc_feupdateenv_ctx): New.
22536         (libc_feupdateenvf_ctx): New.
22537         (libc_feupdateenvl_ctx): New.
22538         (libc_feholdsetround_mips_ctx): New.
22539         (libc_feholdsetround_ctx): New.
22540         (libc_feholdsetroundf_ctx): New.
22541         (libc_feholdsetroundl_ctx): New.
22542         (libc_feresetround_mips_ctx): New.
22543         (libc_feresetround_ctx): New.
22544         (libc_feresetroundf_ctx): New.
22545         (libc_feresetroundl_ctx): New.
22547 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22549         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22551         * manual/ipc.texi: New file.
22552         * manual/Makefile (chapters): Add ipc.
22553         * manual/job.texi: Add "Inter-Process Communication" to next.
22554         * manual/process.texi: Add "Inter-Process Communication" to prev.
22556 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22560 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22562         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22564         * manual/arith.texi: Fix spaces after sentences.
22565         * manual/charset.texi: Likewise.
22566         * manual/errno.texi: Likewise.
22567         * manual/install.texi: Likewise.
22568         * manual/llio.texi: Likewise.
22569         * manual/locale.texi: Likewise.
22570         * manual/maint.texi: Likewise.
22571         * manual/math.texi: Likewise.
22572         * manual/memory.texi: Likewise.
22573         * manual/message.texi: Likewise.
22574         * manual/probes.texi: Likewise.
22575         * manual/resource.texi: Likewise.
22576         * manual/signal.texi: Likewise.
22577         * manual/socket.texi: Likewise.
22578         * manual/stdio.texi: Likewise.
22579         * manual/string.texi: Likewise.
22580         * manual/time.texi: Likewise.
22581         * manual/users.texi: Likewise.
22583 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22585         [BZ #16632]
22586         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22587         _DEFAULT_SOURCE is defined.
22589 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22590             Carlos O'Donell  <carlos@redhat.com>
22592         [BZ #16613]
22593         * elf/dl-tls.c (_dl_count_modids): New function.
22594         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22595         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22596         audit library and increment generation counter.
22597         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22598         * elf/tst-audit9.c: New file.
22599         * elf/tst-auditmod9a.c: New file.
22600         * elf/tst-auditmod9b.c: New file.
22601         * elf/Makefile: Add rules to build and run tst-audit9.
22603 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22605         [BZ #15347]
22606         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22608 2014-02-25  Will Newton  <will.newton@linaro.org>
22610         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22611         (__longjmp): Restore sp and lr before restoring callee
22612         saved registers.  Add longjmp and longjmp_target
22613         SystemTap probe point.
22614         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22615         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22616         Define to zero to match jmpbuf layout.
22617         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22618         (__sigsetjmp): Save sp and lr before saving callee
22619         saved registers.  Add setjmp SystemTap probe point.
22621 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22623         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22625 2014-02-24  Andreas Schwab  <schwab@suse.de>
22627         [BZ #15804]
22628         * elf/pldd.c (wait_for_ptrace_stop): New function.
22629         (main): Call it after attaching.
22631 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22633         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22634         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22635         Versions files is now verboten.
22636         * hurd/Versions (libc: GLIBC_2.0):
22637         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22638         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22639         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22640         * mach/Versions: Likewise.
22642         * csu/Versions: Remove unused %include.
22643         * resolv/Versions: Likewise.
22645 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22647         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22648         ($(objpfx)check-local-headers.out): Likewise.
22649         ($(objpfx)begin-end-check.out): Likewise.
22650         * Makerules (check-abi-%.out): Likewise.
22651         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22652         ($(objpfx)test2.cat): Likewise.
22653         ($(objpfx)de/libc.cat): Likewise.
22654         ($(objpfx)test-gencat.out): Likewise.
22655         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22656         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22657         ($(objpfx)noload-mem): Likewise.
22658         ($(objpfx)tst-pathopt.out): Likewise.
22659         ($(objpfx)tst-rtld-load-self.out): Likewise.
22660         ($(objpfx)tst-array1-cmp.out): Likewise.
22661         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22662         ($(objpfx)tst-array2-cmp.out): Likewise.
22663         ($(objpfx)tst-array3-cmp.out): Likewise.
22664         ($(objpfx)tst-array4-cmp.out): Likewise.
22665         ($(objpfx)tst-array5-cmp.out): Likewise.
22666         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22667         ($(objpfx)check-textrel.out): Likewise.
22668         ($(objpfx)check-execstack.out): Likewise.
22669         ($(objpfx)check-localplt.out): Likewise.
22670         ($(objpfx)order2-cmp.out): Likewise.
22671         ($(objpfx)tst-leaks1-mem): Likewise.
22672         ($(objpfx)tst-leaks1-static-mem): Likewise.
22673         ($(objpfx)tst-initorder-cmp.out): Likewise.
22674         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22675         ($(objpfx)tst-unused-dep.out): Likewise.
22676         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22677         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22678         * iconv/Makefile (test-iconvconfig): Likewise.
22679         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22680         ($(objpfx)iconv-test.out): Likewise.
22681         ($(objpfx)tst-tables.out): Likewise.
22682         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22683         ($(objpfx)tst-gettext.out): Likewise.
22684         ($(objpfx)tst-translit.out): Likewise.
22685         ($(objpfx)tst-gettext2.out): Likewise.
22686         ($(objpfx)tst-gettext4.out): Likewise.
22687         ($(objpfx)tst-gettext6.out): Likewise.
22688         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22689         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22690         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22691         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22692         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22693         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22694         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22695         ($(objpfx)wordexp-tst.out): Likewise.
22696         ($(objpfx)annexc.out): Likewise.
22697         ($(objpfx)tst-fnmatch-mem): Likewise.
22698         ($(objpfx)bug-regex2-mem): Likewise.
22699         ($(objpfx)bug-regex14-mem): Likewise.
22700         ($(objpfx)bug-regex21-mem): Likewise.
22701         ($(objpfx)bug-regex31-mem): Likewise.
22702         ($(objpfx)tst-vfork3-mem): Likewise.
22703         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22704         ($(objpfx)tst-pcre-mem): Likewise.
22705         ($(objpfx)tst-boost-mem): Likewise.
22706         ($(objpfx)tst-getconf.out): Likewise.
22707         ($(objpfx)bug-ga2-mem): Likewise.
22708         ($(objpfx)bug-glob2-mem): Likewise.
22709         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22710         ($(objpfx)mtrace-tst-leaks2): Likewise.
22711         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22712         ($(objpfx)tst-printf.out): Likewise.
22713         ($(objpfx)tst-setvbuf1.out): Likewise.
22714         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22715         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22716         ($(objpfx)tst-fmtmsg.out): Likewise.
22717         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22718         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22720         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22721         * bits/sigaction.h [__USE_MISC]: Likewise.
22722         * bits/waitstatus.h: Update #endif comments.
22723         * ctype/ctype.h: Likewise.
22724         * dirent/dirent.h: Likewise.
22725         [__USE_MISC]: Remove redundant conditionals.
22726         * grp/grp.h: Update #endif comments.
22727         [__USE_GNU]: Remove redundant conditionals.
22728         [__USE_MISC]: Likewise.
22729         * inet/netinet/in.h [__USE_GNU]: Likewise.
22730         * io/sys/stat.h [__USE_MISC]: Likewise.
22731         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22732         * libio/bits/stdio.h: Update #endif comments.
22733         [__USE_MISC]: Remove redundant conditionals.
22734         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22735         * libio/stdio.h: Update #endif comments.
22736         [__USE_MISC]: Remove redundant conditionals.
22737         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22738         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22739         * math/math.h: Update #else and #endif comments.
22740         [__USE_MISC]: Remove redundant conditionals.
22741         * misc/sys/uio.h: Update #endif comments.
22742         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22743         * posix/glob.h [__USE_MISC]: Likewise.
22744         * posix/sys/types.h: Update #endif comments.
22745         [__USE_MISC]: Remove redundant conditionals.
22746         * posix/sys/wait.h: Update #endif comments.
22747         [__USE_MISC]: Remove redundant conditionals.
22748         * posix/unistd.h: Update #endif comments.
22749         [__USE_MISC]: Remove redundant conditionals.
22750         * pwd/pwd.h [__USE_GNU]: Likewise.
22751         [__USE_MISC]: Likewise.
22752         * resolv/netdb.h [__USE_GNU]: Likewise.
22753         * signal/signal.h: Update #endif comments.
22754         [__USE_MISC]: Remove redundant conditionals.
22755         * stdlib/stdlib.h: Update #else and #endif comments.
22756         [__USE_MISC]: Remove redundant conditionals.
22757         [__USE_GNU]: Likewise.
22758         * string/bits/string2.h [__USE_MISC]: Likewise.
22759         * string/string.h: Update #endif comments.
22760         [__USE_MISC]: Remove redundant conditionals.
22761         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22762         Likewise.
22763         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22764         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22765         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22766         Likewise.
22767         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22768         Likewise.
22769         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22770         comments.
22771         [__USE_MISC]: Remove redundant conditionals.
22772         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22773         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22774         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22775         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22776         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22777         Likewise.
22778         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22779         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22780         Likewise.
22781         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22782         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22783         Likewise.
22784         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22785         Likewise.
22786         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22787         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22788         Likewise.
22789         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22790         Likewise.
22791         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22792         * sysdeps/x86/bits/string.h: Update #endif comments.
22793         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22794         conditionals.
22795         * time/sys/time.h: Update #endif comments.
22796         * time/time.h: Likewise.
22797         [__USE_MISC]: Remove redundant conditionals.
22799 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22801         [BZ #16600]
22802         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22804 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22806         * Versions.def (librt): Add GLIBC_2.17.
22808 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22810         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22811         synonym for _SYS_AUXV_H to allow direct inclusion.
22812         * sysdeps/sparc/bits/hwcap.h: Likewise.
22813         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22814         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22815         * sysdeps/sparc/sysdep.h: Likewise.
22817 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22819         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22821 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22823         * benchtests/bench-strrchr.c: Print length instead of position.
22825 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22827         [BZ #16611]
22828         * sysdeps/unix/sysv/linux/kernel-features.h
22829         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22830         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22831         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22832         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22833         Likewise.
22834         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22835         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22836         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22837         (__ASSUME_SENDMMSG): Define instead of using previous
22838         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22839         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22840         (__ASSUME_SENDMMSG_SYSCALL): Define.
22841         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22842         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22843         Likewise.
22844         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22845         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22846         Likewise.
22847         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22848         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22849         Likewise.
22850         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22851         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22852         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22853         [__ASSUME_SENDMMSG]: Change conditionals to
22854         [__ASSUME_SENDMMSG_SOCKETCALL].
22855         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22856         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22857         Define.
22858         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22859         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22860         Likewise.
22861         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22862         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22863         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22864         [!__ASSUME_SENDMMSG]: Change conditional to
22865         [!__ASSUME_SENDMMSG_SOCKETCALL].
22866         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22867         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22868         Define.
22870         [BZ #16610]
22871         * sysdeps/unix/sysv/linux/kernel-features.h
22872         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22873         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22874         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22875         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22876         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22877         [__i386__ || __sparc__]
22878         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22879         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22880         (__ASSUME_RECVMMSG): Define instead of using previous
22881         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22882         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22883         (__ASSUME_RECVMMSG_SYSCALL): Define.
22884         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22885         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22886         Likewise.
22887         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22888         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22889         Likewise.
22890         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22891         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22892         Likewise.
22893         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22894         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22895         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22896         [__ASSUME_RECVMMSG]: Change condition to
22897         [__ASSUME_RECVMMSG_SOCKETCALL].
22898         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22899         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22900         Define.
22901         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22902         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22903         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22904         Likewise.
22905         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22906         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22907         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22908         [!__ASSUME_RECVMMSG]: Change condition to
22909         [!__ASSUME_RECVMMSG_SOCKETCALL].
22910         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22911         (__ASSUME_RECVMMSG_SYSCALL): Define.
22913         [BZ #16609]
22914         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22915         __powerpc__ || __s390__ || __sh__ || __sparc__]
22916         (__ASSUME_SOCKETCALL): Define.
22917         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22918         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22919         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22920         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22921         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22922         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22923         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22924         (__ASSUME_ACCEPT4): Define instead of using previous
22925         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22926         __powerpc__ || __sparc__ || __s390__)] condition.
22927         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22928         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22929         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22930         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22931         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22932         [!__ASSUME_ACCEPT4]: Change condition to
22933         [!__ASSUME_ACCEPT4_SOCKETCALL].
22934         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22935         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22936         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22937         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22938         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22939         __ASSUME_ACCEPT4_SYSCALL.
22940         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22941         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22942         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22943         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22944         __ASSUME_ACCEPT4_SYSCALL.
22945         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22946         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22947         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22948         [__ASSUME_ACCEPT4]: Change condition to
22949         [__ASSUME_ACCEPT4_SOCKETCALL].
22950         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22951         (__ASSUME_SOCKETCALL): Define.
22952         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22953         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22954         (__ASSUME_SOCKETCALL): Define.
22955         (__ASSUME_ACCEPT4): Remove.
22956         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22957         Define.
22958         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22959         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22960         Likewise.
22961         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22962         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22964         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22965         macro.
22966         (HWCAP_ARM_LPAE): Likewise.
22967         (HWCAP_ARM_EVTSTRM): Likewise.
22968         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22969         Add vpfd32, lpae and evtstrm.
22970         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22971         Increase to 22.
22973 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22975         * math/auto-libm-test-in: Add tests of clog10.
22976         * math/auto-libm-test-out: Regenerated.
22977         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22978         * sysdeps/i386/fpu/libm-test-ulps: Update.
22979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22981 2014-02-18  Andreas Schwab  <schwab@suse.de>
22983         [BZ #16574]
22984         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22985         Store non-zero if the second buffer was newly allocated.
22986         (send_dg): Likewise.
22987         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22988         to send_vc and send_dg.
22989         (res_nsend): Pass NULL for ansp2_malloced.
22990         * resolv/res_query.c (__libc_res_nquery): Add parameter
22991         answerp2_malloced and pass it down to __libc_res_nsend.
22992         (res_nquery): Pass additional NULL to __libc_res_nquery.
22993         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22994         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22995         second answer buffer if answerp2_malloced was set.
22996         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22997         (__libc_res_nquerydomain): Add parameter
22998         answerp2_malloced and pass it down to __libc_res_nquery.
22999         (res_nquerydomain): Pass additional NULL to
23000         __libc_res_nquerydomain.
23001         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23002         additional NULL to __libc_res_nsend and __libc_res_nquery.
23003         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23004         additional NULL to __libc_res_nsearch.
23005         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23006         parameter of __libc_res_nsearch to check for separately allocated
23007         second buffer.
23008         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23009         __libc_res_nquery.
23010         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23011         additional NULL to __libc_res_nquery.
23012         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23013         __libc_res_nsearch.
23014         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23015         * include/resolv.h: Update prototypes of __libc_res_nquery,
23016         __libc_res_nsearch, __libc_res_nsend.
23018 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23020         * math/auto-libm-test-in: Add tests of fma.
23021         * math/auto-libm-test-out: Regenerated.
23022         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23023         (fma_towardzero_test_data): Likewise.
23024         (fma_downward_test_data): Likewise.
23025         (fma_upward_test_data): Likewise.
23026         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23027         mpc_mode.
23028         (rounding_modes): Add values for new field.
23029         (func_calc_method): Add value mpfr_fff_f.
23030         (func_calc_desc): Add mpfr_fff_f union field.
23031         (test_function): Add field exact_args.
23032         (FUNC): Add macro argument EXACT_ARGS.
23033         (FUNC_mpfr_f_f): Update call to FUNC.
23034         (FUNC_mpfr_f_f): Likewise.
23035         (FUNC_mpfr_ff_f): Likewise.
23036         (FUNC_mpfr_if_f): Likewise.
23037         (FUNC_mpc_c_f): Likewise.
23038         (FUNC_mpc_c_c): Likewise.
23039         (test_functions): Add fma.  Update calls to FUNC.
23040         (handle_input_arg): Add argument exact_args.
23041         (add_test): Update call to handle_input_arg.
23042         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23043         (output_for_one_input_case): Update call to calc_generic_results.
23044         Recalculate exact zero results in each rounding mode.
23046         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23047         non-negative before setting low bit.
23048         * math/auto-libm-test-in: Mark one asin test possibly having
23049         spurious underflow.
23050         * math/auto-libm-test-out: Regenerated.
23051         * sysdeps/i386/fpu/libm-test-ulps: Update.
23052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23054 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23056         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23057         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23058         ports/sysdeps/unix/sysv/linux/microblaze.
23059         * README: Add missing listing for microblaze*-*-linux-gnu.
23061 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23063         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23064         duplicate code
23066 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23068         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23069         * sysdeps/unix/sysv/linux/ia64: Move directory from
23070         ports/sysdeps/unix/sysv/linux/ia64.
23071         * README: Update listing for ia64-*-linux-gnu.
23073 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23074             Joseph Myers  <joseph@codesourcery.com>
23076         * Makeconfig (test-name): New variable.
23077         (evaluate-test): Likewise.
23078         * Makerules (do-test-clean): Remove .test-result files.
23079         (common-mostlyclean): Likewise.
23080         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23081         * scripts/evaluate-test.sh: New file.
23083 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23085         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23086         separate $(objpfx)tst-fopenloc-cmp.out and
23087         $(objpfx)tst-fopenloc-mem.out targets.
23088         (tests): Update dependencies.
23089         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23090         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23091         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23092         (tst-rxspencer-no-utf8-ARGS): New variable.
23093         (tst-rxspencer-no-utf8-ENV): Likewise.
23094         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23095         instead of $(objpfx)tst-rxspencer-mem.
23096         ($(objpfx)tst-rxspencer-mem): Change target to
23097         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23098         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23099         * posix/tst-rxspencer-no-utf8.c: New file.
23101         * elf/Makefile ($(objpfx)order.out): Remove rule.
23102         [$(run-built-tests) = yes] (tests): Depend on
23103         $(objpfx)order-cmp.out.
23104         ($(objpfx)order-cmp.out): New rule.
23105         [$(run-built-tests) = yes] (tests): Depend on
23106         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23107         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23108         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23109         $(objpfx)tst-array5-static-cmp.out.
23110         ($(objpfx)tst-array1.out): Remove rule.
23111         ($(objpfx)tst-array1-cmp.out): New rule.
23112         ($(objpfx)tst-array1-static.out): Remove rule.
23113         ($(objpfx)tst-array1-static-cmp.out): New rule.
23114         ($(objpfx)tst-array2.out): Remove rule.
23115         ($(objpfx)tst-array2-cmp.out): New rule.
23116         ($(objpfx)tst-array3.out): Remove rule.
23117         ($(objpfx)tst-array3-cmp.out): New rule.
23118         ($(objpfx)tst-array4.out): Remove rule.
23119         ($(objpfx)tst-array4-cmp.out): New rule.
23120         ($(objpfx)tst-array5.out): Remove rule.
23121         ($(objpfx)tst-array5-cmp.out): New rule.
23122         ($(objpfx)tst-array5-static.out): Remove rule.
23123         ($(objpfx)tst-array5-static-cmp.out): New rule.
23124         [$(run-built-tests) = yes] (tests): Depend on
23125         $(objpfx)order2-cmp.out.
23126         ($(objpfx)order2.out): Remove rule.
23127         ($(objpfx)order2-cmp.out): New rule.
23128         ($(objpfx)tst-initorder.out): Remove rule.
23129         [$(run-built-tests) = yes] (tests): Depend on
23130         $(objpfx)tst-initorder-cmp.out.
23131         ($(objpfx)tst-initorder-cmp.out): New rule.
23132         ($(objpfx)tst-initorder2.out): Remove rule.
23133         [$(run-built-tests) = yes] (tests): Depend on
23134         $(objpfx)tst-initorder2-cmp.out.
23135         ($(objpfx)tst-initorder2-cmp.out): New rule.
23136         [$(run-built-tests) = yes] (tests): Depend on
23137         $(objpfx)tst-unused-dep-cmp.out.
23138         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23139         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23140         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23141         on $(objpfx)tst-setvbuf1-cmp.out.
23142         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23143         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23144         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23145         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23146         ($(objpfx)tst-svc.out): Remove rule.
23147         ($(objpfx)tst-svc-cmp.out): New rule.
23149 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23151         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23152         * ctype/ctype.h [__USE_MISC]: Likewise.
23153         * dirent/dirent.h [__USE_MISC]: Likewise.
23154         * grp/grp.h [__USE_MISC]: Likewise.
23155         * io/fcntl.h [__USE_MISC]: Likewise.
23156         * io/sys/stat.h [__USE_MISC]: Likewise.
23157         * libio/stdio.h [__USE_MISC]: Likewise.
23158         * posix/unistd.h [__USE_MISC]: Likewise.
23159         * pwd/pwd.h [__USE_MISC]: Likewise.
23160         * stdlib.h [__USE_MISC]: Likewise.
23161         * string/bits/string2.h [__USE_MISC]: Likewise.
23162         * string/string.h [__USE_MISC]: Likewise.
23163         * time/time.h [__USE_MISC]: Likewise.
23165 2014-02-13  Andreas Schwab  <schwab@suse.de>
23167         [BZ #16574]
23168         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23169         second answer buffer if it was separately allocated.
23171 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23173         * sysdeps/mips/math-tests.h: Include <features.h>.
23174         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23175         (ROUNDING_TESTS_long_double): Do not define.
23176         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23177         (EXCEPTION_TESTS_long_double): Likewise.
23178         * sysdeps/mips/mips64/libm-test-ulps: Update.
23180         * include/features.h (__USE_BSD): Remove macro definitions.
23181         (__USE_SVID): Likewise.
23182         (_BSD_SOURCE): Likewise.
23183         (_SVID_SOURCE): Likewise.
23184         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23185         from definition of _DEFAULT_SOURCE.
23186         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23187         [_DEFAULT_SOURCE].
23188         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23189         * bits/mman.h [__USE_BSD]: Likewise.
23190         * bits/termios.h [__USE_BSD]: Likewise.
23191         * bits/waitstatus.h [__USE_BSD]: Likewise.
23192         * ctype/ctype.h [__USE_SVID]: Likewise.
23193         * dirent/dirent.h [__USE_BSD]: Likewise.
23194         * grp/grp.h [__USE_SVID]: Likewise.
23195         [__USE_BSD]: Likewise.
23196         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23197         * io/fcntl.h [__USE_BSD]: Likewise.
23198         * io/ftw.h [__USE_BSD]: Likewise.
23199         * io/sys/stat.h [__USE_BSD]: Likewise.
23200         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23201         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23202         * libio/stdio.h [__USE_SVID]: Likewise.
23203         [__USE_BSD]: Likewise.
23204         * math/math.h [__USE_SVID]: Likewise.
23205         [__USE_BSD]: Likewise.
23206         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23207         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23208         * misc/search.h [__USE_SVID]: Likewise.
23209         * misc/sys/mman.h [__USE_BSD]: Likewise.
23210         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23211         * misc/sys/uio.h [__USE_BSD]: Likewise.
23212         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23213         * posix/glob.h [__USE_BSD]: Likewise.
23214         * posix/regex.h [__USE_BSD]: Likewise.
23215         * posix/sys/types.h [__USE_BSD]: Likewise.
23216         [__USE_SVID]: Likewise.
23217         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23218         * posix/sys/wait.h [__USE_BSD]: Likewise.
23219         [__USE_SVID]: Likewise.
23220         * posix/unistd.h [__USE_BSD]: Likewise.
23221         [__USE_SVID]: Likewise.
23222         * pwd/pwd.h [__USE_SVID]: Likewise.
23223         * resolv/netdb.h [__USE_BSD]: Likewise.
23224         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23225         * signal/signal.h [__USE_BSD]: Likewise.
23226         [__USE_SVID]: Likewise.
23227         * socket/sys/socket.h [__USE_BSD]: Likewise.
23228         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23229         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23230         [__USE_SVID]: Likewise.
23231         * string/bits/string2.h [__USE_BSD]: Likewise.
23232         [__USE_SVID]: Likewise.
23233         * string/bits/string3.h [__USE_BSD]: Likewise.
23234         * string/endian.h [__USE_BSD]: Likewise.
23235         * string/string.h [__USE_SVID]: Likewise.
23236         [__USE_BSD]: Likewise.
23237         * string/strings.h [__USE_BSD]: Likewise.
23238         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23239         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23240         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23241         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23242         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23243         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23244         Likewise.
23245         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23246         Likewise.
23247         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23248         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23249         Likewise.
23250         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23251         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23252         Likewise.
23253         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23254         Likewise.
23255         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23256         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23257         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23258         Likewise.
23259         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23260         Likewise.
23261         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23262         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23263         * termios/termios.h [__USE_BSD]: Likewise.
23264         * time/sys/time.h [__USE_BSD]: Likewise.
23265         * time/time.h [__USE_BSD]: Likewise.
23266         [__USE_SVID]: Likewise.
23268         * Makefile (subdir_targets): Remove subdir_lint.out.
23270         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23271         (do-tst-printf): Likewise.
23272         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23273         $(objpfx)tst-printf.out.
23275         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23277         * Makerules (check-abi-%): Change target to
23278         $(objpfx)check-abi-%.out.
23279         (check-abi target): Update dependencies.
23280         (check-abi-pattern variable): Redirect output of diff to $@.
23281         (check-abi variable): Likewise.
23282         * elf/Makefile (check-abi): Update dependencies.
23284         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23285         unused.
23286         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23287         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23288         subnormal range.
23289         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23290         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23291         value has largest subnormal exponent.
23292         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23293         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23294         * sysdeps/aarch64/soft-fp/sfp-machine.h
23295         (_FP_TININESS_AFTER_ROUNDING): New macro.
23296         * sysdeps/alpha/soft-fp/sfp-machine.h
23297         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23298         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23299         Likewise.
23300         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23301         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23302         * sysdeps/mips/soft-fp/sfp-machine.h
23303         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23304         * sysdeps/powerpc/soft-fp/sfp-machine.h
23305         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23306         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23307         Likewise.
23308         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23309         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23310         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23311         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23312         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23313         Likewise.
23315 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23317         [BZ #16545]
23318         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23319         model 1.
23321 2014-02-12  Richard Henderson  <rth@redhat.com>
23323         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23324         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23325         * sysdeps/unix/sysv/linux/alpha: Move directory from
23326         ports/sysdeps/unix/sysv/linux/alpha.
23327         * README: Update listing for alpha-*-linux-gnu.
23329 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23331         * include/features.h: Update comment documenting feature test
23332         macros.
23333         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23334         _DEFAULT_SOURCE.
23335         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23336         (_SVID_SOURCE): Likewise.
23337         (_DEFAULT_SOURCE): Update description of default features.
23338         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23339         with _GNU_SOURCE.
23340         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23341         (S_ISVTX): Likewise.
23342         * manual/math.texi (Mathematical Constants): Likewise.
23343         * manual/signal.texi (Interrupted Primitives): Likewise.
23344         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23345         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23346         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23347         Don't refer to _SVID_SOURCE in warning text.
23349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23351         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23352         already defined.
23353         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23354         * sysdeps/mips/dl-lookup.c: Remove.
23355         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23357 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23359         [BZ #16447]
23360         * math/auto-libm-test-in: Add testcase for expl.
23361         * math/auto-libm-test-out: Regenerate.
23362         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23363         calculation of unsafe.
23364         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23366 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23368         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23369         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23370         ports/sysdeps/unix/sysv/linux/aarch64.
23371         * README: Update listing for aarch64*-*-linux-gnu.
23373 2014-02-11  Will Newton  <will.newton@linaro.org>
23375         * manual/probes.texi (Mathematical Function Probes): Use
23376         "triggered" instead of "hit".
23378         * manual/probes.texi (Internal Probes): Add documentation
23379         of setjmp, longjmp and longjmp_target probes.
23381         * include/stap-probe.h: Add comment about probe argument
23382         format.
23384         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23385         definition.  (tr_where, tr_freehook, tr_mallochook,
23386         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23388 2014-02-11  David S. Miller  <davem@davemloft.net>
23390         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23391         processing int_tests.
23393 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23395         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23396         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23397         * sysdeps/unix/sysv/linux/mips: Move directory from
23398         ports/sysdeps/unix/sysv/linux/mips.
23399         * README: Update listing for mips-*-linux-gnu and
23400         mips64-*-linux-gnu.
23402 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23404         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23405         * sysdeps/unix/sysv/linux/m68k: Move directory from
23406         ports/sysdeps/unix/sysv/linux/m68k.
23407         * README: Update listing for m68k-*-linux-gnu.
23409 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23411         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23412         * sysdeps/unix/sysv/linux/generic: Move directory from
23413         ports/sysdeps/unix/sysv/linux/generic.
23414         * sysdeps/unix/sysv/linux/tile: Move directory from
23415         ports/sysdeps/unix/sysv/linux/tile.
23416         * README: Update listing for tile*-*-linux-gnu.
23418 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23420         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23421         __builtin_expect.
23422         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23423         * catgets/open_catalog.c (__open_catalog): Likewise.
23424         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23425         * debug/confstr_chk.c: Likewise.
23426         * debug/fread_chk.c (__fread_chk): Likewise.
23427         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23428         * debug/getgroups_chk.c: Likewise.
23429         * debug/mbsnrtowcs_chk.c: Likewise.
23430         * debug/mbsrtowcs_chk.c: Likewise.
23431         * debug/mbstowcs_chk.c: Likewise.
23432         * debug/memcpy_chk.c: Likewise.
23433         * debug/memmove_chk.c: Likewise.
23434         * debug/mempcpy_chk.c: Likewise.
23435         * debug/memset_chk.c: Likewise.
23436         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23437         * debug/strcat_chk.c (__strcat_chk): Likewise.
23438         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23439         * debug/strncat_chk.c (__strncat_chk): Likewise.
23440         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23441         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23442         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23443         * debug/wcpncpy_chk.c: Likewise.
23444         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23445         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23446         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23447         * debug/wcsncpy_chk.c: Likewise.
23448         * debug/wcsnrtombs_chk.c: Likewise.
23449         * debug/wcsrtombs_chk.c: Likewise.
23450         * debug/wcstombs_chk.c: Likewise.
23451         * debug/wmemcpy_chk.c: Likewise.
23452         * debug/wmemmove_chk.c: Likewise.
23453         * debug/wmempcpy_chk.c: Likewise.
23454         * debug/wmemset_chk.c: Likewise.
23455         * dirent/scandirat.c (SCANDIRAT): Likewise.
23456         * dlfcn/dladdr1.c (dladdr1): Likewise.
23457         * dlfcn/dladdr.c (dladdr): Likewise.
23458         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23459         * dlfcn/dlerror.c (__dlerror): Likewise.
23460         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23461         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23462         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23463         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23464         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23465         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23466         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23467         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23468         Likewise.
23469         * elf/dl-conflict.c: Likewise.
23470         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23471         * elf/dl-dst.h: Likewise.
23472         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23473         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23474         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23475         * elf/dl-init.c (call_init, _dl_init): Likewise.
23476         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23477         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23478         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23479         Likewise.
23480         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23481         Likewise.
23482         * elf/dl-minimal.c (__libc_memalign): Likewise.
23483         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23484         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23485         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23486         * elf/dl-sym.c (do_sym): Likewise.
23487         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23488         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23489         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23490         * elf/dl-writev.h (_dl_writev): Likewise.
23491         * elf/ldconfig.c (search_dir): Likewise.
23492         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23493         (dl_main): Likewise.
23494         * elf/setup-vdso.h (setup_vdso): Likewise.
23495         * grp/compat-initgroups.c (compat_call): Likewise.
23496         * grp/fgetgrent.c (fgetgrent): Likewise.
23497         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23498         * grp/putgrent.c (putgrent): Likewise.
23499         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23500         Likewise.
23501         * hurd/hurdinit.c: Likewise.
23502         * iconvdata/8bit-gap.c (struct): Likewise.
23503         * iconvdata/ansi_x3.110.c : Likewise.
23504         * iconvdata/big5.c : Likewise.
23505         * iconvdata/big5hkscs.c : Likewise.
23506         * iconvdata/cp1255.c: Likewise.
23507         * iconvdata/cp1258.c : Likewise.
23508         * iconvdata/cp932.c : Likewise.
23509         * iconvdata/euc-cn.c: Likewise.
23510         * iconvdata/euc-jisx0213.c : Likewise.
23511         * iconvdata/euc-jp.c: Likewise.
23512         * iconvdata/euc-jp-ms.c : Likewise.
23513         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23514         * iconvdata/gb18030.c : Likewise.
23515         * iconvdata/gbbig5.c (const): Likewise.
23516         * iconvdata/gbgbk.c: Likewise.
23517         * iconvdata/gbk.c : Likewise.
23518         * iconvdata/ibm1364.c : Likewise.
23519         * iconvdata/ibm930.c : Likewise.
23520         * iconvdata/ibm932.c: Likewise.
23521         * iconvdata/ibm933.c : Likewise.
23522         * iconvdata/ibm935.c : Likewise.
23523         * iconvdata/ibm937.c : Likewise.
23524         * iconvdata/ibm939.c : Likewise.
23525         * iconvdata/ibm943.c: Likewise.
23526         * iconvdata/iso_11548-1.c: Likewise.
23527         * iconvdata/iso-2022-cn.c : Likewise.
23528         * iconvdata/iso-2022-cn-ext.c : Likewise.
23529         * iconvdata/iso-2022-jp-3.c: Likewise.
23530         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23531         * iconvdata/iso-2022-kr.c : Likewise.
23532         * iconvdata/iso646.c (gconv_end): Likewise.
23533         * iconvdata/iso_6937-2.c : Likewise.
23534         * iconvdata/iso_6937.c : Likewise.
23535         * iconvdata/iso8859-1.c: Likewise.
23536         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23537         * iconvdata/shift_jisx0213.c : Likewise.
23538         * iconvdata/sjis.c : Likewise.
23539         * iconvdata/t.61.c : Likewise.
23540         * iconvdata/tcvn5712-1.c : Likewise.
23541         * iconvdata/tscii.c: Likewise.
23542         * iconvdata/uhc.c : Likewise.
23543         * iconvdata/unicode.c (gconv_end): Likewise.
23544         * iconvdata/utf-16.c (gconv_end): Likewise.
23545         * iconvdata/utf-32.c (gconv_end): Likewise.
23546         * iconvdata/utf-7.c (base64): Likewise.
23547         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23548         * iconv/gconv_close.c (__gconv_close): Likewise.
23549         * iconv/gconv_open.c (__gconv_open): Likewise.
23550         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23551         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23552         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23553         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23554         (ucs4le_internal_loop_single): Likewise.
23555         * iconv/iconv.c (iconv): Likewise.
23556         * iconv/iconv_close.c: Likewise.
23557         * iconv/loop.c (SINGLE): Likewise.
23558         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23559         * include/atomic.h: Likewise.
23560         * inet/inet6_option.c (option_alloc): Likewise.
23561         * intl/bindtextdom.c (set_binding_values): Likewise.
23562         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23563         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23564         * intl/localealias.c (read_alias_file): Likewise.
23565         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23566         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23567         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23568         * libio/fmemopen.c (fmemopen): Likewise.
23569         * libio/iofgets.c (_IO_fgets): Likewise.
23570         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23571         * libio/iofgetws.c (fgetws): Likewise.
23572         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23573         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23574         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23575         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23576         * locale/findlocale.c (_nl_find_locale): Likewise.
23577         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23578         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23579         Likewise.
23580         * locale/setlocale.c (setlocale): Likewise.
23581         * login/programs/pt_chown.c (main): Likewise.
23582         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23583         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23584         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23585         (mmap, mmap64, mremap, munmap): Likewise.
23586         * math/e_exp2l.c: Likewise.
23587         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23588         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23589         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23590         * math/s_catan.c (__catan): Likewise.
23591         * math/s_catanf.c (__catanf): Likewise.
23592         * math/s_catanh.c (__catanh): Likewise.
23593         * math/s_catanhf.c (__catanhf): Likewise.
23594         * math/s_catanhl.c (__catanhl): Likewise.
23595         * math/s_catanl.c (__catanl): Likewise.
23596         * math/s_ccosh.c (__ccosh): Likewise.
23597         * math/s_ccoshf.c (__ccoshf): Likewise.
23598         * math/s_ccoshl.c (__ccoshl): Likewise.
23599         * math/s_cexp.c (__cexp): Likewise.
23600         * math/s_cexpf.c (__cexpf): Likewise.
23601         * math/s_cexpl.c (__cexpl): Likewise.
23602         * math/s_clog10.c (__clog10): Likewise.
23603         * math/s_clog10f.c (__clog10f): Likewise.
23604         * math/s_clog10l.c (__clog10l): Likewise.
23605         * math/s_clog.c (__clog): Likewise.
23606         * math/s_clogf.c (__clogf): Likewise.
23607         * math/s_clogl.c (__clogl): Likewise.
23608         * math/s_csin.c (__csin): Likewise.
23609         * math/s_csinf.c (__csinf): Likewise.
23610         * math/s_csinh.c (__csinh): Likewise.
23611         * math/s_csinhf.c (__csinhf): Likewise.
23612         * math/s_csinhl.c (__csinhl): Likewise.
23613         * math/s_csinl.c (__csinl): Likewise.
23614         * math/s_csqrt.c (__csqrt): Likewise.
23615         * math/s_csqrtf.c (__csqrtf): Likewise.
23616         * math/s_csqrtl.c (__csqrtl): Likewise.
23617         * math/s_ctan.c (__ctan): Likewise.
23618         * math/s_ctanf.c (__ctanf): Likewise.
23619         * math/s_ctanh.c (__ctanh): Likewise.
23620         * math/s_ctanhf.c (__ctanhf): Likewise.
23621         * math/s_ctanhl.c (__ctanhl): Likewise.
23622         * math/s_ctanl.c (__ctanl): Likewise.
23623         * math/w_pow.c: Likewise.
23624         * math/w_powf.c: Likewise.
23625         * math/w_powl.c: Likewise.
23626         * math/w_scalb.c (sysv_scalb): Likewise.
23627         * math/w_scalbf.c (sysv_scalbf): Likewise.
23628         * math/w_scalbl.c (sysv_scalbl): Likewise.
23629         * misc/error.c (error_tail): Likewise.
23630         * misc/pselect.c (__pselect): Likewise.
23631         * nis/nis_callback.c (__nis_create_callback): Likewise.
23632         * nis/nis_call.c (__nisfind_server): Likewise.
23633         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23634         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23635         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23636         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23637         * nis/nis_lookup.c (nis_lookup): Likewise.
23638         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23639         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23640         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23641         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23642         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23643         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23644         * nis/nss_compat/compat-initgroups.c (add_group)
23645         (internal_getgrent_r): Likewise.
23646         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23647         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23648         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23649         (internal_getspnam_r): Likewise.
23650         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23651         (_nss_nis_getaliasbyname_r): Likewise.
23652         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23653         (_nss_nis_getntohost_r): Likewise.
23654         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23655         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23656         (_nss_nis_getgrgid_r): Likewise.
23657         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23658         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23659         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23660         (_nss_nis_gethostbyname4_r): Likewise.
23661         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23662         (initgroups_netid): Likewise.
23663         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23664         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23665         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23666         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23667         (_nss_nis_getprotobynumber_r): Likewise.
23668         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23669         (_nss_nis_getsecretkey): Likewise.
23670         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23671         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23672         (_nss_nis_getpwuid_r): Likewise.
23673         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23674         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23675         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23676         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23677         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23678         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23679         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23680         Likewise.
23681         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23682         (_nss_nisplus_getntohost_r): Likewise.
23683         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23684         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23685         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23686         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23687         Likewise.
23688         * nis/nss_nisplus/nisplus-initgroups.c
23689         (_nss_nisplus_initgroups_dyn): Likewise.
23690         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23691         (_nss_nisplus_getnetbyaddr_r): Likewise.
23692         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23693         (_nss_nisplus_getprotobynumber_r): Likewise.
23694         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23695         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23696         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23697         Likewise.
23698         * nis/nss_nisplus/nisplus-service.c
23699         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23700         (_nss_nisplus_getservbyport_r): Likewise.
23701         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23702         (_nss_nisplus_getspnam_r): Likewise.
23703         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23704         Likewise.
23705         * nscd/aicache.c (addhstaiX): Likewise.
23706         * nscd/cache.c (cache_search, prune_cache): Likewise.
23707         * nscd/connections.c (register_traced_file, send_ro_fd)
23708         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23709         (main_loop_epoll): Likewise.
23710         * nscd/grpcache.c (addgrbyX): Likewise.
23711         * nscd/hstcache.c (addhstbyX): Likewise.
23712         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23713         * nscd/mem.c (gc, mempool_alloc): Likewise.
23714         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23715         (addinnetgrX): Likewise.
23716         * nscd/nscd-client.h (__nscd_acquire_maplock)
23717         (__nscd_drop_map_ref): Likewise.
23718         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23719         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23720         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23721         Likewise.
23722         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23723         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23724         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23725         (__nscd_get_map_ref): Likewise.
23726         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23727         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23728         Likewise.
23729         * nscd/pwdcache.c (addpwbyX): Likewise.
23730         * nscd/selinux.c (preserve_capabilities): Likewise.
23731         * nscd/servicescache.c (addservbyX): Likewise.
23732         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23733         * posix/fnmatch.c (fnmatch): Likewise.
23734         * posix/getopt.c (_getopt_internal_r): Likewise.
23735         * posix/glob.c (glob, glob_in_dir): Likewise.
23736         * posix/wordexp.c (exec_comm_child): Likewise.
23737         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23738         (getanswer_r, gaih_getanswer_slice): Likewise.
23739         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23740         * resolv/res_init.c: Likewise.
23741         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23742         * resolv/res_query.c (__libc_res_nquery): Likewise.
23743         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23744         Likewise.
23745         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23746         * stdio-common/perror.c (perror): Likewise.
23747         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23748         * stdio-common/tmpnam.c (tmpnam): Likewise.
23749         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23750         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23751         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23752         Likewise.
23753         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23754         * stdlib/putenv.c (putenv): Likewise.
23755         * stdlib/setenv.c (__add_to_environ): Likewise.
23756         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23757         * stdlib/strtol_l.c (INTERNAL): Likewise.
23758         * string/memmem.c (memmem): Likewise.
23759         * string/strerror.c (strerror): Likewise.
23760         * string/strnlen.c (__strnlen): Likewise.
23761         * string/test-memmem.c (simple_memmem): Likewise.
23762         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23763         * sunrpc/pm_getport.c (__get_socket): Likewise.
23764         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23765         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23766         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23767         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23768         Likewise.
23769         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23770         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23771         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23772         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23773         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23774         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23775         Likewise.
23776         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23777         Likewise.
23778         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23779         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23781         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23782         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23784         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23785         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23786         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23787         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23788         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23789         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23790         Likewise.
23791         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23792         Likewise.
23793         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23794         Likewise.
23795         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23796         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23797         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23798         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23799         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23800         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23801         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23802         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23803         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23804         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23805         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23807         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23808         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23810         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23811         Likewise.
23812         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23813         Likewise.
23814         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23815         Likewise.
23816         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23817         Likewise.
23818         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23819         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23820         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23821         Likewise.
23822         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23823         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23824         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23825         * sysdeps/posix/sleep.c: Likewise.
23826         * sysdeps/posix/tempname.c: Likewise.
23827         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23828         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23829         Likewise.
23830         * sysdeps/powerpc/powerpc32/dl-machine.h
23831         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23832         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23833         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23834         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23835         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23836         Likewise.
23837         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23838         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23839         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23840         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23841         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23842         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23843         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23844         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23845         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23846         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23847         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23848         (elf_machine_lazy_rel): Likewise.
23849         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23850         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23851         (elf_machine_lazy_rel): Likewise.
23852         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23853         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23854         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23855         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23856         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23857         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23858         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23859         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23860         Likewise.
23861         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23862         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23863         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23864         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23865         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23866         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23867         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23868         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23869         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23870         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23871         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23872         Likewise.
23873         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23874         (__posix_fallocate64_l64): Likewise.
23875         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23876         (posix_fallocate): Likewise.
23877         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23878         Likewise.
23879         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23880         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23881         (getifaddrs_internal): Likewise.
23882         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23883         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23884         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23885         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23886         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23887         (__posix_fallocate64_l64): Likewise.
23888         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23889         Likewise.
23890         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23891         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23892         (__get_clockfreq): Likewise.
23893         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23894         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23895         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23898         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23899         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23900         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23901         Likewise.
23902         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23903         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23904         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23905         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23906         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23907         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23908         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23909         Likewise.
23910         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23911         (posix_fallocate): Likewise.
23912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23913         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23914         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23915         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23916         (elf_machine_rela, elf_machine_rela_relative)
23917         (elf_machine_lazy_rel): Likewise.
23918         * time/asctime.c (asctime_internal): Likewise.
23919         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23920         * time/tzset.c (__tzset_parse_tz): Likewise.
23921         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23922         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23923         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23924         * wcsmbs/wcsmbsload.h: Likewise.
23926         [BZ #15894]
23927         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23929         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23930         (arena_get2): Remove THREAD_STATS conditionals.
23931         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23932         (__malloc_stats, int): Likewise.
23934 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23936         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23937         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23939         * manual/setjmp.texi: Fix typos/grammar errors.
23941         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23942         Only return early when n is <= 0.  Delete unused return statement.
23944         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23945         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23946         * debug/tst-longjmp_chk3.c: New file.
23948         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23949         (test_main): Replace code with set_fortify_handler call.
23950         * debug/test-strcpy_chk.c: Likewise.
23951         * debug/tst-chk1.c: Likewise.
23952         * debug/tst-longjmp_chk.c: Likewise.
23953         * test-skeleton.c: Include fcntl.h & paths.h
23954         (set_fortify_handler): Define.
23956         * debug/tst-longjmp_chk.c: Add header comment and include
23957         ../test-skeleton.c.
23958         (do_test): Mark static.
23959         (TEST_FUNCTION): Define.
23961         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23962         (IP_PMTUDISC_INTERFACE): Likewise.
23963         (IP_MULTICAST_IF): Likewise.
23964         (IP_MULTICAST_TTL): Likewise.
23965         (IP_MULTICAST_LOOP): Likewise.
23966         (IP_ADD_MEMBERSHIP): Likewise.
23967         (IP_DROP_MEMBERSHIP): Likewise.
23968         (IP_UNBLOCK_SOURCE): Likewise.
23969         (IP_BLOCK_SOURCE): Likewise.
23970         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23971         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23972         (IP_MSFILTER): Likewise.
23973         (MCAST_JOIN_GROUP): Likewise.
23974         (MCAST_BLOCK_SOURCE): Likewise.
23975         (MCAST_UNBLOCK_SOURCE): Likewise.
23976         (MCAST_LEAVE_GROUP): Likewise.
23977         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23978         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23979         (MCAST_MSFILTER): Likewise.
23980         (IP_MULTICAST_ALL): Likewise.
23981         (IP_UNICAST_IF): Likewise.
23983         * timezone/Makefile: Delete $(have-ksh) check.
23984         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23985         * timezone/tzselect.ksh: Add +x mode bits.
23987         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23988         (ANON_INODE_FS_MAGIC): Likewise.
23989         (BDEVFS_MAGIC): Likewise.
23990         (BINFMTFS_MAGIC): Likewise.
23991         (BTRFS_TEST_MAGIC): Likewise.
23992         (CRAMFS_MAGIC_WEND): Likewise.
23993         (DEBUGFS_MAGIC): Likewise.
23994         (ECRYPTFS_SUPER_MAGIC): Likewise.
23995         (EXT3_SUPER_MAGIC): Likewise.
23996         (EXT4_SUPER_MAGIC): Likewise.
23997         (FUTEXFS_SUPER_MAGIC): Likewise.
23998         (HOSTFS_SUPER_MAGIC): Likewise.
23999         (HUGETLBFS_MAGIC): Likewise.
24000         (MINIX3_SUPER_MAGIC): Likewise.
24001         (MTD_INODE_FS_MAGIC): Likewise.
24002         (NILFS_SUPER_MAGIC): Likewise.
24003         (OPENPROM_SUPER_MAGIC): Likewise.
24004         (PIPEFS_MAGIC): Likewise.
24005         (PSTOREFS_MAGIC): Likewise.
24006         (QNX6_SUPER_MAGIC): Likewise.
24007         (RAMFS_MAGIC): Likewise.
24008         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24009         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24010         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24011         (SECURITYFS_MAGIC): Likewise.
24012         (SELINUX_MAGIC): Likewise.
24013         (SMACK_MAGIC): Likewise.
24014         (SOCKFS_MAGIC): Likewise.
24015         (SQUASHFS_MAGIC): Likewise.
24016         (STACK_END_MAGIC): Likewise.
24017         (TMPFS_MAGIC): Likewise.
24018         (USBDEVICE_SUPER_MAGIC): Likewise.
24019         (V9FS_MAGIC): Likewise.
24020         (XENFS_SUPER_MAGIC): Likewise.
24021         (CRAMFS_MAGIC): Fix typo in comment.
24022         (EXT2_SUPER_MAGIC): Update comment.
24023         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24025 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24027         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24028         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24029         * sysdeps/unix/sysv/linux/arm: Move directory from
24030         ports/sysdeps/unix/sysv/linux/arm.
24031         * README: Update listing for arm-*-linux-gnueabi.
24033         * README: Remove mention of am33.
24035 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24037         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24038         than the comma operator, to avoid "rhs of comma has no effect"
24039         compiler warnings.
24040         (__sigfillset, __sigandset, __sigorset): Likewise.
24041         * include/signal.h (__sigemptyset): Likewise.
24042         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24044 2014-02-07  Allan McRae  <allan@archlinux.org>
24046         * version.h (RELEASE): Set to "development".
24047         (VERSION): Set to "2.19.90"
24048         * NEWS: Add 2.20 section.
24050 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24052         [BZ #16529]
24053         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24055 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24057         * manual/contrib.texi: Update entry for Carlos O'Donell,
24058         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24060 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24062         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24064         * sysdeps/unix/sysv/linux/kernel-features.h
24065         [__LINUX_KERNEL_VERSION >= 0x020621]
24066         (__ASSUME_PROC_PID_TASK_COMM): Define.
24068 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24070         [BZ #16398]
24071         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24072         conversion when destination buffer does not have enough space.
24073         * libio/tst-ftell-partial-wide.c: New test case.
24074         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24076         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24077         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24078         Leonard and Allan McRae.
24080 2014-02-04  David S. Miller  <davem@davemloft.net>
24082         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24083         32-bit.
24085 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24088         New file
24089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24090         New file
24091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24092         New file.
24093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24094         New file.
24095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24096         New file.
24097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24098         New file.
24099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24100         New file.
24101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24102         New file.
24103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24104         New file.
24105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24106         New file.
24107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24108         New file.
24109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24110         New file.
24111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24112         New file.
24114 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24116         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24117         * shlib-versions: Likewise.
24119 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24120             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24122         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24123         (abilist-pattern): New variable, set to %-le.abilist.
24125         * Makerules (abilist-pattern): New variable.
24126         (vpath): Use $(abilist-pattern) in place of %.abilist.
24127         (check-abi-% pattern rule): Likewise.
24128         (check-abi, update-abi): Likewise.
24130 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24134 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24136         * manual/startup.texi: Add next, previous, and top entries for
24137         the `Program Arguments' and `Environment Variables' nodes.
24139 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24141         * manual/macros.texi: Add comments before MTASC-safety macros.
24143         * manual/users.texi: Document MTASC-safety properties.
24145         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24146         (pthread_getspecific, pthread_setspecific): Format with
24147         @deftypefun, and add @safety note.
24148         * manual/signal.texi: Move comments that analyze the above
24149         functions to their home place.
24151 2014-02-03  Allan McRae  <allan@archlinux.org>
24153         * po/sl.po: Update Slovenian translation from translation project.
24155 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24157         * manual/time.texi (timegm): Add missing blank after @c.
24158         Reported by Joseph Myers <joseph@codesourcery.com>.
24160 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24162         * manual/check-safety.sh: New.
24163         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24165         * manual/terminal.texi: Document MTASC-safety properties.
24167         * manual/filesys.texi: Document MTASC-safety properties.
24169         * manual/errno.texi: Document MTASC-safety properties.
24171         * manual/intro.texi: Document safety identifiers and
24172         conditionals.
24174         * manual/string.texi (wcstok): Fix prototype.
24175         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24177         * manual/time.texi: Document MTASC-safety properties.
24179         * manual/string.texi: Document MTASC-safety properties.
24181         * manual/threads.texi: Document MTASC-safety properties.
24183         * manual/stdio.texi: Document MTASC-safety properties.
24185         * manual/syslog.texi: Document MTASC-safety properties.
24187         * manual/sysinfo.texi: Document MTASC-safety properties.
24189         * manual/startup.texi: Document MTASC-safety properties.
24191         * manual/socket.texi: Document MTASC-safety properties.
24193         * manual/signal.texi: Document MTASC-safety properties.
24195 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24197         * manual/setjmp.texi: Document MTASC-safety properties.
24199         * manual/search.texi: Document MTASC-safety properties.
24201         * manual/resource.texi: Document MTASC-safety properties.
24203         * manual/process.texi: Document MTASC-safety properties.
24205         * manual/platform.texi: Document MTASC-safety properties.
24207         * manual/pipe.texi: Document MTASC-safety properties.
24209         * manual/pattern.texi: Document MTASC-safety properties.
24211         * manual/message.texi: Document MTASC-safety properties.
24213         [BZ #12751]
24214         * manual/memory.texi: Document MTASC-safety properties.
24216         * manual/math.texi: Document MTASC-safety properties.
24218         * manual/locale.texi: Document MTASC-safety properties.
24220         * manual/llio.texi: Document MTASC-safety properties.
24222         * manual/libdl.texi: New.
24224         * manual/lang.texi: Document MTASC-safety properties.
24226         * manual/job.texi: Document MTASC-safety properties.
24228         * manual/getopt.texi: Document MTASC-safety properties.
24230         * manual/ctype.texi: Document MTASC-safety properties.
24232 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24234         [BZ #16046]
24235         * csu/libc-tls.c (static_map): Remove variable.
24236         (__libc_setup_tls): Use main executable's link map for TLS data.
24237         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24238         casing for LM_ID_BASE and GL(dl_nns).
24239         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24240         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24241         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24242         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24243         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24244         member.
24245         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24246         l_phnum members.
24248 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24250         * manual/debug.texi: Document MTASC-safety properties.
24252 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24254         [BZ #16510]
24255         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24256         of __x86_64__ when disabling x87 inline functions.
24258 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24260         * manual/charset.texi: Document MTASC-safety properties.
24262         * manual/crypt.texi: Document MTASC-safety properties.
24264         * manual/conf.texi: Document MTASC-safety properties.
24266         * manual/arith.texi: Document MTASC-safety properties.
24268         * manual/argp.texi: Document MTASC-safety properties.
24270         * manual/macros.texi: Introduce macros to document multi
24271         thread, asynchronous signal and asynchronous cancellation
24272         safety properties.
24273         * manual/intro.texi: Introduce the properties themselves.
24275 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24277         * sysdeps/sh/sh4/Makefile: New file.
24279 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24281         * math/gen-libm-test.pl ($srcdir): New variable.
24282         ($auto_input): Use it.
24284 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24286         [BZ #16506]
24287         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24288         access beyond array bounds when parsing netgroups file.
24290         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24291         the old buffer before realloc.
24293 2014-01-27  Allan McRae  <allan@archlinux.org>
24295         * po/fr.po: Update French translation from translation project.
24297 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24299         * sysdeps/sh/libm-test-ulps: Regenerate.
24301 2014-01-24  David S. Miller  <davem@davemloft.net>
24303         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24305 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24307         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24308         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24310 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24312         [BZ #16474]
24313         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24314         string pointers after reallocation.
24316 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24318         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24319         __SH4A__ instead of __SH_FPU_ANY__.
24321 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24323         * sysdeps/sh/fpu_control.h: New file.
24324         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24325         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24326         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24327         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24328         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24329         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24330         * sysdeps/sh/sys/ucontext.h: Remove.
24331         * sysdeps/sh/sys: Remove directory.
24333 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24335         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24336         s390/sys/ucontext.h.
24337         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24338         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24340 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24342         [BZ #15605]
24343         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24345 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24347         [BZ#16431]
24348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24349         Adjust the vDSO correctly for internal calls.
24350         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24352 2014-01-20  Allan McRae  <allan@archlinux.org>
24354         * po/ca.po: Update Catalan translation from translation project.
24356 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24358         * sysdeps/s390/sotruss-lib.c: New file.
24360 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24362         [BZ#16430]
24363         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24364         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24365         local calls issues by not having a PLT stub required for IFUNC calls.
24366         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24368 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24370         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24371         * math/test-fpucw-static.c: Likewise.
24373 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24375         [BZ #16453]
24376         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24378 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24380         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24381         implementation for powerpc.
24383 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24385         [BZ #14782]
24386         * sysdeps/posix/system.c (__libc_system): Do not enable
24387         asynchronous cancellation.
24389 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24391         [BZ #16427]
24392         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24393         handling only for numbers special also in the IEEE case.
24395 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24397         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24399 2014-01-11  Allan McRae  <allan@archlinux.org>
24401         * po/bg.po: Update Bulgarian translation from translation project.
24403         * po/de.po: Update German translation from translation project.
24405 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24407         * sysdeps/generic/gcc-compat.h: New file.
24409 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24411         * benchtests/asin-inputs: Correct slow inputs.
24412         * benchtests/acos-inputs: Likewise.
24414 2014-01-10  Allan McRae  <allan@archlinux.org>
24416         * po:sv.po: Update Swedish translation from translation project.
24418         * po/vi.po: Update Vietnamese translation from translation project.
24420         * po/eo.po: Update Esperanto translation from translation project.
24422         * po/cs.po: Update Czech translation from translation project.
24424         * po/nl.po: Update Dutch translation from translation project.
24426         * po/pl.po: Update Polish translation from translation project.
24428         * po/ru.po: Update Russian translation from translation project.
24430         * po/uk.po: Update Ukrainian translation from translation project.
24432 2014-01-08  Brooks Moses  <bmoses@google.com>
24434         * elf/dl-load.c: Fix comment typo.
24436 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24438         * po/header.pot: Rename to...
24439         * po/pot.header: ... this.
24440         * po/Makefile: Use pot.header.
24442 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24443             Maxim Kuvyrkov  <maxim@kugelworks.com>
24445         [BZ #16394]
24446         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24447         SRC and DEST against LEN.
24449 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24451         [BZ #16414]
24452         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24453         implementation.
24454         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24456 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24460 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24462         [BZ #16408]
24463         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24464         for large positive arguments.
24466 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24468         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24470         * math/auto-libm-test-in: Mark various tests with
24471         xfail-rounding:ldbl-128ibm.
24472         * math/auto-libm-test-out: Regenerated.
24474         [BZ #16407]
24475         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24476         Increase overflow threshold.
24478 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24480         [BZ #14286]
24481         * stdio-common/vfprintf.c: Check for integer overflow.
24483 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24485         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24486         the first argument and return value of __tls_get_addr_internal.
24488 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24490         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24491         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24493 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24495         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24496         * sysdeps/s390/rtld-global-offsets.sym: New file.
24497         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24498         GLIBC_2.19 symbol.
24499         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24500         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24501         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24502         ... this.
24503         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24504         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24505         ... this.
24506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24507         Regenerate.
24508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24509         Regenerate.
24510         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24511         halfs of GPRs for high_gprs contexts.
24512         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24513         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24514         field.
24515         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24516         uc_flags field.
24517         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24518         64 bit versions:
24519         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24520         for high GPRs (uc_high_gprs) and for future extensions
24521         (__reserved).
24522         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24523         for future extensions (__reserved).
24524         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24525         64 bit versions:
24526         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24527         SC_HIGHGPRS offset definition.
24528         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24529         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24531         * Versions.def: Add GLIBC_2.19 for libpthread.
24532         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24533         siglongjmp for libpthread with GLIBC_2.19 symver.
24534         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24535         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24536         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24537         * sysdeps/s390/__longjmp.c: New file.
24538         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24539         * sysdeps/s390/longjmp.c: New file.
24540         * sysdeps/s390/setjmp.S: New file.
24541         * sysdeps/s390/sigjmp.S: New file.
24542         * sysdeps/s390/v1-longjmp.c: New file.
24543         * sysdeps/s390/v1-setjmp.h: New file.
24544         * sysdeps/s390/v1-sigjmp.c: New file.
24545         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24546         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24547         GLIBC_2.19 version.
24548         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24549         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24550         versioned symbols for ____longjmp_chk.
24551         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24552         Likewise.
24553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24554         Regenerate.
24555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24556         Regenerate.
24557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24558         Regenerate.
24559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24560         Regenerate.
24561         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24562         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24563         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24564         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24565         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24566         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24567         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24568         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24569         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24570         * sysdeps/s390/rtld-__longjmp.c: New file.
24571         * sysdeps/s390/rtld-setjmp.S: New file.
24573 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24575         [BZ #16400]
24576         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24577         Return -__logl (x) for small positive arguments without evaluating
24578         a polynomial.
24580 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24582         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24583         Rename to ...
24584         (__ptrace_peeksiginfo_args): ... this.
24585         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24586         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24587         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24589 2014-01-06  Allan McRae  <allan@archlinux.org>
24591         * inet/netinet/in.h: Fix typo in comment.
24593 2014-01-05  Andreas Jaeger  <aj@suse.de>
24595         * sysdeps/i386/fpu/libm-test-ulps: Update.
24597 2014-01-05  Allan McRae  <allan@archlinux.org>
24599         * po/libc.pot: Regenerated.
24601         * malloc/memusagestat.c: Fix gettext call formatting.
24603 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24605         * nscd/nscd.c: Improve usage() output.
24607 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24609         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24610         * sysdeps/unix/sysv/linux/configure: Regenerated.
24611         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24612         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24614 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24616         [BZ #16390]
24617         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24618         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24620 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24623         extra tokens at end of #undef directive.
24624         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24625         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24628 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24630         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24632         * math/auto-libm-test-in: Mark various tests with
24633         xfail-rounding:ldbl-128ibm.
24634         * math/auto-libm-test-out: Regenerated.
24636 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24638         [BZ #16386]
24639         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24640         numbers with subnormal high part when calculating exponent.
24642         [BZ #16385]
24643         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24644         fabs.
24646         [BZ #16384]
24647         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24648         M_LN2l.
24649         (__ieee754_acoshl): Use __log1pl not __log1p.
24651 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24653         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24654         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24655         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24656         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24657         (reused_arena, arena_get2): Convert to GNU style.
24658         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24659         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24660         (memalign_check, __malloc_set_state): Likewise.
24661         * malloc/mallocbug.c (main): Likewise.
24662         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24663         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24664         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24665         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24666         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24667         (__posix_memalign, malloc_info): Likewise.
24668         * malloc/malloc.h: Likewise.
24669         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24670         (mallochook, memalignhook, reallochook, mabort): Likewise.
24671         * malloc/mcheck.h: Likewise.
24672         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24673         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24674         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24675         * malloc/morecore.c (__default_morecore): Likewise.
24676         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24677         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24678         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24679         (print_and_abort): Likewise.
24680         * malloc/obstack.h: Likewise.
24681         * malloc/set-freeres.c (__libc_freeres): Likewise.
24682         * malloc/tst-mallocstate.c (main): Likewise.
24683         * malloc/tst-mtrace.c (main): Likewise.
24684         * malloc/tst-realloc.c (do_test): Likewise.
24686 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24688         [BZ #16366]
24689         * nscd/netgroupcache.c (do_notfound): New function.
24690         (addgetnetgrentX): Use it.
24692         [BZ # 16365]
24693         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24694         NSS_STATUS_NOTFOUND.
24696 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24698         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24701 2014-01-01  Allan McRae  <allan@archlinux.org>
24703         * scripts/update-copyrights: Update configure input file suffix.
24705         * NEWS: Update copyright year.
24706         * catgets/gencat.c: Likewise.
24707         * csu/version.c: Likewise.
24708         * debug/catchsegv.sh: Likewise.
24709         * debug/pcprofiledump.c: Likewise.
24710         * debug/xtrace.sh: Likewise.
24711         * elf/ldconfig.c: Likewise.
24712         * elf/ldd.bash.in: Likewise.
24713         * elf/pldd.c: Likewise.
24714         * elf/sotruss.ksh: Likewise.
24715         * elf/sprof.c: Likewise.
24716         * iconv/iconv_prog.c: Likewise.
24717         * iconv/iconvconfig.c: Likewise.
24718         * locale/programs/locale.c: Likewise.
24719         * locale/programs/localedef.c: Likewise.
24720         * login/programs/pt_chown.c: Likewise.
24721         * malloc/memusage.sh: Likewise.
24722         * malloc/memusagestat.c: Likewise.
24723         * malloc/mtrace.pl: Likewise.
24724         * manual/libc.texinfo: Likewise.
24725         * nscd/nscd.c: Likewise.
24726         * nss/getent.c: Likewise.
24727         * nss/makedb.c: Likewise.
24728         * posix/getconf.c: Likewise.
24729         * scripts/test-installation.pl: Likewise.
24731         * All files with FSF copyright notices: Update copyright dates
24732         using scripts/update-copyrights.
24733         * intl/plural.c: Regenerated.
24734         * locale/programs/charmap-kw.h: Likewise.
24735         * locale/programs/locfile-kw.h: Likewise.
24737 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24739         * sysdeps/unix/sysv/linux/configure: Regenerated.
24740         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24741         the linux/fanotify.h header.
24742         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24743         HAVE_LINUX_FANOTIFY_H is defined.
24745 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24747         * benchtests/cos-inputs: New inputs.
24748         * benchtests/sin-inputs: Likewise.
24750         * benchtests/atan-inputs: New inputs. Fix name of multiple
24751         precision fallback inputs.
24753         * benchtests/atanh-inputs: New inputs.
24754         * benchtests/tanh-inputs: Likewise.
24756         * benchtests/acosh-inputs: New inputs.
24757         * benchtests/asinh-inputs: Likewise.
24759         * benchtests/cosh-inputs: New inputs.
24760         * benchtests/sinh-inputs: Likewise.
24762         * benchtests/acos-inputs: Add more inputs.
24763         * benchtests/asin-inputs: Likewise.
24765 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24767         [BZ #16375]
24768         * manual/arith.texi: Fix spelling.
24769         * manual/charset.texi: Likewise.
24770         * manual/errno.texi: Likewise.
24771         * manual/filesys.texi: Likewise.
24772         * manual/lang.texi: Likewise.
24773         * manual/llio.texi: Likewise.
24774         * manual/locale.texi: Likewise.
24775         * manual/message.texi: Likewise.
24776         * manual/resource.texi: Likewise.
24777         * manual/search.texi: Likewise.
24778         * manual/setjmp.texi: Likewise.
24779         * manual/stdio.texi: Likewise.
24780         * manual/string.texi: Likewise.
24781         * manual/sysinfo.texi: Likewise.
24782         * manual/time.texi: Likewise.
24784 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24786         * po/sl.po: New file.
24788 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24790         * .gitignore: Add core/.gdbinit/.gdb_history.
24792 2013-12-27  Allan McRae  <allan@archlinux.org>
24794         [BZ #16369]
24795         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24796         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24798 2013-12-24  Brooks Moses  <bmoses@google.com>
24800         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24801         all compilers that claim C++98 compliance, not just GCC.
24802         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24803         Likewise.
24805 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24807         * NEWS: Restore accidentally deleted bug-fix entries.
24809 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24810             Ondřej Bílka  <neleai@seznam.cz>
24812         [BZ #15073]
24813         * malloc/malloc.c (_int_free): Perform sanity check only if we
24814         have_lock.
24816 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24818         [BZ #12986]
24819         * manual/stdio.texi (String Input Conversions): Clarify that character
24820         classes are not supported.
24822 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24826 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24828         [BZ #16337]
24829         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24830         Calculate results for small negative arguments directly rather
24831         than using reflection formula with special underflow handling.
24833         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24834         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24835         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24836         (fchflags): Likewise.
24837         (revoke): Likewise.
24838         (setlogin): Likewise.
24839         (sigaltstack): Likewise.
24840         (wait4): Likewise.
24841         (sigblock): Remove.
24842         (sigsetmask): Likewise.
24843         (wait3): Likewise.
24844         (waitpid): Likewise.
24845         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24846         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24847         file.
24848         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24849         * sysdeps/unix/bsd/Makefile: ... here.
24850         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24851         * sysdeps/unix/bsd/Versions: ... here.
24852         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24853         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24854         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24855         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24856         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24857         * sysdeps/unix/bsd/sigblock.c: ... here.
24858         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24859         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24860         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24861         * sysdeps/unix/bsd/sigvec.c: ... here.
24862         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24863         * sysdeps/unix/bsd/tcdrain.c: ... here.
24864         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24865         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24866         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24867         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24868         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24869         * sysdeps/unix/bsd/wait.c: ... here.
24870         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24871         * sysdeps/unix/bsd/wait3.c: ... here.
24872         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24873         * sysdeps/unix/bsd/waitpid.c: ... here.
24875 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24877         [BZ #16356]
24878         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24879         round-to-nearest for [!USE_AS_EXPM1L].
24880         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24881         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24882         more tests of exp and exp10.  Expect some exp10 tests to miss
24883         exceptions or fail in directed rounding modes.
24884         * math/auto-libm-test-out: Regenerated.
24885         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24886         (exp10_test_tonearest): New function.
24887         (exp10_towardzero_test_data): New array.
24888         (exp10_test_towardzero): New function.
24889         (exp10_downward_test_data): New array.
24890         (exp10_test_downward): New function.
24891         (exp10_upward_test_data): New array.
24892         (exp10_test_upward): New function.
24893         (main): Call the new functions.
24894         * sysdeps/i386/fpu/libm-test-ulps: Update.
24895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24897 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24899         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24900         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24901         * math/auto-libm-test-out: Regenerated.
24902         * math/libm-test.inc (acosh_test_data): Add more tests.
24903         (atanh_test_data): Likewise.
24904         (ceil_test_data): Likewise.
24905         (copysign_test_data): Likewise.
24906         * sysdeps/i386/fpu/libm-test-ulps: Update.
24907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24909         * timezone/checktab.awk: Update from tzcode 2013i.
24910         * timezone/private.h: Likewise.
24911         * timezone/scheck.c: Likewise.
24912         * timezone/tzfile.h: Likewise.
24913         * timezone/tzselect.ksh: Likewise.
24914         * timezone/zdump.c: Likewise.
24915         * timezone/zic.c: Likewise.
24917         * math/auto-libm-test-in: Add tests of cpow.
24918         * math/auto-libm-test-out: Regenerated.
24919         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24920         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24921         mpc_cc_c.
24922         (func_calc_desc): Add mpc_cc_c union field.
24923         (test_functions): Add cpow.
24924         (special_fill_2pi): New function.
24925         (special_real_inputs): Add 2pi.
24926         (calc_generic_results): Handle mpc_cc_c.
24927         * sysdeps/i386/fpu/libm-test-ulps: Update.
24928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24930         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24931         csqrt, ctan and ctanh.
24932         * math/auto-libm-test-out: Regenerated.
24933         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24934         (TEST_COND_x86): Likewise.
24935         (ccos_test_data): Use AUTO_TESTS_c_c.
24936         (ccosh_test_data): Likewise.
24937         (cexp_test_data): Likewise.
24938         (clog_test_data): Likewise.
24939         (csqrt_test_data): Likewise.
24940         (ctan_test_data): Likewise.
24941         (ctan_tonearest_test_data): Likewise.
24942         (ctan_towardzero_test_data): Likewise.
24943         (ctan_downward_test_data): Likewise.
24944         (ctan_upward_test_data): Likewise.
24945         (ctanh_test_data): Likewise.
24946         (ctanh_tonearest_test_data): Likewise.
24947         (ctanh_towardzero_test_data): Likewise.
24948         (ctanh_downward_test_data): Likewise.
24949         (ctanh_upward_test_data): Likewise.
24950         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24951         mpc_c_c.
24952         (func_calc_desc): Add mpc_c_c union field.
24953         (FUNC_mpc_c_c): New macro.
24954         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24955         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24956         ctanh.
24957         (special_fill_min_subnorm_p120): New function.
24958         (special_real_inputs): Add min_subnorm_p120.
24959         (calc_generic_results): Handle mpc_c_c.
24960         * sysdeps/i386/fpu/libm-test-ulps: Update.
24961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24963 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24965         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24966         (do_sin_slow): New functions.
24967         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24968         (cslow2, csloww1, csloww2): Use the new functions.
24970         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24971         Use M to change sign of result instead of X.  Assume X is
24972         positive.
24973         (csloww1): Likewise.
24974         (__sin): Adjust.
24975         (__cos): Adjust.
24977         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24978         arguments A and DA.
24979         (__sin): Adjust.
24980         (__cos): Likewise.
24982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24983         (__cos): Likewise.
24984         (sloww1): Don't adjust sign of DX.
24985         (csloww1): Likewise.
24986         (sloww2): Use X directly and don't adjust sign of DX.
24987         (csloww2): Likewise.
24989 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24991         * math/auto-libm-test-in: Add tests of cabs and carg.
24992         * math/auto-libm-test-out: Regenerated.
24993         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24994         (carg_test_data): Likewise.
24995         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24996         mpc_c_f.
24997         (func_calc_desc): Add mpc_c_f union field.
24998         (test_functions): Add cabs and carg.
24999         (calc_generic_results): Handle mpc_c_f.
25001         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25002         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25003         as a macro and a compat symbol.
25004         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25005         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25006         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25007         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25008         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25009         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25010         not use .hidden.
25011         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25012         Likewise.
25013         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25014         Likewise.
25015         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25016         Likewise.
25017         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25018         Likewise.
25019         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25020         Likewise.
25021         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25022         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25023         from GLIBC_2.3.2.
25025 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25029 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25031         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25032         trailing whitespace removed.
25033         * scripts/config.guess: Update to version 2013-11-29.
25034         * scripts/config.sub: Update to version 2013-10-01.
25036         * math/auto-libm-test-in: Add tests of sincos.
25037         * math/auto-libm-test-out: Regenerated.
25038         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25039         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25040         mpfr_f_11.
25041         (func_calc_desc): Add mpfr_f_11 union field.
25042         (test_functions): Add sincos.
25043         (calc_generic_results): Handle mpfr_f_11.
25044         * sysdeps/i386/fpu/libm-test-ulps: Update.
25045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25047 2013-12-19  Andreas Schwab  <schwab@suse.de>
25049         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25050         CALL_MCOUNT.
25051         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25052         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25053         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25055 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25057         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25058         * sysdeps/i386/fpu/libm-test-ulps: Update.
25059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25061         [BZ #16293]
25062         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25063         round-to-nearest mode when using frndint.
25064         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25065         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25066         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25067         Likewise.
25068         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25069         sinh test to fail.
25070         * math/auto-libm-test-out: Regenerated.
25071         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25072         (TEST_COND_x86): Likewise.
25073         (expm1_tonearest_test_data): New array.
25074         (expm1_test_tonearest): New function.
25075         (expm1_towardzero_test_data): New array.
25076         (expm1_test_towardzero): New function.
25077         (expm1_downward_test_data): New array.
25078         (expm1_test_downward): New function.
25079         (expm1_upward_test_data): New array.
25080         (expm1_test_upward): New function.
25081         (main): Run the new test functions.
25082         * sysdeps/i386/fpu/libm-test-ulps: Update.
25083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25085         * include/features.h: Update comment documenting feature test
25086         macros.  Mention _DEFAULT_SOURCE in comment.
25087         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25088         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25089         _BSD_SOURCE and _SVID_SOURCE.
25090         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25091         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25092         !_SVID_SOURCE]: Likewise.
25093         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25094         (__USE_POSIX_IMPLICITLY): Define.
25095         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25096         (_POSIX_SOURCE): Undefine and redefine.
25097         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25098         (_POSIX_C_SOURCE): Likewise.
25099         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25100         (Feature Test Macros): Update documentation of default features.
25102 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25104         * benchtests/Makefile: Add bench-strtok.
25105         * benchtests/bench-strtok.c: New file: strtok benchtest.
25107 2013-12-19  Allan McRae  <allan@archlinux.org>
25109         * manual/install.texi: Suppress menu for plain text output.
25110         * INSTALL: Regenerated.
25112 2013-12-18  Brooks Moses  <bmoses@google.com>
25114         [BZ #15846]
25115         * misc/getauxval.c: Include errno.h.
25116         (__getauxval): Set errno to ENOENT if the requested type is not
25117         found.
25118         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25119         don't declare with __attribute_const__.
25120         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25121         * manual/startup.texi: Document that getauxval sets errno.
25123 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25125         * math/auto-libm-test-in: Add tests of jn and yn.
25126         * math/auto-libm-test-out: Regenerated.
25127         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25128         (yn_test_data): Likewise.
25129         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25130         mpfr_if_f.
25131         (func_calc_desc): Add mpfr_if_f union field.
25132         (FUNC_mpfr_if_f): New macro.
25133         (test_functions): Add jn and yn.
25134         (calc_generic_results): Assert type of second input for
25135         mpfr_ff_f.  Handle mpfr_if_f.
25136         (output_for_one_input_case): Disable all checking for arguments
25137         fitting floating-point types in case of an integer argument.
25138         * sysdeps/i386/fpu/libm-test-ulps: Update.
25139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25142         Don't expect fegetround reference in libm.so.
25144 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25146         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25147         $(config-cflags-nofma).
25149 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25151         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25152         * math/auto-libm-test-out: Regenerated.
25154         [BZ #16338]
25155         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25156         to determine exponent and adjust argument to have exponent of -1.
25157         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25158         log2.
25159         * math/auto-libm-test-out: Regenerated.
25160         * sysdeps/i386/fpu/libm-test-ulps: Update.
25161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25163 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25165         * manual/probes.texi: Remove cases when per-thread arenas are
25166         disabled.
25168 2013-12-18  Andreas Schwab  <schwab@suse.de>
25170         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25171         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25172         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25173         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25174         * sysdeps/i386/i686/multiarch/Makefile: Update.
25175         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25177 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25179         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25180         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25182 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25184         [BZ #15968]
25185         Support TZ transition times < 00:00:00.
25186         This is needed for version-3 tz-format files; it supports time
25187         stamps past 2037 for America/Godthab (the only entry in the tz
25188         database for which this change is relevant).
25189         * manual/time.texi (TZ Variable): Document transition times
25190         from -167:59:59 through -00:00:01.
25191         * time/tzset.c (tz_rule): Time of day is now signed.
25192         (__tzset_parse_tz): Parse negative time of day.
25194         Document TZ transition times >= 25:00:00.
25195         * manual/time.texi (TZ Variable): Document transition times from
25196         25:00:00 through 167:59:59.  These are already supported, and this
25197         support will help with version-3 tz-format files.
25199         * manual/time.texi (TZ Variable): Modernize North America example
25200         to reflect current (i.e., 2007-and-later) daylight saving rules.
25202         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25204 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25206         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25207         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25208         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25209         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25210         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25211         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25212         * sysdeps/unix/bsd/clock.c: Likewise.
25213         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25214         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25215         * sysdeps/unix/bsd/init-posix.c: Likewise.
25216         * sysdeps/unix/bsd/poll.c: Likewise.
25217         * sysdeps/unix/bsd/ptsname.c: Likewise.
25218         * sysdeps/unix/bsd/seekdir.c: Likewise.
25219         * sysdeps/unix/bsd/setegid.c: Likewise.
25220         * sysdeps/unix/bsd/seteuid.c: Likewise.
25221         * sysdeps/unix/bsd/setgid.c: Likewise.
25222         * sysdeps/unix/bsd/setrgid.c: Likewise.
25223         * sysdeps/unix/bsd/setruid.c: Likewise.
25224         * sysdeps/unix/bsd/setsid.c: Likewise.
25225         * sysdeps/unix/bsd/setuid.c: Likewise.
25226         * sysdeps/unix/bsd/sigaction.c: Likewise.
25227         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25228         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25229         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25230         * sysdeps/unix/bsd/telldir.c: Likewise.
25231         * sysdeps/unix/bsd/times.c: Likewise.
25232         * sysdeps/unix/bsd/usleep.c: Likewise.
25234         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25235         ($(objpfx)libbsd-compat.a): Remove rule.
25237         * include/features.h (__FAVOR_BSD): Do not define.
25238         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25239         features conflicting with POSIX.
25240         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25241         (_BSD_SOURCE): Remove description of not being a subset of other
25242         feature test macros.
25243         * manual/job.texi (getpgrp): Do not document BSD version.
25244         (getpgid): Do not document by reference to BSD getpgrp.
25245         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25246         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25247         * signal/signal.h [__FAVOR_BSD]: Likewise.
25248         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25249         instead of making contents conditional on [__FAVOR_BSD].
25250         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25252 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25256 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25258         [BZ #16314]
25259         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25260         values below 2**-450, not 2**-500.
25261         * math/auto-libm-test-in: Don't allow spurious underflow from
25262         hypot.
25263         * math/auto-libm-test-out: Regenerated.
25265         [BZ #16316]
25266         [BZ #16330]
25267         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25268         values of ha and hb and sort them after adjusting subnormal
25269         arguments.
25270         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25271         Likewise.
25272         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25273         values of ea and eb and sort them after adjusting subnormal
25274         arguments.
25275         * math/auto-libm-test-in: Do not expect some hypot tests of
25276         subnormals to fail.  Add more hypot tests.
25277         * math/auto-libm-test-out: Regenerated.
25279 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25281         [BZ #13304]
25282         * sysdeps/sh/s_fma.c: New file.
25283         * sysdeps/sh/s_fmaf.c: New file.
25284         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25285         version.
25286         * sysdeps/sh/Implies: Add sh/soft-fp.
25288 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25290         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25291         level of indirection to members `objname', `errstring', `malloced'.
25292         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25293         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25294         it as the __longjmp argument (just pass 1 instead).
25295         (_dl_catch_error): Initialize C with argument pointers and address of
25296         volatile local ERRCODE rather than copying values out of C at return.
25298 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25300         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25301         * math/auto-libm-test-out: Regenerated.
25302         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25303         (hypot_test_data): Likewise.
25304         (pow_test_data): Likewise.
25305         (pow_tonearest_test_data): Likewise.
25306         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25307         mpfr_ff_f.
25308         (func_calc_desc): Add mpfr_ff_f union field.
25309         (FUNC_mpfr_ff_f): New macro.
25310         (test_functions): Add atan2, hypot and pow.
25311         (special_fill_min): New function.
25312         (special_fill_minus_min): Likewise.
25313         (special_fill_min_subnorm): Likewise.
25314         (special_fill_minus_min_subnorm): Likewise.
25315         (special_real_inputs): Add min, -min, min_subnorm and
25316         -min_subnorm.
25317         (calc_generic_results): Handle mpfr_ff_f.
25318         * sysdeps/i386/fpu/libm-test-ulps: Update.
25319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25321 2013-12-16  Will Newton  <will.newton@linaro.org>
25323         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25324         (Aligned Memory Blocks): Add documentation for aligned_alloc
25325         and suggest it as an alternative to posix_memalign.
25326         (Hooks for Malloc): Document __memalign_hook is also called
25327         for aligned_alloc.  (Summary of Malloc): Add summary for
25328         aligned alloc.  Document __memalign_hook is also called
25329         for aligned_alloc.
25331 2013-12-16  Will Newton  <will.newton@linaro.org>
25333         * manual/memory.texi (Malloc Examples): Clarify default
25334         alignment documentation.  Suggest posix_memalign rather
25335         than memalign or valloc.
25336         (Aligned Memory Blocks): Remove suggestion to use memalign
25337         or valloc.  Remove obsolete comment about BSD.
25338         Document memalign errno values and mark the function obsolete.
25339         Document posix_memalign returned error codes.  Mark valloc
25340         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25341         called for posix_memalign and valloc.
25342         (Summary of Malloc): Add posix_memalign to function summary.
25343         __memalign_hook is also called for posix_memalign and valloc.
25345 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25347         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25348         TAYLOR_SIN.
25349         (__sin): Adjust.
25350         (__cos): Likewise.
25351         (sloww): Use mynumber union.  Expand ternary operator into
25352         if-else statements.
25353         (cslow): use mynumber union.
25355 2013-12-16  Allan McRae  <allan@archlinux.org>
25357         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25358         * configure: Regenerated.
25360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25362         [BZ #14120]
25363         * configure.ac: Added --enable-maintainer-mode. Check for
25364         autoconf when enabled.
25365         * configure: Regenerated.
25367         * nscd/nscd.service: New file.
25368         * nscd/nscd.tmpfiles: New file.
25370 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25372         [BZ #12100]
25373         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25374         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25375         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25376         (strstr): Add __strstr_sse2_unaligned ifunc.
25377         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25378         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25379         (strcasestr): Remove __strcasestr_sse42 ifunc.
25380         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25384 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25386         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25387         * sysdeps/sh/bits/fenv.h: ... here.
25388         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25390 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25392         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25395         hypotf multiarch implementations.
25396         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25397         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25398         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25399         multiarch hypot for PPC64.
25400         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25401         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25402         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25403         multiarch hypotf for PPC64.
25405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25406         modff multiarch implementations.
25407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25410         multiarch modf for PPC64.
25411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25414         multiarch modff for PPC64.
25416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25417         and logl multiarch implementations.
25418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25421         multiarch logb for PPC64.
25422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25425         multiarch logb for PPC64.
25426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25429         multiarch logb for PPC64.
25431         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25432         isinff multiarch implementation.
25433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25434         file.
25435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25437         multiarch isinf for PPC64.
25438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25439         file.
25440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25441         multiarch isinff for PPC64.
25443         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25444         finitef multiarch implementation.
25445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25446         file.
25447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25449         multiarch finite for PPC64.
25450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25451         file.
25452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25453         multiarch finitef for PPC64.
25455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25456         lrint multiarch implementation.
25457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25458         file.
25459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25461         multiarch llrint for PPC64.
25462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25463         multiarch lrint for PPC64.
25465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25466         copysignf multiarch implementation.
25467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25468         file.
25469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25470         file.
25471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25472         multiarch copysign for PPC64.
25473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25474         multiarch copysignf for PPC64.
25476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25477         multiarch implementation.
25478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25479         file.
25480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25481         file.
25482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25483         file.
25484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25485         file.
25486         multiarch llround for PPC64.
25487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25488         multiarch trunc for PPC64.
25489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25490         multiarch truncf for PPC64.
25492         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25493         multiarch implementation.
25494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25495         file.
25496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25497         file.
25498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25499         file.
25500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25501         file.
25502         multiarch llround for PPC64.
25503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25504         multiarch round for PPC64.
25505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25506         multiarch roundf for PPC64.
25508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25509         multiarch implementation.
25510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25511         file.
25512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25513         file.
25514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25515         file.
25516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25517         file.
25518         multiarch llround for PPC64.
25519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25520         multiarch floor for PPC64.
25521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25522         multiarch floorf for PPC64.
25524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25525         multiarch implementation.
25526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25527         file.
25528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25529         file.
25530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25531         file.
25532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25533         file.
25534         multiarch llround for PPC64.
25535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25536         multiarch ceil for PPC64.
25537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25538         multiarch ceilf for PPC64.
25540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25541         multiarch implementation.
25542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25543         file.
25544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25545         file.
25546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25547         file.
25548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25549         multiarch llround for PPC64.
25550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25551         multiarch lround for PPC64.
25553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25554         multiarch implementation.
25555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25558         file.
25559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25562         multiarch isnan for PPC64.
25563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25564         multiarch isnanf for PPC64.
25566         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25567         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25568         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25569         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25570         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25573         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25574         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25575         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25576         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25579         multiarch implementations.
25580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25581         (__libc_ifunc_impl_list): Likewise.
25582         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25583         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25584         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25585         multiarch stpcpy for PPC64.
25587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25588         multiarch implementations.
25589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25590         (__libc_ifunc_impl_list): Likewise.
25591         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25593         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25594         multiarch strcpy for PPC64.
25596         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25597         redefine function name.
25598         (_wordcopy_fwd_dest_aligned): Likewise.
25599         (_wordcopy_bwd_aligned): Likewise.
25600         (_wordcopy_bwd_dest_aligned): Likewise.
25601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25602         multiarch implementations.
25603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25604         (__libc_ifunc_impl_list): Likewise.
25605         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25606         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25607         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25608         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25609         multiarch wcscpy for PPC64.
25611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25612         multiarch implementations.
25613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25614         (__libc_ifunc_impl_list): Likewise.
25615         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25616         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25617         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25618         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25619         multiarch wcscpy for PPC64.
25621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25622         multiarch implementations.
25623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25624         (__libc_ifunc_impl_list): Likewise.
25625         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25626         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25627         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25628         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25629         multiarch wcsrchr for PPC64.
25631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25632         multiarch implementations.
25633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25634         (__libc_ifunc_impl_list): Likewise.
25635         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25636         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25637         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25638         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25639         multiarch wcschr for PPC64.
25641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25642         multiarch implementations.
25643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25644         (__libc_ifunc_impl_list): Likewise.
25645         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25646         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25647         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25648         multiarch strchrnul for PPC64.
25650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25651         implementations.
25652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25653         (__libc_ifunc_impl_list): Likewise.
25654         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25655         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25656         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25657         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25658         strchr for PPC64.
25660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25661         implementations.
25662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25663         (__libc_ifunc_impl_list): Likewise.
25664         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25665         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25666         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25667         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25668         strncmp for PPC64.
25670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25671         multiarch implementations.
25672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25673         (__libc_ifunc_impl_list): Likewise.
25674         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25675         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25676         strncasecmp for PPC64.
25677         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25678         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25679         multiarch strncasecmp_l for PPC64.
25681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25682         multiarch implementations.
25683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25684         (__libc_ifunc_impl_list): Likewise.
25685         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25686         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25687         multiarch strcasecmp for PPC64.
25688         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25689         file.
25690         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25691         multiarch strcasecmp_l for PPC64.
25693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25694         implementations.
25695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25696         (__libc_ifunc_impl_list): Likewise.
25697         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25698         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25699         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25700         strnlen for PPC64.
25702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25703         implementations.
25704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25705         (__libc_ifunc_impl_list): Likewise.
25706         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25707         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25708         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25709         strlen for PPC64.
25711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25712         implementations.
25713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25714         (__libc_ifunc_impl_list): Likewise.
25715         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25716         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25717         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25718         rawmemrchr for PPC64.
25720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25721         implementation.
25722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25723         (__libc_ifunc_impl_list): Likewise.
25724         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25725         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25726         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25727         memrchr for PPC64.
25729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25730         implementation.
25731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25732         (__libc_ifunc_impl_list): Likewise.
25733         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25734         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25735         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25736         memchr for PPC64.
25738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25739         implementation.
25740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25741         (__libc_ifunc_impl_list): Likewise.
25742         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25743         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25744         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25745         mempcpy for PPC64.
25747         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25748         avoid cretion of __bzero symbol.
25749         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25750         Likewise.
25751         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25752         Likewise.
25753         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25754         Likewise.
25755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25756         multiarch implementations.
25757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25758         (__libc_ifunc_impl_list): Likewise.
25759         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25760         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25761         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25762         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25763         bzero for PPC32.
25764         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25765         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25766         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25767         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25768         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25769         memset for PPC64.
25770         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25772         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25774         implementations.
25775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25776         (__libc_ifunc_impl_list): Likewise.
25777         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25778         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25779         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25780         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25781         memcmp for PPC64.
25783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25784         multiarch for POWER/PPC64.
25785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25786         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25787         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25788         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25789         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25790         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25791         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25792         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25793         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25794         memcpy for PPC64.
25796         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25797         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25798         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25799         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25800         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25801         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25802         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25803         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25804         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25805         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25806         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25807         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25808         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25809         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25810         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25819 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25821         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25823 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25825         * benchtests/Makefile (bench): Add exp2 and log2.
25826         (LDLIBS-bench-exp2): Add -lm.
25827         (LDLIBS-bench-log2): Likewise.
25828         * benchtests/exp2-inputs: New inputs file.
25829         * benchtests/log2-inputs: New inputs file.
25830         * benchtests/log-inputs: Add new inputs.
25831         * benchtests/tan-inputs: Likewise.
25833 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25835         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25836         definition...
25837         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25838         (csloww2): ... from here.
25840         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25841         instead of structures.
25842         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25843         (POLYNOMIAL): Likewise.
25844         (TAYLOR_SLOW): Likewise.
25845         (__sin): Likewise.
25846         (__cos): Likewise.
25847         (slow1): Likewise.
25848         (slow2): Likewise.
25849         (sloww): Likewise.
25850         (sloww1); Likewise.
25851         (sloww2): Likewise.
25852         (bsloww1): Likewise.
25853         (bsloww2): Likewise.
25854         (cslow2): Likewise.
25855         (csloww): Likewise.
25856         (csloww1): Likewise.
25857         (csloww2): Likewise.
25859 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25861         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25862         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25863         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25864         * malloc/hooks.c (realloc_check): Likewise.
25866         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25867         * malloc/arena.c: Remove PER_THREAD conditional.
25868         [!PER_THREAD]: Remove code.
25869         (ptmalloc_unlock_all2): Likewise.
25870         (ptmalloc_init): Likewise.
25871         (_int_new_arena): Likewise.
25872         (arena_get2): Likewise.
25873         * malloc/hooks.c (__malloc_get_state): Likewise.
25874         (__malloc_set_state): Likewise.
25875         * malloc/malloc.c: Likewise.
25876         (struct malloc_state): Likewise.
25877         (struct malloc_par): Likewise.
25878         (__libc_realloc): Likewise.
25879         (__libc_mallopt): Likewise.
25881 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25883         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25885 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25887         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25888         macro to a function.  Check for zero perturb_byte.
25889         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25891         * malloc/malloc.c: (force_reg): Remove.
25892         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25893         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25894         force_reg by atomic_forced_read.
25895         * malloc/arena.c (ptmalloc_init): Likewise.
25896         * malloc/hooks.c (top_check): Likewise.
25898 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25902 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25906 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25908         * math/auto-libm-test-in: Add tests of lgamma.
25909         * math/auto-libm-test-out: Regenerated.
25910         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25911         (M_LOG_2_SQRT_PIl): Likewise.
25912         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25913         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25914         mpfr_f_f1.
25915         (func_calc_desc): Add mpfr_f_f1 union field.
25916         (ARGS1): New macro.
25917         (ARGS2): Likewise.
25918         (ARGS3): Likewise.
25919         (ARGS4): Likewise.
25920         (RET1): Likewise.
25921         (RET2): Likewise.
25922         (CALC): Likewise.
25923         (FUNC): Likewise.
25924         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25925         (test_functions): Add lgamma.
25926         (calc_generic_results): Handle mpfr_f_f1.
25927         * sysdeps/i386/fpu/libm-test-ulps: Update.
25928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25930 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25932         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25933         __mpn_add_n for PowerPC64/POWER7.
25934         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25935         __mpn_sub_n for PowerPC64/POWER7.
25937         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25938         __mpn_addmul_1 for PowerPC64.
25939         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25940         __mpn_submul_1 for PowerPC64.
25941         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25942         for PowerPC64.
25943         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25944         for PowerPC64.
25946 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25948         [BZ #15089]
25949         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25951 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25953         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25955         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25956         add multiarch folders.
25957         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25958         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25959         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25960         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25961         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25962         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25963         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25964         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25965         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25966         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25967         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25976         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25978         New file.
25979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25980         New file.
25981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25982         multiarch __ieee754_hypot for PowerPC32.
25983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25984         New file.
25985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25986         New file.
25987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25988         multiarch __ieee754_hypotf for PowerPC32.
25990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25991         long_double_symbol only if __logbl is defined.
25992         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25993         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25994         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25995         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25996         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25997         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25998         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25999         path for implementation.
26000         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26001         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26003         logb, and logbl multiarch implementations for PowerPC32.
26004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26005         file.
26006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26007         file.
26008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26009         multiarch logb for PowerPC32.
26010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26011         file.
26012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26013         file.
26014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26015         multiarch logbf for PowerPC32.
26016         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26018         file.
26019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26020         multiarch logbl implementation for PowerPC32.
26022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26023         and modff multiarch implementations.
26024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26025         New file.
26026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26027         New file.
26028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26029         multiarch modf for PowerPC32.
26030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26031         New file.
26032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26033         New file.
26034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26035         multiarch modff for PowerPC32.
26037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26038         and lrintf multiarch implementations.
26039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26040         New file.
26041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26042         New file.
26043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26044         multiarch lrint for PowerPC32.
26045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26046         file: multiarch lrintf for PowerPC32.
26048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26049         and lroundf multiarch implementations.
26050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26051         New file.
26052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26053         New file.
26054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26055         New file.
26056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26057         multiarch lround for PowerPC32.
26058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26059         file: multiarch lroundf for PowerPC32.
26061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26062         copysign and copysignf multiarch implementations.
26063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26064         New file.
26065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26066         New file.
26067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26068         file: multiarch copysign for PowerPC32.
26069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26070         file: multiarch copysignf for PowerPC32.
26072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26073         and truncf multiarch implementations.
26074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26075         New file.
26076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26077         file.
26078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26079         multiarch trunc for PowerPC32.
26080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26081         New file.
26082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26083         New file.
26084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26085         multiarch truncf for PowerPC32.
26087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26088         and roundf multiarch implementations.
26089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26090         New file.
26091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26092         file.
26093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26094         multiarch round for PowerPC32.
26095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26096         New file.
26097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26098         New file.
26099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26100         multiarch roundf for PowerPC32.
26102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26103         and floorf multiarch implementations.
26104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26105         New file.
26106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26107         file.
26108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26109         multiarch floor for PowerPC32.
26110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26111         New file.
26112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26113         New file.
26114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26115         multiarch floorf for PowerPC32.
26117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26118         and ceilf multiarch implementations.
26119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26120         New file.
26121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26122         file.
26123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26124         multiarch ceil for PowerPC32.
26125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26126         New file.
26127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26128         file.
26129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26130         multiarch ceilf for PowerPC32.
26132         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26133         is defined.
26134         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26135         FINITEF is defined.
26136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26137         and finitef multiarch implementations.
26138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26139         New file.
26140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26141         file.
26142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26143         multiarch finite for PowerPC32.
26144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26145         New file.
26146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26147         file: multiarch finitef for PowerPC32.
26149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26150         and isinff multiarch implementations.
26151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26152         file.
26153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26154         file.
26155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26156         multiarch isinf for PowerPC32.
26157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26158         New file.
26159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26160         multiarch isinff for PowerPC32.
26162         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26163         alias when __isnan is defined.
26164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26165         and isnanf multiarch implementations.
26166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26167         file.
26168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26169         file.
26170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26171         file.
26172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26173         file.
26174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26175         multiarch isnan for PowerPC32.
26176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26177         New file.
26178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26179         New file.
26180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26181         multiarch isnanf for PowerPC32.
26183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26184         and sqrtf multiarch implementations.
26185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26186         file.
26187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26188         file.
26189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26190         multiarch sqrt for PowerPC32.
26191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26192         file.
26193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26194         file.
26195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26196         multiarch sqrtf for PowerPC32.
26198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26199         and llroundf multiarch implementations.
26200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26201         New file.
26202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26203         New file.
26204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26205         New file.
26206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26207         file: multiarch llround for PowerPC32.
26208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26209         file: multiarch llroundf for PowerPC32.
26211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26212         multiarch PowerPC32 fpu implementations.
26213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26214         New file.
26215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26216         New file.
26217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26218         multiarch llrint for PowerPC32.
26219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26220         New file.
26221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26222         New file.
26223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26224         file.
26226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26228         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26229         file.
26230         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26231         file.
26232         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26233         file.
26234         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26235         multiarch wordcopy for PPC32.
26236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26237         wordcopy objects.
26238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26239         (__libc_ifunc_impl_list): Likewise.
26240         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26241         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26242         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26243         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26244         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26245         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26247         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26249         file.
26250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26251         file.
26252         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26253         file.
26254         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26255         multiarch wcscpy for PPC32.
26256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26257         multiarch objects.
26258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26259         (__libc_ifunc_impl_list): Likewise.
26260         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26261         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26262         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26263         sysdeps/powerpc/power6/wcscpy.c.
26265         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26266         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26267         file.
26268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26269         file.
26270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26271         file.
26272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26273         multiarch wcsrchr for PPC32.
26274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26275         multiarch objects.
26276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26277         (__libc_ifunc_impl_list): Likewise.
26278         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26279         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26280         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26281         sysdeps/powerpc/power6/wcsrchr.c.
26283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26284         file.
26285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26286         file.
26287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26289         multiarch wcschr for PPc32.
26290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26291         multiarch objects.
26292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26293         (__libc_ifunc_impl_list): Likewise.
26294         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26295         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26296         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26297         sysdeps/powerpc/power6/wcschr.c.
26299         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26300         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26301         file.
26302         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26303         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26304         file: multiarch strchr for PPC32.
26305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26306         multiarch objects.
26307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26308         (__libc_ifunc_impl_list): Likewise.
26310         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26311         name.
26312         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26313         file.
26314         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26315         file.
26316         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26317         multiarch strchrnul for PPC32.
26318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26319         multiarch objects.
26320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26321         (__libc_ifunc_impl_list): Likewise.
26323         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26324         file.
26325         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26326         multiarch strncasecmp for PPC32.
26327         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26328         file.
26329         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26330         multiarch strncasecmp_l for PPC32.
26331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26332         strncasecmp multiarch objects.
26333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26334         (__libc_ifunc_impl_list): Likewise.
26336         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26337         file.
26338         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26339         multiarch strncasecmp for PPC32.
26340         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26341         New file.
26342         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26343         multiarch strcasecmp_l for PPC32.
26344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26345         multiarch objects.
26346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26347         (__libc_ifunc_impl_list): Likewise.
26349         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26350         file.
26351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26352         file.
26353         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26354         multiarch strncmp for PPC32.
26355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26356         multiarch objects.
26357         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26358         (__libc_ifunc_impl_list): Likewise.
26360         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26361         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26362         file.
26363         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26364         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26366         multiarch objects.
26367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26368         (__libc_ifunc_impl_list): Likewise.
26370         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26371         file.
26372         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26373         file.
26374         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26376         multiarch objects.
26377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26378         (__libc_ifunc_impl_list): Likewise.
26380         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26381         file.
26382         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26383         file.
26384         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26385         multiarch rawmemchr for PPC32.
26386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26387         multiarch objects.
26388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26389         (__libc_ifunc_impl_list): Likewise.
26391         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26392         file.
26393         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26394         file.
26395         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26396         file: memrchr multiarch for PPC32.
26397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26398         multiarch objects.
26399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26400         (__libc_ifunc_impl_list): Likewise.
26402         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26403         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26404         file.
26405         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26406         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26407         multiarch memchr for PPC32.
26408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26409         multiarch objects.
26410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26411         (__libc_ifunc_impl_list): Likewise.
26413         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26414         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26415         file.
26416         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26417         file.
26418         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26419         file: multiarch mempcpy for PPC32.
26420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26421         multiarch objects.
26422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26423         (__libc_ifunc_impl_list): Likewise.
26425         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26426         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26427         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26428         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26429         multiarch bzero for PPC32.
26430         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26431         file.
26432         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26433         file.
26434         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26435         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26436         file: multiarch memset for PPC32.
26437         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26439         memset multiarch objects.
26440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26441         (__libc_ifunc_impl_list): Likewise.
26443         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26444         file.
26445         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26446         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26447         memcmp for PPC32.
26448         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26449         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26450         multiarch objects.
26451         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26452         (__libc_ifunc_impl_list): Likewise.
26454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26456         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26457         file.
26458         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26459         file.
26460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26461         file.
26462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26463         multiarch memcpy for PPC32.
26464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26465         multiarch objects.
26466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26467         (__libc_ifunc_impl_list): Likewise.
26469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26470         support multiarch for POWER/PPC32.
26471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26472         Likewise.
26473         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26475         Implies file to make multiarch folder appers before the fpu and
26476         default folder for power4 configuration.
26478 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26480         * scripts/bench.pl: Append volatile keyword to type.
26482 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26484         * sysdeps/sh/sotruss-lib.c: New file.
26485         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26487 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26491 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26493         [BZ #6810]
26494         * math/w_tgamma.c: Include <errno.h>.
26495         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26496         * math/w_tgammaf.c: Include <errno.h>.
26497         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26498         * math/w_tgammal.c: Include <errno.h>.
26499         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26500         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26501         underflow.  Add more tgamma tests.
26502         * math/auto-libm-test-out: Regenerated.
26503         * sysdeps/i386/fpu/libm-test-ulps: Update.
26504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26506         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26507         sin, sinh, tan, tanh, tgamma, y0 and y1.
26508         * math/auto-libm-test-out: Regenerated.
26509         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26510         (TEST_COND_x86): Likewise.
26511         (M_E2l): Remove macro.
26512         (M_E3l): Likewise.
26513         (M_2_SQRT_PIl): Likewise.
26514         (M_SQRT_PIl): Likewise.
26515         (M_1_DIV_El): Likewise.
26516         (log_test_data): Use AUTO_TESTS_f_f.
26517         (log10_test_data): Likewise.
26518         (log1p_test_data): Likewise.
26519         (log2_test_data): Likewise.
26520         (sin_test_data): Likewise.
26521         (sin_tonearest_test_data): Likewise.
26522         (sin_towardzero_test_data): Likewise.
26523         (sin_downward_test_data): Likewise.
26524         (sin_upward_test_data): Likewise.
26525         (sinh_test_data): Likewise.
26526         (sinh_tonearest_test_data): Likewise.
26527         (sinh_towardzero_test_data): Likewise.
26528         (sinh_downward_test_data): Likewise.
26529         (sinh_upward_test_data): Likewise.
26530         (tan_test_data): Likewise.
26531         (tan_tonearest_test_data): Likewise.
26532         (tan_towardzero_test_data): Likewise.
26533         (tan_downward_test_data): Likewise.
26534         (tan_upward_test_data): Likewise.
26535         (tanh_test_data): Likewise.
26536         (tgamma_test_data): Likewise.
26537         (y0_test_data): Likewise.
26538         (y1_test_data): Likewise.
26539         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26540         (special_real_inputs): Add pi/4.
26541         * sysdeps/i386/fpu/libm-test-ulps: Update.
26542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26544 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26546         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26547         "longjmp_target" static probes.
26548         (__longjmp): Rename to __longjmp_symbol.
26549         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26550         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26551         on which longjmp to generate.
26552         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26553         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26554         probe.
26555         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26556         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26557         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26558         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26559         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26560         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26562         __longjmp_symbol based on which __longjmp to generate.
26563         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26564         probe.
26565         (setjmp): Rename to setjmp_symbol.
26566         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26567         (_setjmp): Rename to _setjmp_symbol.
26568         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26569         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26570         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26571         which setjmp to generate.
26572         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26573         "longjmp_target" static probes.
26575 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26577         * benchtests/README: Add note about output arguments.
26578         * benchtests/bench-sincos.c: Remove file.
26579         * benchtests/sincos-inputs: New file.
26580         * scripts/bench.pl: Identify output arguments and define
26581         static variables for them.
26583         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26585         [BZ #15941]
26586         * Makefile (INSTALL): Add install-plain.texi as the primary
26587         dependency.
26588         * manual/install-plain.texi: New file.
26589         * manual/install.texi: Include node directive only for
26590         non-plaintext output.
26592 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26594         * stdlib/longlong.h: Update from GCC.
26596         [BZ #6807]
26597         [BZ #15901]
26598         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26599         * math/w_j0f.c (y0f): Likewise.
26600         * math/w_j0l.c (__y0l): Likewise.
26601         * math/w_j1.c (y1): Likewise.
26602         * math/w_j1f.c (y1f): Likewise.
26603         * math/w_j1l.c (__y1l): Likewise
26604         * math/w_jn.c (yn): Likewise.
26605         * math/w_jnf.c (ynf): Likewise.
26606         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26607         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26608         value for Bessel function domain errors outside _SVID_ mode.
26609         Adjust sign of return value for yn (negative integer, 0).
26610         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26611         by zero in return for negative x and set sign appropriately for
26612         negative n.
26613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26614         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26615         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26616         expectations in error cases.
26617         (y1_test_data): Likewise.
26618         (yn_test_data): Likewise.
26619         * sysdeps/i386/fpu/libm-test-ulps: Update.
26620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26622 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26624         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26625         "64" to "64-v1".  Add "64-v2".
26626         (abi-64-options): Rename to ...
26627         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26628         (abi-64-condition): Rename to ...
26629         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26630         (abi-64-ld-soname): Rename to ...
26631         (abi-64-v1-ld-soname): ... this.
26632         (abi-64-v2-options): Define.
26633         (abi-64-v2-condition): Likewise.
26634         (abi-64-v2-ld-soname): Likewise.
26635         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26636         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26641 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26642             Alan Modra  <amodra@gmail.com>
26644         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26645         New versions for use with the ELFv2 ABI.
26646         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26647         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26648         declaration.
26649         (struct La_ppc64v2_retval): Likewise.
26650         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26651         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26652         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26653         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26654         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26655         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26656         Do not save or restore CR.
26657         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26658         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26659         return values for ELFv2 ABI.  Fix location of FPR return registers.
26660         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26661         updated values for _CALL_ELF == 2.
26662         (La_regs, La_retval, int_retval): Likewise.
26664 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26666         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26667         (FRAME_MIN_SIZE_PARM): Likewise.
26668         (FRAME_BACKCHAIN): Likewise.
26669         (FRAME_CR_SAVE): Likewise.
26670         (FRAME_LR_SAVE): Likewise.
26671         (FRAME_TOC_SAVE): Likewise.
26672         (FRAME_PARM_SAVE): Likewise.
26673         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26674         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26675         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26676         (call_mcount_parm_offset): New macro.
26677         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26678         (PROF): Use symbolic stack frame offsets.
26679         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26680         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26681         Redefine in terms of FRAME_MIN_SIZE.
26682         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26683         (_dl_profile_resolve): Likewise.  Update comment.
26684         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26685         symbols stack frame offsets.
26686         (__sigsetjmp): Likewise.
26687         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26688         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26689         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26690         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26693         (FRAME_BACKCHAIN): Remove.
26694         (FRAME_CR_SAVE): Likewise.
26695         (FRAME_LR_SAVE): Likewise.
26696         (FRAME_COMPILER_DW): Likewise.
26697         (FRAME_LINKER_DW): Likewise.
26698         (FRAME_TOC_SAVE): Likewise.
26699         (FRAME_PARM_SAVE): Likewise.
26700         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26701         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26702         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26704         (CHECK_SP): Use symbolic stack frame offsets.
26705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26706         zone" instead of caller's parameter save area for temp storage.
26707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26708         Likewise.  Also, use symbolic stack frame offsets.
26709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26710         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26711         our own stack frame instead of the caller's.
26712         (__socket): Use symbolic stack frame offsets.
26714 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26715             Alan Modra  <amodra@gmail.com>
26717         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26718         Define.
26719         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26720         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26721         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26722         New function.
26723         (elf_machine_fixup_plt): Call it.
26724         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26725         reloc arguments.
26726         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26727         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26728         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26729         r2 before calling target.
26731 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26732             Alan Modra  <amodra@gmail.com>
26734         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26735         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26736         versions of macros to support ELFv2 ABI.
26737         (LOCALENTRY): New macro.
26738         (ENTRY, EALIGN): Use it.
26739         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26740         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26741         fall through into ENTRY entry point.
26742         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26743         Only define if _CALL_ELF != 2.
26745         (elf_machine_matches_host): Verify ABI version matches.
26746         (RTLD_START): Use LOCALENTRY.
26747         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26748         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26749         (PLT_ENTRY_WORDS): New macro.
26750         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26751         (elf_machine_runtime_setup): Support ELFv2 ABI.
26752         (elf_machine_fixup_plt): Likewise.
26753         (elf_machine_plt_conflict): Likewise.
26754         (resolve_ifunc): Likewise.
26755         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26756         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26757         Likewise.
26758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26759         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26761         (makecontext): Support ELFv2 ABI.
26762         * elf/elf.h (EF_PPC64_ABI): Define.
26764 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26766         * sysdeps/powerpc/powerpc64/sysdep.h
26767         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26768         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26769         (ENTRY) [ASSEMBLER]: ... but instead here ...
26770         (EALIGN) [ASSEMBLER]: ... and here.
26771         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26772         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26773         (ENTRY_2) [!ASSEMBLER]: Use it.
26774         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26775         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26776         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26777         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26778         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26780         Use PPC64_LOAD_FUNCPTR.
26782         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26784 2013-12-04  Alan Modra  <amodra@gmail.com>
26786         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26787         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26788         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26789         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26791         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26792         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26793         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26794         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26795         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26796         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26798 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26801         (__makecontext): Fix incorrect CFI when backtracing out of
26802         context created via makecontext.
26803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26804         (__setcontext): Fix incorrect CFI during switch to new context.
26805         (__novec_setcontext): Likewise.
26807 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26809         [BZ #4772]
26810         * time/strptime_l.c (__strptime_internal): Allow modifiers
26811         in strptime.
26812         * time/tst-strptime.c (day_tests): Add testcase.
26814 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26816         * scripts/bench.pl: Skip over blank lines.
26818 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26820         [BZ #926]
26821         * manual/time.texi (Calendar Time): Clarify what timezone functions
26822         use.
26824 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26828 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26830         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26831         implementation.
26832         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26833         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26834         * debug/memset_chk.c (__memset_chk): Likewise.
26835         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26836         * debug/strncpy_chk.c: Likewise.
26838 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26840         [BZ #15268]
26841         [BZ #15425]
26842         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26843         (__ieee754_exp): For possibly underflowing results, check size of
26844         result and force underflow exception if required.
26845         * math/auto-libm-test-in: Add more tests of exp.
26846         * math/auto-libm-test-out: Regenerated.
26847         * sysdeps/i386/fpu/libm-test-ulps: Update.
26848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26850         [BZ #16283]
26851         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26852         * math/w_exp2f.c (__exp2f): Likewise.
26853         * math/w_exp2l.c (__exp2l): Likewise.
26854         * math/auto-libm-test-in: Do not allow missing errno on exp2
26855         underflow.
26856         * math/auto-libm-test-out: Regenerated.
26858 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26860         [BZ #16274]
26861         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26862         handle filename validation.
26863         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26864         (do_open): Delete.
26866 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26868         [BZ #6786]
26869         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26870         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26871         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26872         <float.h>.
26873         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26874         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26875         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26876         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26877         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26878         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26879         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26880         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26881         Add more erfc tests.
26882         * math/auto-libm-test-out: Regenerated.
26883         * sysdeps/i386/fpu/libm-test-ulps: Update.
26884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26886         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26887         exp2, expm1, j0 and j1.
26888         * math/auto-libm-test-out: Regenerated.
26889         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26890         (erfc_test_data): Likewise.
26891         (exp_test_data): Likewise.
26892         (exp_tonearest_test_data): Likewise.
26893         (exp_towardzero_test_data): Likewise.
26894         (exp_downward_test_data): Likewise.
26895         (exp_upward_test_data): Likewise.
26896         (exp10_test_data): Likewise.
26897         (exp2_test_data): Likewise.
26898         (expm1_test_data): Likewise.
26899         (j0_test_data): Likewise.
26900         (j1_test_data): Likewise.
26901         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26902         (input_flag_type): Add flag_xfail_rounding.
26903         (input_flags): Add xfail-rounding.
26904         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26905         (output_for_one_input_case): Handle flag_xfail_rounding.
26906         * sysdeps/i386/fpu/libm-test-ulps: Update.
26907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26909 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26911         [BZ #16289]
26912         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26913         division by 0.
26915 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26917         [BZ #16195]
26918         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26919         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26920         (STAP_PROBE0): New macro.
26921         (STAP_PROBE1): Likewise.
26922         (STAP_PROBE2): Likewise.
26923         (STAP_PROBE3): Likewise.
26924         (STAP_PROBE4): Likewise.
26926 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26928         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26930 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26932         * benchtests/Makefile (bench): Add sqrt.
26933         (LDLIBS-bench-sqrt): New.
26934         * benchtests/sqrt-input: New.
26936 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26938         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26939         (GAIH_EAI): Likewise.
26940         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26941         (gaih_inet): Likewise.
26942         (getaddrinfo): Don't use GAIH_EAI.
26944         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26945         (struct gaih): Remove definition.
26947 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26949         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26950         Use HERRNOP directly.
26952 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26956 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26958         * math/gen-auto-libm-tests.c (test_functions): Add more
26959         single-argument functions.
26960         (special_fill_pi_2): New function.
26961         (special_fill_minus_pi_2): Likewise.
26962         (special_fill_pi_6): Likewise.
26963         (special_fill_minus_pi_6): Likewise.
26964         (special_fill_pi_3): Likewise.
26965         (special_fill_2pi_3): Likewise.
26966         (special_fill_e): Likewise.
26967         (special_fill_1_e): Likewise.
26968         (special_fill_e_minus_1): Likewise.
26969         (special_real_inputs): Add more special inputs.
26970         (output_for_one_input_case): Do not require ERANGE on underflow to
26971         zero if round-to-nearest result does not underflow to zero, unless
26972         exact results required.
26973         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26974         atan, atanh, cbrt, cos and cosh.
26975         * math/auto-libm-test-out: Regenerated.
26976         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26977         (acos_tonearest_test_data): Likewise.
26978         (acos_towardzero_test_data): Likewise.
26979         (acos_downward_test_data): Likewise.
26980         (acos_upward_test_data): Likewise.
26981         (acosh_test_data): Likewise.
26982         (asin_test_data): Likewise.
26983         (asin_tonearest_test_data): Likewise.
26984         (asin_towardzero_test_data): Likewise.
26985         (asin_upward_test_data): Likewise.
26986         (asinh_test_data): Likewise.
26987         (atan_test_data): Likewise.
26988         (atanh_test_data): Likewise.
26989         (cbrt_test_data): Likewise.
26990         (cos_test_data): Likewise.
26991         (cos_tonearest_test_data): Likewise.
26992         (cos_towardzero_test_data): Likewise.
26993         (cos_downward_test_data): Likewise.
26994         (cos_upward_test_data): Likewise.
26995         (cosh_test_data): Likewise.
26996         (cosh_tonearest_test_data): Likewise.
26997         (cosh_towardzero_test_data): Likewise.
26998         (cosh_downward_test_data): Likewise.
26999         (cosh_upward_test_data): Likewise.
27000         * sysdeps/i386/fpu/libm-test-ulps: Update.
27001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27003 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27005         [BZ #6787]
27006         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27007         * math/w_exp10f.c (__exp10f): Likewise.
27008         * math/w_exp10l.c (__exp10l): Likewise.
27009         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27010         errno settings in existing tests.
27012         [BZ #14032]
27013         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27014         precision control set to double precision.
27015         * sysdeps/i386/fpu/w_sqrt.c: New file.
27016         * math/auto-libm-test-in: Add more tests.
27017         * math/auto-libm-test-out: Update.
27019         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27020         (sqrt_test_tonearest): New function.
27021         (sqrt_towardzero_test_data): New variable.
27022         (sqrt_test_towardzero): New function.
27023         (sqrt_downward_test_data): New variable.
27024         (sqrt_test_downward): New function.
27025         (sqrt_upward_test_data): New variable.
27026         (sqrt_test_upward): New function.
27027         (main): Call the new functions.
27029         * math/gen-auto-libm-tests.c: New file.
27030         * math/auto-libm-test-in: Likewise.
27031         * math/auto-libm-test-out: New generated file.
27032         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27033         variables.
27034         (%beautify): Add generated representations of zero.
27035         (top level): Set $auto_input and call parse_auto_input.
27036         (beautify): Remove trailing "f" from hex float constants.
27037         (parse_args): Handle XFAIL_TEST.
27038         (convert_condition): New function.
27039         (or_value): Likewise.
27040         (or_cond_value): Likewise.
27041         (generate_testfile): Handle AUTO_TESTS_* lines.
27042         (parse_auto_input): New function.
27043         * math/libm-test.inc (XFAIL_TEST): New macro.
27044         (ERRNO_UNCHANGED): Update value.
27045         (ERRNO_EDOM): Likewise.
27046         (ERRNO_ERANGE): Likewise.
27047         (IGNORE_RESULT): Likewise.
27048         (TEST_COND_flt_32): New macro.
27049         (TEST_COND_dbl_64): Likewise.
27050         (TEST_COND_ldbl_96_intel): Likewise.
27051         (TEST_COND_ldbl_96_m68k): Likewise.
27052         (TEST_COND_ldbl_128): Likewise.
27053         (TEST_COND_ldbl_128ibm): Likewise.
27054         (TEST_COND_long32): Likewise.
27055         (TEST_COND_long64): Likewise.
27056         (TEST_COND_before_rounding): Likewise.
27057         (TEST_COND_after_rounding): Likewise.
27058         (enable_test): Handle XFAIL_TEST flag.
27059         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27060         with finite results.
27061         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27062         auto-libm-test-out.
27064 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27065             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27067         [BZ #16214]
27068         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27069         __tls_get_addr_internal instead of __tls_get_offset in order to
27070         avoid GOT pointer dependency.  Make rtld export
27071         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27072         __tls_get_addr since we are a __tls_get_offset platform.
27073         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27074         GOT pointer being set up before.
27075         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27077 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27079         * manual/math.texi (Errors in Math Functions): Document accuracy
27080         goals.
27082         [BZ #15004]
27083         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27084         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27085         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27086         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27087         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27088         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27089         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27090         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27091         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27092         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27093         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27094         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27095         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27096         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27097         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27098         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27100         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27101         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27102         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27103         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27104         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27105         Likewise.
27106         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27107         Likewise.
27108         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27109         Likewise.
27110         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27111         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27112         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27113         atomic-feupdateenv and flt-rounds.
27114         * sysdeps/powerpc/nofpu/Versions (libc): Add
27115         __atomic_feholdexcept, __atomic_feclearexcept,
27116         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27117         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27118         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27119         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27120         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27121         here.
27122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27123         Update.
27125         * manual/arith.texi (FP Exceptions): Document that exceptions may
27126         not be raised when matherr is used.
27127         (Math Error Reporting): Document overflow in directed rounding
27128         modes.  Document that errno may not be set when finite values are
27129         returned on overflow.  Document intent to set errno on underflow
27130         only for underflow to zero.
27132         [BZ #16271]
27133         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27134         round-to-nearest then adjust result for other rounding modes.
27135         * include/fenv.h (fegetround): Use libm_hidden_proto.
27136         * math/fegetround.c (fegetround): Use libm_hidden_def.
27137         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27138         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27139         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27141         Likewise.
27142         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27143         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27144         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27145         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27147 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27149         [BZ #16077]
27150         * nss/Versions (libnss_files): Add
27151         _nss_files_gethostbyname3_r.
27152         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27153         New function.
27154         (HOST_DB_LOOKUP): Remove macro.
27155         (_nss_files_gethostbyname_r): Implement function without the
27156         HOST_DB_LOOKUP macro.
27157         (_nss_files_gethostbyname2_r): Likewise.
27159 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27161         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27163 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27165         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27166         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27167         warning.
27169 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27171         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27172         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27173         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27174         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27175         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27176         __fe_nomask_env_priv and attribute_hidden.
27177         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27178         (libc_feupdateenv_test_ppc): Likewise.
27179         (libc_feresetround_ppc): Likewise.
27180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27181         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27182         compat_symbol macro.
27183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27184         (__fe_nomask_env): Likewise.
27185         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27187 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27189         * string/Makefile: Remove ifunc tests.
27190         * string/test-string.h: Define TEST_IFUNC.
27191         * string/test-bcopy-ifunc.c: Remove.
27192         * string/test-bzero-ifunc.c: Likewise.
27193         * string/test-memccpy-ifunc.c: Likewise.
27194         * string/test-memchr-ifunc.c: Likewise.
27195         * string/test-memcmp-ifunc.c: Likewise.
27196         * string/test-memcpy-ifunc.c: Likewise.
27197         * string/test-memmem-ifunc.c: Likewise.
27198         * string/test-memmove-ifunc.c: Likewise.
27199         * string/test-mempcpy-ifunc.c: Likewise.
27200         * string/test-memrchr-ifunc.c: Likewise.
27201         * string/test-memset-ifunc.c: Likewise.
27202         * string/test-rawmemchr-ifunc.c: Likewise.
27203         * string/test-stpcpy-ifunc.c: Likewise.
27204         * string/test-stpncpy-ifunc.c: Likewise.
27205         * string/test-strcasecmp-ifunc.c: Likewise.
27206         * string/test-strcasestr-ifunc.c: Likewise.
27207         * string/test-strcat-ifunc.c: Likewise.
27208         * string/test-strchr-ifunc.c: Likewise.
27209         * string/test-strchrnul-ifunc.c: Likewise.
27210         * string/test-strcmp-ifunc.c: Likewise.
27211         * string/test-strcpy-ifunc.c: Likewise.
27212         * string/test-strcspn-ifunc.c: Likewise.
27213         * string/test-strlen-ifunc.c: Likewise.
27214         * string/test-strncasecmp-ifunc.c: Likewise.
27215         * string/test-strncat-ifunc.c: Likewise.
27216         * string/test-strncmp-ifunc.c: Likewise.
27217         * string/test-strncpy-ifunc.c: Likewise.
27218         * string/test-strnlen-ifunc.c: Likewise.
27219         * string/test-strpbrk-ifunc.c: Likewise.
27220         * string/test-strrchr-ifunc.c: Likewise.
27221         * string/test-strspn-ifunc.c: Likewise.
27222         * string/test-strstr-ifunc.c: Likewise.
27224 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27226         * benchtests/Makefile: Remove ifunc tests.
27227         * benchtests/bench-string.h: Define TEST_IFUNC.
27228         * benchtests/bench-bcopy-ifunc.c: Remove.
27229         * benchtests/bench-bzero-ifunc.c: Likewise.
27230         * benchtests/bench-memccpy-ifunc.c: Likewise.
27231         * benchtests/bench-memchr-ifunc.c: Likewise.
27232         * benchtests/bench-memcmp-ifunc.c: Likewise.
27233         * benchtests/bench-memcpy-ifunc.c: Likewise.
27234         * benchtests/bench-memmem-ifunc.c: Likewise.
27235         * benchtests/bench-memmove-ifunc.c: Likewise.
27236         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27237         * benchtests/bench-memrchr-ifunc.c: Likewise.
27238         * benchtests/bench-memset-ifunc.c: Likewise.
27239         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27240         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27241         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27242         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27243         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27244         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27245         * benchtests/bench-strcat-ifunc.c: Likewise.
27246         * benchtests/bench-strchr-ifunc.c: Likewise.
27247         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27248         * benchtests/bench-strcmp-ifunc.c: Likewise.
27249         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27250         * benchtests/bench-strcpy-ifunc.c: Likewise.
27251         * benchtests/bench-strcspn-ifunc.c: Likewise.
27252         * benchtests/bench-strlen-ifunc.c: Likewise.
27253         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27254         * benchtests/bench-strncat-ifunc.c: Likewise.
27255         * benchtests/bench-strncmp-ifunc.c: Likewise.
27256         * benchtests/bench-strncpy-ifunc.c: Likewise.
27257         * benchtests/bench-strnlen-ifunc.c: Likewise.
27258         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27259         * benchtests/bench-strrchr-ifunc.c: Likewise.
27260         * benchtests/bench-strsep-ifunc.c: Likewise.
27261         * benchtests/bench-strspn-ifunc.c: Likewise.
27262         * benchtests/bench-strstr-ifunc.c: Likewise.
27264 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27266         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27268 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27270         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27271         * rt/aio.h: Likewise.
27272         * sysdeps/gnu/bits/utmp.h: Likewise.
27273         * sysdeps/gnu/bits/utmpx.h: Likewise.
27274         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27275         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27276         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27277         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27278         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27279         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27280         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27281         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27282         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27283         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27284         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27285         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27286         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27288         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27289         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27290         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27291         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27292         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27293         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27294         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27295         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27296         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27297         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27298         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27300         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27301         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27302         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27303         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27304         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27305         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27306         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27307         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27308         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27309         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27310         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27311         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27312         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27313         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27314         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27315         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27317 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27319         [BZ #16245]
27320         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27321         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27323 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27325         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27326         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27327         Likewise.
27329 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27331         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27332         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27333         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27334         (__fesetround): Remove define.
27335         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27336         rounding and exceptions handling.
27337         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27338         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27339         (__fe_nomask_env): Likewise.
27340         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27341         __fegetround instead of fegetround.
27342         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27343         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27345 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27347         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27348         it's there.
27350         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27352 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27354         [BZ #11157]
27355         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27356         (encrypt_r): Likewise.
27357         * malloc/obstack.h (obstack_free): Likewise.
27358         * posix/unistd.h (encrypt): Likewise.
27360 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27362         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27363         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27364         DL_CALL_DT_FINI() that call the functions directly.
27365         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27366         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27367         * elf/dl-fini.c: Likewise.
27369 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27371         * malloc/hooks.c (memalign_check): Add alignment rounding.
27372         * malloc/malloc.c (_mid_memalign): New function.
27373         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27374         Implement by calling _mid_memalign.
27375         * manual/probes.texi (Memory Allocation Probes): Remove
27376         memory_valloc_retry and memory_pvalloc_retry.
27378 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27380         * locale/programs/locarchive.c (open_archive): Add const
27381         qualifier to ARCHIVEFNAME and copy default fname to
27382         DEFAULT_FNAME.
27384         [BZ #15601]
27385         * libio/tst-widetext.input: Rename Oriya to Odia.
27386         * locale/iso-639.def: Likewise.
27388         * manual/probes.texi (Mathematical Function Probes): Add
27389         documentation for sin, cos, asin and acos probes.
27390         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27391         (__sin32): Add slowasin probe.
27392         (__cos32): Add slowacos probe.
27393         (__mpsin): Add slowsin probe.
27394         (__mpcos): Add slowcos probe.
27396 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27398         [BZ #15483]
27399         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27400         thread-local __sim_exceptions_thread and global
27401         __sim_exceptions_global.
27402         (__sim_disabled_exceptions): Change to thread-local
27403         __sim_disabled_exceptions_thread and global
27404         __sim_disabled_exceptions_global.
27405         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27406         and global __sim_round_mode_global.
27407         (__simulate_exceptions): Use thread-local floating-point state and
27408         set global state from it as needed.
27409         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27410         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27411         __sim_round_mode_thread.
27412         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27413         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27414         and global __sim_exceptions_global.
27415         (__sim_disabled_exceptions): Change to thread-local
27416         __sim_disabled_exceptions_thread and global
27417         __sim_disabled_exceptions_global.
27418         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27419         and global __sim_round_mode_global.
27420         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27421         (SIM_SET_GLOBAL): Likewise.
27422         * sysdeps/powerpc/soft-fp/sfp-machine.h
27423         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27424         __sim_round_mode_thread.
27425         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27426         __sim_disabled_exceptions_thread.
27427         (__sim_exceptions): Change to __sim_exceptions_thread.
27428         (__sim_disabled_exceptions): Change to
27429         __sim_disabled_exceptions_thread.
27430         (__sim_round_mode): Change to __sim_round_mode_thread.
27431         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27432         thread-local floating-point state and set global state from it as
27433         needed.
27434         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27435         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27436         (__sim_disabled_exceptions): Remove extern declaration.
27437         (feenableexcept): Use thread-local floating-point state and set
27438         global state from it as needed.
27439         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27440         extern declaration.
27441         (__sim_disabled_exceptions): Likewise.
27442         (__sim_round_mode): Likewise.
27443         (__fegetenv): Use thread-local floating-point state.
27444         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27445         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27446         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27447         floating-point state and set global state from it as needed.
27448         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27449         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27450         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27451         Likewise.
27452         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27453         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27454         Likewise.
27455         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27456         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27457         Use __sim_round_mode_thread.
27458         * math/test-fenv-tls.c: New file.
27459         * math/Makefile (tests): Add test-fenv-tls.
27460         ($(objpfx)test-fenv-tls): Depend on
27461         $(common-objpfx)nptl/libpthread.so.
27463 2013-11-19  Andreas Schwab  <schwab@suse.de>
27465         * locale/programs/locale.c (show_info): Decode wordarray elements.
27466         * locale/categories.def (LC_MONETARY): Add element for
27467         _NL_MONETARY_CRNCYSTR.
27468         * locale/C-monetary.c (conversion_rate): New variable.
27469         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27470         element.
27472 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27474         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27475         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27477 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27479         * elf/Makefile (tst-auxv): New test.
27480         * elf/tst-auxv.c: New
27481         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27483 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27485         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27486         (hidden_proto): Caller changed.
27487         (hidden_tls_proto): New macro.
27488         (libc_hidden_tls_proto): Likewise.
27489         (rtld_hidden_tls_proto): Likewise.
27490         (libm_hidden_tls_proto): Likewise.
27491         (libresolv_hidden_tls_proto): Likewise.
27492         (librt_hidden_tls_proto): Likewise.
27493         (libdl_hidden_tls_proto): Likewise.
27494         (libnss_files_hidden_tls_proto): Likewise.
27495         (libnsl_hidden_tls_proto): Likewise.
27496         (libnss_nisplus_hidden_tls_proto): Likewise.
27497         (libutil_hidden_tls_proto): Likewise.
27499 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27501         [BZ #10253]
27502         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27503         (decompose_rpath): Defer expansion to fillin_rpath.
27504         (_dl_init_paths): Pass linkmap to fillin_rpath.
27506 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27508         * benchtests/Makefile: Add strsep.
27509         * benchtests/bench-strsep.c: New file: strsep benchtest.
27510         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27512 2013-11-18  Andreas Schwab  <schwab@suse.de>
27514         * locale/programs/locale.c (show_info) [case byte]: Check for
27515         '\377' instead of '\177'.
27516         * locale/C-monetary.c (not_available): Always use "\377".
27517         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27518         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27519         detect unavailable sign_posn locale elements.
27520         * locale/localeconv.c (__localeconv): For grouping and
27521         mon_grouping handle "\177" and "\377" like no grouping.
27522         (INT_ELEM): New macro.  Use it to set all numeric members.
27523         * locale/programs/ld-monetary.c (monetary_read)
27524         <tok_mon_grouping>: Normalize single -1 to the empty string.
27525         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27526         Likewise.
27528 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27530         [BZ #16055]
27531         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27532         when we match (nil).
27533         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27535 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27537         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27538         (NO_TEST_INLINE): Update value.
27539         (ERRNO_UNCHANGED): Likewise.
27540         (ERRNO_EDOM): Likewise.
27541         (ERRNO_ERANGE): Likewise.
27542         (IGNORE_RESULT): Likewise.
27543         (check_float_internal): Check signs of NaN results if
27544         TEST_NAN_SIGN used.
27545         (check_complex): Pass TEST_NAN_SIGN flag through to second
27546         check_float_internal call.
27547         (copysign_test_data): Add tests with quiet NaNs as second
27548         argument.  Use TEST_NAN_SIGN.
27549         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27550         TEST_NAN_SIGN.
27551         (signbit_test_data): Add tests of quiet NaN argument.
27552         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27554         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27555         $ignore_result.
27556         (parse_args): Handle function results specified as IGNORE.
27557         * math/libm-test.inc (IGNORE_RESULT): New macro.
27558         (check_float_internal): Do not check numerical result if flag
27559         IGNORE_RESULT set.
27560         (check_complex): Pass through IGNORE_RESULT to second
27561         check_float_internal call.
27562         (check_int): Do not check numerical result if flag IGNORE_RESULT
27563         set.
27564         (check_long): Likewise.
27565         (check_bool): Likewise.
27566         (check_longlong): Likewise.
27567         (lrint_test_data): Add tests of infinite and NaN arguments.
27568         (lrint_tonearest_test_data): Likewise.
27569         (lrint_towardzero_test_data): Likewise.
27570         (lrint_downward_test_data): Likewise.
27571         (lrint_upward_test_data): Likewise.
27572         (llrint_test_data): Likewise.
27573         (llrint_tonearest_test_data): Likewise.
27574         (llrint_towardzero_test_data): Likewise.
27575         (llrint_downward_test_data): Likewise.
27576         (llrint_upward_test_data): Likewise.
27577         (lround_test_data): Likewise.
27578         (llround_test_data): Likewise.
27580         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27581         (ERRNO_UNCHANGED): Update value.
27582         (ERRNO_EDOM): Likewise.
27583         (ERRNO_ERANGE): Likewise.
27584         (NO_TEST_INLINE_FLOAT): New macro.
27585         (NO_TEST_INLINE_DOUBLE): Likewise.
27586         (enable_test): New function.
27587         (RUN_TEST_f_f): Check enable_test before running test.
27588         (RUN_TEST_2_f): Likewise.
27589         (RUN_TEST_fff_f): Likewise.
27590         (RUN_TEST_c_f): Likewise.
27591         (RUN_TEST_f_f1): Likewise.
27592         (RUN_TEST_fF_f1): Likewise.
27593         (RUN_TEST_fI_f1): Likewise.
27594         (RUN_TEST_ffI_f1): Likewise.
27595         (RUN_TEST_c_c): Likewise.
27596         (RUN_TEST_cc_c): Likewise.
27597         (RUN_TEST_f_i): Likewise.
27598         (RUN_TEST_f_i_tg): Likewise.
27599         (RUN_TEST_ff_i_tg): Likewise.
27600         (RUN_TEST_f_b): Likewise.
27601         (RUN_TEST_f_b_tg): Likewise.
27602         (RUN_TEST_f_l): Likewise.
27603         (RUN_TEST_f_L): Likewise.
27604         (RUN_TEST_fFF_11): Likewise.
27605         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27606         conditionals.
27607         (cosh_test_data): Likewise.
27608         (exp_test_data): Likewise.
27609         (expm1_test_data): Likewise.
27610         (hypot_test_data): Likewise.
27611         (pow_test_data): Likewise.
27612         (sinh_test_data): Likewise.
27613         (tanh_test_data): Likewise.
27614         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27615         flags argument.
27617         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27618         tests with quiet NaN input and output.
27619         (acosh_test_data): Likewise.
27620         (asin_test_data): Likewise.
27621         (asinh_test_data): Likewise.
27622         (atan_test_data): Likewise.
27623         (atanh_test_data): Likewise.
27624         (atan2_test_data): Likewise.
27625         (cbrt_test_data): Likewise.
27626         (cos_test_data): Likewise.
27627         (cosh_test_data): Likewise.
27628         (erf_test_data): Likewise.
27629         (erfc_test_data): Likewise.
27630         (exp_test_data): Likewise.
27631         (exp10_test_data): Likewise.
27632         (exp2_test_data): Likewise.
27633         (expm1_test_data): Likewise.
27634         (hypot_test_data): Likewise.
27635         (j0_test_data): Likewise.
27636         (j1_test_data): Likewise.
27637         (jn_test_data): Likewise.
27638         (lgamma_test_data): Likewise.
27639         (log_test_data): Likewise.
27640         (log10_test_data): Likewise.
27641         (log1p_test_data): Likewise.
27642         (log2_test_data): Likewise.
27643         (pow_test_data): Likewise.
27644         (scalb_test_data): Likewise.
27645         (sin_test_data): Likewise.
27646         (sincos_test_data): Likewise.
27647         (sinh_test_data): Likewise.
27648         (tan_test_data): Likewise.
27649         (tanh_test_data): Likewise.
27650         (tgamma_test_data): Likewise.
27651         (y0_test_data): Likewise.
27652         (y1_test_data): Likewise.
27653         (yn_test_data): Likewise.
27655         [BZ #16167]
27656         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27657         argument being NaN and avoid computations with second argument in
27658         that case.
27659         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27660         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27661         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27663 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27665         * locale/iso-639.def: Add Chitwani Tharu (the).
27667 2013-11-14  Andreas Schwab  <schwab@suse.de>
27669         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27670         word instead of empty string.
27672 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27675         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27677         (__fe_nomask_env): Likewise.
27679 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27681         * benchtests/bench-timing.h: Include time.h.
27683 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27685         [BZ #15997]
27686         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27687         to 3.4.0 for x32.
27688         * sysdeps/unix/sysv/linux/configure: Regenerated.
27690 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27692         [BZ #16151]
27693         * stdlib/strtod_l.c (round_and_return): Do not consider
27694         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27695         exponent one less than half the least subnormal exponent.
27696         * stdlib/test-strtod-round-data: Add more tests.
27697         * stdlib/tst-strtod-round.c (tests): Regenerated.
27699 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27701         [BZ #14143]
27702         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27703         (__fe_mask_env): Likewise.
27704         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27705         libm_hidden_proto and add function prototype.
27706         (__fe_mask_env): Add function prototype.
27707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27708         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27710         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27712         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27714 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27716         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27717         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27719 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27721         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27722         of htab_find_slot().
27724 2013-11-11  David S. Miller  <davem@davemloft.net>
27726         [BZ #16150]
27727         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27728         symbol in the non-vis3 case in static builds.
27729         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27730         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27731         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27732         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27734 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27736         [BZ #387]
27737         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27738         it is empty.
27740 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27742         * benchtests/Makefile: Add bench-strtod.
27743         * benchtests/bench-strtod.c: New file: strtod benchtest
27745 2013-11-11  Andreas Schwab  <schwab@suse.de>
27747         [BZ #16153]
27748         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27749         terminating NUL in key length.
27751 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27753         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27754         Add artificial ODP entry for vDSO symbol for PPC64.
27755         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27756         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27758 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27760         [BZ #15374]
27761         * nss/getent.c (services_keys): Recognize services starting with digit.
27763 2013-11-06  David S. Miller  <davem@davemloft.net>
27765         [BZ #15985]
27766         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27767         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27769 2013-11-06  Will Newton  <will.newton@linaro.org>
27771         * manual/memory.texi (Malloc Examples): Remove register
27772         keyword from examples.
27774 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27776         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27778 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27780         [BZ #6981]
27781         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27782         depending on [__GCC_IEC_559 > 0].
27783         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27784         depending on [__GCC_IEC_559_COMPLEX > 0].
27786 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27788         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27789         to iso-639.def.
27791 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27793         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27795 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27797         [BZ #16112]
27798         * malloc/malloc (malloc_info): Do not handle first bin as
27799         special case.
27801 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27803         * locale/iso-639.def: Add Central Nahuatl (nhn).
27805 2013-11-01  Bruno Haible  <bruno@clisp.org>
27807         [BZ #7003]
27808         * manual/math.texi (BSD Random): Specify range upper bound as
27809         in POSIX.
27811 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27813         * locale/iso-639.def: Add Meadow Mari (mhr).
27815 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27817         [BZ #14752], [BZ #15763]
27818         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27819         Validate name.
27820         * rt/tst_shm.c: Add test for escaping directory.
27822 2013-10-31  Andreas Schwab  <schwab@suse.de>
27824         [BZ #15917]
27825         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27826         followed by 'x' as part of digit sequence.
27827         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27829 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27831         [BZ #16037]
27832         * configure.ac: allow GNU Make 4.0 and greater.
27833         * configure: Regenerated.
27835 2013-10-30  Will Newton  <will.newton@linaro.org>
27837         [BZ #16038]
27838         * malloc/hooks.c (memalign_check): Limit alignment to the
27839         maximum representable power of two.
27840         * malloc/malloc.c (__libc_memalign): Likewise.
27841         * malloc/tst-memalign.c (do_test): Add test for very
27842         large alignment values.
27843         * malloc/tst-posix_memalign.c (do_test): Likewise.
27845 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27847         [BZ #11087]
27848         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27849         (munmap_chunk): Likewise.
27850         (mremap_chunk): Likewise.
27852 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27854         [BZ #15799]
27855         * stdlib/div.c (div): Remove obsolete code.
27856         * stdlib/ldiv.c (ldiv): Likewise.
27857         * stdlib/lldiv.c (lldiv): Likewise.
27859 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27861         [BZ #16071]
27862         * nss/nss_files/files-XXX.c (get_contents_ret): New
27863         enumerator.
27864         (get_contents): New function.
27865         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27867 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27869         * configure.in: Moved to ...
27870         * configure.ac: ... here. Change reference to configure.in
27871         to configure.ac.
27872         * sysdeps/arm/preconfigure.ac: ... here.
27873         configure.in to configure.ac.
27874         * sysdeps/gnu/configure.in: Moved to ...
27875         * sysdeps/gnu/configure.ac: ... here.
27876         * sysdeps/i386/configure.in: Moved to ...
27877         * sysdeps/i386/configure.ac: ... here.
27878         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27879         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27880         * sysdeps/mach/configure.in: Moved to ...
27881         * sysdeps/mach/configure.ac: ... here.
27882         * sysdeps/mach/hurd/configure.in: Moved to ...
27883         * sysdeps/mach/hurd/configure.ac: ... here.
27884         * sysdeps/powerpc/configure.in: Moved to ...
27885         * sysdeps/powerpc/configure.ac: ... here.
27886         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27887         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27888         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27889         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27890         * sysdeps/s390/s390-32/configure.in: Moved to ...
27891         * sysdeps/s390/s390-32/configure.ac: ... here.
27892         * sysdeps/s390/s390-64/configure.in: Moved to ...
27893         * sysdeps/s390/s390-64/configure.ac: ... here.
27894         * sysdeps/sh/configure.in: Moved to ...
27895         * sysdeps/sh/configure.ac: ... here.
27896         * sysdeps/sparc/configure.in: Moved to ...
27897         * sysdeps/sparc/configure.ac: ... here.
27898         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27899         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27900         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27901         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27902         * sysdeps/x86_64/configure.in: Moved to ...
27903         * sysdeps/x86_64/configure.ac: ... here.
27904         * sysdeps/x86_64/preconfigure.in: Moved to ...
27905         * sysdeps/x86_64/preconfigure.ac: ... here.
27906         * aclocal.m4: Change reference to configure.in to configure.ac.
27907         * config.h.in: Likewise.
27908         * manual/install.texi: Likewise.
27909         * manual/maint.texi: Likewise.
27910         * Makefile: Likewise.
27911         * malloc/Makefile: Likewise.
27912         * nscd/Makefile: Likewise.
27913         * Makeconfig: Change reference to configure.in and
27914         preconfigure.in to configure.ac and preconfigure.ac
27915         respectively.
27916         * INSTALL: Regenerated.
27917         * configure: Likewise.
27918         * sysdeps/gnu/configure: Likewise.
27919         * sysdeps/i386/configure: Likewise.
27920         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27921         * sysdeps/mach/configure: Likewise.
27922         * sysdeps/mach/hurd/configure: Likewise.
27923         * sysdeps/powerpc/configure: Likewise.
27924         * sysdeps/powerpc/powerpc32/configure: Likewise.
27925         * sysdeps/powerpc/powerpc64/configure: Likewise.
27926         * sysdeps/s390/s390-32/configure: Likewise.
27927         * sysdeps/s390/s390-64/configure: Likewise.
27928         * sysdeps/sh/configure: Likewise.
27929         * sysdeps/sparc/configure: Likewise.
27930         * sysdeps/unix/sysv/linux/configure: Likewise.
27931         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27932         * sysdeps/x86_64/configure: Likewise.
27933         * sysdeps/x86_64/preconfigure: Likewise.
27935 2013-10-29  Andreas Schwab  <schwab@suse.de>
27937         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27939 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27941         * benchtests/pow-inputs: Add new inputs.
27943         * benchtests/exp-inputs: Add new inputs.
27945         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27946         conditional check for return value.
27947         (__cos32): Likewise.
27949 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27951         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27952         to provide a boost for large inputs with word alignment.
27953         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27954         implementation based on optimized PPC64 strcpy.
27955         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27956         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27957         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27958         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27960 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27962         [BZ #2801]
27963         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27965 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27967         [BZ #14876]
27968         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27969         * time/tst-strptime.c (day_tests): Add testcase.
27971 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27973         [BZ #14029]
27974         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27976 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27978         [BZ #16074]
27979         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27980         MAP_FAILED on error.
27982 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27984         [BZ #16072]
27985         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27986         heap for large requests.
27988 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27990         [BZ #9954]
27991         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27992         result if the result has no associated interface.
27993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27994         interface for all 127.X.Y.Z addresses.
27996 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27998         * locale/iso-639.def: Add Ligurian (lij)
28000 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28002         [BZ #15825]
28003         * sunrpc/rpc_main.c: Document rpcgen -5.
28005 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28007         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28009 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28011         [BZ #10278]
28012         * posix/glob.c: Match only directories when trailing slash is present.
28013         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28014         (main): Add testcase.
28016 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28018         [BZ #15670]
28019         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28021 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28023         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28024         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28025         AUTH_DES and cindex for FIPS 140-2.
28026         (DES Encryption): Add cindex FIPS 46-3.
28028         * locale/locarchive.h (struct locarhandle): Add fname.
28029         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28030         if an optional argument was specified to --list-archive,
28031         otherwise NULL.
28032         * locale/programs/locarchive.c (show_archive_content): Take new
28033         argument fname and pass it via ah.fname to open_archive.
28034         * locale/programs/localedef.h: Update decl.
28035         (open_archive): If AH->fname is non-null, open that file
28036         rather than the default file name, and don't ignore ENOENT.
28037         (create_archive): Set AH.fname to NULL.
28038         (delete_locales_from_archive): Likewise.
28039         (add_locales_to_archive): Likewise.
28040         * locale/programs/locfile.c (write_all_categories): Likewise.
28042 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28043             Aldy Hernandez  <aldyh@redhat.com>
28045         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28046         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28047         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28048         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28049         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28050         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28051         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28052         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28053         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28054         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28055         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28056         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28057         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28058         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28059         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28060         Likewise.
28061         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28062         Likewise.
28063         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28064         Likewise.
28065         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28066         Likewise.
28067         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28068         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28069         Likewise.
28070         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28071         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28072         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28073         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28074         Likewise.
28075         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28076         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28077         * sysdeps/powerpc/preconfigure: Likewise.
28078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28079         Likewise.
28080         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28081         Replace contents of file by #include of <fenv_libc.h>.
28082         * sysdeps/powerpc/soft-fp/sfp-machine.h
28083         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28084         and <sys/prctl.h>.
28085         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28086         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28087         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28088         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28089         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28090         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28092         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28093         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28094         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28098         Allow copysignl PLT reference to be missing.
28100 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28101             Joseph Myers  <joseph@codesourcery.com
28103         [BZ #15948]
28104         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28105         single character.
28106         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28108 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28110         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28111         * elf/tst-tls1.c: Likewise.
28112         * elf/tst-tls10.h: Likewise.
28113         * elf/tst-tls14.c: Likewise.
28114         * elf/tst-tls2.c: Likewise.
28115         * elf/tst-tls3.c: Likewise.
28116         * elf/tst-tls4.c: Likewise.
28117         * elf/tst-tls5.c: Likewise.
28118         * elf/tst-tls6.c: Likewise.
28119         * elf/tst-tls7.c: Likewise.
28120         * elf/tst-tls8.c: Likewise.
28121         * elf/tst-tls9.c: Likewise.
28122         * elf/tst-tlsmod1.c: Likewise.
28123         * elf/tst-tlsmod13.c: Likewise.
28124         * elf/tst-tlsmod13a.c: Likewise.
28125         * elf/tst-tlsmod14a.c: Likewise.
28126         * elf/tst-tlsmod16a.c: Likewise.
28127         * elf/tst-tlsmod16b.c: Likewise.
28128         * elf/tst-tlsmod2.c: Likewise.
28129         * elf/tst-tlsmod3.c: Likewise.
28130         * elf/tst-tlsmod4.c: Likewise.
28131         * elf/tst-tlsmod5.c: Likewise.
28132         * elf/tst-tlsmod6.c: Likewise.
28134 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28136         [BZ #12486]
28137         * malloc/malloc.c: remove checks for statistics.
28139 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28141         [BZ #15277]
28142         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28143         * inet/tst-network.c: Add testcase.
28145 2013-10-17  Andreas Schwab  <schwab@suse.de>
28147         [BZ #15218]
28148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28149         to determine canonical name.
28151 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28153         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28154         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28155         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28156         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28158         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28159         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28160         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28161         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28162         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28163         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28164         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28165         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28166         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28167         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28168         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28169         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28170         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28171         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28172         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28173         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28174         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28175         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28176         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28177         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28178         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28179         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28180         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28181         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28182         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28183         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28184         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28185         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28186         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28187         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28188         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28189         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28190         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28191         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28192         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28193         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28194         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28195         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28196         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28197         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28198         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28199         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28200         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28201         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28202         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28203         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28204         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28205         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28206         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28207         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28208         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28209         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28210         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28212 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28214         [BZ #16041]
28215         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28216         make result into a quiet NaN.
28218 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28220         * soft-fp/adddf3.c: Fix horizontal whitespace.
28221         * soft-fp/addsf3.c: Likewise.
28222         * soft-fp/addtf3.c: Likewise.
28223         * soft-fp/divdf3.c: Likewise.
28224         * soft-fp/divsf3.c: Likewise.
28225         * soft-fp/divtf3.c: Likewise.
28226         * soft-fp/double.h: Likewise.
28227         * soft-fp/eqdf2.c: Likewise.
28228         * soft-fp/eqsf2.c: Likewise.
28229         * soft-fp/eqtf2.c: Likewise.
28230         * soft-fp/extenddftf2.c: Likewise.
28231         * soft-fp/extended.h: Likewise.
28232         * soft-fp/extendsfdf2.c: Likewise.
28233         * soft-fp/extendsftf2.c: Likewise.
28234         * soft-fp/extendxftf2.c: Likewise.
28235         * soft-fp/fixdfdi.c: Likewise.
28236         * soft-fp/fixdfsi.c: Likewise.
28237         * soft-fp/fixdfti.c: Likewise.
28238         * soft-fp/fixsfdi.c: Likewise.
28239         * soft-fp/fixsfsi.c: Likewise.
28240         * soft-fp/fixsfti.c: Likewise.
28241         * soft-fp/fixtfdi.c: Likewise.
28242         * soft-fp/fixtfsi.c: Likewise.
28243         * soft-fp/fixtfti.c: Likewise.
28244         * soft-fp/fixunsdfdi.c: Likewise.
28245         * soft-fp/fixunsdfsi.c: Likewise.
28246         * soft-fp/fixunsdfti.c: Likewise.
28247         * soft-fp/fixunssfdi.c: Likewise.
28248         * soft-fp/fixunssfsi.c: Likewise.
28249         * soft-fp/fixunssfti.c: Likewise.
28250         * soft-fp/fixunstfdi.c: Likewise.
28251         * soft-fp/fixunstfsi.c: Likewise.
28252         * soft-fp/fixunstfti.c: Likewise.
28253         * soft-fp/floatdidf.c: Likewise.
28254         * soft-fp/floatdisf.c: Likewise.
28255         * soft-fp/floatditf.c: Likewise.
28256         * soft-fp/floatsidf.c: Likewise.
28257         * soft-fp/floatsisf.c: Likewise.
28258         * soft-fp/floatsitf.c: Likewise.
28259         * soft-fp/floattidf.c: Likewise.
28260         * soft-fp/floattisf.c: Likewise.
28261         * soft-fp/floattitf.c: Likewise.
28262         * soft-fp/floatundidf.c: Likewise.
28263         * soft-fp/floatundisf.c: Likewise.
28264         * soft-fp/floatunditf.c: Likewise.
28265         * soft-fp/floatunsidf.c: Likewise.
28266         * soft-fp/floatunsisf.c: Likewise.
28267         * soft-fp/floatunsitf.c: Likewise.
28268         * soft-fp/floatuntidf.c: Likewise.
28269         * soft-fp/floatuntisf.c: Likewise.
28270         * soft-fp/floatuntitf.c: Likewise.
28271         * soft-fp/fmadf4.c: Likewise.
28272         * soft-fp/fmasf4.c: Likewise.
28273         * soft-fp/fmatf4.c: Likewise.
28274         * soft-fp/gedf2.c: Likewise.
28275         * soft-fp/gesf2.c: Likewise.
28276         * soft-fp/getf2.c: Likewise.
28277         * soft-fp/ledf2.c: Likewise.
28278         * soft-fp/lesf2.c: Likewise.
28279         * soft-fp/letf2.c: Likewise.
28280         * soft-fp/muldf3.c: Likewise.
28281         * soft-fp/mulsf3.c: Likewise.
28282         * soft-fp/multf3.c: Likewise.
28283         * soft-fp/negdf2.c: Likewise.
28284         * soft-fp/negsf2.c: Likewise.
28285         * soft-fp/negtf2.c: Likewise.
28286         * soft-fp/op-1.h: Likewise.
28287         * soft-fp/op-2.h: Likewise.
28288         * soft-fp/op-4.h: Likewise.
28289         * soft-fp/op-8.h: Likewise.
28290         * soft-fp/op-common.h: Likewise.
28291         * soft-fp/quad.h: Likewise.
28292         * soft-fp/single.h: Likewise.
28293         * soft-fp/soft-fp.h: Likewise.
28294         * soft-fp/sqrtdf2.c: Likewise.
28295         * soft-fp/sqrtsf2.c: Likewise.
28296         * soft-fp/sqrttf2.c: Likewise.
28297         * soft-fp/subdf3.c: Likewise.
28298         * soft-fp/subsf3.c: Likewise.
28299         * soft-fp/subtf3.c: Likewise.
28300         * soft-fp/truncdfsf2.c: Likewise.
28301         * soft-fp/trunctfdf2.c: Likewise.
28302         * soft-fp/trunctfsf2.c: Likewise.
28303         * soft-fp/trunctfxf2.c: Likewise.
28304         * soft-fp/unorddf2.c: Likewise.
28305         * soft-fp/unordsf2.c: Likewise.
28306         * soft-fp/unordtf2.c: Likewise.
28308 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28310         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28311         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28313 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28315         * elf/dl-libc.c: Clear initfini list after freeing.
28317 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28319         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28320         * soft-fp/addsf3.c: Likewise.
28321         * soft-fp/addtf3.c: Likewise.
28322         * soft-fp/divdf3.c: Likewise.
28323         * soft-fp/divsf3.c: Likewise.
28324         * soft-fp/divtf3.c: Likewise.
28325         * soft-fp/double.h: Likewise.
28326         * soft-fp/eqdf2.c: Likewise.
28327         * soft-fp/eqsf2.c: Likewise.
28328         * soft-fp/eqtf2.c: Likewise.
28329         * soft-fp/extenddftf2.c: Likewise.
28330         * soft-fp/extended.h: Likewise.
28331         * soft-fp/extendsfdf2.c: Likewise.
28332         * soft-fp/extendsftf2.c: Likewise.
28333         * soft-fp/extendxftf2.c: Likewise.
28334         * soft-fp/fixdfdi.c: Likewise.
28335         * soft-fp/fixdfsi.c: Likewise.
28336         * soft-fp/fixdfti.c: Likewise.
28337         * soft-fp/fixsfdi.c: Likewise.
28338         * soft-fp/fixsfsi.c: Likewise.
28339         * soft-fp/fixsfti.c: Likewise.
28340         * soft-fp/fixtfdi.c: Likewise.
28341         * soft-fp/fixtfsi.c: Likewise.
28342         * soft-fp/fixtfti.c: Likewise.
28343         * soft-fp/fixunsdfdi.c: Likewise.
28344         * soft-fp/fixunsdfsi.c: Likewise.
28345         * soft-fp/fixunsdfti.c: Likewise.
28346         * soft-fp/fixunssfdi.c: Likewise.
28347         * soft-fp/fixunssfsi.c: Likewise.
28348         * soft-fp/fixunssfti.c: Likewise.
28349         * soft-fp/fixunstfdi.c: Likewise.
28350         * soft-fp/fixunstfsi.c: Likewise.
28351         * soft-fp/fixunstfti.c: Likewise.
28352         * soft-fp/floatdidf.c: Likewise.
28353         * soft-fp/floatdisf.c: Likewise.
28354         * soft-fp/floatditf.c: Likewise.
28355         * soft-fp/floatsidf.c: Likewise.
28356         * soft-fp/floatsisf.c: Likewise.
28357         * soft-fp/floatsitf.c: Likewise.
28358         * soft-fp/floattidf.c: Likewise.
28359         * soft-fp/floattisf.c: Likewise.
28360         * soft-fp/floattitf.c: Likewise.
28361         * soft-fp/floatundidf.c: Likewise.
28362         * soft-fp/floatundisf.c: Likewise.
28363         * soft-fp/floatunsidf.c: Likewise.
28364         * soft-fp/floatunsisf.c: Likewise.
28365         * soft-fp/floatuntidf.c: Likewise.
28366         * soft-fp/floatuntisf.c: Likewise.
28367         * soft-fp/floatuntitf.c: Likewise.
28368         * soft-fp/fmadf4.c: Likewise.
28369         * soft-fp/fmasf4.c: Likewise.
28370         * soft-fp/fmatf4.c: Likewise.
28371         * soft-fp/gedf2.c: Likewise.
28372         * soft-fp/gesf2.c: Likewise.
28373         * soft-fp/getf2.c: Likewise.
28374         * soft-fp/ledf2.c: Likewise.
28375         * soft-fp/lesf2.c: Likewise.
28376         * soft-fp/letf2.c: Likewise.
28377         * soft-fp/muldf3.c: Likewise.
28378         * soft-fp/mulsf3.c: Likewise.
28379         * soft-fp/multf3.c: Likewise.
28380         * soft-fp/negdf2.c: Likewise.
28381         * soft-fp/negsf2.c: Likewise.
28382         * soft-fp/negtf2.c: Likewise.
28383         * soft-fp/op-1.h: Likewise.
28384         * soft-fp/op-2.h: Likewise.
28385         * soft-fp/op-4.h: Likewise.
28386         * soft-fp/op-8.h: Likewise.
28387         * soft-fp/op-common.h: Likewise.
28388         * soft-fp/quad.h: Likewise.
28389         * soft-fp/single.h: Likewise.
28390         * soft-fp/soft-fp.h: Likewise.
28391         * soft-fp/sqrtdf2.c: Likewise.
28392         * soft-fp/sqrtsf2.c: Likewise.
28393         * soft-fp/sqrttf2.c: Likewise.
28394         * soft-fp/subdf3.c: Likewise.
28395         * soft-fp/subsf3.c: Likewise.
28396         * soft-fp/subtf3.c: Likewise.
28397         * soft-fp/truncdfsf2.c: Likewise.
28398         * soft-fp/trunctfdf2.c: Likewise.
28399         * soft-fp/trunctfsf2.c: Likewise.
28400         * soft-fp/trunctfxf2.c: Likewise.
28401         * soft-fp/unorddf2.c: Likewise.
28402         * soft-fp/unordsf2.c: Likewise.
28403         * soft-fp/unordtf2.c: Likewise.
28405 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28407         [BZ #15672]
28408         * misc/error.c (error_tail): Fix possible buffer overflow.
28410 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28412         [BZ #13028]
28413         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28414         address.
28416 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28418         [BZ #832]
28419         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28420         testing pipefail option.
28422 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28424         * soft-fp/double.h: Indent preprocessor directives inside #if.
28425         * soft-fp/extended.h: Likewise.
28426         * soft-fp/op-2.h: Likewise.
28427         * soft-fp/op-4.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.
28433 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28435         * iconv/iconv_prog.c: Fix typos.
28436         * stdio-common/psiginfo-data.h: Likewise.
28438 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28440         [BZ #15764]
28441         * locale/setlocale.c: Fix typo.
28443 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28445         [BZ #16036]
28446         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28447         signaling NaN arguments.
28448         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28449         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28451         [BZ #14910]
28452         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28453         unordered operands.
28454         * soft-fp/gesf2.c (__gesf2): Likewise.
28455         * soft-fp/getf2.c (__getf2): Likewise.
28456         * soft-fp/ledf2.c (__ledf2): Likewise.
28457         * soft-fp/lesf2.c (__lesf2): Likewise.
28458         * soft-fp/letf2.c (__letf2): Likewise.
28460         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28461         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28462         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28463         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28464         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28465         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28466         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28467         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28468         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28469         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28470         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28471         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28472         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28473         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28474         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28475         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28476         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28477         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28478         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28479         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28480         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28481         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28482         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28483         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28484         * soft-fp/floattidf.c (__floattidf): Likewise.
28485         * soft-fp/floattisf.c (__floattisf): Likewise.
28486         * soft-fp/floattitf.c (__floattitf): Likewise.
28487         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28488         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28489         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28490         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28491         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28492         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28493         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28494         * soft-fp/gesf2.c (__gesf2): Likewise.
28495         * soft-fp/getf2.c (__getf2): Likewise.
28496         * soft-fp/ledf2.c (__ledf2): Likewise.
28497         * soft-fp/lesf2.c (__lesf2): Likewise.
28498         * soft-fp/letf2.c (__letf2): Likewise.
28500         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28501         Undefine and redefine.
28502         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28503         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28504         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28505         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28506         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28507         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28508         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28509         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28510         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28511         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28512         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28513         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28514         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28515         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28516         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28518         [BZ #16032]
28519         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28520         without decrementing exponent if mantissa >= that for the
28521         denominator, not >.
28522         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28523         denominator, not >.  Decrement exponent in < case instead of
28524         incrementing in >= case.
28525         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28526         without decrementing exponent if mantissa >= that for the
28527         denominator, not >.
28529         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28530         computing saturated result for unsigned overflow.
28532 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28533             Jeff Law  <law@redhat.com>
28535         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28536         (atan2Mp): Add systemtap probe marker.
28537         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28538         (__ieee754_log): Add systemtap probe marker.
28539         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28540         (atanMp): Add systemtap probe marker.
28541         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28542         (tanMp): Add systemtap probe marker.
28543         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28544         (__slowexp): Add systemtap probe marker.
28545         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28546         (__slowpow): Add systemtap probe marker.
28547         * manual/probes.texi: Document probes.
28549 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28551         [BZ #15362]
28552         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28553         written.
28554         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28555         written.
28556         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28557         written to buffer but not flushed.
28558         * libio/iofwrite_u.c:  Likewise.
28559         * libio/iopadn.c:  Return bytes returned even if EOF was
28560         encountered.
28561         * libio/iowpadn.c:  Likewise.
28562         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28563         if _IO_padn does not write the whole buffer.
28564         [!COMPILE_WPRINTF] (PAD): Likewise.
28566 2013-10-10  David S. Miller  <davem@davemloft.net>
28568         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28569         directory block.
28571 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28573         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28574         instead of FSF address.
28575         * soft-fp/fixdfti.c: Likewise.
28576         * soft-fp/fixsfti.c: Likewise.
28577         * soft-fp/fixtfti.c: Likewise.
28578         * soft-fp/fixunsdfti.c: Likewise.
28579         * soft-fp/fixunssfti.c: Likewise.
28580         * soft-fp/fixunstfti.c: Likewise.
28581         * soft-fp/floattidf.c: Likewise.
28582         * soft-fp/floattisf.c: Likewise.
28583         * soft-fp/floattitf.c: Likewise.
28584         * soft-fp/floatuntidf.c: Likewise.
28585         * soft-fp/floatuntisf.c: Likewise.
28586         * soft-fp/floatuntitf.c: Likewise.
28587         * soft-fp/trunctfxf2.c: Likewise.
28589         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28590         * soft-fp/fixdfti.c: Likewise.
28591         * soft-fp/fixsfti.c: Likewise.
28592         * soft-fp/fixtfti.c: Likewise.
28593         * soft-fp/fixunsdfti.c: Likewise.
28594         * soft-fp/fixunssfti.c: Likewise.
28595         * soft-fp/fixunstfti.c: Likewise.
28596         * soft-fp/floattidf.c: Likewise.
28597         * soft-fp/floattisf.c: Likewise.
28598         * soft-fp/floattitf.c: Likewise.
28599         * soft-fp/floatuntidf.c: Likewise.
28600         * soft-fp/floatuntisf.c: Likewise.
28601         * soft-fp/floatuntitf.c: Likewise.
28602         * soft-fp/trunctfxf2.c: Likewise.
28604 2013-10-10  David S. Miller  <davem@davemloft.net>
28606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28608 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28610         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28611         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28612         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28613         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28614         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28615         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28616         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28619         for NaNs before doing comparisons on argument.
28620         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28621         Likewise.
28623 2013-10-10  Will Newton  <will.newton@linaro.org>
28625         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28626         passed to _int_memalign does not overflow.
28628 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28630         * scripts/bench.pl: Add include-sources directive.
28631         * benchtests/README: Update documentation.
28633 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28635         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28636         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28637         instead of FP_INIT_ROUNDMODE.
28638         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28639         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28641         [BZ #16034]
28642         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28643         copy class of input value.
28644         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28645         not handle exceptions.
28646         * soft-fp/negsf2.c (__negsf2): Likewise.
28647         * soft-fp/negtf2.c (__negtf2): Likewise.
28648         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28650 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28652         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28653         semicolon.  From Linux kernel.
28655 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28657         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28659 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28661         [BZ #156]
28662         * manual/socket.texi: Added statement about buffer
28663         for gethostbyname2_r.
28665 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28667         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28668         Use .p2align directive instead, throughout.
28669         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28670         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28671         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28672         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28673         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28674         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28675         * sysdeps/x86_64/strchr.S: Likewise.
28676         * sysdeps/x86_64/strrchr.S: Likewise.
28678 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28680         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28682         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28684         * sysdeps/generic/math_private.h (__mpsin1): Remove
28685         declaration.
28686         (__mpcos1): Likewise.
28687         (__mpsin): New argument __range_reduce.
28688         (__mpcos): Likewise.
28689         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28690         (slow): Use __mpsin and __mpcos.
28691         (slow1): Likewise.
28692         (slow2): Likewise.
28693         (sloww): Likewise.
28694         (sloww1): Likewise.
28695         (sloww2): Likewise.
28696         (bsloww): Likewise.
28697         (bsloww1): Likewise.
28698         (bsloww2): Likewise.
28699         (cslow2): Likewise.
28700         (csloww): Likewise.
28701         (csloww1): Likewise.
28702         (csloww2): Likewise.
28703         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28704         range_reduce.  Merge in __mpsin1.
28705         (__mpcos): Likewise.
28706         (__mpsin1): Remove.
28707         (__mpcos1): Likewise.
28709 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28711         * locale/loadlocale.c (_nl_intern_locale_data): Use
28712         LOCFILE_ALIGNED_P.
28713         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28714         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28715         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28716         obstack data is appropriately aligned.
28717         (obstack_int32_grow_fast): Likewise.
28718         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28719         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28720         (add_locale_uint32_array): Likewise.
28722 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28724         * benchtests/Makefile: Remove ARGLIST and RET variables.
28725         ($(objpfx)bench-%.c): Pass only function name to the script.
28726         * benchtests/README: Update documentation.
28727         * benchtests/acos-inputs: Add new directives.
28728         * benchtests/acosh-inputs: Likewise.
28729         * benchtests/asin-inputs: Likewise.
28730         * benchtests/asinh-inputs: Likewise.
28731         * benchtests/atan-inputs: Likewise.
28732         * benchtests/atanh-inputs: Likewise.
28733         * benchtests/cos-inputs: Likewise.
28734         * benchtests/cosh-inputs: Likewise.
28735         * benchtests/exp-inputs: Likewise.
28736         * benchtests/log-inputs: Likewise.
28737         * benchtests/pow-inputs: Likewise.
28738         * benchtests/rint-inputs: Likewise.
28739         * benchtests/sin-inputs: Likewise.
28740         * benchtests/sinh-inputs: Likewise.
28741         * benchtests/tan-inputs: Likewise.
28742         * benchtests/tanh-inputs: Likewise.
28743         * scripts/bench.pl: Add support for new directives.
28745 2013-10-07  Alan Modra  <amodra@gmail.com>
28747         * README: Fix careless merge.
28749 2013-10-05  Alan Modra  <amodra@gmail.com>
28751         * NEWS: Mention powerpc64le support and bugs fixed.
28752         * README: Both big-endian and little-endian powerpc64 supported.
28754 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28756         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28757         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28758         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28759         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28761 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28763         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28764         match prototype.
28766 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28768         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28769         Move -mhard-float appending from
28770         ports/sysdeps/powerpc/powerpc32/Makefile.
28771         [$(with-fp) = yes] (ASFLAGS): Likewise.
28772         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28773         * sysdeps/powerpc/nofpu: Move directory from
28774         ports/sysdeps/powerpc/nofpu.
28775         * sysdeps/powerpc/soft-fp: Move directory from
28776         ports/sysdeps/powerpc/soft-fp.
28777         * sysdeps/powerpc/powerpc32/405: Move directory from
28778         ports/sysdeps/powerpc/powerpc32/405.
28779         * sysdeps/powerpc/powerpc32/440: Move directory from
28780         ports/sysdeps/powerpc/powerpc32/440.
28781         * sysdeps/powerpc/powerpc32/464: Move directory from
28782         ports/sysdeps/powerpc/powerpc32/464.
28783         * sysdeps/powerpc/powerpc32/476: Move directory from
28784         ports/sysdeps/powerpc/powerpc32/476.
28785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28786         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28788         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28790         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28792         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28794         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28795         * README: Update for powerpc-*-linux-gnu software floating point
28796         support in libc.
28798         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28799         case to powerpc/powerpc32*.
28800         * sysdeps/unix/sysv/linux/configure: Regenerated.
28802         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28803         (_FPU_MASK_OM): Define as 0x04.
28804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28806         0x00c10080.
28807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28808         0x0000003c.
28809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28812         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28813         getcontext_e500.
28814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28815         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28816         setcontext_e500.
28817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28818         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28819         and setcontext_e500.
28821 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28823         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28825 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28827         * manual/threads.texi (Default Thread Attributes): Fix typo.
28829 2013-10-04  Will Newton  <will.newton@linaro.org>
28831         * malloc/Makefile: Add tst-memalign.
28832         * malloc/tst-memalign.c: New file.
28834         * malloc/tst-posix_memalign.c: Add comments.
28835         (do_test): Add comments and call free on all potentially
28836         allocated pointers. Add space after cast.
28838         * malloc/tst-pvalloc.c: Add comments.
28839         (do_test): Add comments and call free on all potentially
28840         allocated pointers. Remove duplicate check for NULL pointer.
28841         Add space after cast.
28843         * malloc/tst-valloc.c: Add comments.
28844         (do_test): Add comments and call free on all potentially
28845         allocated pointers. Remove duplicate check for NULL pointer.
28846         Add space after cast.
28848 2013-10-04  Alan Modra  <amodra@gmail.com>
28850         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28851         Use stdint types in rather than __attribute__((mode())).
28852         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28854 2013-10-04  Alan Modra  <amodra@gmail.com>
28856         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28857         Correct handling of unaligned relocs for little-endian.
28858         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28860 2013-10-04  Alan Modra  <amodra@gmail.com>
28862         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28863         * configure: Regenerate.
28864         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28865         * shlib-versions: Likewise.
28867 2013-10-04  Alan Modra  <amodra@gmail.com>
28869         * string/tester.c (test_memrchr): Increment reported test cycle.
28871 2013-10-04  Alan Modra  <amodra@gmail.com>
28873         * string/test-memcpy.c (do_one_test): When reporting errors, print
28874         string address and don't overrun end of string.
28876 2013-10-04  Alan Modra  <amodra@gmail.com>
28878         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28879         insrdi.  Make better use of reg selection to speed exit slightly.
28880         Schedule entry path a little better.  Remove useless "are we done"
28881         checks on entry to main loop.  Handle wrapping around zero address.
28882         Correct main loop count.  Handle single left-over word from main
28883         loop inline rather than by using loop_small.  Remove extra word
28884         case in loop_small caused by wrong loop count.  Add little-endian
28885         support.
28886         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28887         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28888         cache hint.
28889         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28890         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28891         support.  Avoid rlwimi.
28892         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28894 2013-10-04  Alan Modra  <amodra@gmail.com>
28896         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28897         insrdi.  Formatting.
28898         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28899         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28900         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28901         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28902         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28903         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28905 2013-10-04  Alan Modra  <amodra@gmail.com>
28907         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28908         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28909         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28910         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28911         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28912         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28913         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28914         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28915         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28916         use of regs.  Use power7 mtocrf.  Tidy function tails.
28918 2013-10-04  Alan Modra  <amodra@gmail.com>
28920         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28921         Formatting.  Consistently use rXXX register defines or rN defines.
28922         Use early exit labels that avoid restoring unused non-volatile regs.
28923         Make cr field use more consistent with rWORDn compares.  Rename
28924         regs used as shift registers for unaligned loop, using rN defines
28925         for short lifetime/multiple use regs.
28926         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28927         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28928         addi 1,1,64 to pop stack frame.  Simplify return value code.
28929         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28931 2013-10-04  Alan Modra  <amodra@gmail.com>
28933         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28934         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28935         rather than rlwimi.
28936         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28937         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28938         little-endian support.  Correct typos.
28939         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28940         rather than rlwimi.
28941         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28942         in loop and entry code to keep "and." results.
28943         (strchr): Add little-endian support.  Comment.  Move cntlzd
28944         earlier in tail.
28945         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28947 2013-10-04  Alan Modra  <amodra@gmail.com>
28949         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28950         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28951         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28952         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28954 2013-10-04  Alan Modra  <amodra@gmail.com>
28956         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28957         (rTMP): Define as r11.
28958         (strcmp): Add little-endian support.  Optimise tail.
28959         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28960         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28961         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28962         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28963         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28964         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28965         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28967 2013-10-04  Alan Modra  <amodra@gmail.com>
28969         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28970         little-endian support.  Remove unnecessary "are we done" tests.
28971         Handle "s" wrapping around zero and extremely large "size".
28972         Correct main loop count.  Handle single left-over word from main
28973         loop inline rather than by using small_loop.  Correct comments.
28974         Delete "zero" tail, use "end_max" instead.
28975         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28977 2013-10-04  Alan Modra  <amodra@gmail.com>
28979         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28980         support.  Don't branch over align.
28981         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28982         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28983         support.  Rearrange tmp reg use to suit.  Comment.
28984         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28986 2013-10-04  Alan Modra  <amodra@gmail.com>
28988         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28990 2013-10-04  Alan Modra  <amodra@gmail.com>
28992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28993         conditional form of branch and link when obtaining pc.
28994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28996 2013-10-04  Alan Modra  <amodra@gmail.com>
28998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28999         HIWORD/LOWORD.
29000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29003 2013-10-04  Alan Modra  <amodra@gmail.com>
29005         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29006         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29007         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29008         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29009         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29010         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29011         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29012         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29013         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29014         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29016 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29017             Alistair Popple <alistair@ozlabs.au.ibm.com>
29018             Alan Modra <amodra@gmail.com>
29020         [BZ #15723]
29021         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29022         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29023         _dl_hwcap access for little-endian.
29024         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29025         destroy vmx regs when saving unaligned.
29026         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29027         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29028         destroy vmx regs when saving unaligned.
29030 2013-10-04  Alan Modra  <amodra@gmail.com>
29032         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29033         Don't use a union to pack hi/low value.
29035 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29037         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29038         for little-endian.
29039         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29040         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29041         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29042         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29043         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29045 2013-10-04  Alan Modra  <amodra@gmail.com>
29047         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29048         constants to usual value for .cst8 section, and remove redundant
29049         high address load.
29050         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29051         constant for 0x1p52.  Load little-endian words of double from
29052         correct stack offsets.
29054 2013-10-04  Alan Modra  <amodra@gmail.com>
29056         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29057         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29058         words of double from correct stack offsets.
29059         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29060         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29061         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29062         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29063         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29064         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29065         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29066         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29067         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29068         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29069         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29070         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29071         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29072         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29073         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29074         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29075         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29077 2013-10-04  Alan Modra  <amodra@gmail.com>
29079         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29080         64-bit int/double union.
29081         (_FPU_SETCW): Likewise.
29082         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29083         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29085 2013-10-04  Alan Modra  <amodra@gmail.com>
29087         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29088         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29090 2013-10-04  Alan Modra  <amodra@gmail.com>
29092         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29093         use vector int constants.
29094         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29096 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29098         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29099         array with long long.
29100         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29101         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29102         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29103         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29104         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29105         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29106         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29107         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29108         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29109         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29110         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29111         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29112         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29114 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29116         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29117         (__signbit): Likewise.  Correct for little-endian.
29118         (__signbitl): Call __signbit.
29119         (lrint): Correct for little-endian.
29120         (lrintf): Call lrint.
29122 2013-10-04  Alan Modra  <amodra@gmail.com>
29124         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29125         union 32-bit int array member with 64-bit int array.
29126         (t515, tm256): Double rather than long double.
29127         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29129 2013-10-04  Alan Modra  <amodra@gmail.com>
29131         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29132         Delete.
29133         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29134         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29135         version of math_ldbl.h.
29137 2013-10-04  Alan Modra  <amodra@gmail.com>
29139         [BZ #15734], [BZ #15735]
29140         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29141         all uses of ieee875 long double macros and unions.  Simplify test
29142         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29143         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29144         normalize after ldbl_extract_mantissa, and don't add hidden bit
29145         already handled.  Don't treat low word of ieee854 mantissa like
29146         low word of IBM long double and mask off bit when testing for
29147         zero.
29148         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29149         all uses of ieee875 long double macros and unions.  Simplify tests
29150         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29151         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29152         two1022, instead use their values.  Recognise that tests for large
29153         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29154         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29155         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29156         test for 0.0L and nan.  Correct negation.
29157         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29158         ieee875 long double macros and unions.  Correct output for large
29159         magnitude x.  Correct absolute value calculation.
29160         (__erfcl): Likewise.
29161         * math/libm-test.inc: Add tests for errors discovered in IBM long
29162         double versions of fmodl, remainderl, erfl and erfcl.
29164 2013-10-04  Alan Modra  <amodra@gmail.com>
29166         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29167         all uses of ieee854 long double macros and unions.  Simplify tests
29168         for long doubles that are fully specified by the high double.
29169         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29170         Likewise.
29171         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29172         Remove dead code too.
29173         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29174         (__ieee754_ynl): Likewise.
29175         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29176         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29177         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29178         Remove dead code too.
29179         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29180         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29181         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29182         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29183         Simplify.
29184         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29185         Simplify.
29186         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29187         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29188         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29189         Comment on variable precision.
29190         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29191         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29192         Likewise.
29193         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29194         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29195         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29196         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29197         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29199 2013-10-04  Alan Modra  <amodra@gmail.com>
29201         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29202         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29203         all uses of ieee854 long double macros and unions.
29204         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29205         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29206         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29207         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29208         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29209         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29210         Likewise.
29211         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29212         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29213         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29214         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29215         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29216         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29217         Simplify sign and nan test too.
29218         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29219         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29220         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29221         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29222         Likewise.
29223         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29224         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29225         Likewise.
29226         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29227         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29228         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29229         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29230         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29231         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29233 2013-10-04  Alan Modra  <amodra@gmail.com>
29235         * stdio-common/printf_size.c (__printf_size): Don't use
29236         union ieee854_long_double in fpnum union.
29237         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29238         signbit macro to retrieve sign from long double.
29239         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29240         retrieve sign from long double.
29241         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29242         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29243         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29244         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29245         * math/test-misc.c (main): Don't use union ieee854_long_double.
29247 2013-10-04  Alan Modra  <amodra@gmail.com>
29249         [BZ #15680]
29250         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29251         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29252         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29253         calculation.  Remove unnecessary test for denormal exponent.
29254         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29255         Correct handling of denormals.  Avoid undefined shift behaviour.
29256         Correct normalisation of low mantissa when low double is denormal.
29257         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29258         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29259         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29260         Correct normalisation of low mantissa.  Test for overflow of high
29261         mantissa and normalise.
29262         (ldbl_nearbyint): Use more readable constant for two52.
29263         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29264         (__mpn_construct_long_double): Fix test for overflow of high
29265         mantissa and correct normalisation.  Avoid undefined shift.
29267 2013-10-04  Alan Modra  <amodra@gmail.com>
29269         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29270         (union ibm_extended_long_double): Define as an array of ieee754_double.
29271         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29272         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29273         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29274         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29275         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29276         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29277         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29278         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29279         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29280         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29281         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29283 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29285         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29286         page size instead of calling getpagesize.
29288         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29289         (LOCFILE_ALIGN_MASK): Likewise.
29290         (LOCFILE_ALIGN_UP): Likewise.
29291         (LOCFILE_ALIGNED_P): Likewise.
29292         * locale/programs/ld-collate.c (collate_output): Use the new
29293         macros instead of __alignof__ (int32_t).
29294         * locale/weight.h (findidx): Likewise.
29296 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29298         [BZ #431]
29299         * manual/string.texi: Fix strncat and wcsncat.
29301 2013-10-03  Brooks Moses  <bmoses@google.com>
29303         [BZ #15915]
29304         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29305         * Makerules: ...here, and adjust associated comments.
29307 2013-10-02  Will Newton  <will.newton@linaro.org>
29309         * malloc/Makefile: Add tst-pvalloc.
29310         * malloc/tst-pvalloc.c: New file.
29312 2013-10-02  Will Newton  <will.newton@linaro.org>
29314         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29315         improve test coverage.
29317 2013-10-02  Will Newton  <will.newton@linaro.org>
29319         * malloc/Makefile: Add tst-posix_memalign.
29320         * malloc/tst-posix_memalign.c: New file.
29322 2013-10-01  Eric Blake  <eblake@redhat.com>
29324         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29325         Use __THROWNL rather than __THROW on static functions.
29327 2013-09-30  Petr Machata  <pmachata@redhat.com>
29329         * elf/elf.h (R_AARCH64_ABS16): New macro.
29330         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29331         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29332         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29333         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29334         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29335         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29336         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29337         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29338         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29339         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29340         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29341         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29342         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29343         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29344         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29345         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29346         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29347         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29348         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29349         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29350         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29351         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29352         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29353         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29354         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29355         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29356         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29357         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29358         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29359         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29360         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29361         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29362         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29363         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29364         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29365         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29366         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29367         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29368         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29369         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29370         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29371         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29372         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29373         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29374         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29375         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29376         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29377         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29378         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29379         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29380         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29381         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29382         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29383         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29384         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29385         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29386         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29387         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29388         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29389         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29390         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29391         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29392         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29393         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29394         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29395         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29396         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29397         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29398         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29399         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29400         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29401         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29402         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29403         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29404         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29405         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29406         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29407         (R_AARCH64_TLSDESC_LDR): Likewise.
29408         (R_AARCH64_TLSDESC_ADD): Likewise.
29409         (R_AARCH64_TLSDESC_CALL): Likewise.
29411 2013-09-30  Andreas Schwab  <schwab@suse.de>
29413         [BZ #15048]
29414         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29415         the nss database lookup.
29416         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29419 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29421         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29423 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29425         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29426         ${Bash-specific parameter/pattern/string} parameter expansion.
29427         * sysdeps/unix/make-syscalls.sh: Likewise.
29429 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29431         * sysdeps/sh/stackguard-macros.h: New file.
29433 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29437         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29438         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29439         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29440         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29442 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29444         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29445         Fix thread ID register.
29447 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29449         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29450         [POSIX || UNIX98]: Require rather than permitting all symbols from
29451         <time.h>.
29452         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29453         element of struct sched_param.
29454         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29455         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29456         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29457         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29458         constant.
29460 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29462         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29463         argument calculation.
29465 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29467         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29468         Expect macro.
29469         [POSIX] (pthread_attr_t): Do not require type.
29470         [POSIX] (pthread_cond_t): Likewise.
29471         [POSIX] (pthread_condattr_t): Likewise.
29472         [POSIX] (pthread_key_t): Likewise.
29473         [POSIX] (pthread_mutex_t): Likewise.
29474         [POSIX] (pthread_mutexattr_t): Likewise.
29475         [POSIX] (pthread_once_t): Likewise.
29476         [POSIX] (pthread_t): Likewise.
29477         [POSIX-based standards] (pthread_atfork): Expect function.
29479 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29480             Richard Sandiford  <richard@codesourcery.com>
29482         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29483         (swap_endianness_p): New extern variable.
29484         (set_big_endian): New inline function.
29485         (maybe_swap_uint32): Likewise.
29486         (maybe_swap_uint32_array): Likewise.
29487         (maybe_swap_uint32_obstack): Likewise.
29488         * locale/programs/locfile.c: Include <stdbool.h>.
29489         (swap_endianness_p): New variable.
29490         (add_locale_uint32): Call maybe_swap_uint32.
29491         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29492         (write_locale_data): Call maybe_swap_uint32_array.
29493         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29494         maybe_swap_uint32.
29495         (obstack_int32_grow_fast): Likewise.
29496         (output_weightwc): Call maybe_swap_uint32_obstack.
29497         (collate_output): Likewise.
29498         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29499         (OPT_LITTLE_ENDIAN): Likewise.
29500         (options): Add --little-endian and --big-endian options.
29501         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29502         * locale/programs/locarchive.c: Include "locfile.h".
29503         (GET): New macro.
29504         (SET): Likewise.
29505         (INC): Likewise.
29506         (create_archive): Use the new macros to access fields of
29507         structures directly mapped from or written to locale archives.
29508         (oldlocrecentcmp): Likewise.
29509         (enlarge_archive): Likewise.
29510         (insert_name): Likewise.
29511         (add_alias): Likewise.
29512         (add_locale): Likewise.
29513         (delete_locales_from_archive): Likewise.
29514         (show_archive_content): Likewise.
29515         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29516         locale data.
29518 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29520         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29521         http://www.gnu.org/doc/freemanuals.texi.
29522         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29524 2013-09-24  Will Newton  <will.newton@linaro.org>
29526         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29527         macro.
29529 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29531         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29532         unsigned char.
29534 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29536         * manual/threads.texi (POSIX Threads): Fix a typo.
29538 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29540         [BZ #14547]
29541         * string/tst-strcoll-overflow.c: New test case.
29542         * string/Makefile (xtests): Add tst-strcoll-overflow.
29543         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29544         cache if string sizes may cause integer overflow.
29546         [BZ #14547]
29547         * string/strcoll_l.c (coll_seq): New members rule, idx,
29548         save_idx and back_us.
29549         (get_next_seq_nocache): New function.
29550         (do_compare_nocache): New function.
29551         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29552         when malloc fails.
29554 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29556         [BZ #15754]
29557         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29558         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29559         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29561         [BZ #15754]
29562         * elf/Makefile (tests): Add tst-ptrguard1.
29563         (tests-static): Add tst-ptrguard1-static.
29564         (tst-ptrguard1-ARGS): Define.
29565         (tst-ptrguard1-static-ARGS): Define.
29566         * elf/tst-ptrguard1.c: New file.
29567         * elf/tst-ptrguard1-static.c: New file.
29568         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29569         * sysdeps/i386/stackguard-macros.h: Likewise.
29570         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29571         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29572         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29573         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29574         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29575         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29577 2013-09-23  Hector Marco  <hecmargi@upv.es>
29578             Ismael Ripoll  <iripoll@disca.upv.es>
29579             Carlos O'Donell  <carlos@redhat.com>
29581         [BZ #15754]
29582         * sysdeps/generic/stackguard-macros.h: Define
29583         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29584         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29585         Define __pointer_chk_guard_local.
29586         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29587         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29589 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29591         [BZ #15859]
29592         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29594 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29596         * include/string.h (__ffs): Declare as hidden.
29597         * string/ffs.c (__ffs): Define as hidden.
29598         * sysdeps/i386/ffs.c (__ffs): Likewise.
29599         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29600         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29601         * sysdeps/s390/ffs.c (__ffs): Likewise.
29602         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29604 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29606         * NEWS: Mention malloc probes.
29608         * malloc/arena.c (new_heap): New memory_heap_new probe.
29609         (grow_heap): New memory_heap_more probe.
29610         (shrink_heap): New memory_heap_less probe.
29611         (heap_trim): New memory_heap_free probe.
29612         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29613         (systrim): New memory_sbrk_less probe.
29614         * manual/probes.texi: Document them.
29616         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29617         * manual/probes.texi: Document it.
29619         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29620         (__libc_realloc): Add memory_realloc_retry probe.
29621         (__libc_memalign): Add memory_memalign_retry probe.
29622         (__libc_valloc): Add memory_valloc_retry probe.
29623         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29624         (__libc_calloc): Add memory_calloc_retry probe.
29625         * manual/probes.texi: Document them.
29627         * malloc/arena.c (get_free_list): Add probe
29628         memory_arena_reuse_free_list.
29629         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29630         and memory_arena_reuse.
29631         (arena_get2) [!PER_THREAD]: Likewise.
29632         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29633         memory_arena_reuse_realloc.
29634         * manual/probes.texi: Document them.
29636         * malloc/malloc.c (__libc_free): Add
29637         memory_mallopt_free_dyn_thresholds probe.
29638         (__libc_mallopt): Add multiple memory_mallopt probes.
29639         * manual/probes.texi: Document them.
29641         * malloc/malloc.c: Include stap-probe.h.
29642         (__libc_mallopt): Add memory_mallopt probe.
29643         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29644         * manual/probes.texi: New.
29645         * manual/Makefile (chapters): Add probes.
29646         * manual/threads.texi: Set next node.
29648 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29650         [BZ #15963, #13985]
29651         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29652         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29653         Add `Chinese' to `nan' entry name.
29655 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29657         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29658         (POLYNOMIAL): Likewise.
29659         (TAYLOR_SINCOS): Likewise.
29660         (TAYLOR_SLOW): Likewise.
29661         (__sin): Use TAYLOR_SINCOS.
29662         (__cos): Likewise.
29663         (slow): Use TAYLOR_SLOW.
29664         (sloww): Likewise.
29665         (bsloww): Likewise.
29666         (csloww): Likewise.
29668 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29670         * stdlib/strtod_l.c: Fix buffer overrun.
29672 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29674         * benchtests/Makefile (bench): Add sincos.
29675         * benchtests/bench-sincos.c: New file.
29677         * math/libm-test.inc (cos_test_data): New test inputs.
29678         (sin_test_data): Likewise.
29680         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29681         macro.
29682         (__sin): Use it.
29683         (__cos): Likewise.
29684         (slow1): Likewise.
29685         (slow2): Likewise.
29686         (sloww1): Likewise.
29687         (sloww2): Likewise.
29688         (bsloww1): Likewise.
29689         (bsloww2): Likewise.
29690         (cslow2): Likewise.
29691         (csloww1): Likewise.
29692         (csloww2): Likewise.
29694         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29695         function.
29696         (__sin): Use it.
29697         (__cos): Likewise.
29699         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29700         gotos.
29701         (__cos): Likewise.
29703 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29705         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29706         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29707         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29708         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29709         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29710         * elf/cache.c (print_entry): Handle the new cache flags.
29712 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29713             Aldy Hernandez  <aldyh@redhat.com>
29715         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29716         Change condition to [_SOFT_FLOAT].
29717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29718         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29721         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29722         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29723         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29724         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29725         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29729         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29732         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29733         declaration.
29735 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29737         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29738         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29739         (__longjmp): Use LOAD_GP to load saved GPRs.
29740         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29741         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29742         (__sigsetjmp): Use SAVE_GP to save GPRs.
29744         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29745         Do not append -msoft-float.
29746         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29748 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29750         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29752 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29754         [BZ #15966]
29755         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29756         (_FPU_GETCW): Use initial "__" on variable and field names but not
29757         on macro parameter name.
29758         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29759         parentheses around reference to macro parameter.
29761 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29763         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29764         prototype.
29765         (ctype_startup): Use uint32_t in cast and sizeof for
29766         ctype->charnames.
29768 2013-09-11  Jia Liu  <proljc@gmail.com>
29770         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29771         __daddr_t_defined.
29772         [__FreeBSD__]: Likewise.
29774 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29777         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29778         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29779         (strchr): Remove __strchr_sse42 ifunc selection.
29780         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29781         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29783 2013-09-11  Will Newton  <will.newton@linaro.org>
29785         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29786         parameter to RES. Remove hardcoded 1000 value.
29787         * benchtests/bench-skeleton.c (main): Pass RES parameter
29788         to TIMING_INIT and multiply result by 1000.
29790 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29794 2013-09-11  Andreas Schwab  <schwab@suse.de>
29796         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29797         if not defined.
29798         (O_TMPFILE) [__USE_GNU]: Define.
29799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29800         Define.
29802 2013-09-11  Will Newton  <will.newton@linaro.org>
29804         [BZ #15857]
29805         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29806         does not overflow.
29808 2013-09-11  Will Newton  <will.newton@linaro.org>
29810         [BZ #15856]
29811         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29812         does not overflow.
29814 2013-09-11  Will Newton  <will.newton@linaro.org>
29816         [BZ #15855]
29817         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29818         does not overflow.
29820 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29822         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29823         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29824         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29825         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29828 2013-09-10  Allan McRae  <allan@archlinux.org>
29830         [BZ #15748]
29831         * manual/arith.texi (Parsing of Floats): Clarify
29832         cross-reference.
29834         [BZ #15849]
29835         * manual/install.texi (Running make install): Mention
29836         --enable-pt-chown.
29837         * INSTALL: Regenerated.
29839 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29841         * csu/init-first.c (_init): Remove the !SHARED condition around
29842         FPU control word initialization.
29843         * elf/dl-support.c (_dl_fpu_control): New variable.
29844         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29845         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29846         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29847         * math/test-fpucw-static.c: New file.
29848         * math/test-fpucw-ieee.c: New file.
29849         * math/test-fpucw-ieee-static.c: New file.
29850         * math/Makefile (tests): Add `test-fpucw-ieee' and
29851         `$(tests-static)'.
29852         (tests-static): New variable.
29853         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29854         dependency to...
29855         [($(build-shared),yes)]
29856         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29857         ... this.
29858         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29859         New dependency.
29861 2013-09-09  Allan McRae  <allan@archlinux.org>
29863         [BZ #15939]
29864         * manual/string.texi (Collation Functions): Fix typo in
29865         strcoll example.
29866         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29868         [BZ #15893]
29869         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29871         [BZ #15892]
29872         * libio/memstream.c (open_memstream): Fix memory leak.
29873         * libio/wmemstream.c (open_wmemstream): Likewise.
29875         [BZ #15895]
29876         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29878 2013-09-09  Will Newton  <will.newton@linaro.org>
29880         * malloc/Makefile: Add tst-realloc to tests.
29881         * malloc/tst-realloc.c: New file.
29883 2013-09-09  Allan McRae  <allan@archlinux.org>
29885         [BZ #15844]
29886         * COPYING: Update from GNU website to fix FSF address.
29887         * COPYING.LIB: Likewise.
29889 2013-09-06  David S. Miller  <davem@davemloft.net>
29891         * po/zh_TW.po: Update Chinese (traditional) translation from
29892         translation project.
29894 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29895             Joseph Myers  <joseph@codesourcery.com>
29897         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29898         "localeinfo.h".
29899         (obstack_chunk_alloc): New macro.
29900         (obstack_chunk_free): Likewise.
29901         (record_offset): New function.
29902         (init_locale_data): Likewise.
29903         (align_locale_data): Likewise.
29904         (add_locale_empty): Likewise.
29905         (add_locale_raw_data): Likewise.
29906         (add_locale_raw_obstack): Likewise.
29907         (add_locale_string): Likewise.
29908         (add_locale_wstring): Likewise.
29909         (add_locale_uint32): Likewise.
29910         (add_locale_uint32_array): Likewise.
29911         (add_locale_char): Likewise.
29912         (start_locale_structure): Likewise.
29913         (end_locale_structure): Likewise.
29914         (start_locale_prelude): Likewise.
29915         (end_locale_prelude): Likewise.
29916         (write_locale_data): Take locale_file structure rather than an
29917         iovec.
29918         * locale/programs/locfile.h: Include "obstack.h".
29919         (struct locale_file): Change to store locale file contents instead
29920         of header.
29921         (init_locale_data): New prototype.
29922         (align_locale_data): Likewise.
29923         (add_locale_empty): Likewise.
29924         (add_locale_raw_data): Likewise.
29925         (add_locale_raw_obstack): Likewise.
29926         (add_locale_string): Likewise.
29927         (add_locale_wstring): Likewise.
29928         (add_locale_uint32): Likewise.
29929         (add_locale_uint32_array): Likewise.
29930         (add_locale_char): Likewise.
29931         (start_locale_structure): Likewise.
29932         (end_locale_structure): Likewise.
29933         (start_locale_prelude): Likewise.
29934         (end_locale_prelude): Likewise.
29935         (write_locale_data): Update prototype.
29936         * locale/programs/3level.h (struct TABLE): Remove result field.
29937         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29938         Use new locale_file interface.
29939         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29940         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29941         * locale/programs/ld-address.c (address_output): Use new
29942         locale_file interface.
29943         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29944         NO_ADD_LOCALE.
29945         (collate_finish): Don't call collseq_table_finalize.
29946         (collate_output): Use new locale_file interface.
29947         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29948         in file.
29949         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29950         (TABLE): Move defines earlier in file.
29951         (ELEMENT): Likewise.
29952         (DEFAULT): Likewise.
29953         (wctrans_table_add): Move macro and inline function earlier in
29954         file.
29955         (struct wctype_table): Move type earlier in file.
29956         (add_locale_wctype_table): New static prototype.
29957         (struct locale_ctype_t): Use logical types instead of struct iovec
29958         pointers for members.
29959         (ctype_output): Use new locale_file interface.
29960         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29961         new locale_file interface.
29962         (allocate_arrays): Update for use of new locale_file interface.
29963         * locale/programs/ld-identification.c (identification_output): Use
29964         new locale_file interface.
29965         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29966         * locale/programs/ld-messages.c (messages_output): Likewise.
29967         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29968         * locale/programs/ld-name.c (name_output): Likewise.
29969         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29970         * locale/programs/ld-paper.c (paper_output): Likewise.
29971         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29972         * locale/programs/ld-time.c (time_output): Likewise.
29974 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29976         * benchtests/Makefile: Add memrchr benchmark.
29977         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29978         benchmark as memrchr.
29979         * benchtests/bench-memrchr-ifunc.c: New file.
29980         * benchtests/bench-memrchr.c: New file.
29982 2013-09-06   Will Newton  <will.newton@linaro.org>
29984         * benchtests/Makefile (string-bench): Add memcpy.
29986 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29987             Cong Wang  <amwang@redhat.com>
29989         [BZ #15850]
29990         * sysdeps/unix/sysv/linux/bits/in.h
29991         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29992         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29993         before __USE_KERNEL_IPV6_DEFS uses.
29994         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29995         IPPROTO_BEETPH.
29996         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29997         sockaddr_in6, or ipv6_mreq.
29999 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30001         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30002         memory access for final bytes in some large inputs.
30003         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30005 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30007         * string/test-memrchr.c: New file.
30008         * string/test-memrchr-ifunc.c: New file.
30009         * string/Makefile: Add new memrchr testcase.
30011 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30013         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30014         fanotify_init returns EPERM.
30016 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30018         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30019         errors.
30020         (top level): Treat second token from macro or constant entries for
30021         allowed headers as allowed.
30022         * include/complex.h: Condition internal declarations on
30023         [!_ISOMAC].
30024         * include/fenv.h: Condition include of <stdbool.h> and internal
30025         declarations on [!_ISOMAC].
30027 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30029         [BZ #15923]
30030         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30032 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30034         * configure.in (--enable-versioning): Remove configure option.
30035         (libc_cv_asm_symver_directive): Remove configure test.
30036         (libc_cv_ld_version_script_option): Likewise.
30037         (VERSIONING): Remove variable and AC_SUBST.
30038         (DO_VERSIONING): Remove AC_DEFINE.
30039         * configure: Regenerated.
30040         * config.h.in (DO_VERSIONING): Remove macro.
30041         * Makerules [$(versioning) = yes]: Change conditionals to
30042         [$(build-shared) = yes].
30043         * config.make.in (versioning): Remove variable.
30044         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30045         [$(build-shared) = yes].
30046         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30047         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30048         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30049         [$(build-shared) = yes].
30050         * extra-lib.mk [$(versioning) = yes]: Likewise.
30051         * hurd/Makefile [$(versioning) = yes]: Likewise.
30052         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30053         [SHARED].
30054         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30055         [SHARED].
30056         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30057         [SHARED && !NO_HIDDEN].
30058         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30059         [SHARED].
30060         [SHARED && DO_VERSIONING]: Likewise..
30061         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30062         [$(build-shared) = yes].
30063         * manual/install.texi (--disable-versioning): Remove
30064         documentation.
30065         * INSTALL: Regenerated.
30066         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30067         to [SHARED].
30068         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30069         [$(build-shared) = yes].
30070         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30071         * sysdeps/i386/i686/multiarch/strstr-c.c
30072         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30073         [SHARED && !NO_HIDDEN].
30074         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30075         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30076         * sysdeps/powerpc/powerpc32/dl-machine.c
30077         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30078         * sysdeps/powerpc/powerpc32/sysdep.h
30079         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30080         to [SHARED && PIC && !NO_HIDDEN].
30081         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30082         conditional to [SHARED].
30084 2013-09-04   Will Newton  <will.newton@linaro.org>
30086         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30087         * benchtests/bench-string.h: Include bench-timing.h instead
30088         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30089         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30090         call to HP_TIMING_DIFF_INIT.
30091         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30092         instead of hp-timing.h macros.
30093         * benchtests/bench-memchr.c: Likewise.
30094         * benchtests/bench-memcmp.c: Likewise.
30095         * benchtests/bench-memcpy.c: Likewise.
30096         * benchtests/bench-memmem.c: Likewise.
30097         * benchtests/bench-memmove.c: Likewise.
30098         * benchtests/bench-memset.c: Likewise.
30099         * benchtests/bench-rawmemchr.c: Likewise.
30100         * benchtests/bench-strcasecmp.c: Likewise.
30101         * benchtests/bench-strcasestr.c: Likewise.
30102         * benchtests/bench-strcat.c: Likewise.
30103         * benchtests/bench-strchr.c: Likewise.
30104         * benchtests/bench-strcmp.c: Likewise.
30105         * benchtests/bench-strcpy.c: Likewise.
30106         * benchtests/bench-strcpy_chk.c: Likewise.
30107         * benchtests/bench-strlen.c: Likewise.
30108         * benchtests/bench-strncasecmp.c: Likewise.
30109         * benchtests/bench-strncat.c: Likewise.
30110         * benchtests/bench-strncmp.c: Likewise.
30111         * benchtests/bench-strncpy.c: Likewise.
30112         * benchtests/bench-strnlen.c: Likewise.
30113         * benchtests/bench-strpbrk.c: Likewise.
30114         * benchtests/bench-strrchr.c: Likewise.
30115         * benchtests/bench-strspn.c: Likewise.
30116         * benchtests/bench-strstr.c: Likewise.
30118 2013-09-04  Will Newton  <will.newton@linaro.org>
30120         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30122 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30124         [BZ #15427]
30125         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30126         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30127         * math/libm-test.inc (lgamma_test_data): Add more tests.
30128         * sysdeps/i386/fpu/libm-test-ulps: Update.
30129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30131 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30133         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30135         Add ifunc.
30136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30137         Add strcmp-sse2-unaligned
30138         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30140 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30142         * Versions.def (libc): Add GLIBC_2.19.
30144 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30146         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30147         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30149 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30151         [BZ #14155]
30152         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30153         intermediate calculations in recurrence.
30154         (__ieee754_ynf): Likewise.
30155         * math/libm-test.inc (jn_test_data): Do not allow spurious
30156         underflow exception.  Add more tests.
30157         (yn_test_data): Add more tests.
30158         * sysdeps/i386/fpu/libm-test-ulps: Update.
30159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30161 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30165 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30167         * csu/init-first.c: Fix then/than typos.
30168         * locale/programs/ld-collate.c: Likewise.
30169         * locale/programs/linereader.h: Likewise.
30170         * manual/charset.texi: Likewise.
30171         * manual/filesys.texi: Likewise.
30172         * manual/stdio.texi: Likewise.
30173         * manual/string.texi: Likewise.
30174         * stdlib/fmtmsg.c: Likewise.
30175         * sysdeps/i386/stpncpy.S: Likewise.
30176         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30177         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30178         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30179         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30181 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30183         * elf/dl-open.c: Fix typos.
30184         * iconvdata/gbbig5.c: Likewise.
30185         * iconvdata/iso-2022-jp.c: Likewise.
30186         * iconv/gconv_int.h: Likewise.
30187         * iconv/loop.c: Likewise.
30188         * nis/rpcsvc/nis.h: Likewise.
30189         * resolv/ns_name.c: Likewise.
30190         * stdio-common/vfscanf.c: Likewise.
30191         * streams/stropts.h: Likewise.
30192         * sunrpc/rpc_thread.c: Likewise.
30193         * sysdeps/i386/strpbrk.S: Likewise.
30194         * sysdeps/ieee754/k_standard.c: Likewise.
30195         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30196         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30197         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30198         * sysdeps/mach/hurd/profil.c: Likewise.
30199         * sysdeps/s390/dl-procinfo.h: Likewise.
30200         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30201         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30202         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30203         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30204         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30206 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30208         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30211 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30213         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30214         aix specific files.
30215         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30216         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30217         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30218         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30219         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30220         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30221         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30222         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30224 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30225             Roland McGrath  <roland@hack.frob.com>
30227         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30228         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30230 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30232         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30233         __executable_start symbol instead of _start.
30235 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30237         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30238         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30239         Move macros to...
30240         * sysdeps/gnu/ldsodefs.h: ... this new file.
30242         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30243         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30244         instead of ELFOSABI_LINUX.
30246         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30247         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30248         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30249         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30250         Likewise.
30251         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30252         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30253         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30254         Likewise.
30255         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30256         (ibm_extended_long_double): Add ieee_nan member.
30257         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30258         (do_test): New function.
30260         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30261         TEST_TRUNC.
30262         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30263         functions, renamed from truncdfsf_test, trunctfsf_test,
30264         trunctfdf_test.
30265         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30266         functions.
30267         (do_test): Run all these.
30269 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30271         * argp/argp-help.c: Fix typos.
30272         * argp/argp-parse.c: Likewise.
30273         * debug/backtracesyms.c: Likewise.
30274         * elf/elf.h: Likewise.
30275         * malloc/malloc.c: Likewise.
30276         * nis/nis_print.c: Likewise.
30277         * resolv/res_comp.c: Likewise.
30278         * stdlib/stdlib.h: Likewise.
30279         * sunrpc/clnt_tcp.c: Likewise.
30280         * sunrpc/clnt_udp.c: Likewise.
30281         * sunrpc/clnt_unix.c: Likewise.
30282         * sysdeps/unix/bsd/ptsname.c: Likewise.
30283         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30284         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30286         Likewise.
30287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30288         Likewise.
30289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30290         Likewise.
30291         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30293 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30295         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30298 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30300         [BZ #15897]
30301         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30302         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30303         ($(objpfx)bug-dl-leaf): New rule.
30304         ($(objpfx)bug-dl-leaf.so): Likewise.
30305         ($(objpfx)bug-dl-leaf.out): Likewise.
30306         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30307         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30308         * dlfcn/bug-dl-leaf.c: New test.
30309         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30310         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30311         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30312         (dlclose): Likewise.
30313         (dlmopen): Likewise.
30315 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30317         * include/netdb.h [!_ISOMAC]:
30318         Don't include <tls.h>.
30319         (h_errno, __libc_h_errno): Move declaration and macros out of
30320         [_LIBC_REENTRANT].
30322         * include/resolv.h [_RESOLV_H_]:
30323         Don't include <tls.h>.
30324         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30325         * resolv/res_libc.c: Don't include <tls.h>.
30326         (_res): Use __attribute__ ((nocommon)) in place of
30327         __attribute__ ((section (".bss"))).
30329         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30330         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30332         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30334         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30335         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30337         * resolv/res_mkquery.c: Include <sys/time.h>.
30339         * inet/ifreq.c: Moved to ...
30340         * sysdeps/unix/ifreq.c: ... here.
30341         * inet/ifreq.c: New file, true stub version.
30343         * socket/sa_len.c: New file.
30344         * socket/Makefile (aux): Add it.
30345         * sysdeps/unix/sysv/linux/Makefile
30346         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30347         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30348         and #include <socket/sa_len.c>.
30349         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30350         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30352         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30353         * bits/socket.h: ... here.
30355         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30356         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30357         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30359 2013-08-27  Andreas Schwab  <schwab@suse.de>
30361         [BZ #15736]
30362         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30363         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30364         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30365         * string/test-strcasecmp.c (test_main): Run tests in several
30366         locales.
30367         * string/test-strncasecmp.c (test_main): Likewise.
30369         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30370         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30371         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30372         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30373         (__strncasecmp_ssse3) [PIC]: Likewise.
30375 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30377         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30379         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30380         instead of explicitly declaring xdecrypt.
30381         * nis/nss_nis/nis-publickey.c: Likewise.
30383 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30385         [BZ #15890]
30386         * nscd/aicache.c: Include res_hconf.h.
30387         (addhstaiX): Initialize res_hconf.
30389 2013-08-26  Andreas Schwab  <schwab@suse.de>
30391         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30392         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30394 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30396         * nscd/aicache.c (addhstaiX): Fix indentation.
30398 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30400         * configure.ac: Quote $build_pt_chown test.
30401         * configure: Regenerated.
30403 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30405         [BZ #15532]
30406         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30407         * math/s_cexpf.c (__cexpf): Likewise.
30408         * math/s_cexpl.c (__cexpl): Likewise.
30409         * math/libm-test.inc (cexp_test_data): Correct expected return
30410         value for NaN + i0.  Add another test.
30412 2013-08-22  David S. Miller  <davem@davemloft.net>
30414         * po/ca.po: Update Catalan translation from translation project.
30415         * po/uk.po: Add Ukrainian translations from translation project.
30417 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30419         [BZ #15797]
30420         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30421         is infinite, not alongside NaN test.
30422         * math/s_fdimf.c (__fdimf): Likewise.
30423         * math/s_fdiml.c (__fdiml): Likewise.
30424         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30425         errno is unchanged.
30427 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30429         * argp/argp-help.c: Fix typos.
30430         * crypt/speeds.c: Likewise.
30431         * csu/check_fds.c: Likewise.
30432         * elf/dl-load.c: Likewise.
30433         * elf/dl-open.c: Likewise.
30434         * elf/reldep3.c: Likewise.
30435         * elf/reldep.c: Likewise.
30436         * elf/sprof.c: Likewise.
30437         * iconv/iconv_charmap.c: Likewise.
30438         * iconv/skeleton.c: Likewise.
30439         * iconv/strtab.c: Likewise.
30440         * io/lockf64.c: Likewise.
30441         * libio/libioP.h: Likewise.
30442         * resolv/gai_notify.c: Likewise.
30443         * resolv/ns_name.c: Likewise.
30444         * resolv/ns_samedomain.c: Likewise.
30445         * resolv/res_send.c: Likewise.
30446         * stdlib/random.c: Likewise.
30447         * sunrpc/rpc/xdr.h: Likewise.
30448         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30449         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30450         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30451         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30452         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30453         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30454         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30455         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30456         * sysdeps/mach/hurd/check_fds.c: Likewise.
30457         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30458         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30459         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30460         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30461         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30462         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30463         * sysdeps/pthread/aio_notify.c: Likewise.
30464         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30465         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30466         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30467         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30468         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30470 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30472         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30473         version if bit_Slow_SSE4_2 is set.
30474         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30475         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30477 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30479         [BZ #15867]
30480         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30481         trampoline stack frame information.
30482         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30483         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30484         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30485         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30486         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30487         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30488         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30489         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30490         sa_flags value.
30491         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30492         interrupting a syscall and set with option SA_SIGINFO.
30494 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30496         [BZ #15531]
30497         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30498         argument is infinite.
30499         * math/s_cprojf.c (__cprojf): Likewise.
30500         * math/s_cprojl.c (__cprojl): Likewise.
30501         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30502         * math/libm-test.inc (cproj_test_data): Add more tests.
30504         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30506         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30507         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30508         size.  Use __ffs to determine corresponding shift.
30510 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30511             Roland McGrath  <roland@hack.frob.com>
30513         * Makefile (INSTALL): Remove trailing blank lines from output of
30514         makeinfo.
30516 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30518         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30519         Align 32 bit compat elf_greg to 8 bytes.
30521 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30523         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30525 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30527         * string/strcoll_l.c (coll_seq): New structure.
30528         (get_next_seq_cached): New function.
30529         (get_next_seq): New function.
30530         (do_compare): New function.
30531         (STRCOLL): Use GNU style definition.  Simplify implementation
30532         by using get_next_seq, get_next_seq_cached and do_compare.
30534 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30536         [BZ #14699]
30537         CVE-2013-4237
30538         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30539         member.
30540         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30541         member.
30542         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30543         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30544         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30545         conditional.
30546         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30547         GETDENTS_64BIT_ALIGNED.
30548         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30549         * manual/filesys.texi (Reading/Closing Directory): Document
30550         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30551         strongly.
30552         * manual/conf.texi (Limits for Files): Add portability note to
30553         NAME_MAX, PATH_MAX.
30554         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30556 2013-08-13  Andreas Schwab  <schwab@suse.de>
30558         [BZ #15749]
30559         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30560         of fabs.
30561         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30562         LDBL_MAX_EXP >= 16384]: Add tests for it.
30564 2013-08-12  David S. Miller  <davem@davemloft.net>
30566         * version.h (RELEASE): Set to "development".
30567         (VERSION): Set to "2.18.90".
30568         * NEWS: Add 2.19 section.
30570 2013-08-03  David S. Miller  <davem@davemloft.net>
30572         * po/ko.po: Update Korean translation from translation project.
30574 2013-08-01  David S. Miller  <davem@davemloft.net>
30576         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30577         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30578         Bilka.
30580 2013-07-30  David S. Miller  <davem@davemloft.net>
30582         * po/fr.po: Update French translation from translation project.
30584 2013-07-28  David S. Miller  <davem@davemloft.net>
30586         * po/cs.po: Update Czech translation from translation project.
30588         * po/sv.po: Update Swedish translation from translation project.
30590 2013-07-27  David S. Miller  <davem@davemloft.net>
30592         * po/eo.po: Update Esperanto translation from translation project.
30594         * po/vi.po: Update Vietnamese translation from translation project.
30596         * po/de.po: Update German translation from translation project.
30598 2013-07-26  David S. Miller  <davem@davemloft.net>
30600         * po/bg.po: Update Bulgarian translation from translation project.
30602         * po/nl.po: Update Dutch translation from translation project.
30603         * po/pl.po: Update Polish translation from translation project.
30604         * po/ru.po: Update Russian translation from translation project.
30606 2013-07-24  David S. Miller  <davem@davemloft.net>
30608         * po/libc.pot: Update.
30610 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30612         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30613         variable page size.
30614         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30615         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30616         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30618 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30620         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30622 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30623             Andreas Schwab  <schwab@suse.de>
30624             Roland McGrath  <roland@hack.frob.com>
30625             Joseph Myers  <joseph@codesourcery.com>
30626             Carlos O'Donell  <carlos@redhat.com>
30628         [BZ #15755]
30629         * config.h.in: Define HAVE_PT_CHOWN.
30630         * config.make.in (build-pt-chown): New variable.
30631         * configure.in (--enable-pt_chown): New configure option.
30632         * configure: Regenerate.
30633         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30634         build-pt-chown is enabled.
30635         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30636         pt_chown to fix pty ownership.
30637         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30638         CLOSE_ALL_FDS.
30639         * manual/install.texi (Configuring and compiling): Mention
30640         --enable-pt_chown. Add @findex for grantpt.
30641         * INSTALL: Regenerate.
30643 2013-07-20  David S. Miller  <davem@davemloft.net>
30645         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30646         difference between 32-bit and 64-bit.
30648 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30650         [BZ #15711]
30651         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30652         Avoid system header dependency with -ffreestanding.
30653         ($(objpfx)bits/syscall%d): Likewise.
30655 2013-07-13  David S. Miller  <davem@davemloft.net>
30657         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30658         underflows from atanl/atan2l due to bug 15319.
30659         (casinh_test_data): Likewise.
30661 2013-07-07  David S. Miller  <davem@davemloft.net>
30663         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30665 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30667         * sysdeps/i386/fpu/libm-test-ulps: Update.
30668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30670 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30672         * configure.in (--enable-lock-elision): Fix message text.
30673         * INSTALL: Regenerate.
30674         * configure: Regenerate.
30676 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30680 2013-07-03  Andreas Jaeger  <aj@suse.de>
30682         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30683         define.
30684         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30685         (ptrace_peeksiginfo_args): Add.
30686         (__ptrace_peeksiginfo_flags): Add.
30687         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30689         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30691 2013-07-03  Allan McRae  <allan@archlinux.org>
30693         * sysdeps/i386/fpu/libm-test-ulps: Update.
30695 2013-07-02  David S. Miller  <davem@davemloft.net>
30697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30699 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30703 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30705         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30708 2013-07-02  Andi Kleen <ak@linux.intel.com>
30710         * config.h.in (ENABLE_LOCK_ELISION): Add.
30711         * configure.in (--enable-lock-elision): Add option.
30712         * manual/install.texi: Document --enable lock elision.
30713         * configure: Regenerate
30714         * INSTALL: Regenerate.
30716 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30718         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30719         SSE4.2 strcasecmp for libc.a.
30720         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30722 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30724         [BZ #13304]
30725         * soft-fp/op-common.h (_FP_FMA): New macro.
30726         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30727         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30728         (_FP_MUL_MEAT_1_imm): ... here.
30729         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30730         (_FP_MUL_MEAT_1_wide): ... here.
30731         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30732         (_FP_MUL_MEAT_1_hard): ... here.
30733         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30734         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30735         (_FP_MUL_MEAT_2_wide): ... here.
30736         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30737         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30738         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30739         (_FP_MUL_MEAT_2_gmp): ... here.
30740         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30741         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30742         (_FP_MUL_MEAT_4_wide): ... here.
30743         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30744         (_FP_MUL_MEAT_4_gmp): ... here.
30745         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30746         (_FP_WFRACBITS_DW_S): Likewise.
30747         (_FP_WFRACXBITS_DW_S): Likewise.
30748         (_FP_HIGHBIT_DW_S): Likewise.
30749         (FP_FMA_S): Likewise.
30750         (_FP_FRAC_HIGH_DW_S): Likewise.
30751         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30752         (_FP_WFRACBITS_DW_D): Likewise.
30753         (_FP_WFRACXBITS_DW_D): Likewise.
30754         (_FP_HIGHBIT_DW_D): Likewise.
30755         (FP_FMA_D): Likewise.
30756         (_FP_FRAC_HIGH_DW_D): Likewise.
30757         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30758         (_FP_WFRACBITS_DW_E): Likewise.
30759         (_FP_WFRACXBITS_DW_E): Likewise.
30760         (_FP_HIGHBIT_DW_E): Likewise.
30761         (FP_FMA_E): Likewise.
30762         (_FP_FRAC_HIGH_DW_E): Likewise.
30763         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30764         (_FP_WFRACBITS_DW_Q): Likewise.
30765         (_FP_WFRACXBITS_DW_Q): Likewise.
30766         (_FP_HIGHBIT_DW_Q): Likewise.
30767         (FP_FMA_Q): Likewise.
30768         (_FP_FRAC_HIGH_DW_Q): Likewise.
30769         * soft-fp/fmasf4.c: New file.
30770         * soft-fp/fmadf4.c: Likewise.
30771         * soft-fp/fmatf4.c: Likewise.
30773 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30776         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30777         Silvermont.
30778         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30779         macro.
30780         (index_Slow_SSE4_2): Likewise.
30781         (index_Prefer_PMINUB_for_stringop): Likewise.
30782         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30783         bit_Slow_SSE4_2 is set.
30784         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30785         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30787 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30789         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30790         rtld_global._dl_hwcap2.
30791         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30792         POWER8.
30793         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30794         POWER8 feature descriptions defined in _dl_hwcap2.
30795         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30796         string handling for POWER8 feature bits.
30797         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30798         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30799         _dl_powerpc_cap_flags.
30800         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30801         * sysdeps/powerpc/rtld-global-offsets.sym
30802         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30803         _dl_hwcap2 in the rtld_global_ro structure.
30805 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30807         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30808         hardware capabilities in support of AT_HWCAP2.
30809         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30810         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30811         GLRO(dl_hwcap2).
30812         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30813         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30814         explicitly the unknown a_type display mechanism is used.
30815         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30816         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30817         struct member.
30818         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30819         to macro prototype for AT_HWCAP2 support.
30820         * sysdeps/i386/dl-procinfo.h: Likewise.
30821         * sysdeps/s390/dl-procinfo.h: Likewise.
30822         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30823         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30824         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30825         return -1 for unknown a_type display fallback.
30826         * sysdeps/sparc/dl-procinfo.h: Likewise.
30827         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30828         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30830 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30832         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30833         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30835 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30837         [BZ #12492]
30838         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30839         mprotect making __stack_prot writable.
30841 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30842             Joseph Myers  <joseph@codesourcery.com>
30844         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30845         as being properly aligned.
30847 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30849         * dlfcn/modstatic5.c: New file.
30850         * dlfcn/tststatic5.c: New file.
30851         * dlfcn/Makefile (tests): Add tststatic5.
30852         (tests-static): Likewise.
30853         (modules-names): Add modstatic5.
30854         (tststatic5-ENV): New variable.
30855         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30857         [BZ #15022]
30858         * elf/dl-support.c (_dl_main_map): New variable.
30859         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30860         (_dl_nns, _dl_load_adds): Set to 1.
30861         (_dl_initial_searchlist): Refer to _dl_main_map.
30862         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30863         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30864         call to _dl_get_origin.
30865         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30866         around call_map.
30867         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30868         * dlfcn/modstatic3.c: New file.
30869         * dlfcn/tststatic3.c: New file.
30870         * dlfcn/tststatic4.c: New file.
30871         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30872         (tests-static): Likewise.
30873         (modules-names): Add modstatic3.
30874         (tststatic3-ENV, tststatic4-ENV): New variables.
30875         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30876         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30878 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30880         * configure.in (CC): Require GCC version 4.4 or later.
30881         * configure: Regenerated.
30882         * manual/install.texi (Tools for Compilation): Update GCC version
30883         requirement.
30884         * INSTALL: Regenerated.
30886 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30888         [BZ #15674]
30889         * string/test-memcmp.c (check2): New.
30890         (main): Call check2.
30892         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30894 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30896         [BZ #15022]
30897         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30898         over to...
30899         (dl_open_worker) [!SHARED]: ... here.
30901 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30903         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30905 2013-06-25  Richard Henderson  <rth@redhat.com>
30907         * locale/programs/locarchive.c: Include <libc-internal.h>
30909 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30911         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30912         trailing whitespace removed.
30914 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30916         [BZ #10283]
30917         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30918         * locale/programs/locarchive.c: Include libc-mmap.h.
30919         (prepare_address_space): Take two new outputs (the mmap base and len).
30920         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30921         values.
30922         (create_archive): Declare new mmap base and len values for
30923         prepare_address_space, and store the result in ah.
30924         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30925         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30926         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30927         Declare new mmap base and len values for
30928         prepare_address_space, and store the result in new_ah.
30929         (open_archive): Declare new mmap base and len values for
30930         prepare_address_space, and store the result in ah.
30931         (close_archive): If ah->mmap_base is not NULL, use that and
30932         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30933         * sysdeps/generic/libc-mmap.h: New file.
30935 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30937         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30938         (ALIGN_UP): Likewise.
30939         (PTR_ALIGN_DOWN): Likewise.
30940         (PTR_ALIGN_UP): Likewise.
30942 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30944         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30945         entry mapped to PPC_PLATFORM_POWER8.
30946         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30947         POWER8.
30948         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30949         (_dl_string_platform): Add case for exporting platform position for
30950         POWER8.
30951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30952         search path to sysdeps/powerpc/powerpc32/power8 directory.
30953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30954         search path to sysdeps/powerpc/powerpc64/power8 directory.
30955         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30956         power7 directories.
30957         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30958         power7 directories.
30960 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30962         * INSTALL: Regenerate.
30964         * nscd/connections.c (nscd_init): Fix comment.
30966 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30968         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30970         [BZ #15667]
30971         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30972         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30974 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30976         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30977         DL_DST_REQ_STATIC.
30978         (DL_DST_REQ_STATIC): Remove macro.
30980 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30982         [BZ #7006]
30983         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30984         with a shift of 0 bits.
30986 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30988         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30989         $(tststatic-ENV).
30991 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30993         [BZ #15655]
30994         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30996 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30998         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30999         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31000         accepts -fno-tree-loop-distribute-patterns.
31001         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31002         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31003         recursive call.
31004         * string/memset.c (memset): Likewise.
31005         * string/test-memmove.c (simple_memmove): Disable loop transformation
31006         to library calls.
31007         * string/test-memset.c (simple_memset): Likewise.
31008         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31009         * benchtests/bench-memset.c (simple_memset): Likewise.
31010         * configure: Regenerated.
31012 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31014         * math/test-misc.c (main): Ignore fesetround failure when failures
31015         of subsequent rounding tests would be ignored.
31017         [BZ #15654]
31018         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31019         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31020         * math/fegetenv.c (__fegetenv): Return 0.
31021         * math/fegetexcept.c (fegetexcept): Return 0.
31022         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31023         FE_TONEAREST.
31024         * math/feholdexcpt.c (feholdexcept): Return 0.
31025         * math/fesetenv.c (__fesetenv): Return 0.
31026         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31027         argument FE_TONEAREST.
31028         * math/feupdateenv.c (__feupdateenv): Return 0.
31029         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31031 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31033         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31034         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31035         ($(objpfx)rtld-%.os rules): Use them.
31037 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31039         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31040         fields.
31042 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31044         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31045         length of target pattern, then descending length of dependency pattern.
31046         * configure.in (AWK): Require gawk 3.1.2 or newer.
31047         * manual/install.texi (Tools for Compilation): Say that we do.
31048         * configure: Regenerated.
31050         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31051         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31052         * scripts/sysd-rules.awk: ... this new script.
31053         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31054         than a glob-style pattern.
31056 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31058         * math/test-misc.c (main): Do not treat incorrectly rounded
31059         conversions as failure unless ROUNDING_TESTS passes.
31061 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31063         [BZ #15631]
31064         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31065         restore exception state around main square root computation, then
31066         check for inexactness explicitly.
31068         * math/libm-test.inc (fma_test_data): Add another test.
31070 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31072         * manual/threads.texi (Non-POSIX Extensions): New document
31073         node.  Document pthread_getattr_default_np and
31074         pthread_setattr_default_np.
31076         * Versions.def (libpthread): Add GLIBC_2.18.
31077         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31079         Likewise.
31080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31081         Likewise.
31082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31083         Likewise.
31084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31085         Likewise.
31086         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31087         Likewise.
31088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31089         Likewise.
31090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31091         Likewise.
31092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31093         Likewise.
31094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31095         Likewise.
31097 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31100         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31102 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31103             H.J. Lu  <hjl.tools@gmail.com>
31105         [BZ #15627]
31106         * sysdeps/x86_64/rtld-memset.c: Remove file.
31107         * sysdeps/x86_64/rtld-memset.S: New file.
31109 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31111         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31112         (test_in_one_mode): Take arguments for whether the rounding mode
31113         is supported for each floating-point type.
31114         (do_test): Pass new arguments to test_in_one_mode using
31115         ROUNDING_TESTS.
31117 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31119         * posix/tst-waitid.c (do_test): Distinguish different instances of
31120         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31121         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31122         before entering the kernel for waitpid.
31124 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31126         * NEWS: Fix note on clock function precision.  Text by Roland
31127         McGrath.
31129 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31131         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31132         it into place only when and if the sanity check passes.
31134 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31136         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31137         output for whether conversion result is exact.  Take argument
31138         indicating whether type is IBM long double.
31139         (round_for_all): Change need_exact field to ibm_ld.
31140         * stdlib/tst-strtod-round.c (struct exactness): New type.
31141         (struct test): Change bool ld_ok field to struct exactness exact.
31142         (TEST): Update all definitions for change to field.
31143         (tests): Regenerate array contents.
31144         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31145         field value.  Check for IBM long double here.
31146         (do_test): Update calls to test_in_one_mode.
31148 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31150         [BZ #12515]
31151         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31152         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31154 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31156         [BZ #15605]
31157         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31158         generated by the compiler on loop optimizations.
31159         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31160         general definitions.
31162 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31164         * math/bug-nextafter.c: Include <math-tests.h>.
31165         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31166         the relevant type.
31167         * math/bug-nexttoward.c: Include <math-tests.h>.
31168         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31169         the relevant type.
31170         * math/test-misc.c: Include <math-tests.h>.
31171         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31172         the relevant type.
31174 2013-06-12  Andreas Jaeger  <aj@suse.de>
31176         * po/ia.po: Update Interlingua translation from translation
31177         project.
31179 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31181         * include/fenv.h: Include stdbool.h.
31182         (struct rm_ctx): New structure.
31183         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31184         Define macro.
31185         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31186         (SET_RESTORE_ROUNDF): Likewise.
31187         (SET_RESTORE_ROUNDL): Likewise.
31188         (SET_RESTORE_ROUND_NOEX): Likewise.
31189         (SET_RESTORE_ROUND_NOEXF): Likewise.
31190         (SET_RESTORE_ROUND_NOEXL): Likewise.
31191         (SET_RESTORE_ROUND_53BIT): Likewise.
31192         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31193         (libc_feresetround_noexf_ctx): Likewise.
31194         (libc_feresetround_noexl_ctx): Likewise.
31195         (libc_feholdsetround_53bit_ctx): Likewise.
31196         (libc_feresetround_53bit_ctx): Likewise.
31197         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31198         (libc_feholdexcept_setround_sse_ctx): New function.
31199         (libc_fesetenv_sse_ctx): Likewise.
31200         (libc_feupdateenv_sse_ctx): Likewise.
31201         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31202         (libc_feholdexcept_setround_387_ctx): Likewise.
31203         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31204         (libc_feholdsetround_387_prec_ctx): Likewise.
31205         (libc_feholdsetround_387_ctx): Likewise.
31206         (libc_feholdsetround_387_53bit_ctx): Likewise.
31207         (libc_feholdsetround_sse_ctx): Likewise.
31208         (libc_feresetround_sse_ctx): Likewise.
31209         (libc_feresetround_387_ctx): Likewise.
31210         (libc_feupdateenv_387_ctx): Likewise.
31211         (libc_feholdexcept_setroundf_ctx): Define macro.
31212         (libc_fesetenvf_ctx): Likewise.
31213         (libc_feupdateenvf_ctx): Likewise.
31214         (libc_feholdsetroundf_ctx): Likewise.
31215         (libc_feresetroundf_ctx): Likewise.
31216         (libc_feholdexcept_setround_ctx): Likewise.
31217         (libc_fesetenv_ctx): Likewise.
31218         (libc_feupdateenv_ctx): Likewise.
31219         (libc_feholdsetround_ctx): Likewise.
31220         (libc_feresetround_ctx): Likewise.
31221         (libc_feholdexcept_setroundl_ctx): Likewise.
31222         (libc_feupdateenvl_ctx): Likewise.
31223         (libc_feholdsetroundl_ctx): Likewise.
31224         (libc_feresetroundl_ctx): Likewise.
31225         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31226         (libc_feresetround_53bit_ctx): Likewise.
31228 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31230         * locale/iso-639.def: Convert to UTF-8.
31232 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31234         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31235         (EXCEPTION_TESTS_double): Likewise.
31236         (EXCEPTION_TESTS_long_double): Likewise.
31237         (EXCEPTION_TESTS): Likewise.
31238         * math/libm-test.inc (test_exceptions): Only test exceptions if
31239         EXCEPTION_TESTS (FLOAT).
31241 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31243         * benchtests/Makefile (string-bench): Add strcpy_chk and
31244         stpcpy_chk.
31245         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31246         * benchtests/bench-stpcpy_chk.c: New file.
31247         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31248         * benchtests/bench-strcpy_chk.c: New file.
31249         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31250         code.
31251         (do_test): Likewise.
31253 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31255         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31256         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31257         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31258         with tabs where appropriate.
31259         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31260         dl-procinfo.h.
31261         [PPC_PLATFORM_PPC440]: Likewise.
31262         [PPC_PLATFORM_PPC464]: Likewise.
31263         [PPC_PLATFORM_PPC476]: Likewise.
31264         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31265         ppc464, and ppc476 platform strings merging from ports/
31266         dl-procinfo.h.
31268 2013-06-11  Andreas Schwab  <schwab@suse.de>
31270         [BZ #14991]
31271         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31272         (from_ucs4_idx): Regenerate.
31273         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31274         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31275         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31276         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31277         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31278         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31279         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31280         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31281         from FROM_LOOP and TO_LOOP specific macros.
31282         (BODY): Handle combining characters.
31283         * iconvdata/BIG5HKSCS.irreversible: Update.
31284         * iconvdata/BIG5HKSCS.precomposed: New file.
31285         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31286         characters.
31287         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31289 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31291         * include/sys/time.h: Fix indentation and add copyright header.
31293         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31294         (do_test): Likewise.
31295         * string/test-memchr.c (do_one_test): Likewise.
31296         (do_test): Likewise.
31297         * string/test-memcmp.c (do_one_test): Likewise.
31298         (do_test): Likewise.
31299         * string/test-memcpy.c (do_one_test): Likewise.
31300         (do_test): Likewise.
31301         * string/test-memmem.c (do_one_test): Likewise.
31302         (do_test): Likewise.
31303         (do_random_tests): Likewise.
31304         * string/test-memmove.c (do_one_test): Likewise.
31305         (do_test): Likewise.
31306         * string/test-memset.c (do_one_test): Likewise.
31307         (do_test): Likewise.
31308         * string/test-rawmemchr.c (do_one_test): Likewise.
31309         (do_test): Likewise.
31310         * string/test-strcasecmp.c (do_one_test): Likewise.
31311         (do_test): Likewise.
31312         * string/test-strcasestr.c (do_one_test): Likewise.
31313         (do_test): Likewise.
31314         * string/test-strcat.c (do_one_test): Likewise.
31315         (do_test): Likewise.
31316         * string/test-strchr.c (do_one_test): Likewise.
31317         (do_test): Likewise.
31318         * string/test-strcmp.c (do_one_test): Likewise.
31319         (do_test): Likewise.
31320         * string/test-strcpy.c (do_one_test): Likewise.
31321         (do_test): Likewise.
31322         * string/test-string.h: Likewise.
31323         (test_init): Likewise.
31324         * string/test-strlen.c (do_one_test): Likewise.
31325         (do_test): Likewise.
31326         * string/test-strncasecmp.c (do_one_test): Likewise.
31327         (do_test): Likewise.
31328         * string/test-strncat.c (do_one_test): Likewise.
31329         (do_test): Likewise.
31330         * string/test-strncmp.c (do_one_test): Likewise.
31331         (do_test_limit): Likewise.
31332         (do_test): Likewise.
31333         * string/test-strncpy.c (do_one_test): Likewise.
31334         (do_test): Likewise.
31335         * string/test-strnlen.c (do_one_test): Likewise.
31336         (do_test): Likewise.
31337         * string/test-strpbrk.c (do_one_test): Likewise.
31338         (do_test): Likewise.
31339         * string/test-strrchr.c (do_one_test): Likewise.
31340         (do_test): Likewise.
31341         * string/test-strspn.c (do_one_test): Likewise.
31342         (do_test): Likewise.
31343         * string/test-strstr.c (do_one_test): Likewise.
31344         (do_test): Likewise.
31346         * benchtests/Makefile (string-bench): Add string benchmarks.
31347         * benchtests/bench-bcopy-ifunc.c: New file.
31348         * benchtests/bench-bcopy.c: New file.
31349         * benchtests/bench-bzero-ifunc.c: New file.
31350         * benchtests/bench-bzero.c: New file.
31351         * benchtests/bench-memccpy-ifunc.c: New file.
31352         * benchtests/bench-memccpy.c: New file.
31353         * benchtests/bench-memchr-ifunc.c: New file.
31354         * benchtests/bench-memchr.c: New file.
31355         * benchtests/bench-memcmp-ifunc.c: New file.
31356         * benchtests/bench-memcmp.c: New file.
31357         * benchtests/bench-memmem-ifunc.c: New file.
31358         * benchtests/bench-memmem.c: New file.
31359         * benchtests/bench-memmove-ifunc.c: New file.
31360         * benchtests/bench-memmove.c: New file.
31361         * benchtests/bench-mempcpy-ifunc.c: New file.
31362         * benchtests/bench-mempcpy.c: New file.
31363         * benchtests/bench-memset-ifunc.c: New file.
31364         * benchtests/bench-memset.c: New file.
31365         * benchtests/bench-rawmemchr-ifunc.c: New file.
31366         * benchtests/bench-rawmemchr.c: New file.
31367         * benchtests/bench-stpcpy-ifunc.c: New file.
31368         * benchtests/bench-stpcpy.c: New file.
31369         * benchtests/bench-stpncpy-ifunc.c: New file.
31370         * benchtests/bench-stpncpy.c: New file.
31371         * benchtests/bench-strcasecmp-ifunc.c: New file.
31372         * benchtests/bench-strcasecmp.c: New file.
31373         * benchtests/bench-strcasestr-ifunc.c: New file.
31374         * benchtests/bench-strcasestr.c: New file.
31375         * benchtests/bench-strcat-ifunc.c: New file.
31376         * benchtests/bench-strcat.c: New file.
31377         * benchtests/bench-strchr-ifunc.c: New file.
31378         * benchtests/bench-strchr.c: New file.
31379         * benchtests/bench-strchrnul-ifunc.c: New file.
31380         * benchtests/bench-strchrnul.c: New file.
31381         * benchtests/bench-strcmp-ifunc.c: New file.
31382         * benchtests/bench-strcmp.c: New file.
31383         * benchtests/bench-strcpy-ifunc.c: New file.
31384         * benchtests/bench-strcpy.c: New file.
31385         * benchtests/bench-strcspn-ifunc.c: New file.
31386         * benchtests/bench-strcspn.c: New file.
31387         * benchtests/bench-strlen-ifunc.c: New file.
31388         * benchtests/bench-strlen.c: New file.
31389         * benchtests/bench-strncasecmp-ifunc.c: New file.
31390         * benchtests/bench-strncasecmp.c: New file.
31391         * benchtests/bench-strncat-ifunc.c: New file.
31392         * benchtests/bench-strncat.c: New file.
31393         * benchtests/bench-strncmp-ifunc.c: New file.
31394         * benchtests/bench-strncmp.c: New file.
31395         * benchtests/bench-strncpy-ifunc.c: New file.
31396         * benchtests/bench-strncpy.c: New file.
31397         * benchtests/bench-strnlen-ifunc.c: New file.
31398         * benchtests/bench-strnlen.c: New file.
31399         * benchtests/bench-strpbrk-ifunc.c: New file.
31400         * benchtests/bench-strpbrk.c: New file.
31401         * benchtests/bench-strrchr-ifunc.c: New file.
31402         * benchtests/bench-strrchr.c: New file.
31403         * benchtests/bench-strspn-ifunc.c: New file.
31404         * benchtests/bench-strspn.c: New file.
31405         * benchtests/bench-strstr-ifunc.c: New file.
31406         * benchtests/bench-strstr.c: New file.
31408         * benchtests/Makefile: Disable parallel execution of targets.
31409         (string-bench): Add memcpy.
31410         (benchset): New variable to store a list of benchmark sets.
31411         (bench-func): Renamed from bench.
31412         (bench-set): New target.
31413         (bench): Depend on bench-func and bench-set.
31414         * benchtests/README: Add section on benchmark sets.
31415         * benchtests/bench-memcpy-ifunc.c: New file.
31416         * benchtests/bench-memcpy.c: New file.
31417         * benchtests/bench-string.h: New file.
31419 2013-06-11  Andreas Schwab  <schwab@suse.de>
31421         [BZ #15577]
31422         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31423         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31424         values in the triple.
31425         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31426         terminator in the group key.
31428 2013-06-11  Andreas Jaeger  <aj@suse.de>
31430         * po/zh_TW.po: Update Chinese (traditional) translation from
31431         translation project.
31433 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31435         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31436         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31437         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31438         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31439         (clock_getcpuclockid): Likewise.
31440         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31441         Add weak_alias and libc_hidden_def.
31442         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31443         * rt/clock_gettime.c (clock_gettime): Rename to
31444         __clock_gettime.  Add weak_alias and libc_hidden_def.
31445         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31446         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31447         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31448         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31449         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31450         Likewise.
31451         * rt/clock_settime.c (clock_settime): Rename to
31452         __clock_settime.  Add weak_alias and libc_hidden_def.
31453         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31455 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31457         * mach/err_boot.sub: Remove trailing whitespace.
31458         * mach/err_ipc.sub: Likewise.
31459         * mach/err_mach.sub: Likewise.
31461         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31462         (ROUNDING_TESTS_double): Likewise.
31463         (ROUNDING_TESTS_long_double): Likewise.
31464         (ROUNDING_TESTS): Likewise.
31465         * math/libm-test.inc: Include <math-tests.h>.
31466         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31467         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31468         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31469         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31471 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31473         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31474         of assigning.
31476 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31478         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31479         otherwise empty TRANS lines.
31480         * sysdeps/gnu/errlist.c: Regenerated.
31482         * catgets/gencat.c (error_print): Use (void) in function
31483         definition.
31484         * crypt/crypt_util.c (__init_des): Likewise.
31485         * crypt/speeds.c (Stop): Likewise.
31486         (main): Likewise.
31487         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31488         * inet/ruserpass.c (token): Likewise.
31489         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31490         * intl/localealias.c (extend_alias_table): Likewise.
31491         * intl/plural-exp.c (init_germanic_plural): Likewise.
31492         * libio/fcloseall.c (__fcloseall): Likewise.
31493         * libio/genops.c (_IO_flush_all): Likewise.
31494         (_IO_flush_all_linebuffered): Likewise.
31495         (_IO_cleanup): Likewise.
31496         (_IO_iter_begin): Likewise.
31497         (_IO_iter_end): Likewise.
31498         (_IO_list_lock): Likewise.
31499         (_IO_list_unlock): Likewise.
31500         (_IO_list_resetlock): Likewise.
31501         * libio/getchar.c (getchar): Likewise.
31502         * libio/getchar_u.c (getchar_unlocked): Likewise.
31503         * libio/getwchar.c (getwchar): Likewise.
31504         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31505         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31506         * login/getpt.c (__getpt): Likewise.
31507         * login/tst-utmp.c (main): Likewise.
31508         * malloc/hooks.c (__malloc_check_init): Likewise.
31509         * malloc/malloc.c (__malloc_stats): Likewise.
31510         * malloc/mtrace.c (tr_break): Likewise.
31511         (mtrace): Likewise.
31512         (muntrace): Likewise.
31513         * misc/fstab.c (endfsent): Likewise.
31514         * misc/getclktck.c (__getclktck): Likewise.
31515         * misc/getdtsz.c (__getdtablesize): Likewise.
31516         * misc/gethostid.c (gethostid): Likewise.
31517         * misc/getpagesize.c (__getpagesize): Likewise.
31518         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31519         (__get_nprocs): Likewise.
31520         (__get_phys_pages): Likewise.
31521         (__get_avphys_pages): Likewise.
31522         * misc/getttyent.c (getttyent): Likewise.
31523         (setttyent): Likewise.
31524         (endttyent): Likewise.
31525         * misc/getusershell.c (getusershell): Likewise.
31526         (endusershell): Likewise.
31527         (setusershell): Likewise.
31528         (initshells): Likewise.
31529         * misc/hsearch.c (__hdestroy): Likewise.
31530         * misc/sync.c (sync): Likewise.
31531         * misc/syslog.c (closelog_internal): Likewise.
31532         (closelog): Likewise.
31533         * misc/ttyslot.c (ttyslot): Likewise.
31534         * misc/vhangup.c (vhangup): Likewise.
31535         * posix/fork.c (__fork): Likewise.
31536         * posix/getegid.c (__getegid): Likewise.
31537         * posix/geteuid.c (__geteuid): Likewise.
31538         * posix/getgid.c (__getgid): Likewise.
31539         * posix/getpid.c (__getpid): Likewise.
31540         * posix/getppid.c (__getppid): Likewise.
31541         * posix/getuid.c (__getuid): Likewise.
31542         * posix/pause.c (pause): Likewise.
31543         * posix/setpgrp.c (setpgrp): Likewise.
31544         * posix/setsid.c (__setsid): Likewise.
31545         * posix/test-vfork.c (noop): Likewise.
31546         * resolv/gethnamaddr.c (_endhtent): Likewise.
31547         (_gethtent): Likewise.
31548         (ht_endhostent): Likewise.
31549         (gethostent): Likewise.
31550         (dns_service): Likewise.
31551         * stdlib/drand48.c (drand48): Likewise.
31552         * stdlib/lrand48.c (lrand48): Likewise.
31553         * stdlib/mrand48.c (mrand48): Likewise.
31554         * stdlib/rand.c (rand): Likewise.
31555         * stdlib/random.c (__random): Likewise.
31556         * stdlib/setenv.c (clearenv): Likewise.
31557         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31558         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31559         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31560         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31561         (__get_nprocs): Likewise.
31562         (__get_phys_pages): Likewise.
31563         (__get_avphys_pages): Likewise.
31564         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31565         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31566         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31567         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31568         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31569         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31570         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31571         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31572         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31573         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31574         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31575         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31576         * sysdeps/posix/clock.c (clock): Likewise.
31577         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31578         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31579         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31580         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31581         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31582         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31583         (__get_nprocs_conf): Likewise.
31584         (__get_phys_pages): Likewise.
31585         (__get_avphys_pages): Likewise.
31586         * time/clock.c (clock): Likewise.
31587         * time/tzset.c (__tzname_max): Likewise.
31589 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31591         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31592         (__bswap_32): Do not use "register".
31593         * crypt/crypt.c (_ufc_doit_r): Likewise.
31594         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31595         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31596         * gmon/gmon.c (__monstartup): Likewise.
31597         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31598         * hurd/hurdmalloc.c (more_memory): Likewise.
31599         (malloc): Likewise.
31600         (free): Likewise.
31601         (realloc): Likewise.
31602         (malloc_fork_prepare): Likewise.
31603         (malloc_fork_parent): Likewise.
31604         (malloc_fork_child): Likewise.
31605         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31606         (_svcauth_des): Likewise.
31607         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31608         * inet/inet_net.c (inet_network): Likewise.
31609         * inet/inet_netof.c (inet_netof): Likewise.
31610         * inet/rcmd.c (__validuser2_sa): Likewise.
31611         * io/fts.c (fts_open): Likewise.
31612         (fts_load): Likewise.
31613         (fts_close): Likewise.
31614         (fts_read): Likewise.
31615         (fts_children): Likewise.
31616         (fts_build): Likewise.
31617         (fts_stat): Likewise.
31618         (fts_sort): Likewise.
31619         (fts_alloc): Likewise.
31620         (fts_lfree): Likewise.
31621         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31622         (_IO_file_xsgetn): Likewise.
31623         (_IO_file_xsgetn_mmap): Likewise.
31624         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31625         (_IO_cookie_write): Likewise.
31626         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31627         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31628         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31629         * malloc/obstack.c (_obstack_begin): Likewise.
31630         (_obstack_begin_1): Likewise.
31631         (_obstack_newchunk): Likewise.
31632         (_obstack_allocated_p): Likewise.
31633         (obstack_free): Likewise.
31634         (_obstack_memory_used): Likewise.
31635         * misc/getttyent.c (getttynam): Likewise.
31636         (getttyent): Likewise.
31637         (skip): Likewise.
31638         (value): Likewise.
31639         * misc/getusershell.c (initshells): Likewise.
31640         * misc/syslog.c (__vsyslog_chk): Likewise.
31641         * misc/ttyslot.c (ttyslot): Likewise.
31642         * nis/nis_hash.c (__nis_hash): Likewise.
31643         * posix/fnmatch_loop.c (FCT): Likewise.
31644         * posix/getconf.c (print_all): Likewise.
31645         (main): Likewise.
31646         * posix/getopt.c (exchange): Likewise.
31647         * posix/glob.c (globfree): Likewise.
31648         (prefix_array): Likewise.
31649         (__glob_pattern_type): Likewise.
31650         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31651         (NS_GET32): Likewise.
31652         (NS_PUT16): Likewise.
31653         (NS_PUT32): Likewise.
31654         * resolv/gethnamaddr.c (getanswer): Likewise.
31655         (gethostbyname2): Likewise.
31656         (gethostbyaddr): Likewise.
31657         (_gethtent): Likewise.
31658         (_gethtbyname2): Likewise.
31659         (_gethtbyaddr): Likewise.
31660         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31661         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31662         * resolv/res_init.c (__res_vinit): Likewise.
31663         (net_mask): Likewise.
31664         * resolv/res_mkquery.c (outchar): Likewise.
31665         (PRINT): Likewise.
31666         * stdio-common/printf_fp.c (outchar): Likewise.
31667         (PRINT): Likewise.
31668         * stdio-common/printf_fphex.c (outchar): Likewise.
31669         (PRINT): Likewise.
31670         * stdio-common/printf_size.c (outchar): Likewise.
31671         (PRINT): Likewise.
31672         * stdio-common/test_rdwr.c (main): Likewise.
31673         * stdio-common/tfformat.c (matches): Likewise.
31674         * stdio-common/vfprintf.c (outchar): Likewise.
31675         (printf_unknown): Likewise.
31676         (buffered_vfprintf): Likewise.
31677         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31678         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31679         (ReadFile): Likewise.
31680         * stdlib/qsort.c (SWAP): Likewise.
31681         (_quicksort): Likewise.
31682         * stdlib/setenv.c (__add_to_environ): Likewise.
31683         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31684         * stdlib/strtol_l.c (__strtol_l): Likewise.
31685         * stdlib/tst-strtod.c (main): Likewise.
31686         * stdlib/tst-strtol.c (main): Likewise.
31687         * stdlib/tst-strtoll.c (main): Likewise.
31688         * string/bits/string2.h (__strcmp_cc): Likewise.
31689         (__strcmp_cg): Likewise.
31690         (__strcspn_c1): Likewise.
31691         (__strcspn_c2): Likewise.
31692         (__strcspn_c3): Likewise.
31693         (__strspn_c1): Likewise.
31694         (__strspn_c2): Likewise.
31695         (__strspn_c3): Likewise.
31696         (__strsep_1c): Likewise.
31697         (__strsep_2c): Likewise.
31698         (__strsep_3c): Likewise.
31699         * string/memccpy.c (__memccpy): Likewise.
31700         * string/stpcpy.c (__stpcpy): Likewise.
31701         * string/strcmp.c (strcmp): Likewise.
31702         * string/strrchr.c (strrchr): Likewise.
31703         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31704         Likewise.
31705         * sysdeps/mach/hurd/getcwd.c
31706         (_hurd_canonicalize_directory_name_internal): Likewise.
31707         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31708         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31709         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31710         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31711         Likewise, in both definitions.
31712         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31713         definitions.
31714         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31715         64] (__bswap_64): Likewise.
31716         * time/test_time.c (main): Likewise.
31717         * time/tzfile.c (__tzfile_read): Likewise.
31718         (__tzfile_compute): Likewise.
31719         * time/tzset.c (__tzset_parse_tz): Likewise.
31720         (tzset_internal): Likewise.
31721         (compute_change): Likewise.
31722         * wcsmbs/wcscat.c (__wcscat): Likewise.
31723         * wcsmbs/wcschr.c (wcschr): Likewise.
31724         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31725         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31726         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31727         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31728         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31729         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31730         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31731         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31732         * wcsmbs/wmemset.c (wmemset): Likewise.
31734 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31736         * scripts/config.guess: Update to version 2013-05-16.
31737         * scripts/config.sub: Update to version 2013-04-24.
31738         * scripts/install-sh: Update to version 2011-11-20.07.
31739         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31740         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31742 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31744         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31745         * elf/sln.c: Likewise.
31746         * hurd/hurd/ioctl.h: Likewise.
31747         * hurd/hurdmalloc.c: Likewise.
31748         * hurd/xattr.c: Likewise.
31749         * include/shlib-compat.h: Likewise.
31750         * inet/ruserpass.c: Likewise.
31751         * libio/iofgets_u.c: Likewise.
31752         * libio/iofgetws_u.c: Likewise.
31753         * locale/programs/ld-identification.c: Likewise.
31754         * locale/programs/ld-time.c: Likewise.
31755         * mach/msg-destroy.c: Likewise.
31756         * nss/nss_files/files-netgrp.c: Likewise.
31757         * resolv/res_data.c: Likewise.
31758         * soft-fp/op-1.h: Likewise.
31759         * soft-fp/op-2.h: Likewise.
31760         * soft-fp/op-4.h: Likewise.
31761         * soft-fp/op-common.h: Likewise.
31762         * stdio-common/printf_fphex.c: Likewise.
31763         * stdlib/strtod_l.c: Likewise.
31764         * sunrpc/rpc/clnt.h: Likewise.
31765         * sysdeps/generic/framestate.c: Likewise.
31766         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31767         * sysdeps/i386/bsd-setjmp.S: Likewise.
31768         * sysdeps/i386/__longjmp.S: Likewise.
31769         * sysdeps/i386/setjmp.S: Likewise.
31770         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31771         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31772         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31773         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31774         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31775         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31776         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31777         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31778         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31779         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31780         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31781         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31782         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31783         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31784         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31785         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31786         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31787         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31788         * sysdeps/ieee754/support.c: Likewise.
31789         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31790         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31791         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31792         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31793         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31794         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31795         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31796         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31797         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31798         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31799         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31800         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31801         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31802         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31803         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31804         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31805         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31808 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31810         * posix/transbug.c: Remove executable mode.
31812 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31814         * crypt/speeds.c: Remove trailing whitespace.
31815         * dlfcn/default.c: Likewise.
31816         * elf/ifuncdep2.c: Likewise.
31817         * elf/ifuncmain1.c: Likewise.
31818         * elf/ifuncmain1vis.c: Likewise.
31819         * elf/testobj.h: Likewise.
31820         * elf/tst-stackguard1.c: Likewise.
31821         * gmon/sys/gmon.h: Likewise.
31822         * hurd/hurdmsg.c: Likewise.
31823         * hurd/new-fd.c: Likewise.
31824         * hurd/ports-get.c: Likewise.
31825         * iconvdata/ibm1008_420.c: Likewise.
31826         * inet/tst-getni1.c: Likewise.
31827         * inet/tst-getni2.c: Likewise.
31828         * libio/ioungetc.c: Likewise.
31829         * libio/wfiledoalloc.c: Likewise.
31830         * manual/libm-err-tab.pl: Likewise.
31831         * math/w_dremf.c: Likewise.
31832         * misc/ftruncate.c: Likewise.
31833         * posix/bug-glob2.c: Likewise.
31834         * posix/tst-pcre.c: Likewise.
31835         * posix/wait4.c: Likewise.
31836         * resolv/README: Likewise.
31837         * resolv/res_debug.h: Likewise.
31838         * resolv/tst-inet_ntop.c: Likewise.
31839         * setjmp/bug269-setjmp.c: Likewise.
31840         * soft-fp/extended.h: Likewise.
31841         * soft-fp/op-1.h: Likewise.
31842         * soft-fp/op-2.h: Likewise.
31843         * soft-fp/op-4.h: Likewise.
31844         * soft-fp/op-8.h: Likewise.
31845         * soft-fp/testit.c: Likewise.
31846         * stdio-common/bug16.c: Likewise.
31847         * stdlib/random.c: Likewise.
31848         * sunrpc/rpcsvc/rquota.x: Likewise.
31849         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31850         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31851         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31852         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31853         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31854         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31855         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31856         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31857         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31858         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31859         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31860         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31861         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31862         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31863         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31864         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31865         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31866         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31867         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31868         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31869         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31870         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31871         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31872         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31873         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31874         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31875         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31876         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31877         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31878         * sysdeps/ieee754/s_lib_version.c: Likewise.
31879         * sysdeps/mach/hurd/check_fds.c: Likewise.
31880         * sysdeps/mach/hurd/getsockname.c: Likewise.
31881         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31882         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31883         * sysdeps/powerpc/bits/link.h: Likewise.
31884         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31885         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31886         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31887         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31888         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31889         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31890         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31891         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31892         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31893         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31894         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31895         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31896         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31897         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31898         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31899         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31900         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31901         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31902         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31903         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31904         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31905         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31906         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31907         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31908         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31909         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31910         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31911         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31912         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31913         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31914         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31915         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31917         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31918         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31919         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31920         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31921         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31922         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31923         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31924         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31925         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31926         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31927         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31928         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31929         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31930         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31931         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31932         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31933         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31934         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31935         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31936         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31937         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31938         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31939         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31940         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31941         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31942         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31943         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31944         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31945         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31946         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31947         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31948         * sysdeps/powerpc/sysdep.h: Likewise.
31949         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31950         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31951         * sysdeps/sh/dl-trampoline.S: Likewise.
31952         * sysdeps/sh/memset.S: Likewise.
31953         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31954         * sysdeps/sh/strlen.S: Likewise.
31955         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31956         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31957         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31958         * sysdeps/sparc/sparc32/rem.S: Likewise.
31959         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31960         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31961         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31962         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31963         * sysdeps/sparc/sparc32/urem.S: Likewise.
31964         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31965         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31966         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31967         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31968         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31969         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31970         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31971         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31972         * sysdeps/unix/bsd/times.c: Likewise.
31973         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31974         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31978         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31979         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31980         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31981         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31982         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31983         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31984         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31985         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31986         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31987         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31988         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31989         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31990         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31991         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31992         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31993         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31994         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31995         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31996         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31997         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31998         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31999         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32000         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32001         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32002         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32003         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32004         * sysdeps/x86_64/strcspn.S: Likewise.
32006 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32008         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32009         generated file.  Regenerate properly from gen-translit.pl.
32010         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32011         locale/C-translit.h.
32013 2013-06-05  Andreas Schwab  <schwab@suse.de>
32015         [BZ #15100]
32016         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32017         week as 6 instead of -1.
32018         * time/tst-strptime.c (day_tests): Add test case.
32020 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32022         * sysdeps/generic/math_private.h
32023         (libc_feholdexcept_setround_53bit): Replace with
32024         libc_feholdsetround_53bit.
32025         (libc_feupdateenv_53bit): Replace with
32026         libc_feresetround_53bit.
32027         (SET_RESTORE_ROUND_53BIT): Adjust.
32029 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32031         * string/test-strchrnul.c: Add copyright header.
32033         * posix/tst-getaddrinfo4.c: Increase test timeout.
32035 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32037         [BZ #15536]
32038         * math/libm-test.inc (MAX_EXP): Remove
32039         (MIN_EXP): Define.
32040         (ulp): Use MIN_EXP - MANT_DIG.
32041         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32043 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32045         * po/be.po: Revert last change.
32046         * po/zh_CN.po: Likewise.
32047         * po/header.pot: Likewise.
32049 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32051         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32052         link-libc-deps to empty as target-specific variable.
32053         * Makerules (link-libc-args): New variable.
32054         (libc-for-link): Likewise.
32055         (link-libc-deps): Likewise.
32056         (lib%.so): Depend on $(link-libc-deps).  Link with
32057         $(link-libc-args).
32058         (build-module): Link with $(link-libc-args).
32059         (build-module-asneeded): Likewise.
32060         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32061         list of objects.
32062         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32063         target-specific variable.
32064         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32065         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32066         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32067         libc.
32068         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32069         libc and ld.so.
32070         ($(objpfx)libpcprofile.so): Likewise.
32071         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32072         libc_nonshared.a.
32073         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32074         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32075         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32076         $(link-libc-deps).
32077         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32078         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32079         * login/Makefile ($(objpfx)libutil.so): Likewise.
32080         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32081         * math/Makefile ($(objpfx)libm.so): Likewise.
32082         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32083         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32084         variable instead of depending directly on libc.
32085         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32086         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32087         $(link-libc-deps).
32088         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32089         libc.
32090         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32091         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32092         ($(objpfx)libanl.so): Likewise.
32093         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32094         ld.so.
32095         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32096         $(link-libc-deps).
32097         * sysdeps/i386/fpu/Makefile: Remove file.
32098         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32099         ($(objpfx)libm.so): Remove dependency on ld.so.
32101 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32103         [BZ # 15553]
32104         * nis/yp_xdr.c (XDRMAXNAME): Define.
32105         (XDRMAXRECORD): Define.
32106         (xdr_domainname): Use XDRMAXNAME.
32107         (xdr_mapname): Likewise.
32108         (xdr_peername): Likewise.
32109         (xdr_keydat): Use XDRMAXRECORD.
32110         (xdr_valdat): Likewise.
32112 2013-05-30  Jeff Law  <law@redhat.com>
32114         [BZ #14256]
32115         * manual/errno.texi (ESTALE): Update to account for more than
32116         just NFS file systems.
32117         * sysdeps/gnu/errlist.c: Regenerated.
32119 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32121         [BZ #15465]
32122         * elf/Makefile (tests): Add tst-null-argv.
32123         (modules-names):  Add tst-null-argv-lib.
32124         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32125         (tst-null-argv-ENV): Set environment for tst-null-argv.
32126         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32127         (RTLD_PROGNAME): New macro.
32128         * elf/tst-null-argv.c: New test case.
32129         * elf/tst-null-argv-lib.c: Library for test case.
32130         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32131         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32132         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32133         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32134         * elf/dl-init.c (call_init): Likewise.
32135         (_dl_init): Likewise.
32136         * elf/dl-load.c (print_search_path): Likewise.
32137         (_dl_map_object): Likewise.
32138         * elf/dl-lookup.c (do_lookup_x): Likewise.
32139         (add_dependency): Likewise.
32140         (_dl_lookup_symbol_x): Likewise.
32141         (_dl_debug_bindings): Likewise.
32142         * elf/dl-open.c (_dl_show_scope): Likewise.
32143         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32144         * elf/dl-version.c (match_symbol): Likewise.
32145         (_dl_check_map_versions): Likewise.
32146         * elf/rtld.c (dl_main): Likewise.
32147         (print_unresolved): Use RTLD_PROGNAME.
32148         (print_missing_version): Likewise.
32149         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32150         (elf_machine_rela): Likewise.
32151         * sysdeps/powerpc/powerpc32/dl-machine.c
32152         (__process_machine_rela): Likewise.
32153         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32154         Likewise.
32155         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32156         Likewise.
32157         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32158         Likewise.
32159         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32160         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32161         Likewise.
32162         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32163         Likewise.
32164         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32166 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32168         * po/be.po: Add descriptive title.
32169         * po/zh_CN.po: Likewise.
32170         * po/header.pot: Likewise.
32172 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32174         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32175         error message.
32176         (enlarge_archive): Likewise.
32178 2013-05-28  Ben North  <ben@redfrontdoor.org>
32180         * manual/arith.texi (frexp): It is the magnitude of the return
32181         value which lies in [0.5, 1), not the return value itself.
32183 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32187 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32189         * stdio-common/bug26.c (main): Correct fscanf template.
32191         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32192         declare _dl_skip_args.
32194         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32195         Don't declare.
32197         * manual/platform.texi: Add missing @end deftypefun.
32199 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32201         [BZ #15529]
32202         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32203         bit of mantissa of 2^16382.
32204         * math/libm-test.inc (hypot_test_data): Add more tests.
32206         * math/libm-test.inc: Add drem and pow10 to list of tested
32207         functions.
32208         (pow10_test): New function.
32209         (drem_test): Likewise.
32210         (drem_test_tonearest): Likewise.
32211         (drem_test_towardzero): Likewise.
32212         (drem_test_downward): Likewise.
32213         (drem_test_upward): Likewise.
32214         (main): Call the new functions.
32216         * math/libm-test.inc (finite_test_data): Remove.
32217         (finite_test): Run tests from isfinite_test_data.
32218         (gamma_test_data): Remove.
32219         (gamma_test): Run tests from lgamma_test_data.
32220         * sysdeps/i386/fpu/libm-test-ulps: Update.
32221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32223 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32225         * manual/platform.texi: Add PowerPC PPR function set documentation.
32226         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32227         implementation.
32229 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32231         * math/libm-test.inc (MAX_EXP): Define.
32232         (ULPDIFF): Define.
32233         (ulp): New function.
32234         (check_float_internal): Use ULPDIFF.
32235         (cpow_test): Disable failing test.
32236         (check_ulp): Test ulp() implemetnation.
32237         (main): Call check_ulp before starting tests.
32239 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32241         * math/gen-libm-test.pl (generate_testfile): Do not handle
32242         START_DATA and END_DATA.
32243         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32244         END_DATA.
32245         (acos_tonearest_test_data): Likewise.
32246         (acos_towardzero_test_data): Likewise.
32247         (acos_downward_test_data): Likewise.
32248         (acos_upward_test_data): Likewise.
32249         (acosh_test_data): Likewise.
32250         (asin_test_data): Likewise.
32251         (asin_tonearest_test_data): Likewise.
32252         (asin_towardzero_test_data): Likewise.
32253         (asin_downward_test_data): Likewise.
32254         (asin_upward_test_data): Likewise.
32255         (asinh_test_data): Likewise.
32256         (atan_test_data): Likewise.
32257         (atanh_test_data): Likewise.
32258         (atan2_test_data): Likewise.
32259         (cabs_test_data): Likewise.
32260         (cacos_test_data): Likewise.
32261         (cacosh_test_data): Likewise.
32262         (carg_test_data): Likewise.
32263         (casin_test_data): Likewise.
32264         (casinh_test_data): Likewise.
32265         (catan_test_data): Likewise.
32266         (catanh_test_data): Likewise.
32267         (cbrt_test_data): Likewise.
32268         (ccos_test_data): Likewise.
32269         (ccosh_test_data): Likewise.
32270         (ceil_test_data): Likewise.
32271         (cexp_test_data): Likewise.
32272         (cimag_test_data): Likewise.
32273         (clog_test_data): Likewise.
32274         (clog10_test_data): Likewise.
32275         (conj_test_data): Likewise.
32276         (copysign_test_data): Likewise.
32277         (cos_test_data): Likewise.
32278         (cos_tonearest_test_data): Likewise.
32279         (cos_towardzero_test_data): Likewise.
32280         (cos_downward_test_data): Likewise.
32281         (cos_upward_test_data): Likewise.
32282         (cosh_test_data): Likewise.
32283         (cosh_tonearest_test_data): Likewise.
32284         (cosh_towardzero_test_data): Likewise.
32285         (cosh_downward_test_data): Likewise.
32286         (cosh_upward_test_data): Likewise.
32287         (cpow_test_data): Likewise.
32288         (cproj_test_data): Likewise.
32289         (creal_test_data): Likewise.
32290         (csin_test_data): Likewise.
32291         (csinh_test_data): Likewise.
32292         (csqrt_test_data): Likewise.
32293         (ctan_test_data): Likewise.
32294         (ctan_tonearest_test_data): Likewise.
32295         (ctan_towardzero_test_data): Likewise.
32296         (ctan_downward_test_data): Likewise.
32297         (ctan_upward_test_data): Likewise.
32298         (ctanh_test_data): Likewise.
32299         (ctanh_tonearest_test_data): Likewise.
32300         (ctanh_towardzero_test_data): Likewise.
32301         (ctanh_downward_test_data): Likewise.
32302         (ctanh_upward_test_data): Likewise.
32303         (erf_test_data): Likewise.
32304         (erfc_test_data): Likewise.
32305         (exp_test_data): Likewise.
32306         (exp_tonearest_test_data): Likewise.
32307         (exp_towardzero_test_data): Likewise.
32308         (exp_downward_test_data): Likewise.
32309         (exp_upward_test_data): Likewise.
32310         (exp10_test_data): Likewise.
32311         (exp2_test_data): Likewise.
32312         (expm1_test_data): Likewise.
32313         (fabs_test_data): Likewise.
32314         (fdim_test_data): Likewise.
32315         (finite_test_data): Likewise.
32316         (floor_test_data): Likewise.
32317         (fma_test_data): Likewise.
32318         (fma_towardzero_test_data): Likewise.
32319         (fma_downward_test_data): Likewise.
32320         (fma_upward_test_data): Likewise.
32321         (fmax_test_data): Likewise.
32322         (fmin_test_data): Likewise.
32323         (fmod_test_data): Likewise.
32324         (fpclassify_test_data): Likewise.
32325         (frexp_test_data): Likewise.
32326         (gamma_test_data): Likewise.
32327         (hypot_test_data): Likewise.
32328         (ilogb_test_data): Likewise.
32329         (isfinite_test_data): Likewise.
32330         (isgreater_test_data): Likewise.
32331         (isgreaterequal_test_data): Likewise.
32332         (isinf_test_data): Likewise.
32333         (isless_test_data): Likewise.
32334         (islessequal_test_data): Likewise.
32335         (islessgreater_test_data): Likewise.
32336         (isnan_test_data): Likewise.
32337         (isnormal_test_data): Likewise.
32338         (issignaling_test_data): Likewise.
32339         (isunordered_test_data): Likewise.
32340         (j0_test_data): Likewise.
32341         (j1_test_data): Likewise.
32342         (jn_test_data): Likewise.
32343         (ldexp_test_data): Likewise.
32344         (lgamma_test_data): Likewise.
32345         (lrint_test_data): Likewise.
32346         (lrint_tonearest_test_data): Likewise.
32347         (lrint_towardzero_test_data): Likewise.
32348         (lrint_downward_test_data): Likewise.
32349         (lrint_upward_test_data): Likewise.
32350         (llrint_test_data): Likewise.
32351         (llrint_tonearest_test_data): Likewise.
32352         (llrint_towardzero_test_data): Likewise.
32353         (llrint_downward_test_data): Likewise.
32354         (llrint_upward_test_data): Likewise.
32355         (log_test_data): Likewise.
32356         (log10_test_data): Likewise.
32357         (log1p_test_data): Likewise.
32358         (log2_test_data): Likewise.
32359         (logb_test_data): Likewise.
32360         (logb_downward_test_data): Likewise.
32361         (lround_test_data): Likewise.
32362         (llround_test_data): Likewise.
32363         (modf_test_data): Likewise.
32364         (nearbyint_test_data): Likewise.
32365         (nextafter_test_data): Likewise.
32366         (nexttoward_test_data): Likewise.
32367         (pow_test_data): Likewise.
32368         (pow_tonearest_test_data): Likewise.
32369         (pow_towardzero_test_data): Likewise.
32370         (pow_downward_test_data): Likewise.
32371         (pow_upward_test_data): Likewise.
32372         (remainder_test_data): Likewise.
32373         (remainder_tonearest_test_data): Likewise.
32374         (remainder_towardzero_test_data): Likewise.
32375         (remainder_downward_test_data): Likewise.
32376         (remainder_upward_test_data): Likewise.
32377         (remquo_test_data): Likewise.
32378         (rint_test_data): Likewise.
32379         (rint_tonearest_test_data): Likewise.
32380         (rint_towardzero_test_data): Likewise.
32381         (rint_downward_test_data): Likewise.
32382         (rint_upward_test_data): Likewise.
32383         (round_test_data): Likewise.
32384         (scalb_test_data): Likewise.
32385         (scalbn_test_data): Likewise.
32386         (scalbln_test_data): Likewise.
32387         (signbit_test_data): Likewise.
32388         (sin_test_data): Likewise.
32389         (sin_tonearest_test_data): Likewise.
32390         (sin_towardzero_test_data): Likewise.
32391         (sin_downward_test_data): Likewise.
32392         (sin_upward_test_data): Likewise.
32393         (sincos_test_data): Likewise.
32394         (sinh_test_data): Likewise.
32395         (sinh_tonearest_test_data): Likewise.
32396         (sinh_towardzero_test_data): Likewise.
32397         (sinh_downward_test_data): Likewise.
32398         (sinh_upward_test_data): Likewise.
32399         (sqrt_test_data): Likewise.
32400         (tan_test_data): Likewise.
32401         (tan_tonearest_test_data): Likewise.
32402         (tan_towardzero_test_data): Likewise.
32403         (tan_downward_test_data): Likewise.
32404         (tan_upward_test_data): Likewise.
32405         (tanh_test_data): Likewise.
32406         (tgamma_test_data): Likewise.
32407         (trunc_test_data): Likewise.
32408         (y0_test_data): Likewise.
32409         (y1_test_data): Likewise.
32410         (yn_test_data): Likewise.
32411         (significand_test_data): Likewise.
32413         * math/gen-libm-test.pl (@functions): Remove variable.
32414         (generate_testfile): Don't handle START and END lines.
32415         * math/libm-test.inc (START): New macro.
32416         (END): Likewise.
32417         (END_COMPLEX): Likewise.
32418         (acos_test): Use END macro without arguments.
32419         (acos_test_tonearest): Likewise.
32420         (acos_test_towardzero): Likewise.
32421         (acos_test_downward): Likewise.
32422         (acos_test_upward): Likewise.
32423         (acosh_test): Likewise.
32424         (asin_test): Likewise.
32425         (asin_test_tonearest): Likewise.
32426         (asin_test_towardzero): Likewise.
32427         (asin_test_downward): Likewise.
32428         (asin_test_upward): Likewise.
32429         (asinh_test): Likewise.
32430         (atan_test): Likewise.
32431         (atanh_test): Likewise.
32432         (atan2_test): Likewise.
32433         (cabs_test): Likewise.
32434         (cacos_test): Use END_COMPLEX macro without arguments.
32435         (cacosh_test): Likewise.
32436         (carg_test): Use END macro without arguments.
32437         (casin_test): Use END_COMPLEX macro without arguments.
32438         (casinh_test): Likewise.
32439         (catan_test): Likewise.
32440         (catanh_test): Likewise.
32441         (cbrt_test): Use END macro without arguments.
32442         (ccos_test): Use END_COMPLEX macro without arguments.
32443         (ccosh_test): Likewise.
32444         (ceil_test): Use END macro without arguments.
32445         (cexp_test): Use END_COMPLEX macro without arguments.
32446         (cimag_test): Use END macro without arguments.
32447         (clog_test): Use END_COMPLEX macro without arguments.
32448         (clog10_test): Likewise.
32449         (conj_test): Likewise.
32450         (copysign_test): Use END macro without arguments.
32451         (cos_test): Likewise.
32452         (cos_test_tonearest): Likewise.
32453         (cos_test_towardzero): Likewise.
32454         (cos_test_downward): Likewise.
32455         (cos_test_upward): Likewise.
32456         (cosh_test): Likewise.
32457         (cosh_test_tonearest): Likewise.
32458         (cosh_test_towardzero): Likewise.
32459         (cosh_test_downward): Likewise.
32460         (cosh_test_upward): Likewise.
32461         (cpow_test): Use END_COMPLEX macro without arguments.
32462         (cproj_test): Likewise.
32463         (creal_test): Use END macro without arguments.
32464         (csin_test): Use END_COMPLEX macro without arguments.
32465         (csinh_test): Likewise.
32466         (csqrt_test): Likewise.
32467         (ctan_test): Likewise.
32468         (ctan_test_tonearest): Likewise.
32469         (ctan_test_towardzero): Likewise.
32470         (ctan_test_downward): Likewise.
32471         (ctan_test_upward): Likewise.
32472         (ctanh_test): Likewise.
32473         (ctanh_test_tonearest): Likewise.
32474         (ctanh_test_towardzero): Likewise.
32475         (ctanh_test_downward): Likewise.
32476         (ctanh_test_upward): Likewise.
32477         (erf_test): Use END macro without arguments.
32478         (erfc_test): Likewise.
32479         (exp_test): Likewise.
32480         (exp_test_tonearest): Likewise.
32481         (exp_test_towardzero): Likewise.
32482         (exp_test_downward): Likewise.
32483         (exp_test_upward): Likewise.
32484         (exp10_test): Likewise.
32485         (exp2_test): Likewise.
32486         (expm1_test): Likewise.
32487         (fabs_test): Likewise.
32488         (fdim_test): Likewise.
32489         (finite_test): Likewise.
32490         (floor_test): Likewise.
32491         (fma_test): Likewise.
32492         (fma_test_towardzero): Likewise.
32493         (fma_test_downward): Likewise.
32494         (fma_test_upward): Likewise.
32495         (fmax_test): Likewise.
32496         (fmin_test): Likewise.
32497         (fmod_test): Likewise.
32498         (fpclassify_test): Likewise.
32499         (frexp_test): Likewise.
32500         (gamma_test): Likewise.
32501         (hypot_test): Likewise.
32502         (ilogb_test): Likewise.
32503         (isfinite_test): Likewise.
32504         (isgreater_test): Likewise.
32505         (isgreaterequal_test): Likewise.
32506         (isinf_test): Likewise.
32507         (isless_test): Likewise.
32508         (islessequal_test): Likewise.
32509         (islessgreater_test): Likewise.
32510         (isnan_test): Likewise.
32511         (isnormal_test): Likewise.
32512         (issignaling_test): Likewise.
32513         (isunordered_test): Likewise.
32514         (j0_test): Likewise.
32515         (j1_test): Likewise.
32516         (jn_test): Likewise.
32517         (ldexp_test): Likewise.
32518         (lgamma_test): Likewise.
32519         (lrint_test): Likewise.
32520         (lrint_test_tonearest): Likewise.
32521         (lrint_test_towardzero): Likewise.
32522         (lrint_test_downward): Likewise.
32523         (lrint_test_upward): Likewise.
32524         (llrint_test): Likewise.
32525         (llrint_test_tonearest): Likewise.
32526         (llrint_test_towardzero): Likewise.
32527         (llrint_test_downward): Likewise.
32528         (llrint_test_upward): Likewise.
32529         (log_test): Likewise.
32530         (log10_test): Likewise.
32531         (log1p_test): Likewise.
32532         (log2_test): Likewise.
32533         (logb_test): Likewise.
32534         (logb_test_downward): Likewise.
32535         (lround_test): Likewise.
32536         (llround_test): Likewise.
32537         (modf_test): Likewise.
32538         (nearbyint_test): Likewise.
32539         (nextafter_test): Likewise.
32540         (nexttoward_test): Likewise.
32541         (pow_test): Likewise.
32542         (pow_test_tonearest): Likewise.
32543         (pow_test_towardzero): Likewise.
32544         (pow_test_downward): Likewise.
32545         (pow_test_upward): Likewise.
32546         (remainder_test): Likewise.
32547         (remainder_test_tonearest): Likewise.
32548         (remainder_test_towardzero): Likewise.
32549         (remainder_test_downward): Likewise.
32550         (remainder_test_upward): Likewise.
32551         (remquo_test): Likewise.
32552         (rint_test): Likewise.
32553         (rint_test_tonearest): Likewise.
32554         (rint_test_towardzero): Likewise.
32555         (rint_test_downward): Likewise.
32556         (rint_test_upward): Likewise.
32557         (round_test): Likewise.
32558         (scalb_test): Likewise.
32559         (scalbn_test): Likewise.
32560         (scalbln_test): Likewise.
32561         (signbit_test): Likewise.
32562         (sin_test): Likewise.
32563         (sin_test_tonearest): Likewise.
32564         (sin_test_towardzero): Likewise.
32565         (sin_test_downward): Likewise.
32566         (sin_test_upward): Likewise.
32567         (sincos_test): Likewise.
32568         (sinh_test): Likewise.
32569         (sinh_test_tonearest): Likewise.
32570         (sinh_test_towardzero): Likewise.
32571         (sinh_test_downward): Likewise.
32572         (sinh_test_upward): Likewise.
32573         (sqrt_test): Likewise.
32574         (tan_test): Likewise.
32575         (tan_test_tonearest): Likewise.
32576         (tan_test_towardzero): Likewise.
32577         (tan_test_downward): Likewise.
32578         (tan_test_upward): Likewise.
32579         (tanh_test): Likewise.
32580         (tgamma_test): Likewise.
32581         (trunc_test): Likewise.
32582         (y0_test): Likewise.
32583         (y1_test): Likewise.
32584         (yn_test): Likewise.
32585         (significand_test): Likewise.
32587 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32589         [BZ #15381]
32590         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32592 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32594         [BZ #14894]
32595         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32596         __ppc_mdoio and __ppc_mdoom.
32597         * manual/platform.texi: Document new functions __ppc_yield,
32598         __ppc_mdoio and __ppc_mdoom.
32600 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32602         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32603         (main): Mention "tls" pseudo-hwcap is legacy.
32604         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32606 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32608         * math/gen-libm-test.pl (parse_args): Output only string of
32609         arguments as text for test name, not full call or descriptions of
32610         tests for extra outputs.
32611         (generate_testfile): Do not pass function name to parse_args.
32612         Generate this_func variable from START.
32613         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32614         field to arg_str.
32615         (struct test_ff_f_data): Likewise.
32616         (test_ff_f_data_nexttoward): Likewise.
32617         (struct test_fi_f_data): Likewise.
32618         (struct test_fl_f_data): Likewise.
32619         (struct test_if_f_data): Likewise.
32620         (struct test_fff_f_data): Likewise.
32621         (struct test_c_f_data): Likewise.
32622         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32623         (struct test_fF_f1_data): Likewise.
32624         (struct test_ffI_f1_data): Likewise.
32625         (struct test_c_c_data): Rename test_name field to arg_str.
32626         (struct test_cc_c_data): Likewise.
32627         (struct test_f_i_data): Likewise.
32628         (struct test_ff_i_data): Likewise.
32629         (struct test_f_l_data): Likewise.
32630         (struct test_f_L_data): Likewise.
32631         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32632         and extra2_name.
32633         (COMMON_TEST_SETUP): New macro.
32634         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32635         (COMMON_TEST_CLEANUP): Likewise.
32636         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32637         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32638         macros.
32639         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32640         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32641         macros.
32642         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32643         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32644         cleanup macros.
32645         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32646         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32647         macros.
32648         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32649         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32650         macros.
32651         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32652         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32653         cleanup macros.
32654         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32655         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32656         cleanup macros.
32657         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32658         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32659         cleanup macros.
32660         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32661         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32662         macros.
32663         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32664         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32665         macros.
32666         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32667         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32668         macros.
32669         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32670         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32671         cleanup macros.
32672         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32673         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32674         cleanup macros.
32675         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32676         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32677         macros.
32678         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32679         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32680         cleanup macros.
32681         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32682         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32683         macros.
32684         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32685         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32686         macros.
32687         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32688         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32689         cleanup macros.
32690         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32692 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32694         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32695         to _sifields.sigfault.
32696         (si_addr_lsb): Define new macro.
32697         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32698         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32699         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32701 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32703         [BZ #15441]
32704         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32705         returns -1.
32706         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32707         null return -1.
32708         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32709         loading the domain.
32711 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32713         * math/gen-libm-test.pl (parse_args): Do not include expected
32714         result in test name.
32715         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32716         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32717         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32718         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32719         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32722 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32724         * benchtests/Makefile: Sort function entries.
32726         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32727         tanh, asinh, acosh, atanh.
32728         * benchtests/acos-inputs: New file.
32729         * benchtests/acosh-inputs: New file.
32730         * benchtests/asin-inputs: New file.
32731         * benchtests/asinh-inputs: New file.
32732         * benchtests/atanh-inputs: New file.
32733         * benchtests/cosh-inputs: New file.
32734         * benchtests/log-inputs: New file.
32735         * benchtests/sinh-inputs: New file.
32736         * benchtests/tanh-inputs: New file.
32738 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32740         [BZ #15339]
32741         * posix/tst-getaddrinfo4.c: New test.
32742         * posix/Makefile (tests): Add it.
32744 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32746         [BZ #15339]
32747         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32748         when no services were used.
32749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32750         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32752 2013-05-21  Andreas Schwab  <schwab@suse.de>
32754         [BZ #15014]
32755         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32756         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32757         successful.
32758         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32759         redundant variable declarations and reallocation of buffer when
32760         parsing as IPv6 address.  Always set NSS status when called from
32761         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32762         buffer too small.  Correct computation of needed size.
32763         * nss/Makefile (tests): Add test-digits-dots.
32764         * nss/test-digits-dots.c: New test.
32766 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32768         * benchtests/Makefile: Remove instructions for adding
32769         benchmark tests.
32770         * benchtests/README: New file to explain how to execute and
32771         enhance the benchmark tests.
32773 2013-05-21  Andreas Schwab  <schwab@suse.de>
32775         [BZ #15493]
32776         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32777         * setjmp/tst-sigsetjmp.c: New test.
32779 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32781         * sysdeps/x86_64/memset.S (memset): New implementation.
32782         (__bzero): Likewise.
32783         (__memset_tail): New function.
32785 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32787         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32788         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32789         __memcpy_sse2_unaligned ifunc selection.
32790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32791         Add memcpy-sse2-unaligned.S.
32792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32793         Add: __memcpy_sse2_unaligned.
32795 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32797         [BZ #15490]
32798         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32799         math_force_eval before restoring floating-point envrionment.
32800         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32801         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32802         Likewise.
32803         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32804         <math_private.h>.
32805         (__nearbyintl): Use math_force_eval before restoring
32806         floating-point environment.
32807         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32809         * math/gen-libm-test.pl (special_functions): Remove.
32810         (parse_args): Don't handle TEST_extra.  Handle functions with no
32811         return value.
32812         * math/libm-test.inc (struct test_sincos_data): Replace with
32813         struct test_fFF_11_data.
32814         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32815         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32816         (sincos_test_data): Change element type to struct
32817         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32818         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32819         RUN_TEST_LOOP_sincos.
32820         * math/README.libm-test: Don't mention special handling of
32821         individual functions.
32822         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32823         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32824         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32825         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32826         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32829         * math/gen-libm-test.pl (get_variable): Remove function.
32830         (parse_args): Don't show pointer parameters to call in test
32831         names.  Use "extra output N" in test names for extra outputs
32832         rather than naming variables.
32834 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32836         [BZ #15488]
32837         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32838         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32839         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32840         double tests.
32841         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32842         disable.
32843         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32844         check_long_double.
32846         * math/gen-libm-test.pl (@tests): Remove variable.
32847         ($count): Likewise.
32848         (new_test): Remove function.
32849         (show_exceptions): New function.
32850         (special_functions): Use show_exceptions instead of new_test.
32851         (parse_args): Likewise.
32852         (generate_testfile): Pass only function name in generated call to
32853         print_max_error or print_complex_max_error.
32854         (get_ulps): Do not handle complex tests specially.
32855         (output_test): Rename to ...
32856         (get_all_ulps_for_test): ... this.  Return a string rather than
32857         printing to a file.  Require ulps to be present.
32858         (output_ulps): Generate arrays rather than #defines.
32859         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32860         (struct ulp_data): New type.
32861         (BUILD_COMPLEX_ULP): Remove macro.
32862         (compare_ulp_data): New function.
32863         (find_ulps): Likewise.
32864         (find_test_ulps): Likewise.
32865         (find_function_ulps): Likewise.
32866         (find_complex_function_ulps): Likewise.
32867         (print_max_error): Determine allowed ulps using
32868         find_function_ulps.
32869         (print_complex_max_error): Determine allowed ulps using
32870         find_complex_function_ulps.
32871         (check_float_internal): Determine max ulps using find_test_ulps.
32872         (check_float): Do not take max_ulp parameter.  Update call to
32873         check_float_internal.
32874         (check_complex): Likewise.
32875         (check_int): Do not take max_ulp parameter.
32876         (check_long): Likewise.
32877         (check_bool): Likewise.
32878         (check_longlong): Likewise.
32879         (struct test_f_f_data): Remove max_ulp field.
32880         (struct test_ff_f_data): Likewise.
32881         (struct test_ff_f_data_nexttoward): Likewise.
32882         (struct test_fi_f_data): Likewise.
32883         (struct test_fl_f_data): Likewise.
32884         (struct test_if_f_data): Likewise.
32885         (struct test_fff_f_data): Likewise.
32886         (struct test_c_f_data): Likewise.
32887         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32888         (struct test_fF_f1_data): Likewise.
32889         (struct test_ffI_f1_data): Likewise.
32890         (struct test_c_c_data): Remove max_ulp field.
32891         (struct test_cc_c_data): Likewise.
32892         (struct test_f_i_data): Likewise.
32893         (struct test_ff_i_data): Likewise.
32894         (struct test_f_l_data): Likewise.
32895         (struct test_f_L_data): Likewise.
32896         (struct test_sincos_data): Likewise.
32897         (RUN_TEST_f_f): Do not handle ulps.
32898         (RUN_TEST_LOOP_f_f): Likewise.
32899         (RUN_TEST_2_f): Likewise.
32900         (RUN_TEST_LOOP_2_f): Likewise.
32901         (RUN_TEST_fff_f): Likewise.
32902         (RUN_TEST_LOOP_fff_f): Likewise.
32903         (RUN_TEST_c_f): Likewise.
32904         (RUN_TEST_LOOP_c_f): Likewise.
32905         (RUN_TEST_f_f1): Likewise.
32906         (RUN_TEST_LOOP_f_f1): Likewise.
32907         (RUN_TEST_fF_f1): Likewise.
32908         (RUN_TEST_LOOP_fF_f1): Likewise.
32909         (RUN_TEST_fI_f1): Likewise.
32910         (RUN_TEST_LOOP_fI_f1): Likewise.
32911         (RUN_TEST_ffI_f1): Likewise.
32912         (RUN_TEST_LOOP_ffI_f1): Likewise.
32913         (RUN_TEST_c_c): Likewise.
32914         (RUN_TEST_LOOP_c_c): Likewise.
32915         (RUN_TEST_cc_c): Likewise.
32916         (RUN_TEST_LOOP_cc_c): Likewise.
32917         (RUN_TEST_f_i): Likewise.
32918         (RUN_TEST_LOOP_f_i): Likewise.
32919         (RUN_TEST_f_i_tg): Likewise.
32920         (RUN_TEST_LOOP_f_i_tg): Likewise.
32921         (RUN_TEST_ff_i_tg): Likewise.
32922         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32923         (RUN_TEST_f_b): Likewise.
32924         (RUN_TEST_LOOP_f_b): Likewise.
32925         (RUN_TEST_f_b_tg): Likewise.
32926         (RUN_TEST_LOOP_f_b_tg): Likewise.
32927         (RUN_TEST_f_l): Likewise.
32928         (RUN_TEST_LOOP_f_l): Likewise.
32929         (RUN_TEST_f_L): Likewise.
32930         (RUN_TEST_LOOP_f_L): Likewise.
32931         (RUN_TEST_sincos): Likewise.
32932         (RUN_TEST_LOOP_sincos): Likewise.
32934 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32936         [BZ #15480]
32937         [BZ #15485]
32938         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32939         main case of finite arguments, set rounding mode to FE_TONEAREST
32940         and discard exceptions.
32941         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32942         exceptions.
32943         (remainder_tonearest_test_data): New variable.
32944         (remainder_test_tonearest): New function.
32945         (remainder_towardzero_test_data): New variable.
32946         (remainder_test_towardzero): New function.
32947         (remainder_downward_test_data): New variable.
32948         (remainder_test_downward): New function.
32949         (remainder_upward_test_data): New variable.
32950         (remainder_test_upward): New function.
32951         (main): Call the new test functions.
32953         * math/libm-test.inc (struct test_f_f1_data): Remove field
32954         extra_init.
32955         (struct test_fF_f1_data): Likewise.
32956         (struct test_ffI_f1_data): Likewise.
32957         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32958         based on value of EXTRA_EXPECTED.
32959         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32960         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32961         EXTRA_VAR based on value of EXTRA_EXPECTED.
32962         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32963         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32964         EXTRA_VAR based on value of EXTRA_EXPECTED.
32965         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32966         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32967         EXTRA_VAR based on value of EXTRA_EXPECTED.
32968         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32969         * math/gen-libm-test.pl (parse_args): Don't output initializers
32970         for extra output values.
32972         * math/libm-test.inc (check_int): Expect result to be exactly
32973         equal to expected value and do not handle ulps.
32974         (check_long): Likewise.
32975         (check_longlong): Likewise.
32977         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32978         exceptions.
32979         (cimag_test_data): Likewise.
32980         (conj_test_data): Likewise.
32981         (copysign_test_data): Likewise.
32982         (cproj_test_data): Likewise.
32983         (creal_test_data): Likewise.
32984         (fabs_test_data): Likewise.
32985         (fdim_test_data): Likewise.
32986         (finite_test_data): Likewise.
32987         (floor_test_data): Likewise.
32988         (fmax_test_data): Likewise.
32989         (fmin_test_data): Likewise.
32990         (fmod_test_data): Likewise.
32991         (fpclassify_test_data): Likewise.
32992         (frexp_test_data): Likewise.
32993         (ilogb_test_data): Likewise.
32994         (isfinite_test_data): Likewise.
32995         (isgreater_test_data): Likewise.
32996         (isgreaterequal_test_data): Likewise.
32997         (isinf_test_data): Likewise.
32998         (isless_test_data): Likewise.
32999         (islessequal_test_data): Likewise.
33000         (islessgreater_test_data): Likewise.
33001         (isnan_test_data): Likewise.
33002         (isnormal_test_data): Likewise.
33003         (issignaling_test_data): Likewise.
33004         (isunordered_test_data): Likewise.
33005         (ldexp_test_data): Likewise.
33006         (lrint_test_data): Likewise.
33007         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33008         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33009         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33010         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33011         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33012         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33013         test input.
33014         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33015         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33016         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33017         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33018         that test input.
33019         (lrint_downward_test_data): Test for "inexact" exceptions.
33020         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33021         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33022         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33023         test input.
33024         (lrint_upward_test_data): Test for "inexact" exceptions.
33025         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33026         test input.
33027         (llrint_test_data): Test for "inexact" exceptions.
33028         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33029         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33030         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33031         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33032         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33033         (llrint_downward_test_data): Test for "inexact" exceptions.
33034         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33035         (llrint_upward_test_data): Test for "inexact" exceptions.
33036         (logb_test_data): Likewise.
33037         (logb_downward_test_data): Likewise.
33038         (nextafter_test_data): Likewise.
33039         (nexttoward_test_data): Likewise.
33040         (remainder_test_data): Likewise.
33041         (remquo_test_data): Likewise.
33042         (scalbn_test_data): Likewise.
33043         (scalbln_test_data): Likewise.
33044         (signbit_test_data): Likewise.
33045         (sqrt_test_data): Likewise.
33046         (significand_test_data): Likewise.
33048 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33050         [BZ #15424]
33051         * benchtests/bench-modf.c (struct args): Mark arg0 as
33052         volatile.
33053         * scripts/bench.pl: Mark members of struct args as volatile.
33055 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33057         [BZ # 15497]
33058         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33059         negative infinity on POWER6 or lower.
33060         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33062 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33064         [BZ #15442]
33065         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33066         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33067         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33068         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33069         (_FP_SETQNAN): New macro.
33070         (_FP_SETQNAN_SEMIRAW): Likewise.
33071         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33072         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33073         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33074         (FP_EXTEND): Use _FP_FRAC_SNANP.
33075         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33076         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33077         into account.
33078         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33079         New macro.
33080         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33081         Likewise.
33083 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33085         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33086         with DIVIDE_BY_ZERO_EXCEPTION.
33087         (gamma_test_data): Likewise.
33088         (lgamma_test_data): Likewise.
33089         (log_test_data): Likewise.
33090         (log10_test_data): Likewise.
33091         (log2_test_data): Likewise.
33092         (tgamma_test_data): Likewise.
33094         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33095         (acos_test_tonearest): Likewise.
33096         (acos_test_towardzero): Likewise.
33097         (acos_test_downward): Likewise.
33098         (acos_test_upward): Likewise.
33099         (acosh_test): Likewise.
33100         (asin_test): Likewise.
33101         (asin_test_tonearest): Likewise.
33102         (asin_test_towardzero): Likewise.
33103         (asin_test_downward): Likewise.
33104         (asin_test_upward): Likewise.
33105         (asinh_test): Likewise.
33106         (atan_test): Likewise.
33107         (atanh_test): Likewise.
33108         (atan2_test): Likewise.
33109         (cabs_test): Likewise.
33110         (cacos_test): Likewise.
33111         (cacosh_test): Likewise.
33112         (casin_test): Likewise.
33113         (casinh_test): Likewise.
33114         (catan_test): Likewise.
33115         (catanh_test): Likewise.
33116         (cbrt_test): Likewise.
33117         (ccos_test): Likewise.
33118         (ccosh_test): Likewise.
33119         (cexp_test): Likewise.
33120         (clog_test): Likewise.
33121         (clog10_test): Likewise.
33122         (cos_test): Likewise.
33123         (cos_test_tonearest): Likewise.
33124         (cos_test_towardzero): Likewise.
33125         (cos_test_downward): Likewise.
33126         (cos_test_upward): Likewise.
33127         (cosh_test): Likewise.
33128         (cosh_test_tonearest): Likewise.
33129         (cosh_test_towardzero): Likewise.
33130         (cosh_test_downward): Likewise.
33131         (cosh_test_upward): Likewise.
33132         (cpow_test): Likewise.
33133         (csin_test): Likewise.
33134         (csinh_test): Likewise.
33135         (csqrt_test): Likewise.
33136         (ctan_test): Likewise.
33137         (ctan_test_tonearest): Likewise.
33138         (ctan_test_towardzero): Likewise.
33139         (ctan_test_downward): Likewise.
33140         (ctan_test_upward): Likewise.
33141         (ctanh_test): Likewise.
33142         (ctanh_test_tonearest): Likewise.
33143         (ctanh_test_towardzero): Likewise.
33144         (ctanh_test_downward): Likewise.
33145         (ctanh_test_upward): Likewise.
33146         (erf_test): Likewise.
33147         (erfc_test): Likewise.
33148         (exp_test): Likewise.
33149         (exp_test_tonearest): Likewise.
33150         (exp_test_towardzero): Likewise.
33151         (exp_test_downward): Likewise.
33152         (exp_test_upward): Likewise.
33153         (exp10_test): Likewise.
33154         (exp2_test): Likewise.
33155         (expm1_test): Likewise.
33156         (fmod_test): Likewise.
33157         (gamma_test): Likewise.
33158         (hypot_test): Likewise.
33159         (j0_test): Likewise.
33160         (j1_test): Likewise.
33161         (jn_test): Likewise.
33162         (lgamma_test): Likewise.
33163         (log_test): Likewise.
33164         (log10_test): Likewise.
33165         (log1p_test): Likewise.
33166         (log2_test): Likewise.
33167         (logb_test_downward): Likewise.
33168         (pow_test): Likewise.
33169         (pow_test_tonearest): Likewise.
33170         (pow_test_towardzero): Likewise.
33171         (pow_test_downward): Likewise.
33172         (pow_test_upward): Likewise.
33173         (remainder_test): Likewise.
33174         (remquo_test): Likewise.
33175         (sin_test): Likewise.
33176         (sin_test_tonearest): Likewise.
33177         (sin_test_towardzero): Likewise.
33178         (sin_test_downward): Likewise.
33179         (sin_test_upward): Likewise.
33180         (sincos_test): Likewise.
33181         (sinh_test): Likewise.
33182         (sinh_test_tonearest): Likewise.
33183         (sinh_test_towardzero): Likewise.
33184         (sinh_test_downward): Likewise.
33185         (sinh_test_upward): Likewise.
33186         (sqrt_test): Likewise.
33187         (tan_test): Likewise.
33188         (tan_test_tonearest): Likewise.
33189         (tan_test_towardzero): Likewise.
33190         (tan_test_downward): Likewise.
33191         (tan_test_upward): Likewise.
33192         (tanh_test): Likewise.
33193         (tgamma_test): Likewise.
33194         (y0_test): Likewise.
33195         (y1_test): Likewise.
33196         (yn_test): Likewise.
33198         * math/gen-libm-test.pl (adjust_arg): Remove function.
33199         (special_function): Remove argument $in_func.  Only handle
33200         generating output for tables of tests, not inside functions.
33201         (parse_args): Likewise.
33202         (generate_testfile): Remove variable $in_func.  Update call to
33203         parse_args.
33204         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33205         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33206         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33207         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33208         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33209         (MAX_VALUE_INIT): Rename macro to max_value.
33210         (MIN_VALUE_INIT): Rename macro to min_value.
33211         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33212         (plus_zero): Remove variable.
33213         (minus_zero): Likewise.
33214         (plus_infty): Likewise.
33215         (minus_infty): Likewise.
33216         (qnan_value): Likewise.
33217         (max_value): Likewise.
33218         (min_value): Likewise.
33219         (min_subnorm_value): Likewise.
33221 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33223         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33224         uint64_t or uint32_t usage.
33225         * crypt/sha256-block.c: Likewise.
33226         * crypt/sha256-crypt.c: Likewise.
33227         * crypt/sha256.c: Likewise.
33228         * crypt/sha512-block.c: Likewise.
33229         * crypt/sha512-crypt.c: Likewise.
33230         * crypt/sha512.c: Likewise.
33231         * debug/backtrace-tst.c: Likewise.
33232         * debug/pcprofiledump.c: Likewise.
33233         * elf/cache.c: Likewise.
33234         * elf/dl-cache.c: Likewise.
33235         * elf/dl-misc.c: Likewise.
33236         * elf/dl-profile.c: Likewise.
33237         * elf/dl-support.c: Likewise.
33238         * elf/ldconfig.c: Likewise.
33239         * elf/sprof.c: Likewise.
33240         * iconv/dummy-repertoire.c: Likewise.
33241         * iconv/iconv_charmap.c: Likewise.
33242         * iconv/skeleton.c: Likewise.
33243         * iconvdata/8bit-generic.c: Likewise.
33244         * iconvdata/cp737.h: Likewise.
33245         * iconvdata/cp775.h: Likewise.
33246         * iconvdata/ibm1008.h: Likewise.
33247         * iconvdata/ibm1025.h: Likewise.
33248         * iconvdata/ibm1046.h: Likewise.
33249         * iconvdata/ibm1097.h: Likewise.
33250         * iconvdata/ibm1112.h: Likewise.
33251         * iconvdata/ibm1122.h: Likewise.
33252         * iconvdata/ibm1123.h: Likewise.
33253         * iconvdata/ibm1124.h: Likewise.
33254         * iconvdata/ibm1129.h: Likewise.
33255         * iconvdata/ibm1130.h: Likewise.
33256         * iconvdata/ibm1132.h: Likewise.
33257         * iconvdata/ibm1133.h: Likewise.
33258         * iconvdata/ibm1137.h: Likewise.
33259         * iconvdata/ibm1140.h: Likewise.
33260         * iconvdata/ibm1141.h: Likewise.
33261         * iconvdata/ibm1142.h: Likewise.
33262         * iconvdata/ibm1143.h: Likewise.
33263         * iconvdata/ibm1144.h: Likewise.
33264         * iconvdata/ibm1145.h: Likewise.
33265         * iconvdata/ibm1146.h: Likewise.
33266         * iconvdata/ibm1147.h: Likewise.
33267         * iconvdata/ibm1148.h: Likewise.
33268         * iconvdata/ibm1149.h: Likewise.
33269         * iconvdata/ibm1153.h: Likewise.
33270         * iconvdata/ibm1154.h: Likewise.
33271         * iconvdata/ibm1155.h: Likewise.
33272         * iconvdata/ibm1156.h: Likewise.
33273         * iconvdata/ibm1157.h: Likewise.
33274         * iconvdata/ibm1158.h: Likewise.
33275         * iconvdata/ibm1160.h: Likewise.
33276         * iconvdata/ibm1161.h: Likewise.
33277         * iconvdata/ibm1162.h: Likewise.
33278         * iconvdata/ibm1163.h: Likewise.
33279         * iconvdata/ibm1164.h: Likewise.
33280         * iconvdata/ibm1166.h: Likewise.
33281         * iconvdata/ibm1167.h: Likewise.
33282         * iconvdata/ibm12712.h: Likewise.
33283         * iconvdata/ibm1390.h: Likewise.
33284         * iconvdata/ibm1399.h: Likewise.
33285         * iconvdata/ibm16804.h: Likewise.
33286         * iconvdata/ibm4517.h: Likewise.
33287         * iconvdata/ibm4899.h: Likewise.
33288         * iconvdata/ibm4909.h: Likewise.
33289         * iconvdata/ibm4971.h: Likewise.
33290         * iconvdata/ibm5347.h: Likewise.
33291         * iconvdata/ibm803.h: Likewise.
33292         * iconvdata/ibm856.h: Likewise.
33293         * iconvdata/ibm901.h: Likewise.
33294         * iconvdata/ibm902.h: Likewise.
33295         * iconvdata/ibm9030.h: Likewise.
33296         * iconvdata/ibm9066.h: Likewise.
33297         * iconvdata/ibm921.h: Likewise.
33298         * iconvdata/ibm922.h: Likewise.
33299         * iconvdata/ibm9448.h: Likewise.
33300         * iconvdata/isiri-3342.h: Likewise.
33301         * iconvdata/jis0201.h: Likewise.
33302         * include/link.h: Likewise.
33303         * include/netdb.h: Likewise.
33304         * inet/check_native.c: Likewise.
33305         * inet/check_pf.c: Likewise.
33306         * inet/getipv4sourcefilter.c: Likewise.
33307         * inet/getnameinfo.c: Likewise.
33308         * inet/getsourcefilter.c: Likewise.
33309         * inet/htonl.c: Likewise.
33310         * inet/setipv4sourcefilter.c: Likewise.
33311         * inet/setsourcefilter.c: Likewise.
33312         * inet/test-inet6_opt.c: Likewise.
33313         * inet/tst-network.c: Likewise.
33314         * locale/C-collate.c: Likewise.
33315         * locale/C-ctype.c: Likewise.
33316         * locale/C-time.c: Likewise.
33317         * locale/C-translit.h: Likewise.
33318         * locale/loadarchive.c: Likewise.
33319         * locale/programs/3level.h: Likewise.
33320         * locale/programs/charmap.c: Likewise.
33321         * locale/programs/charmap.h: Likewise.
33322         * locale/programs/ld-address.c: Likewise.
33323         * locale/programs/ld-collate.c: Likewise.
33324         * locale/programs/ld-ctype.c: Likewise.
33325         * locale/programs/ld-identification.c: Likewise.
33326         * locale/programs/ld-measurement.c: Likewise.
33327         * locale/programs/ld-messages.c: Likewise.
33328         * locale/programs/ld-monetary.c: Likewise.
33329         * locale/programs/ld-name.c: Likewise.
33330         * locale/programs/ld-numeric.c: Likewise.
33331         * locale/programs/ld-paper.c: Likewise.
33332         * locale/programs/ld-telephone.c: Likewise.
33333         * locale/programs/ld-time.c: Likewise.
33334         * locale/programs/linereader.c: Likewise.
33335         * locale/programs/locale.c: Likewise.
33336         * locale/programs/locarchive.c: Likewise.
33337         * locale/programs/locfile.h: Likewise.
33338         * locale/programs/repertoire.c: Likewise.
33339         * locale/programs/simple-hash.c: Likewise.
33340         * locale/programs/simple-hash.h: Likewise.
33341         * malloc/memusage.c: Likewise.
33342         * malloc/memusagestat.c: Likewise.
33343         * nis/nis_defaults.c: Likewise.
33344         * nis/nis_hash.c: Likewise.
33345         * nis/nis_print.c: Likewise.
33346         * nis/nis_xdr.c: Likewise.
33347         * nscd/connections.c: Likewise.
33348         * nscd/hstcache.c: Likewise.
33349         * nscd/nscd_gethst_r.c: Likewise.
33350         * nscd/nscd_getserv_r.c: Likewise.
33351         * nscd/nscd_helper.c: Likewise.
33352         * nscd/servicescache.c: Likewise.
33353         * nss/makedb.c: Likewise.
33354         * nss/nss_db/db-XXX.c: Likewise.
33355         * nss/nss_db/db-initgroups.c: Likewise.
33356         * nss/nss_db/db-netgrp.c: Likewise.
33357         * nss/nss_files/files-network.c: Likewise.
33358         * nss/nss_files/files-parse.c: Likewise.
33359         * posix/bug-regex5.c: Likewise.
33360         * posix/fnmatch_loop.c: Likewise.
33361         * posix/regcomp.c: Likewise.
33362         * posix/regexec.c: Likewise.
33363         * posix/tst-rfc3484-2.c: Likewise.
33364         * posix/tst-rfc3484-3.c: Likewise.
33365         * posix/tst-rfc3484.c: Likewise.
33366         * resolv/nss_dns/dns-canon.c: Likewise.
33367         * resolv/nss_dns/dns-network.c: Likewise.
33368         * resolv/res_init.c: Likewise.
33369         * resolv/res_mkquery.c: Likewise.
33370         * resolv/tst-aton.c: Likewise.
33371         * stdlib/cxa_atexit.c: Likewise.
33372         * stdlib/cxa_finalize.c: Likewise.
33373         * stdlib/gen-fpioconst.c: Likewise.
33374         * stdlib/strtol_l.c: Likewise.
33375         * string/tst-endian.c: Likewise.
33376         * sunrpc/auth_des.c: Likewise.
33377         * sunrpc/clnt_udp.c: Likewise.
33378         * sunrpc/rtime.c: Likewise.
33379         * sunrpc/svcauth_des.c: Likewise.
33380         * sunrpc/xdr.c: Likewise.
33381         * sunrpc/xdr_intXX_t.c: Likewise.
33382         * sunrpc/xdr_rec.c: Likewise.
33383         * sysdeps/generic/ldconfig.h: Likewise.
33384         * sysdeps/generic/ldsodefs.h: Likewise.
33385         * sysdeps/generic/memusage.h: Likewise.
33386         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33387         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33388         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33389         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33390         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33391         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33392         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33393         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33394         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33396         * sysdeps/posix/getaddrinfo.c: Likewise.
33397         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33398         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33399         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33400         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33401         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33402         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33403         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33404         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33405         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33406         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33407         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33408         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33409         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33410         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33411         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33412         * sysdeps/x86_64/dl-tls.h: Likewise.
33413         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33414         * time/alt_digit.c: Likewise.
33415         * time/era.c: Likewise.
33416         * wcsmbs/tst-c16c32-1.c: Likewise.
33418 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33420         * math/libm-test.inc (struct test_sincos_data): New type.
33421         (RUN_TEST_LOOP_sincos): New macro.
33422         (sincos_test_data): New variable.
33423         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33425 2013-05-16  Richard Henderson  <rth@redhat.com>
33427         * math/atest-exp2.c (LIMB64): New macro.
33428         (CONSTSZ): New macro.
33429         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33430         (hexdig): Move ...
33431         (print_mpn_fp): ... to function scope.
33432         (read_mpn_hex): Remove.
33433         (get_log2): Remove.
33434         (exp2_mpn): Use mp_log2.
33435         (main): Use mp_exp1.
33437 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33439         * math/libm-test.inc: Remove comment about not testing "inexact"
33440         exceptions.
33441         (INEXACT_EXCEPTION): New macro.
33442         (NO_INEXACT_EXCEPTION): Likewise.
33443         (INVALID_EXCEPTION_OK): Update value.
33444         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33445         (OVERFLOW_EXCEPTION_OK): Likewise.
33446         (UNDERFLOW_EXCEPTION_OK): Likewise.
33447         (IGNORE_ZERO_INF_SIGN): Likewise.
33448         (ERRNO_UNCHANGED): Likewise.
33449         (ERRNO_EDOM): Likewise.
33450         (ERRNO_ERANGE): Likewise.
33451         (test_exceptions): Handle testing "inexact" exceptions.
33452         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33453         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33454         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33455         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33456         INEXACT_EXCEPTION.
33457         (rint_towardzero_test_data): Likewise.
33458         (rint_downward_test_data): Likewise.
33459         (rint_upward_test_data): Likewise.
33461         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33462         with OVERFLOW_EXCEPTION.
33463         (exp10_test_data): Likewise.
33464         (exp2_test_data): Likewise.
33465         (expm1_test_data): Likewise.
33466         (lgamma_test_data): Likewise.
33467         (pow_test_data): Likewise.
33468         (tgamma_test_data): Likewise.
33469         (yn_test_data): Remove duplicate test of overflow.
33471         * math/libm-test.inc (struct test_cc_c_data): New type.
33472         (RUN_TEST_LOOP_cc_c): New macro.
33473         (cpow_test_data): New variable.
33474         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33476         * math/libm-test.inc (struct test_f_L_data): New type.
33477         (RUN_TEST_LOOP_f_L): New macro.
33478         (llrint_test_data): New variable.
33479         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33480         (llrint_tonearest_test_data): New variable.
33481         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33482         (llrint_towardzero_test_data): New variable.
33483         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33484         (llrint_downward_test_data): New variable.
33485         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33486         (llrint_upward_test_data): New variable.
33487         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33488         (llround_test_data): New variable.
33489         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33491 2013-05-13  Peter Collingbourne  <pcc@google.com>
33493         * math/atest-exp2.c (get_log2): Remove const attribute.
33495 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33497         * math/libm-test.inc (struct test_f_l_data): New type.
33498         (RUN_TEST_LOOP_f_l): New macro.
33499         (lrint_test_data): New variable.
33500         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33501         (lrint_tonearest_test_data): New variable.
33502         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33503         (lrint_towardzero_test_data): New variable.
33504         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33505         (lrint_downward_test_data): New variable.
33506         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33507         (lrint_upward_test_data): New variable.
33508         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33509         (lround_test_data): New variable.
33510         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33512 2013-05-15  Peter Collingbourne  <pcc@google.com>
33514         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33515         (EXTRACT_WORDS64) Use where appropriate.
33516         (INSERT_WORDS64) Likewise.
33518         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33519         constraints with x constraints.
33520         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33522         * malloc/obstack.c (_obstack_compat): Add initializer.
33524 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33526         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33527         si_trapno and add si_addr_lsb to _sifields.sigfault.
33528         (si_trapno): Remove macro.
33529         (si_addr_lsb): Define new macro.
33530         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33532 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33534         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33535         instead of TEST_f_l.
33536         (llrint_test_tonearest): Likewise.
33537         (llrint_test_towardzero): Likewise.
33538         (llrint_test_downward): Likewise.
33539         (llrint_test_upward): Likewise.
33540         (llround_test): Likewise.
33542         * math/libm-test.inc (struct test_f_i_data): Add comment.
33543         (RUN_TEST_LOOP_f_b): New macro.
33544         (RUN_TEST_LOOP_f_b_tg): Likewise.
33545         (finite_test_data): New variable.
33546         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33547         (isfinite_test_data): New variable.
33548         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33549         (isinf_test_data): New variable.
33550         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33551         (isnan_test_data): New variable.
33552         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33553         (isnormal_test_data): New variable.
33554         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33555         (issignaling_test_data): New variable.
33556         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33557         (signbit_test_data): New variable.
33558         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33560         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33561         with INVALID_EXCEPTION.
33562         (acosh_test_data): Likewise.
33563         (asin_test_data): Likewise.
33564         (atanh_test_data): Likewise.
33565         (fmod_test_data): Likewise.
33566         (log_test_data): Likewise.
33567         (log10_test_data): Likewise.
33568         (log2_test_data): Likewise.
33569         (pow_test_data): Likewise.
33570         (sqrt_test_data): Likewise.
33571         (y0_test_data): Likewise.
33572         (y1_test_data): Likewise.
33573         (yn_test_data): Likewise.
33575         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33576         function contents.
33578         * math/libm-test.inc (struct test_ff_i_data): New type.
33579         (RUN_TEST_LOOP_ff_i_tg): New macro.
33580         (isgreater_test_data): New variable.
33581         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33582         (isgreaterequal_test_data): New variable.
33583         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33584         (isless_test_data): New variable.
33585         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33586         (islessequal_test_data): New variable.
33587         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33588         (islessgreater_test_data): New variable.
33589         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33590         (isunordered_test_data): New variable.
33591         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33593 2013-05-14  David S. Miller  <davem@davemloft.net>
33595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33597 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33599         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33601         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33602         extra_test to int.
33603         (struct test_f_i_data): Change type of max_ulp to int.
33605         * math/libm-test.inc (test_ffI_f1_data): New type.
33606         (RUN_TEST_LOOP_ffI_f1): New macro.
33607         (remquo_test_data): New variable.
33608         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33610         * setjmp/tst-setjmp-fp.c: New file.
33611         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33612         (link-libm): New variable.
33613         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33615         * math/libm-test.inc (struct test_f_i_data): New type.
33616         (RUN_TEST_LOOP_f_i): New macro.
33617         (RUN_TEST_LOOP_f_i_tg): Likewise.
33618         (fpclassify_test_data): New variable.
33619         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33620         (ilogb_test_data): New variable.
33621         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33623         * math/libm-test.inc (scalbln_test): Correct function name in END
33624         call.
33626         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33627         (RUN_TEST_LOOP_fI_f1): New macro.
33628         (frexp_test_data): New variable.
33629         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33631         * math/libm-test.inc (struct test_fF_f1_data): New type.
33632         (RUN_TEST_LOOP_fF_f1): New macro.
33633         (modf_test_data): New variable.
33634         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33636         * math/libm-test.inc (struct test_f_f1_data): New type.
33637         (RUN_TEST_LOOP_f_f1): New macro.
33638         (gamma_test_data): New variable.
33639         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33640         (lgamma_test_data): New variable.
33641         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33643 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33645         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33646         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33647         (main): Comment "tls" pseudo-hwcap.
33649 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33651         * math/libm-test.inc (struct test_fl_f_data): New type.
33652         (RUN_TEST_LOOP_fl_f): New variable.
33653         (scalbln_test_data): New variable.
33654         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33656         * math/libm-test.inc (struct test_fi_f_data): New type.
33657         (RUN_TEST_LOOP_fi_f): New macro.
33658         (ldexp_test_data): New variable.
33659         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33660         (scalbn_test_data): New variable.
33661         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33663         * math/libm-test.inc (struct test_c_f_data): New type.
33664         (RUN_TEST_LOOP_c_f): New macro.
33665         (cabs_test_data): New variable.
33666         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33667         (carg_test_data): New variable.
33668         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33669         (cimag_test_data): New variable.
33670         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33671         (creal_test_data): New variable.
33672         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33674         * math/libm-test.inc (struct test_if_f_data): New type.
33675         (RUN_TEST_LOOP_if_f): New macro.
33676         (jn_test_data): New variable.
33677         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33678         (yn_test_data): New variable.
33679         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33681         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33683 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33685         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33686         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33688 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33690         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33691         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33692         (bench-deps): Add bench-timing.h.
33693         * benchtests-bench-skeleton.c: Include bench-timing.h.
33694         (main): Use TIMING_* macros instead of clock_gettime.
33695         * benchtests/bench-timing.h: New file.
33697         [BZ #14582]
33698         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33699         Renamed from _LIB_VERSION.
33700         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33702 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33704         * math/libm-test.inc (struct test_fff_f_data): New type.
33705         (RUN_TEST_LOOP_fff_f): New macro.
33706         (fma_test_data): New variable.
33707         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33708         (fma_towardzero_test_data): New variable.
33709         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33710         (fma_downward_test_data): New variable.
33711         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33712         (fma_upward_test_data): New variable.
33713         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33715         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33716         (struct test_c_c_data): New type.
33717         (RUN_TEST_LOOP_c_c): New macro.
33718         (cacos_test_data): New variable.
33719         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33720         (cacosh_test_data): New variable.
33721         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33722         (casin_test_data): New variable.
33723         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33724         (casinh_test_data): New variable.
33725         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33726         (catan_test_data): New variable.
33727         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33728         (catanh_test_data): New variable.
33729         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33730         (ccos_test_data): New variable.
33731         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33732         (ccosh_test_data): New variable.
33733         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33734         (cexp_test_data): New variable.
33735         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33736         (clog_test_data): New variable.
33737         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33738         (clog10_test_data): New variable.
33739         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33740         (conj_test_data): New variable.
33741         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33742         (cproj_test_data): New variable.
33743         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33744         (csin_test_data): New variable.
33745         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33746         (csinh_test_data): New variable.
33747         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33748         (csqrt_test_data): New variable.
33749         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33750         (ctan_test_data): New variable.
33751         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33752         (ctan_tonearest_test_data): New variable.
33753         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33754         (ctan_towardzero_test_data): New variable.
33755         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33756         (ctan_downward_test_data): New variable.
33757         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33758         (ctan_upward_test_data): New variable.
33759         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33760         (ctanh_test_data): New variable.
33761         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33762         (ctanh_tonearest_test_data): New variable.
33763         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33764         (ctanh_towardzero_test_data): New variable.
33765         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33766         (ctanh_downward_test_data): New variable.
33767         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33768         (ctanh_upward_test_data): New variable.
33769         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33770         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33771         of BUILD_COMPLEX.
33773         * math/libm-test.inc (struct test_ff_f_data): New type.
33774         (struct test_ff_f_data_nexttoward): Likewise.
33775         (RUN_TEST_LOOP_2_f): New macro.
33776         (RUN_TEST_LOOP_ff_f): Likewise.
33777         (atan2_test_data): New variable.
33778         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33779         (copysign_test_data): New variable.
33780         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33781         (fdim_test_data): New variable.
33782         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33783         (fmax_test_data): New variable.
33784         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33785         (fmin_test_data): New variable.
33786         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33787         (fmod_test_data): New variable.
33788         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33789         (hypot_test_data): New variable.
33790         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33791         (nextafter_test_data): New variable.
33792         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33793         (nexttoward_test_data): New variable.
33794         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33795         (pow_test_data): New variable.
33796         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33797         (pow_tonearest_test_data): New variable.
33798         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33799         (pow_towardzero_test_data): New variable.
33800         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33801         (pow_downward_test_data): New variable.
33802         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33803         (pow_upward_test_data): New variable.
33804         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33805         (remainder_test_data): New variable.
33806         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33807         (scalb_test_data): New variable.
33808         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33809         * sysdeps/i386/fpu/libm-test-ulps: Update.
33811 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33813         * math/libm-test.inc (fma_test): Use max_value instead of local
33814         variable fltmax.
33815         (nextafter_test): Likewise.
33817         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33818         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33819         (acos_downward_test_data): New variable.
33820         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33821         (acos_upward_test_data): New variable.
33822         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33823         (acosh_test_data): New variable.
33824         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33825         (asin_test_data): New variable.
33826         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33827         (asin_tonearest_test_data): New variable.
33828         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33829         (asin_towardzero_test_data): New variable.
33830         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33831         (asin_downward_test_data): New variable.
33832         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33833         (asin_upward_test_data): New variable.
33834         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33835         (asinh_test_data): New variable.
33836         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33837         (atan_test_data): New variable.
33838         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33839         (atanh_test_data): New variable.
33840         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33841         (cbrt_test_data): New variable.
33842         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33843         (ceil_test_data): New variable.
33844         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33845         (cos_test_data): New variable.
33846         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33847         (cos_tonearest_test_data): New variable.
33848         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33849         (cos_towardzero_test_data): New variable.
33850         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33851         (cos_downward_test_data): New variable.
33852         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33853         (cos_upward_test_data): New variable.
33854         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33855         (cosh_test_data): New variable.
33856         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33857         (cosh_tonearest_test_data): New variable.
33858         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33859         (cosh_towardzero_test_data): New variable.
33860         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33861         (cosh_downward_test_data): New variable.
33862         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33863         (cosh_upward_test_data): New variable.
33864         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33865         (erf_test_data): New variable.
33866         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33867         (erfc_test_data): New variable.
33868         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33869         (exp_test_data): New variable.
33870         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33871         (exp_tonearest_test_data): New variable.
33872         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33873         (exp_towardzero_test_data): New variable.
33874         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33875         (exp_downward_test_data): New variable.
33876         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33877         (exp_upward_test_data): New variable.
33878         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33879         (exp10_test_data): New variable.
33880         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33881         (exp2_test_data): New variable.
33882         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33883         (expm1_test_data): New variable.
33884         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33885         (fabs_test_data): New variable.
33886         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33887         (floor_test_data): New variable.
33888         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33889         (j0_test_data): New variable.
33890         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33891         (j1_test_data): New variable.
33892         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33893         (log_test_data): New variable.
33894         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33895         (log10_test_data): New variable.
33896         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33897         (log1p_test_data): New variable.
33898         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33899         (log2_test_data): New variable.
33900         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33901         (logb_test_data): New variable.
33902         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33903         (logb_downward_test_data): New variable.
33904         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33905         (nearbyint_test_data): New variable.
33906         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33907         (rint_test_data): New variable.
33908         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33909         (rint_tonearest_test_data): New variable.
33910         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33911         (rint_towardzero_test_data): New variable.
33912         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33913         (rint_downward_test_data): New variable.
33914         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33915         (rint_upward_test_data): New variable.
33916         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33917         (round_test_data): New variable.
33918         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33919         (sin_test_data): New variable.
33920         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33921         (sin_tonearest_test_data): New variable.
33922         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33923         (sin_towardzero_test_data): New variable.
33924         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33925         (sin_downward_test_data): New variable.
33926         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33927         (sin_upward_test_data): New variable.
33928         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33929         (sinh_test_data): New variable.
33930         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33931         (sinh_tonearest_test_data): New variable.
33932         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33933         (sinh_towardzero_test_data): New variable.
33934         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33935         (sinh_downward_test_data): New variable.
33936         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33937         (sinh_upward_test_data): New variable.
33938         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33939         (sqrt_test_data): New variable.
33940         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33941         (tan_test_data): New variable.
33942         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33943         (tan_tonearest_test_data): New variable.
33944         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33945         (tan_towardzero_test_data): New variable.
33946         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33947         (tan_downward_test_data): New variable.
33948         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33949         (tan_upward_test_data): New variable.
33950         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33951         (tanh_test_data): New variable.
33952         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33953         (tgamma_test_data): New variable.
33954         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33955         (trunc_test_data): New variable.
33956         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33957         (y0_test_data): New variable.
33958         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33959         (y1_test_data): New variable.
33960         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33961         (significand_test_data): New variable.
33962         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33964 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33966         [BZ #12387]
33967         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33969 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33971         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33973 2013-05-10  Andreas Jaeger  <aj@suse.de>
33975         [BZ #15448]
33976         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33977         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33979 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33981         * math/gen-libm-test.pl (adjust_arg): New function.
33982         (special_functions): Handle generating output in both functions
33983         and arrays.
33984         (parse_args): Likewise.
33985         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33986         $in_func argument to parse_args.
33987         * math/libm-test.inc (struct test_f_f_data): New type.
33988         (IF_ROUND_INIT_): New macro.
33989         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33990         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33991         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33992         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33993         (ROUND_RESTORE_): Likewise.
33994         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33995         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33996         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33997         (ROUND_RESTORE_FE_UPWARD): Likewise.
33998         (RUN_TEST_LOOP_f_f): New macro.
33999         (acos_test_data): New variable.
34000         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34001         (acos_tonearest_test_data): New variable.
34002         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34004 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34006         * benchtests/bench-skeleton.c (startup): Fix coding style.
34008 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34010         [BZ #6809]
34011         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34012         negative infinity argument.
34013         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34014         negative infinity argument.
34015         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34016         negative infinity argument.
34017         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34018         domain errors.
34020 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34022         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34023         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34024         * iconv/iconv_prog.c (main): Likewise.
34025         * locale/programs/charmap-dir.c (charmap_readdir)
34026         (fopen_uncompressed): Likewise.
34027         * locale/programs/locfile.c (siblings_uncached)
34028         (write_locale_data): Use lstat64 instead of lstat.
34029         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34030         stat.
34032 2013-05-10  Andreas Jaeger  <aj@suse.de>
34034         [BZ #15395]
34035         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34036         localization.
34037         Include <locale.h>.
34039 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34041         * elf/dl-close.c (_dl_close_worker): Add comments.
34043 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34045         [BZ #15359]
34046         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34047         high part of pi/2.
34048         (__ieee754_rem_pio2l): Update comments.
34050         [BZ #15429]
34051         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34052         high part of pi/2.
34053         (__ieee754_rem_pio2l): Update comments.
34055         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34056         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34058         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34059         M_PI_4l.
34061         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34062         (M_PI_34_LOG10El): Likewise.
34063         (M_PI2_LOG10El): Likewise.
34064         (M_PI4_LOG10El): Likewise.
34065         (M_PI_LOG10El): Likewise.
34067 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34071 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34073         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34074         (MINUS_ZERO_INIT): Likewise.
34075         (PLUS_INFTY_INIT): Likewise.
34076         (MINUS_INFTY_INIT): Likewise.
34077         (QNAN_VALUE_INIT): Likewise.
34078         (MAX_VALUE_INIT): Likewise.
34079         (MIN_VALUE_INIT): Likewise.
34080         (MIN_SUBNORM_VALUE_INIT): Likewise.
34081         (plus_zero): Initialize with PLUS_ZERO_INIT.
34082         (minus_zero): Initialize with MINUS_ZERO_INIT.
34083         (plus_infty): Initialize with PLUS_INFTY_INIT.
34084         (minus_infty): Initialize with MINUS_INFTY_INIT.
34085         (qnan_value): Initialize with QNAN_VALUE_INIT.
34086         (max_value): Initialize with MAX_VALUE_INIT.
34087         (min_value): Initialize with MIN_VALUE_INIT.
34088         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34090         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34091         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34092         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34093         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34095         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34096         (RUN_TEST_2_f): Likewise.
34097         (RUN_TEST_ff_f): Likewise.
34098         (RUN_TEST_fi_f): Likewise.
34099         (RUN_TEST_fl_f): Likewise.
34100         (RUN_TEST_fff_f): Likewise.
34101         (RUN_TEST_c_f): Likewise.
34102         (RUN_TEST_f_f1): Likewise.
34103         (RUN_TEST_fF_f1): Likewise.
34104         (RUN_TEST_fI_f1): Likewise.
34105         (RUN_TEST_ffI_f1): Likewise.
34106         (RUN_TEST_c_c): Likewise.
34107         (RUN_TEST_cc_c): Likewise.
34108         (RUN_TEST_f_i): Likewise.
34109         (RUN_TEST_f_i_tg): Likewise.
34110         (RUN_TEST_ff_i_tg): Likewise.
34111         (RUN_TEST_f_b): Likewise.
34112         (RUN_TEST_f_b_tg): Likewise.
34113         (RUN_TEST_f_l): Likewise.
34114         (RUN_TEST_f_L): Likewise.
34115         (RUN_TEST_sincos): Likewise.
34116         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34117         whether to show exceptions.  Do not include ");\n" in return
34118         value.
34119         (special_functions): Output call to RUN_TEST_sincos instead of
34120         check_float calls.  Update calls to new_test.
34121         (parse_args): Output call to single RUN_TEST_* macro instead of
34122         check_* calls and other assignments.  Update calls to new_test.
34124         [BZ #2546]
34125         [BZ #2560]
34126         [BZ #5159]
34127         [BZ #15426]
34128         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34129         input to result for tgamma overflow.
34130         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34131         (gamma_coeff): New variable.
34132         (NCOEFF): New macro.
34133         (gamma_positive): New function.
34134         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34135         underflow here.  Use gamma_positive instead of exp (lgamma) for
34136         other arguments.
34137         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34138         (gamma_coeff): New variable.
34139         (NCOEFF): New macro.
34140         (gammaf_positive): New function.
34141         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34142         underflow here.  Use gamma_positive instead of exp (lgamma) for
34143         other arguments.
34144         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34145         (gamma_coeff): New variable.
34146         (NCOEFF): New macro.
34147         (gammal_positive): New function.
34148         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34149         underflow here.  Use gamma_positive instead of exp (lgamma) for
34150         other arguments.
34151         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34152         (gamma_coeff): New variable.
34153         (NCOEFF): New macro.
34154         (gammal_positive): New function.
34155         (__ieee754_gammal_r): Handle positive infinity, overflow and
34156         underflow here.  Handle NaN the same as positive infinity.  Remove
34157         check x < 0xffffffff for negative integers.  Use gamma_positive
34158         instead of exp (lgamma) for other arguments.
34159         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34160         (gamma_coeff): New variable.
34161         (NCOEFF): New macro.
34162         (gammal_positive): New function.
34163         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34164         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34165         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34166         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34167         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34168         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34169         * sysdeps/generic/math_private.h (__gamma_productf): New
34170         prototype.
34171         (__gamma_product): Likewise.
34172         (__gamma_productl): Likewise.
34173         * math/Makefile (libm-calls): Add gamma_product.
34174         * math/libm-test.inc (tgamma_test): Add more tests.
34175         * sysdeps/i386/fpu/libm-test-ulps: Update.
34176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34178 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34180         * benchtests/bench-skeleton.c (main): Preheat CPU.
34182 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34184         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34186 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34188         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34189         and _dl_skip_args_internal.
34191 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34193         * manual/message.texi (Message Translation): Talk about users.
34194         Message to key mapping impacts design.
34196 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34198         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34200         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34202         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34203         * sysdeps/wordsize-64/glob64.c: ... here.
34205         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34206         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34207         New macros.
34209         * debug/getlogin_r_chk.c: Moved to ...
34210         * login/getlogin_r_chk.c: ... here.
34211         * debug/Makefile (routines): Move getlogin_r_chk to ...
34212         * login/Makefile (routines): ... here.
34213         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34214         * login/Versions (libc: GLIBC_2.4): ... here.
34216         * io/poll.c (__poll): Renamed from poll.
34217         Add libc_hidden_def.
34218         (poll): Define as weak alias.
34220         * debug/ptsname_r_chk.c: Moved to ...
34221         * login/ptsname_r_chk.c: ... here.
34222         * debug/Makefile (routines): Move ptsname_r_chk to ...
34223         * login/Makefile (routines): ... here.
34224         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34225         * login/Versions (libc: GLIBC_2.4): ... here.
34227         * posix/getlogin.c: Moved to ...
34228         * login/getlogin.c: ... here.
34229         * posix/getlogin_r.c: Moved to ...
34230         * login/getlogin_r.c: ... here.
34231         * posix/getlogin_r.c: Moved to ...
34232         * login/getlogin_r.c: ... here.
34233         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34234         * login/Makefile (routines): ... here.
34235         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34236         * login/Versions (libc: GLIBC_2.0): ... here.
34238         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34239         (setrlimit): Define as weak alias.
34241         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34242         Call __ names for open, ftruncate, and close.
34243         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34244         (truncate): Define as weak alias.
34246 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34248         * math/gen-libm-test.pl (parse_args): Initialize x before each
34249         test of frexp, modf and remquo.
34251         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34252         test signgam value.
34254 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34256         [BZ #15418]
34257         [BZ #15419]
34258         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34259         internal tests.
34260         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34262 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34264         * elf/dl-writev.h: New file.
34265         * elf/dl-misc.c: Include it.
34266         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34267         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34269 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34271         * math/libm-test.inc (noXFails): Remove variable.
34272         (noXPasses): Likewise.
34273         (BUILD_COMPLEX_INT): Remove macro.
34274         (print_screen): Remove xfail argument.
34275         (print_screen_max_error): Likewise.
34276         (update_stats): Likewise.
34277         (print_max_error): Likewise.  Update calls to other affected
34278         functions.
34279         (print_complex_max_error): Likewise.
34280         (test_single_exception): Update calls to print_screen.
34281         (test_single_errno): Likewise.
34282         (check_float_internal): Remove xfail argument.  Update calls to
34283         other affected functions.
34284         (check_float): Likewise.
34285         (check_complex): Likewise.
34286         (check_int): Likewise.
34287         (check_long): Likewise.
34288         (check_bool): Likewise.
34289         (check_longlong): Likewise.
34290         (main): Don't print noXFails and noXPasses.
34291         * math/gen-libm-test.pl (top level): Don't mention expected
34292         failure handling in comment.
34293         (new_test): Don't handle expected failures.
34294         (parse_args): Don't mention expected failure handling in comment.
34295         (generate_testfile): Don't handle expected failures.
34296         (parse_ulps): Likewise.
34297         (print_ulps_file): Likewise.
34298         (get_failure): Remove function.
34299         (output_test): Don't handle expected failures.
34300         * make/README.libm-test: Don't mention expected failure handling.
34302         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34303         (minus_zero): Likewise.
34304         (plus_infty): Likewise.
34305         (minus_infty): Likewise.
34306         (qnan_value): Likewise.
34307         (max_value): Likewise.
34308         (min_value): Likewise.
34309         (min_subnorm_value): Likewise.
34310         (initialize): Do not initialize those variables dynamically.
34312 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34314         * io/open.c (__open_2): Moved to ...
34315         * io/open_2.c: ... this new file.
34316         * io/open64.c (__open64_2): Moved to ...
34317         * io/open64_2.c: ... this new file.
34318         * io/openat.c (__openat_2): Moved to ...
34319         * io/openat_2.c: ... this new file.
34320         * io/openat64.c (__openat64_2): Moved to ...
34321         * io/openat64_2.c: ... this new file.
34322         * io/Makefile (routines): Add them.
34323         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34324         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34325         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34326         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34327         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34328         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34329         (__openat64): Add hidden_ver.
34330         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34331         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34333         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34334         Separately conditionalize setting of GLRO(dl_sysinfo) so
34335         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34336         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34338 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34340         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34341         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34342         definition.
34343         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34344         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34345         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34346         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34347         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34349 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34351         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34352         test signgam value.
34354         * math/libm-test.inc (hypot_test): Do not use
34355         IGNORE_ZERO_INF_SIGN.
34357 2013-05-03  Andreas Jaeger  <aj@suse.de>
34359         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34360         Linux 3.9.
34361         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34362         (PF_MAX): Adjust for VSOCK change.
34364 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34368 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34370         [BZ #15264]
34371         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34372         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34373         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34375 2013-05-02  David S. Miller  <davem@davemloft.net>
34377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34379 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34381         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34383 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34385         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34387 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34389         [BZ #14952]
34390         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34391         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34392         Use __attribute__ ((__gnu_inline__)).
34393         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34394         Don't use __attribute__ ((__gnu_inline__)).
34396 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34398         [BZ #15423]
34399         * math/s_catan.c (__catan): Handle small real or imaginary part of
34400         input specially to avoid spurious underflow.
34401         * math/s_catanf.c (__catanf): Likewise.
34402         * math/s_catanh.c (__catanh): Likewise.
34403         * math/s_catanhf.c (__catanhf): Likewise.
34404         * math/s_catanhl.c (__catanhl): Likewise.
34405         * math/s_catanl.c (__catanl): Likewise.
34406         * math/libm-test.inc (catan_test): Add more tests.
34407         (catanh_test): Likewise.
34408         * sysdeps/i386/fpu/libm-test-ulps: Update.
34409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34411 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34415 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34417         [BZ #15416]
34418         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34419         accurately for denominator in atan2.
34420         * math/s_catanf.c (__catanf): Likewise.
34421         * math/s_catanh.c (__catanh): Likewise.
34422         * math/s_catanhf.c (__catanhf): Likewise.
34423         * math/s_catanhl.c (__catanhl): Likewise.
34424         * math/s_catanl.c (__catanl): Likewise.
34425         * math/libm-test.inc (catan_test): Add more tests.
34426         (catanh_test): Likewise.
34427         * sysdeps/i386/fpu/libm-test-ulps: Update.
34428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34430 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34432         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34434         * benchtests/Makefile (bench): Remove slow benchmarks.
34435         * benchtests/atan-inputs: Add slow benchmark inputs.
34436         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34437         (BENCH_FUNC): Accept variant offset.
34438         (VARIANT): Define.
34439         * benchtests/bench-skeleton.c (main): Run benchmark for each
34440         variant.
34441         * benchtests/cos-inputs: Add slow benchmark inputs.
34442         * benchtests/exp-inputs: Likewise.
34443         * benchtests/pow-inputs: Likewise.
34444         * benchtests/sin-inputs: Likewise.
34445         * benchtests/slowatan-inputs: Remove.
34446         * benchtests/slowatan.c: Remove.
34447         * benchtests/slowcos-inputs: Remove.
34448         * benchtests/slowcos.c: Remove.
34449         * benchtests/slowexp-inputs: Remove.
34450         * benchtests/slowexp.c: Remove.
34451         * benchtests/slowpow-inputs: Remove.
34452         * benchtests/slowpow.c: Remove.
34453         * benchtests/slowsin-inputs: Remove.
34454         * benchtests/slowsin.c: Remove.
34455         * benchtests/slowtan-inputs: Remove.
34456         * benchtests/slowtan.c: Remove.
34457         * benchtests/tan-inputs: Add slow benchmark inputs.
34458         * scripts/bench.pl: Parse comments and directives.
34460         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34461         in CPPFLAGS.
34462         ($(objpfx)bench-%.c): Remove *-ITER.
34463         * benchtests/bench-modf.c: Remove definition of ITER.
34464         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34465         (main): Loop for DURATION seconds instead of fixed number of
34466         iterations.
34467         * scripts/bench.pl: Don't expect iterations in parameters.
34469 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34471         * io/fchdir.c (__fchdir): Renamed from fchdir.
34472         (fchdir): Define as weak alias.
34474 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34476         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34477         (ERRNO_EDOM): Likewise.
34478         (ERRNO_ERANGE): Likewise.
34479         (noErrnoTests): New variable.
34480         (init_max_error): Set errno to 0.
34481         (test_single_errno): New function.
34482         (test_errno): Likewise.
34483         (check_float_internal): Call test_errno.  Set errno to 0.
34484         (check_complex): Refer to errno tests in comment.
34485         (check_int): Call test_errno.  Set errno to 0.
34486         (check_long): Likewise.
34487         (check_bool): Likewise.
34488         (check_longlong): Likewise.
34489         (cos_test): Use ERRNO_* flags for errno tests instead of
34490         check_int.
34491         (expm1_test): Likewise.
34492         (fmod_test): Likewise.
34493         (ilogb_test): Likewise.
34494         (lgamma_test): Likewise.
34495         (pow_test): Likewise.
34496         (remainder_test): Likewise.
34497         (sin_test): Likewise.
34498         (tan_test): Likewise.
34499         (yn_test): Likewise.
34500         (initialize): Set errno to 0.
34501         (main): Print number of errno tests.
34502         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34504 2013-04-29  Andreas Jaeger  <aj@suse.de>
34506         [BZ #15084]
34507         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34508         and RES_USEVC.
34510         [BZ #15085]
34511         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34512         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34513         unimplemented.
34515         [BZ #15380]
34516         * stdlib/random.c (__initstate): Return NULL if
34517         __initstate fails.
34519         [BZ #15086]
34520         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34521         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34522         RES_SNGLKUPREOP.
34524 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34528 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34530         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34531         of individual tests.
34532         (casin_test): Likewise.
34533         (casinh_test): Likewise.
34535 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34537         [BZ #15409]
34538         * math/s_catan.c (__catan): Handle arguments with large real or
34539         imaginary part separately without squaring.
34540         * math/s_catanf.c (__catanf): Likewise.
34541         * math/s_catanh.c (__catanh): Likewise.
34542         * math/s_catanhf.c (__catanhf): Likewise.
34543         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34544         and redefine.
34545         (__catanhl): Handle arguments with large real or imaginary part
34546         separately without squaring.
34547         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34548         and redefine.
34549         (__catanl): Handle arguments with large real or imaginary part
34550         separately without squaring.
34551         * math/libm-test.inc (catan_test): Add more tests.
34552         (catanh_test): Likewise.
34553         * sysdeps/i386/fpu/libm-test-ulps: Update.
34554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34556 2013-04-27  Andreas Jaeger  <aj@suse.de>
34558         [BZ #15007]
34559         * stdlib/stdlib.h: Update guards for qecvt.
34560         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34561         <stdlib.h>.
34563 2013-04-27  Allan McRae  <allan@archlinux.org>
34565         * sysdeps/i386/fpu/libm-test-ulps: Update.
34567 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34569         [BZ #15406]
34570         * math/s_catan.c: Include <float.h>.
34571         (__catan): Ensure underflow exception occurs for underflowed
34572         result.
34573         * math/s_catanf.c: Include <float.h>.
34574         (__catanf): Ensure underflow exception occurs for underflowed
34575         result.
34576         * math/s_catanh.c: Include <float.h>.
34577         (__catanh): Ensure underflow exception occurs for underflowed
34578         result.
34579         * math/s_catanhf.c: Include <float.h>.
34580         (__catanhf): Ensure underflow exception occurs for underflowed
34581         result.
34582         * math/s_catanhl.c: Include <float.h>.
34583         (__catanhl): Ensure underflow exception occurs for underflowed
34584         result.
34585         * math/s_catanl.c: Include <float.h>.
34586         (__catanl): Ensure underflow exception occurs for underflowed
34587         result.
34588         * math/libm-test.inc (catan_test): Add more tests.
34589         (catanh_test): Likewise.
34591         [BZ #15405]
34592         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34593         underflowed result.
34594         * math/s_ccoshf.c (__ccoshf): Likewise.
34595         * math/s_ccoshl.c (__ccoshl): Likewise.
34596         * math/s_csin.c (__csin): Likewise.
34597         * math/s_csinf.c (__csinf): Likewise.
34598         * math/s_csinh.c (__csinh): Likewise.
34599         * math/s_csinhf.c (__csinhf): Likewise.
34600         * math/s_csinhl.c (__csinhl): Likewise.
34601         * math/s_csinl.c (__csinl): Likewise.
34602         * math/libm-test.inc (ccos_test): Add more tests.
34603         (ccosh_test): Likewise.
34604         (csin_test): Likewise.
34605         (csinh_test): Likewise.
34607 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34609         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34610         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34611         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34612         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34613         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34614         powerpc/power5+/fpu folders.
34615         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34618 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34620         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34622 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34624         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34625         additions to variable.
34626         [$(config-machine) = x86_64] (modules-names): Likewise.
34627         ($(objpfx)tst-audit3): Remove dependency.
34628         ($(objpfx)tst-audit3.out): Likewise.
34629         ($(objpfx)tst-audit4): Likewise.
34630         ($(objpfx)tst-audit4.out): Likewise.
34631         ($(objpfx)tst-audit5): Likewise.
34632         ($(objpfx)tst-audit5.out): Likewise.
34633         ($(objpfx)tst-audit6): Likewise.
34634         ($(objpfx)tst-audit6.out): Likewise.
34635         ($(objpfx)tst-audit7): Likewise.
34636         ($(objpfx)tst-audit7.out): Likewise.
34637         (tst-audit3-ENV): Remove variable.
34638         (tst-audit4-ENV): Likewise.
34639         (tst-audit5-ENV): Likewise.
34640         (tst-audit6-ENV): Likewise.
34641         (tst-audit7-ENV): Likewise.
34642         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34643         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34644         addition to variable.
34645         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34646         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34647         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34648         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34649         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34650         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34651         tst-audit3, tst-audit4 and tst-audit5.
34652         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34653         tst-audit6 and tst-audit7.
34654         [$(subdir) = elf] (modules-names): Add audit modules for those
34655         tests.
34656         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34657         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34658         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34659         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34660         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34661         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34662         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34663         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34664         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34665         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34666         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34667         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34668         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34669         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34670         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34671         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34672         Likewise.
34673         [$(subdir) = elf && $(config-cflags-avx) = yes]
34674         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34675         [$(subdir) = elf && $(config-cflags-avx) = yes]
34676         (CFLAGS-tst-auditmod4a.c): Likewise.
34677         [$(subdir) = elf && $(config-cflags-avx) = yes]
34678         (CFLAGS-tst-auditmod4b.c): Likewise.
34679         [$(subdir) = elf && $(config-cflags-avx) = yes]
34680         (CFLAGS-tst-auditmod6b.c): Likewise.
34681         [$(subdir) = elf && $(config-cflags-avx) = yes]
34682         (CFLAGS-tst-auditmod6c.c): Likewise.
34683         [$(subdir) = elf && $(config-cflags-avx) = yes]
34684         (CFLAGS-tst-auditmod7b.c): Likewise.
34685         * elf/tst-audit3.c: Move to ...
34686         * sysdeps/x86_64/tst-audit3.c: ... here.
34687         * elf/tst-audit4.c: Move to ...
34688         * sysdeps/x86_64/tst-audit4.c: ... here.
34689         * elf/tst-audit5.c: Move to ...
34690         * sysdeps/x86_64/tst-audit5.c: ... here.
34691         * elf/tst-audit6.c: Move to ...
34692         * sysdeps/x86_64/tst-audit6.c: ... here.
34693         * elf/tst-audit7.c: Move to ...
34694         * sysdeps/x86_64/tst-audit7.c: ... here.
34695         * elf/tst-auditmod3a.c: Move to ...
34696         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34697         * elf/tst-auditmod3b.c: Move to ...
34698         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34699         * elf/tst-auditmod4a.c: Move to ...
34700         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34701         * elf/tst-auditmod4b.c: Move to ...
34702         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34703         * elf/tst-auditmod5a.c: Move to ...
34704         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34705         * elf/tst-auditmod5b.c: Move to ...
34706         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34707         * elf/tst-auditmod6a.c: Move to ...
34708         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34709         * elf/tst-auditmod6b.c: Move to ...
34710         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34711         * elf/tst-auditmod6c.c: Move to ...
34712         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34713         * elf/tst-auditmod7a.c: Move to ...
34714         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34715         * elf/tst-auditmod7b.c: Move to ...
34716         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34718 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34720         [BZ #15366]
34721         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34722         define unconditionally.
34723         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34724         define unconditionally.
34725         (INT8_C, INT16_C, etc.): Likewise.
34727 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34729         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34730         __ehdr_start with hidden visibility.
34732         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34734 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34736         * math/libm-test.inc (cos_test): Use accurate hex constants.
34737         (sincost_test): Likewise.
34739 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34741         * math/libm-test.inc (catan_test): Add more tests.
34742         (catanh_test): Likewise.
34744         * math/s_catanf.c (__catanf): Use suffixed floating-point
34745         constants.
34746         * math/s_catanhf.c (__catanhf): Likewise.
34747         * math/s_catanhl.c (__catanhl): Likewise.
34748         * math/s_catanl.c (__catanl): Likewise.
34750         [BZ #15394]
34751         * math/s_catan.c (__catan): Calculate imaginary part of result
34752         with log1p not log unless computing log of number close to 0.
34753         * math/s_catanf.c (__catanf): Likewise.
34754         * math/s_catanl.c (__catanl): Likewise.
34755         * math/s_catanh.c (__catanh): Calculate real part of result with
34756         log1p not log unless computing log of number close to 0.
34757         * math/s_catanhf.c (__catanhf): Likewise.
34758         * math/s_catanhl.c (__catanhl): Likewise.
34759         * math/libm-test.inc (catan_test): Add more tests.
34760         (catanh_test): Likewise.
34761         * sysdeps/i386/fpu/libm-test-ulps: Update.
34762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34764 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34766         * benchtests/Makefile: Mention files in which fast and slow
34767         paths of math functions are implemented.
34769 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34771         * sysdeps/posix/timespec_get.c: New file.
34773 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34775         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34776         POWER.
34777         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34778         for POWER.
34779         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34780         powerpc/power5/fpu folders.
34781         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34782         * benchtests/Makefile: Add modf testcase.
34783         * benchtests/bench-modf.c: New file: Benchmark test for mo
34785 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34787         [BZ #14888]
34788         * time/Makefile (tests): Add tst-strptime-whitespace.
34789         * time/strptime_l.c (get_number): Use ISSPACE.
34790         (__strptime_internal): Likewise.
34791         * time/tst-strptime-whitespace.c: New test case.
34793 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34795         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34796         member.
34797         (_nss_files_init): Set it here.
34799 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34801         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34802         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34803         unsigned.
34805 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34807         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34809 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34811         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34812         size just once.
34814 2013-04-21  David S. Miller  <davem@davemloft.net>
34816         * po/ru.po: Update Russion translation from translation project.
34818 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34820         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34821         and setfsgid.
34823 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34825         * configure.in: Remove i386 configure warning. Remove i386 case.
34826         * configure: Regenerate.
34827         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34828         Add example to error message.
34829         * sysdeps/i386/configure: Regenerate.
34831 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34833         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34834         slowtan.
34835         * benchtests/cos-inputs: New file.
34836         * benchtests/slowcos-inputs: New file.
34837         * benchtests/slowcos.c: New file.
34838         * benchtests/slowtan-inputs: New file.
34839         * benchtests/slowtan.c: New file.
34840         * benchtests/tan-inputs: New file.
34842 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34844         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34845         considered kosher.
34847 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34849         * benchtests/Makefile: Include cppflags-iterator.mk to add
34850         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34852         * Makefile.in (bench-clean): New target.
34853         * benchtests/Makefile (bench-clean): Likewise.
34855 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34857         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34859 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34861         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34863 2013-04-15  Andreas Schwab  <schwab@suse.de>
34865         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34866         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34867         * nscd/pwdcache.c (cache_addpw): Likewise.
34868         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34869         more than recsize.
34871 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34873         * benchtests/Makefile (bench): Write all output to
34874         bench-out.tmp together.
34876 2013-04-15  Andreas Schwab  <schwab@suse.de>
34878         * nscd/nscd.c (main): Don't fork again after closing files.
34880 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34882         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34884         * benchtests/Rules (bench-deps): Collect dependencies into a
34885         single variable.  Add Makefile to dependencies.
34886         ($(objpfx)bench-%.c): Depend on bench-deps.
34888 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34889             Xavier Roche  <roche+kml2@exalead.com>
34891         [BZ #15361]
34892         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34893         just that it's a file descriptor.
34894         * manual/llio.texi (Synchronizing AIO Operations): Update description
34895         for EBADF error from aio_fsync.
34897 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34899         * Rules (bench): Move target definition...
34900         * benchtests/Makefile: ... here.
34902 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34904         * math/libm-test.inc (cos_test): Fix PI/2 test.
34905         (sincos_test): Likewise.
34906         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34907         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34909 2013-04-11  Andreas Schwab  <schwab@suse.de>
34911         [BZ #13988]
34912         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34913         accept exponent character only when digits were seen.
34914         * stdio-common/Makefile (tests): Add bug26.
34915         * stdio-common/bug26.c: New file.
34917         [BZ #14293]
34918         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34919         non-freeable.
34921 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34923         * Makeconfig (rtld-prefix): Define built linker prefix.
34924         * Rules (run-bench): Use it.
34925         * math/Makefile (run-regen-ulps): Likewise.
34927         * Rules (bench): Remove eval.
34929 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34930             Roland McGrath  <roland@hack.frob.com>
34931             Ondrej Bilka  <neleai@seznam.cz>
34933         [BZ #15346]
34934         * time/getdate.c: Include ctype.h and alloca.h.
34935         (__getdate_r): Trim leading and trailing spaces of input.
34936         * time/tst-getdate.c (tests): Add tests with leading and
34937         trailing spaces.
34939 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34941         [BZ #14280]
34942         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34943         when computing value.
34945 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34947         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34948         Use testrun.sh to run libm tests.
34950         [BZ #15309]
34951         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34953 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34955         [BZ #15264]
34956         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34958 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34960         * Makefile.in (regen-ulps): New target.
34961         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34962         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34963         [ifneq (no,$(PERL)] (regen-ulps): New target.
34964         [ifeq (no,$(PERL)] (regen-ulps): New target.
34965         * math/libm-test.inc (ulps_file_name): Define.
34966         (output_dir): New variable.
34967         (options): Add "output-dir" option.
34968         (parse_opt): Handle 'o' case.
34969         (main): If output_dir is non-NULL use it as a prefix
34970         otherwise use "".
34971         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34973 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34975         [BZ #10060, #10062]
34976         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34977         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34978         fail configure if __sync_val_compare_and_swap is not inlined.
34979         * sysdeps/i386/configure: Regenerate.
34980         * configure.in: Build for i686 when configured for i386.
34981         * configure: Regenerate.
34982         * README: Remove i386 reference.
34984 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34986         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34987         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34989 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34991         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34992         (lmsnanval): New variables.
34993         (F): Add conversion tests.
34994         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34995         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34997         * stdio-common/tstdiomisc.c (F): Properly collect individual
34998         tests' results.
35000         [BZ #14686, #15336]
35001         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35002         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35003         Instead, use input NaN values or generate a qNaN by arithmetic
35004         operation.  Also fix bugs to comply with the standard.
35005         * math/libm-test.inc (remainder_test): Add more tests.
35007         [BZ #15335, #15342]
35008         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35009         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35010         input NaN values or generate a qNaN by arithmetic operation.
35012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35013         unreachable code.
35015         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35016         definitions.
35018 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35020         [BZ #14478]
35021         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35022         underflowed result.
35023         * math/s_cexpf.c (__cexpf): Likewise.
35024         * math/s_cexpl.c (__cexpl): Likewise.
35025         * math/libm-test.inc (cexp_test): Add more tests.
35027 2013-04-03  Andreas Schwab  <schwab@suse.de>
35029         [BZ #15330]
35030         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35031         order arrays from heap if bigger than alloca cutoff.
35033 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35035         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35036         (SNAN_TESTS_double): Refer to GCC PR56831.
35037         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35038         GCC PR56828.
35040 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35042         * Rules (bench): Move bench.out after the run is complete.
35044         * Rules (bench): Echo currently running benchmark.
35046         * benchtests/Makefile (bench): Add atan and slowatan.
35047         * benchtests/atan-inputs: New file.
35048         * benchtests/slowatan-inputs: New file.
35049         * benchtests/slowatan.c: New file.
35051         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35052         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35053         its value.
35055         [BZ #15305]
35056         * sysdeps/unix/sysv/linux/kernel-features.h
35057         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35058         __ASSUME_XFS_RESTRICTED_CHOWN.
35059         * sysdeps/unix/sysv/linux/pathconf.c
35060         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35061         Save and restore errno.
35063 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35065         [BZ #15327]
35066         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35067         arguments using __kernel_casinh.
35068         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35069         arguments using __kernel_casinhf.
35070         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35071         arguments using __kernel_casinhl.
35072         * math/libm-test.inc (cacosh_test): Add more tests.
35073         * sysdeps/i386/fpu/libm-test-ulps: Update.
35074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35076 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35078         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35081         * bench/Makefile (bench): Add sin and slowsin.
35082         * benchtests/sin-inputs: New file.
35083         * benchtests/slowsin-inputs: New file.
35084         * benchtests/slowsin.c: New file.
35086         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35087         (bench): Add slowexp and slowpow.
35088         (exp-ITER): Increase iterations.
35089         (pow-ITER): Likewise.
35090         * benchtests/exp-inputs: Change input.
35091         * benchtests/pow-inputs: Likewise.
35092         * benchtests/slowexp-inputs: New file.
35093         * benchtests/slowexp.c: New file.
35094         * benchtests/slowpow-inputs: New file.
35095         * benchtests/slowpow.c: New file.
35097 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35099         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35100         instructions.
35101         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35102         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35103         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35104         * benchtests/Makefile: Add rint benchtest.
35105         * benchtests/rint-inputs: Input for rint benchtest.
35107 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35109         * Versions.def (libm): Add GLIBC_2.18.
35110         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35111         hidden libm prototypes.
35112         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35113         * math/Makefile (libm-calls): Add s_issignaling.
35114         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35115         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35116         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35117         declaration.
35118         * math/math.h [__USE_GNU] (issignaling): New macro.
35119         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35120         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35121         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35122         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35123         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35124         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35125         * manual/arith.texi (issignaling): New section.
35126         * manual/libm-err-tab.pl (@all_functions): Update comment.
35127         * math/gen-libm-test.pl (parse_args): Apply special handling for
35128         issignaling.
35129         * math/libm-test.inc (print_float, issignaling_test): New
35130         functions.
35131         (check_float_internal): Add issignaling checks.
35132         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35133         default definition.
35134         * sysdeps/powerpc/math-tests.h: New file.
35135         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35136         tests.
35137         * math/test-snan.c (TEST_FUNC): Likewise.
35139 2013-03-30  David S. Miller  <davem@davemloft.net>
35141         * po/de.po: Update from translation team.
35143 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35145         [BZ #10357]
35146         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35147         imaginary part less than 1.0 and real part less than 0.5
35148         specially.
35149         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35150         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35151         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35152         (cacos_test): Add more tests.
35153         (casin_test): Likewise.
35154         (casinh_test): Likewise.
35155         * sysdeps/i386/fpu/libm-test-ulps: Update.
35156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35158 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35160         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35161         ONE with its value.
35163         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35164         (__pow_mp): Replace ONE and MONE with their values.
35165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35166         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35167         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35168         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35169         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35170         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35172         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35174         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35175         (__pow_mp): Replace ZERO and MZERO with their values.
35176         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35177         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35178         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35179         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35180         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35181         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35182         (__sqr): Likewise.
35184         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35186         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35188 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35190         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35191         Declare with __attribute__ ((weak)).
35192         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35193         Call __call_tls_dtors only if it's not NULL.
35195 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35197         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35198         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35199         magic __ehdr_start linker symbol if it's defined.
35200         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35201         them up here if it was already done.
35203         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35204         (_dl_aux_init): Use const in cast when setting it.
35205         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35206         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35207         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35209         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35210         Declare them here.
35211         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35212         * csu/libc-tls.c: Nor here.
35213         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35215         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35216         (__libc_message): Never call vsyslog.
35218 2013-03-28  Alan Modra  <amodra@gmail.com>
35220         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35221         Define as empty.
35222         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35223         Likewise.
35225 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35227         [BZ #15214]
35228         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35229         underflow.
35230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35232 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35234         [BZ #15304]
35235         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35236         Don't add gid passed as argument.
35238         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35240 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35242         [BZ #15307]
35243         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35244         imaginary part between 1.0 and 1.5 and real part less than 0.5
35245         specially.
35246         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35247         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35248         * math/libm-test.inc (cacos_test): Add more tests.
35249         (casin_test): Likewise.
35250         (casinh_test): Likewise.
35251         * sysdeps/i386/fpu/libm-test-ulps: Update.
35252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35254 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35256         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35257         constants.
35258         (norm): Likewise.
35259         (denorm): Likewise.
35260         (__dbl_mp): Likewise.
35261         (add_magnitudes): Likewise.
35262         (sub_magnitudes): Likewise.
35263         (__add): Likewise.
35264         (__sub): Likewise.
35265         (__mul): Likewise.
35266         (__sqr): Likewise.
35267         (__inv): Likewise.
35268         (__dvd): Likewise.
35270         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35271         commented code.
35272         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35273         (__dubcos): Likewise.
35274         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35275         (__ieee754_acos): Likewise.
35276         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35277         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35278         (__exp1): Likewise.
35279         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35280         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35281         (log1): Likewise.
35282         (my_log2): Likewise.
35283         (checkint): Likewise.
35284         * sysdeps/ieee754/dbl-64/e_remainder.c
35285         (__ieee754_remainder): Likewise.
35286         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35287         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35288         (bsloww): Likewise.
35289         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35291         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35292         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35293         MANTISSA_STORE_T to store computations on mantissa.  Use
35294         macros for rounding and division.
35295         (denorm): Likewise.
35296         (__dbl_mp): Likewise.
35297         (add_magnitudes): Likewise.
35298         (sub_magnitudes): Likewise.
35299         (__mul): Likewise.
35300         (__sqr): Likewise.
35301         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35302         powers of two in terms of TWOPOW macro.
35303         (mp_no): Make type of mantissa as MANTISSA_T.
35304         [!RADIXI]: Define RADIXI.
35305         [!TWO52]: Define TWO52.
35306         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35308 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35310         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35311         llroundl symbol when building for PPC32.
35313 2013-03-24  Mark H Weaver  <mhw@netris.org>
35315         * manual/arith.texi (Normalization Functions): Fix prototypes for
35316         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35318 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35320         [BZ #13889]
35321         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35322         high value to check if expl overflow.
35323         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35324         to check for underflow and overflow.
35325         * math/libm-test.inc: Add exp test.
35327 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35329         [BZ #11120]
35330         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35331         with NOT_IN_libc.
35333 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35335         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35336         symbol.
35338 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35340         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35341         wrap blocks consisting of several statements.
35343         * sysdeps/generic/math-tests.h: New file.
35344         * sysdeps/i386/fpu/math-tests.h: Likewise.
35345         * math/test-snan.c: Include it.
35346         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35348 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35350         [BZ #15285]
35351         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35352         (__ieee754_j0l): Do not improve calculations using cos of twice
35353         input for inputs above LDBL_MAX / 2.0L.
35354         (__ieee754_y0l): Likewise.
35355         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35356         (__ieee754_j1l): Do not improve calculations using cos of twice
35357         input for inputs above LDBL_MAX / 2.0L.
35358         (__ieee754_y1l): Likewise.
35359         * math/libm-test.inc (j0_test): Add another test.
35360         (j1_test): Likewise.
35361         (y0_test): Likewise.
35362         (y1_test): Likewise.
35363         * sysdeps/i386/fpu/libm-test-ulps: Update.
35365 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35367         * Rules ($(objpfx)bench-%.c): Include code from a C source
35368         file.
35370 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35372         [BZ #15287]
35373         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35374         imaginary part 1.0 and real part less than 0.5 specially.
35375         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35376         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35377         * math/libm-test.inc (cacos_test): Add more tests.
35378         (casin_test): Likewise.
35379         (casinh_test): Likewise.
35380         * sysdeps/i386/fpu/libm-test-ulps: Update.
35381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35383 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35385         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35386         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35388 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35390         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35391         * config.make.in (config-cflags-sse4): Remove variable.
35392         (config-cflags-avx): Likewise.
35393         (config-cflags-sse2avx): Likewise.
35394         (config-cflags-novzeroupper): Likewise.
35395         (config-asflags-i686): Likewise.
35396         (have-mfma4): Likewise.
35397         (have-as-vis3): Likewise.
35398         (MIG): Likewise.
35399         * configure.in (MIG): Do not AC_SUBST.
35400         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35401         (libc_cv_cc_sse4): Do not AC_SUBST.
35402         (libc_cv_cc_avx): Likewise.
35403         (libc_cv_cc_sse2avx): Likewise.
35404         (libc_cv_cc_novzeroupper): Likewise.
35405         (libc_cv_cc_fma4): Likewise.
35406         (libc_cv_as_i686): Likewise.
35407         (libc_cv_sparc_as_vis3): Likewise.
35408         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35409         LIBC_CONFIG_VAR.
35410         (config-asflags-i686): Likewise.
35411         (config-cflags-avx): Likewise.
35412         (config-cflags-sse2avx): Likewise.
35413         (have-mfma4): Likewise.
35414         (config-cflags-novzeroupper): Likewise.
35415         * sysdeps/mach/configure.in (MIG): Likewise.
35416         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35417         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35418         LIBC_CONFIG_VAR.
35419         (config-cflags-avx): Likewise.
35420         (config-cflags-sse2avx): Likewise.
35421         (have-mfma4): Likewise.
35422         (config-cflags-novzeroupper): Likewise.
35423         * configure: Regenerated.
35424         * sysdeps/i386/configure: Likewise.
35425         * sysdeps/mach/configure: Likewise.
35426         * sysdeps/sparc/configure: Likewise.
35427         * sysdeps/x86_64/configure: Likewise.
35429 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35431         [BZ #14812]
35432         * locale/programs/localedef.c (options): Put N_ translation marker
35433         on argument names, not just descriptions.
35435 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35437         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35439 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35441         [BZ #14176]
35442         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35444 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35446         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35447         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35448         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35449         [!BEFORE_ABORT] (before_abort): New function.
35450         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35451         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35452         (writev_for_fatal): New function.
35453         (WRITEV_FOR_FATAL): New macro; call that.
35454         (backtrace_and_maps): New function.
35455         (BEFORE_ABORT): New macro; call that.
35456         (struct str_list): Type removed.
35457         (__libc_message, __libc_fatal): Functions removed.
35458         Include <sysdeps/posix/libc_fatal.c> instead.
35460 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35462         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35463         constants.
35464         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35465         double constants.
35467 2013-03-19  Andreas Schwab  <schwab@suse.de>
35469         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35470         * sysdeps/gnu/configure: Regenerate.
35472         * configure.in: Substitute libc_cv_rtlddir.
35473         * configure: Regenerate.
35474         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35475         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35476         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35477         * elf/Makefile (install-others, CFLAGS-interp.c)
35478         (ldso_install, common-ldd-rewrite): Likewise.
35479         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35480         $(inst_slibdir)/$(rtld-installed-name).
35481         * scripts/rellns-sh: Add -p option.
35482         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35483         for source.
35485 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35487         * manual/nptl.texi: Renamed to ...
35488         * manual/threads.texi: ... this.
35489         * manual/Makefile (chapters): Update.
35491 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35493         [BZ #14812]
35494         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35495         on argument names, not just descriptions.
35496         * malloc/memusagestat.c (options): Likewise.
35497         * nss/getent.c (options): Likewise.
35499 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35501         [BZ #14812]
35502         * iconv/iconv_prog.c (options): Put N_ translation marker
35503         on argument names, not just descriptions.
35504         * iconv/iconvconfig.c (options): Likewise.
35506 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35508         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35509         implementation which is faster on all x86_64 architectures.
35510         Tested on AMD, Intel Nehalem, SNB, IVB.
35511         * sysdeps/x86_64/strnlen.S: Likewise.
35513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35514         Remove all multiarch strlen and strnlen versions.
35515         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35516         Remove strlen and strnlen related parts.
35518         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35519         Inline strlen part.
35520         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35522         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35523         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35524         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35525         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35526         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35527         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35529 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35531         * manual/memory.texi (Malloc Tunable Parameters):
35532         Sort parameters alphabetically. Add comments for missing entries.
35534 2013-03-17  David S. Miller  <davem@davemloft.net>
35536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35538 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35540         [BZ #15283]
35541         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35542         for arguments at most half maximum finite value.
35543         * math/libm-test.inc (j0_test): Add more tests.
35544         (j1_test): Likewise.
35545         (y0_test): Likewise.
35546         (y1_test): Likewise.
35547         * sysdeps/i386/fpu/libm-test-ulps: Update.
35548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35550         [BZ #14155]
35551         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35552         1 / x and functions P and Q for arguments above 0x1p256L.
35553         (__ieee754_y0l): Likewise.
35554         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35555         (__ieee754_y1l): Likewise.
35556         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35557         (j1_test): Likewise.
35558         (y0_test): Likewise.
35559         (y1_test): Likewise.
35561 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35563         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35564         variable.
35566 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35568         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35569         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35570         zero since it's initialized to EXEC_PAGESIZE.
35572         * sysdeps/unix/sysv/linux/ldsodefs.h
35573         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35574         * sysdeps/generic/ldsodefs.h: ... here.
35576 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35578         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35580         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35581         math/test-snan.c.
35582         * math/test-snan.c: Renamed from
35583         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35584         * math/Makefile (tests): Add test-snan.
35585         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35586         test-powerpc-snan.
35588         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35589         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35590         functions.
35591         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35592         __builtin_nan family of functions.
35593         * math/libm-test.inc (initialize): Initialize qnan_value with
35594         __builtin_nan family of functions.
35595         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35596         Remove variables.
35597         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35598         Remove functions.
35599         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35600         storage class.  Initialize qNaN_var and sNaN_var with
35601         __builtin_nan and __builtin_nans families of functions,
35602         respectively.
35604         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35605         (sqrt_test): Remove duplicate test with qNaN input.
35606         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35607         (round_test, signbit_test, significand_test): Note missing +/-Inf
35608         as well as qNaN tests.
35610         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35611         qNaN_var.  Fix a few strings, too.
35612         * math/libm-test.inc (nan_value): Rename to qnan_value.
35613         * math/gen-libm-test.pl (%beautify): Adjust to that.
35614         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35615         * math/test-misc.c (main): Likewise.
35616         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35617         to __qnan_bytes, and __qnan_union, respectively.
35618         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35619         Likewise.
35620         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35621         and lqnanval, respectively.
35622         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35623         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35624         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35625         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35627         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35628         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35629         doubles.
35631         * math/test-misc.c (main): Fix copy'n'pastos.
35632         * misc/tst-efgcvt.c (special): Likewise.
35634         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35635         Remove declarations.
35637 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35639         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35640         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35641         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35642         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35644 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35646         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35647         macro to return vdso values correctly in IFUNC implementations.
35648         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35649         Optimization by using IFUNC.
35651 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35652             Richard Henderson  <rth@redhat.com>
35653             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35655         * Makefile.in (bench): New target.
35656         * NEWS: Mention the benchmark framework.
35657         * Rules (bench): Likewise.
35658         (binaries-bench): Generate binaries for functions to
35659         benchmark.
35660         * benchtests/Makefile: New makefile for benchmark tests.
35661         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35662         programs.
35663         * benchtests/exp-inputs: New input file for EXP function.
35664         * benchtests/pow-inputs: New input file for POW function.
35665         * scripts/bench.pl: New script to generate source files for
35666         benchmark programs.
35668 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35670         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35671         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35672         computations on mantissa.  Use macros for rounding and
35673         division.
35674         (denorm): Likewise.
35675         (__dbl_mp): Likewise.
35676         (add_magnitudes): Likewise.
35677         (sub_magnitudes): Likewise.
35678         (__mul): Likewise.
35679         (__sqr): Likewise.
35680         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35681         powers of two in terms of TWOPOW macro.
35682         (mp_no): Make type of mantissa as MANTISSA_T.
35683         [!RADIXI]: Define RADIXI.
35684         [!TWO52]: Define TWO52.
35685         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35687         * manual/nptl.texi (cindex): Modify threads to pthreads.
35689 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35691         * sysdeps/x86_64/preconfigure: Regenerated.
35693 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35695         [BZ #14155]
35696         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35697         0x1p28 and above.
35698         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35699         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35700         0x1p28 and above.
35701         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35702         * math/libm-test.inc (j0_test): Do not allow one spurious
35703         underflow exception.
35704         (y1_test): Likewise.
35706 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35708         * manual/Makefile (chapters): Add nptl.
35709         * manual/debug.texi (Debugging Support): Add link to Threads
35710         chapter.
35711         * manual/nptl.texi: New file.
35713         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35715 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35717         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35718         for non-NULL pointer before the memory validity test. Pointed
35719         out by Holger Brunck <holger.brunck@keymile.com>.
35721 2013-03-13  Andreas Schwab  <schwab@suse.de>
35723         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35724         instead of .os.
35726 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35728         * timezone/zic.c: Update from tzcode 2013b.
35730 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35732         * manual/install.texi (Configuring and compiling):
35733         Mention i686 and i586.
35734         * INSTALL: Regenerate.
35736 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35738         * sysdeps/init_array/elf-init.c: New file.
35739         * csu/elf-init.c
35740         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35741         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35743         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35744         __gmon_start__ as global, but as static with a .preinit_array pointer.
35745         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35746         * sysdeps/init_array/crti.S: New file, empty except for comments.
35747         * sysdeps/init_array/crtn.S: Likewise.
35749 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35751         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35752         definining bcopy.
35753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35754         Remove Prefer_SSE_for_memop.
35755         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35756         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35757         HAS_PREFER_SSE_FOR_MEMOP.
35758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35759         memset-x86-64.
35760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35761         Remove bzero, memset ifunc support.
35762         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35763         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35764         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35765         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35767 2013-03-11  Andreas Schwab  <schwab@suse.de>
35769         [BZ #15234]
35770         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35771         by SHLIB_COMPAT.
35772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35773         (GLIBC_2.16): Remove pthread_atfork.
35775 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35777         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35778         (ptestcases.h): Likewise.
35780 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35782         * Makeconfig ($(common-objpfx)config.status): Depend on
35783         sysdeps/*/preconfigure{,.in} too.
35785 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35787         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35788         (__free_hook): Use void * instead of __malloc_ptr_t.
35789         (__malloc_hook): Likewise.
35790         (__realloc_hook): Likewise.
35791         (__memalign_hook): Likewise.
35792         (__after_morecore_hook): Likewise.
35793         * malloc/arena.c (save_malloc_hook): Likewise.
35794         (save_free_hook): Likewise.
35795         * malloc/hooks.c (malloc_hook_ini): Likewise.
35796         (realloc_hook_ini): Likewise.
35797         (memalign_hook_ini): Likewise.
35798         * malloc/malloc.c (malloc_hook_ini): Likewise.
35799         (realloc_hook_ini): Likewise.
35800         (memalign_hook_ini): Likewise.
35801         (__free_hook): Likewise.
35802         (__malloc_hook): Likewise.
35803         (__realloc_hook): Likewise.
35804         (__memalign_hook): Likewise.
35805         (__libc_malloc): Likewise.
35806         (__libc_free): Likewise.
35807         (__libc_realloc): Likewise.
35808         (__libc_memalign): Likewise.
35809         (__libc_valloc): Likewise.
35810         (__libc_pvalloc): Likewise.
35811         (__libc_calloc): Likewise.
35812         (__posix_memalign): Likewise.
35813         * malloc/morecore.c (__sbrk): Likewise.
35814         (__default_morecore): Likewise.
35816         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35818         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35819         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35820         __malloc_ptrdiff_t.
35822         * malloc/malloc.h (__malloc_size_t): Remove macro.
35823         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35824         __malloc_size_t.
35825         (old_memalign_hook): Likewise.
35826         (old_realloc_hook): Likewise.
35827         (struct hdr): Likewise.
35828         (flood): Likewise.
35829         (mallochook): Likewise.
35830         (memalignhook): Likewise.
35831         (reallochook): Likewise.
35832         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35833         (tr_old_realloc_hook): Likewise.
35834         (tr_old_memalign_hook): Likewise.
35835         (tr_mallochook): Likewise.
35836         (tr_reallochook): Likewise.
35837         (tr_memalignhook): Likewise.
35839 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35841         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35842         default_ldbl_pack and using as default implementation.
35843         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35844         implementation.
35845         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35846         redundant definition.
35847         (ldbl_insert_mantissa): Likewise.
35848         (ldbl_canonicalize): Likewise.
35849         (ldbl_nearbyint): Likewise.
35850         (ldbl_pack): Rename to ldbl_pack_ppc.
35851         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35852         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35853         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35855 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35857         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35858         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35859         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35860         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35862         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35863         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35864         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35866 2013-03-07  Andreas Jaeger  <aj@suse.de>
35868         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35869         bits/mman-linux.h.
35871 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35873         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35874         Include mpa.h and declare __MPEXP.
35875         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35876         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35877         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35878         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35879         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35880         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35881         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35883         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35884         (__slowpow): Use long double EXPL and LOGL functions to
35885         compute POW.
35886         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35887         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35888         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35889         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35890         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35891         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35894         intermediate variable to calculate exponent.
35895         (__sqr): Likewise.
35896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35897         Likewise.
35898         (__sqr): Likewise.
35900         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35901         [!NO__SQR]: Define __sqr.
35902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35903         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35904         sysdeps/ieee754/dbl-64/mpa.c.
35905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35907         [BZ #12723]
35908         * posix/Makefile (tests): Add tst-pathconf.
35909         * posix/tst-pathconf.c: New test case.
35910         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35911         _PC_PIPE_BUF.
35912         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35914 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35916         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35918 2013-03-06  Andreas Jaeger  <aj@suse.de>
35920         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35921         definition via __MAP_ANONYMOUS.
35923         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35924         it's not part of Linux headers.
35926         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35927         (MAP_HUGE_MASK): Define.
35929         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35930         Define.
35931         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35932         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35933         Define.
35934         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35935         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35936         Define.
35937         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35938         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35939         Define.
35940         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35942         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35943         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35944         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35945         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35946         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35947         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35949         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35950         Handle f2fs.
35952         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35953         Handle f2fs and efivarfs.
35955         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35956         f2fs.
35958         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35959         (EFIVARFS_MAGIC): Add.
35960         (F2FS_LINK_MAX): Add.
35962 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35964         * stdio-common/vfprintf.c: Replace __builtin_expect with
35965         __glibc_unlikely.
35967 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35969         [BZ #13550]
35970         * sysdeps/generic/bp-sym.h: Remove file.
35971         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35972         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35973         <bp-sym.h> and <bp-asm.h>.
35974         (__longjmp): Don't use BP_SYM.
35975         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35976         and <bp-asm.h>.
35977         (memcpy): Don't use BP_SYM.
35978         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35979         <bp-sym.h> and <bp-asm.h>.
35980         (memcpy): Don't use BP_SYM.
35981         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35982         <bp-asm.h>.
35983         (memcpy): Don't use BP_SYM.
35984         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35985         <bp-asm.h>.
35986         (memset): Don't use BP_SYM.
35987         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35988         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35989         (__bzero): Don't use BP_SYM.
35990         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35991         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35992         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35993         <bp-sym.h> and <bp-asm.h>.
35994         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35995         pointers.
35996         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35997         <bp-sym.h> and <bp-asm.h>.
35998         (memcpy): Don't use BP_SYM.
35999         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36000         <bp-sym.h> and <bp-asm.h>.
36001         (memset): Don't use BP_SYM.
36002         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36003         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36004         (__bzero): Don't use BP_SYM.
36005         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36006         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36007         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36008         <bp-sym.h> and <bp-asm.h>.
36009         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36010         pointers.
36011         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36012         <bp-sym.h> and <bp-asm.h>.
36013         (memcpy): Don't use BP_SYM.
36014         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36015         <bp-sym.h> and <bp-asm.h>.
36016         (memset): Don't use BP_SYM.
36017         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36018         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36019         (__bzero): Don't use BP_SYM.
36020         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36021         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36022         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36023         <bp-sym.h> and <bp-asm.h>.
36024         (__memchr): Don't use BP_SYM.
36025         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36026         <bp-sym.h> and <bp-asm.h>.
36027         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36028         pointers.
36029         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36030         <bp-sym.h> and <bp-asm.h>.
36031         (memcpy): Don't use BP_SYM.
36032         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36033         <bp-sym.h> and <bp-asm.h>.
36034         (__mempcpy): Don't use BP_SYM.
36035         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36036         <bp-sym.h> and <bp-asm.h>.
36037         (__memrchr): Don't use BP_SYM.
36038         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36039         <bp-sym.h> and <bp-asm.h>.
36040         (memset): Don't use BP_SYM.
36041         (__bzero): Likewise.
36042         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36043         <bp-sym.h> and <bp-asm.h>.
36044         (__rawmemchr): Don't use BP_SYM.
36045         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36046         <bp-sym.h> and <bp-asm.h>.
36047         (__STRCMP): Don't use BP_SYM.
36048         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36049         <bp-sym.h> and <bp-asm.h>.
36050         (strchr): Don't use BP_SYM.
36051         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36052         <bp-sym.h> and <bp-asm.h>.
36053         (__strchrnul): Don't use BP_SYM.
36054         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36055         <bp-sym.h> and <bp-asm.h>.
36056         (strlen): Don't use BP_SYM.
36057         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36058         <bp-sym.h> and <bp-asm.h>.
36059         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36060         pointers.
36061         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36062         <bp-sym.h> and <bp-asm.h>.
36063         (__strnlen): Don't use BP_SYM.
36064         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36065         <bp-sym.h> and <bp-asm.h>.
36066         (__GI__setjmp): Don't use BP_SYM.
36067         (_setjmp): Likewise.
36068         (__sigsetjmp): Likewise.
36069         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36070         (L(start_addresses)): Don't use BP_SYM.
36071         (_start): Likewise.
36072         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36073         <bp-asm.h>.
36074         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36075         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36076         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36077         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36078         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36079         <bp-asm.h>.
36080         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36081         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36082         about bounded pointers.
36083         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36084         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36085         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36086         <bp-asm.h>.
36087         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36088         about bounded pointers.  Remove GKM FIXME comments.
36089         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36090         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36091         <bp-asm.h>.
36092         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36093         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36094         Remove GKM FIXME comments.
36095         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36096         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36097         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36098         <bp-asm.h>.
36099         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36100         about bounded pointers.  Remove GKM FIXME comment.
36101         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36102         and <bp-asm.h>.
36103         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36104         pointers.
36105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36106         <bp-sym.h> and <bp-asm.h>.
36107         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36109         <bp-sym.h> and <bp-asm.h>.
36110         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36111         comment.
36113 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36115         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36116         call free(NULL).
36118 2013-03-05  David S. Miller  <davem@davemloft.net>
36120         * po/es.po: Update from translation team.
36122 2013-03-05  Andreas Jaeger  <aj@suse.de>
36124         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36125         <bits/mman-linux.h>.
36126         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36127         is fine.
36128         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36129         <bits/mman-linux.h> to end of file.
36130         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36131         is fine.
36132         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36133         <bits/mman-linux.h> to end of file.
36134         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36135         is fine.
36136         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36137         <bits/mman-linux.h> to end of file.
36139         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36140         (MCL_CURRENT, MCL_FUTURE): Define here.
36142 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36144         [BZ #15232]
36145         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36146         attribute_hidden.
36147         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36149 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36151         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36152         fourth parameter needed for rt_sigprocmask syscall.
36153         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36154         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36155         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36156         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36157         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36158         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36160 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36162         [BZ #13550]
36163         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36164         comment about bounded pointers.
36165         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36166         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36168 2013-03-04  Andreas Jaeger  <aj@suse.de>
36170         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36171         common definitions.
36173         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36174         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36175         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36176         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36177         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36178         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36180 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36182         [BZ #15055]
36183         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36184         __ieee754_sqrl instead of __sqrl.
36186 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36188         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36189         * sysdeps/powerpc/fpu_control.h: ... here.
36190         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36191         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36192         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36193         * sysdeps/powerpc/bits/mathinline.h: ... here.
36195 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36197         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36198         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36199         to just [NEED_DL_SYSINFO_DSO].
36200         * elf/dl-support.c: Likewise.
36201         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36202         * elf/rtld.c (dl_main): Likewise.
36203         * elf/setup-vdso.h (setup_vdso): Likewise.
36204         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36205         * sysdeps/unix/sysv/linux/dl-sysdep.c
36206         (_dl_discover_osversion): Likewise.
36208 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36210         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36211         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36213 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36215         * NEWS: Mention libm performance improvements and non-x86 PI
36216         futex support.
36218         * csu/libc-start.c (__pthread_initialize_minimal): Change
36219         function arguments.
36220         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36222 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36224         [BZ #13550]
36225         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36226         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36227         <bp-sym.h> and <bp-asm.h>.
36228         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36229         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36230         and <bp-asm.h>.
36231         (memcpy): Don't use BP_SYM.
36232         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36233         <bp-asm.h>.
36234         (__mpn_add_n): Don't use BP_SYM.
36235         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36236         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36237         and <bp-asm.h>.
36238         (__mpn_addmul_1): Don't use BP_SYM.
36239         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36240         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36241         <bp-sym.h>.
36242         (_setjmp): Don't use BP_SYM.
36243         (__novmx_setjmp): Likewise.
36244         (__GI__setjmp): Likewise.
36245         (__vmx_setjmp): Likewise.
36246         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36247         <bp-sym.h>.
36248         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36249         (__bzero): Don't use BP_SYM.
36250         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36251         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36252         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36253         <bp-sym.h> and <bp-asm.h>.
36254         (memcpy): Don't use BP_SYM.
36255         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36256         <bp-sym.h> and <bp-asm.h>.
36257         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36258         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36259         <bp-sym.h> and <bp-asm.h>.
36260         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36261         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36262         <bp-asm.h>.
36263         (__mpn_lshift): Don't use BP_SYM.
36264         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36265         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36266         <bp-asm.h>.
36267         (memset): Don't use BP_SYM.
36268         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36269         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36270         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36271         <bp-asm.h>.
36272         (__mpn_mul_1): Don't use BP_SYM.
36273         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36274         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36275         <bp-sym.h> and <bp-asm.h>.
36276         (memcmp): Don't use BP_SYM.
36277         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36278         <bp-sym.h> and <bp-asm.h>.
36279         (memcpy): Don't use BP_SYM.
36280         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36281         <bp-sym.h> and <bp-asm.h>.
36282         (memset): Don't use BP_SYM.
36283         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36284         <bp-sym.h> and <bp-asm.h>.
36285         (strncmp): Don't use BP_SYM.
36286         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36287         <bp-sym.h> and <bp-asm.h>.
36288         (memcpy): Don't use BP_SYM.
36289         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36290         <bp-sym.h> and <bp-asm.h>.
36291         (memset): Don't use BP_SYM.
36292         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36293         <bp-sym.h> and <bp-asm.h>.
36294         (__memchr): Don't use BP_SYM.
36295         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36296         <bp-sym.h> and <bp-asm.h>.
36297         (memcmp): Don't use BP_SYM.
36298         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36299         <bp-sym.h> and <bp-asm.h>.
36300         (memcpy): Don't use BP_SYM.
36301         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36302         <bp-sym.h> and <bp-asm.h>.
36303         (__mempcpy): Don't use BP_SYM.
36304         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36305         <bp-sym.h> and <bp-asm.h>.
36306         (__memrchr): Don't use BP_SYM.
36307         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36308         <bp-sym.h> and <bp-asm.h>.
36309         (memset): Don't use BP_SYM.
36310         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36311         <bp-sym.h> and <bp-asm.h>.
36312         (__rawmemchr): Don't use BP_SYM.
36313         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36314         <bp-sym.h> and <bp-asm.h>.
36315         (__STRCMP): Don't use BP_SYM.
36316         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36317         <bp-sym.h> and <bp-asm.h>.
36318         (strchr): Don't use BP_SYM.
36319         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36320         <bp-sym.h> and <bp-asm.h>.
36321         (__strchrnul): Don't use BP_SYM.
36322         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36323         <bp-sym.h> and <bp-asm.h>.
36324         (strlen): Don't use BP_SYM.
36325         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36326         <bp-sym.h> and <bp-asm.h>.
36327         (strncmp): Don't use BP_SYM.
36328         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36329         <bp-sym.h> and <bp-asm.h>.
36330         (__strnlen): Don't use BP_SYM.
36331         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36332         <bp-asm.h>.
36333         (__mpn_rshift): Don't use BP_SYM.
36334         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36335         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36336         <bp-sym.h> and <bp-asm.h>.
36337         (__sigsetjmp): Don't use BP_SYM.
36338         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36339         (L(start_addresses)): Don't use BP_SYM.
36340         (_start): Likewise.
36341         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36342         <bp-asm.h>.
36343         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36344         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36345         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36346         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36347         <bp-asm.h>.
36348         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36349         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36350         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36351         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36352         <bp-asm.h>.
36353         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36354         comments.
36355         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36356         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36357         <bp-asm.h>.
36358         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36359         FIXME comments.
36360         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36361         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36362         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36363         <bp-asm.h>.
36364         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36365         comment.
36366         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36367         and <bp-asm.h>.
36368         (strncmp): Don't use BP_SYM,
36369         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36370         <bp-asm.h>.
36371         (__mpn_sub_n): Don't use BP_SYM.
36372         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36373         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36374         and <bp-asm.h>.
36375         (__mpn_submul_1): Don't use BP_SYM.
36376         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36378         <bp-sym.h> and <bp-asm.h>.
36379         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36381         <bp-sym.h> and <bp-asm.h>.
36382         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36383         comment.
36385 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36388         Use ZK to minimize writes to Z.
36389         (sub_magnitudes): Simplify code a bit.
36390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36391         Use ZK to minimize writes to Z.
36392         (sub_magnitudes): Simplify code a bit.
36394 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36396         * csu/gmon-start.c: Add special exception to license text.
36398 2013-02-27  Richard Henderson  <rth@redhat.com>
36400         * scripts/config.guess: Update from config.git.
36401         * scripts/config.sub: Likewise.
36403 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36405         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36407         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36409         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36411         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36413         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36415 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36417         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36418         [$(build-shared = yes].
36420 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36422         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36423         (__mul): Reduce iterations for calculating mantissa.
36425         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36426         MPTWO.
36427         (__mpranred): Likewise.
36429         [BZ #15160]
36430         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36431         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36433 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36435         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36436         Define __attribute__.
36438 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36440         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36441         unused.
36442         * posix/regex_internal.h (__attribute): Remove.
36443         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36444         (re_string_context_at): Likewise.
36445         (bitset_not): Use __attribute__ and mark function as possibly
36446         unused.
36447         (bitset_merge): Likewise.
36448         (bitset_mask): Likewise.
36449         (re_string_char_size_at): Likewise.
36450         (re_string_wchar_at): Likewise.
36451         (re_string_elem_size_at): Likewise.
36453 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36455         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36456         code.
36457         (cc32): Likewise.
36459         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36460         (__acr): Likewise.
36461         (__cpy): Likewise.
36462         (norm): Likewise.
36463         (denorm): Likewise.
36464         (__dbl_mp): Likewise.
36465         (add_magnitudes): Likewise.
36466         (sub_magnitudes): Likewise.
36467         (__mul): Likewise.
36468         (__inv): Likewise.
36470         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36471         style.
36473         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36474         style.
36476         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36477         code.
36479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36480         up changes with default code.
36481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36482         Likewise.
36484 2013-02-24  Allan McRae  <allan@archlinux.org>
36486         * manual/socket.texi (The Internet Namespace): Order menu items
36487         to match that in the file.
36489         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36490         node listing of the info page menu.
36492 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36494         [BZ #13550]
36495         * sysdeps/i386/bp-asm.h: Remove file.
36496         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36497         (PARMS): Do not use macros from bp-asm.h.
36498         (S1): Likewise.
36499         (S2): Likewise.
36500         (SIZE): Likewise.
36501         (__mpn_add_n): Do not use BP_SYM
36502         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36503         "bp-asm.h".
36504         (PARMS): Do not use macros from bp-asm.h.
36505         (S1): Likewise.
36506         (SIZE): Likewise.
36507         (__mpn_addmul_1): Do not use BP_SYM
36508         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36509         "bp-asm.h".
36510         (PARMS): Do not use macros from bp-asm.h.
36511         (SIGMSK): Likewise.
36512         (_setjmp): Likewise.  Do not use BP_SYM.
36513         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36514         "bp-asm.h".
36515         (PARMS): Do not use macros from bp-asm.h.
36516         (SIGMSK): Likewise.
36517         (setjmp): Likewise.  Do not use BP_SYM.
36518         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36519         "bp-asm.h".
36520         (PARMS): Do not use macros from bp-asm.h.
36521         (__frexp): Do not use BP_SYM.
36522         (frexp): Likewise.
36523         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36524         "bp-asm.h".
36525         (PARMS): Do not use macros from bp-asm.h.
36526         (__frexpf): Do not use BP_SYM.
36527         (frexpf): Likewise.
36528         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36529         "bp-asm.h".
36530         (PARMS): Do not use macros from bp-asm.h.
36531         (__frexpl): Do not use BP_SYM.
36532         (frexpl): Likewise.
36533         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36534         "bp-asm.h".
36535         (PARMS): Do not use macros from bp-asm.h.
36536         (__remquo): Do not use BP_SYM.
36537         (remquo): Likewise.
36538         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36539         "bp-asm.h".
36540         (PARMS): Do not use macros from bp-asm.h.
36541         (__remquof): Do not use BP_SYM.
36542         (remquof): Likewise.
36543         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36544         "bp-asm.h".
36545         (PARMS): Do not use macros from bp-asm.h.
36546         (__remquol): Do not use BP_SYM.
36547         (remquol): Likewise.
36548         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36549         "bp-asm.h".
36550         (PARMS): Do not use macros from bp-asm.h.
36551         (DEST): Likewise.
36552         (SRC): Likewise.
36553         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36554         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36555         "bp-asm.h".
36556         (PARMS): Do not use macros from bp-asm.h.
36557         (strlen): Do not use BP_SYM.
36558         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36559         "bp-asm.h".
36560         (PARMS): Do not use macros from bp-asm.h.
36561         (S1): Likewise.
36562         (S2): Likewise.
36563         (SIZE): Likewise.
36564         (__mpn_add_n): Do not use BP_SYM.
36565         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36566         "bp-asm.h".
36567         (PARMS): Do not use macros from bp-asm.h.
36568         (S1): Likewise.
36569         (SIZE): Likewise.
36570         (__mpn_addmul_1): Do not use BP_SYM.
36571         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36572         weak_alias.
36573         (bzero): Likewise.
36574         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36575         "bp-asm.h".
36576         (PARMS): Do not use macros from bp-asm.h.
36577         (S): Likewise.
36578         (SIZE): Likewise.
36579         (__mpn_lshift): Do not use BP_SYM.
36580         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36581         "bp-asm.h".
36582         (PARMS): Do not use macros from bp-asm.h.
36583         (DEST): Likewise.
36584         (SRC): Likewise.
36585         (LEN): Likewise.
36586         (memcpy): Likewise.  Do not use BP_SYM.
36587         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36588         libc_hidden_def and weak_alias.
36589         (mempcpy): Do not use BP_SYM in weak_alias.
36590         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36591         "bp-asm.h".
36592         (PARMS): Do not use macros from bp-asm.h.
36593         (DEST): Likewise.
36594         (LEN): Likewise.
36595         [!BZERO_P] (CHR): Likewise.
36596         (memset): Likewise.  Do not use BP_SYM.
36597         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36598         "bp-asm.h".
36599         (PARMS): Do not use macros from bp-asm.h.
36600         (S1): Likewise.
36601         (SIZE): Likewise.
36602         (__mpn_mul_1): Do not use BP_SYM.
36603         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36604         "bp-asm.h".
36605         (PARMS): Do not use macros from bp-asm.h.
36606         (S): Likewise.
36607         (SIZE): Likewise.
36608         (__mpn_rshift): Do not use BP_SYM.
36609         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36610         "bp-asm.h".
36611         (PARMS): Do not use macros from bp-asm.h.
36612         (STR): Likewise.
36613         (CHR): Likewise.
36614         (strchr): Likewise.  Do not use BP_SYM.
36615         (index): Do not use BP_SYM in weak_alias.
36616         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36617         "bp-asm.h".
36618         (PARMS): Do not use macros from bp-asm.h.
36619         (DEST): Likewise.
36620         (SRC): Likewise.
36621         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36622         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36623         "bp-asm.h".
36624         (PARMS): Do not use macros from bp-asm.h.
36625         (strlen): Do not use BP_SYM.
36626         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36627         "bp-asm.h".
36628         (PARMS): Do not use macros from bp-asm.h.
36629         (S1): Likewise.
36630         (S2): Likewise.
36631         (SIZE): Likewise.
36632         (__mpn_sub_n): Do not use BP_SYM.
36633         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36634         "bp-asm.h".
36635         (PARMS): Do not use macros from bp-asm.h.
36636         (S1): Likewise.
36637         (SIZE): Likewise.
36638         (__mpn_submul_1): Do not use BP_SYM.
36639         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36640         "bp-asm.h".
36641         (PARMS): Do not use macros from bp-asm.h.
36642         (S1): Likewise.
36643         (S2): Likewise.
36644         (SIZE): Likewise.
36645         (__mpn_add_n): Do not use BP_SYM.
36646         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36647         weak_alias.
36648         (bzero): Likewise.
36649         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36650         "bp-asm.h".
36651         (PARMS): Do not use macros from bp-asm.h.
36652         (BLK2): Likewise.
36653         (LEN): Likewise.
36654         (memcmp): Do not use BP_SYM.
36655         (bcmp): Do not use BP_SYM in weak_alias.
36656         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36657         "bp-asm.h".
36658         (PARMS): Do not use macros from bp-asm.h.
36659         (DEST): Likewise.
36660         (SRC): Likewise.
36661         (LEN): Likewise.
36662         (memcpy): Likewise.  Do not use BP_SYM.
36663         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36664         "bp-asm.h".
36665         (PARMS): Do not use macros from bp-asm.h.
36666         (DEST): Likewise.
36667         (SRC): Likewise.
36668         (LEN): Likewise.
36669         (memmove): Likewise.  Do not use BP_SYM.
36670         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36671         "bp-asm.h".
36672         (PARMS): Do not use macros from bp-asm.h.
36673         (DEST): Likewise.
36674         (SRC): Likewise.
36675         (LEN): Likewise.
36676         (__mempcpy): Likewise.  Do not use BP_SYM.
36677         (mempcpy): Do not use BP_SYM in weak_alias.
36678         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36679         "bp-asm.h".
36680         (PARMS): Do not use macros from bp-asm.h.
36681         (DEST): Likewise.
36682         (LEN): Likewise.
36683         [!BZERO_P] (CHR): Likewise.
36684         (memset): Likewise.  Do not use BP_SYM.
36685         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36686         "bp-asm.h".
36687         (PARMS): Do not use macros from bp-asm.h.
36688         (STR2): Likewise.
36689         (strcmp): Do not use BP_SYM.
36690         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36691         "bp-asm.h".
36692         (PARMS): Do not use macros from bp-asm.h.
36693         (STR): Likewise.
36694         (DELIM): Likewise.
36695         [USE_AS_STRTOK_R] (SAVE): Likewise.
36696         (FUNCTION): Likewise.  Do not use BP_SYM.
36697         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36698         aliases.
36699         (strtok_r): Likewise.
36700         (__GI___strtok_r): Likewise.
36701         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36702         (PARMS): Do not use macros from bp-asm.h.
36703         (S): Likewise.
36704         (SIZE): Likewise.
36705         (__mpn_lshift): Do not use BP_SYM.
36706         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36707         (PARMS): Do not use macros from bp-asm.h.
36708         (STR): Likewise.
36709         (CHR): Likewise.
36710         (__memchr): Do not use BP_SYM.
36711         (memchr): Do not use BP_SYM in weak_alias.
36712         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36713         (PARMS): Do not use macros from bp-asm.h.
36714         (BLK2): Likewise.
36715         (LEN): Likewise.
36716         (memcmp): Do not use BP_SYM.
36717         (bcmp): Do not use BP_SYM in weak_alias.
36718         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36719         (PARMS): Do not use macros from bp-asm.h.
36720         (S1): Likewise.
36721         (SIZE): Likewise.
36722         (__mpn_mul_1): Do not use BP_SYM.
36723         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36724         "bp-asm.h".
36725         (PARMS): Do not use macros from bp-asm.h.
36726         (STR): Likewise.
36727         (CHR): Likewise.
36728         (__rawmemchr): Do not use BP_SYM.
36729         (rawmemchr): Do not use BP_SYM in weak_alias.
36730         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36731         (PARMS): Do not use macros from bp-asm.h.
36732         (S): Likewise.
36733         (SIZE): Likewise.
36734         (__mpn_rshift): Do not use BP_SYM.
36735         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36736         (PARMS): Do not use macros from bp-asm.h.
36737         (SIGMSK): Likewise.
36738         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36739         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36740         (_start): Do not use BP_SYM.
36741         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36742         (PARMS): Do not use macros from bp-asm.h.
36743         (DEST): Likewise.
36744         (SRC): Likewise.
36745         (__stpcpy): Likewise.  Do not use BP_SYM.
36746         (stpcpy): Do not use BP_SYM in weak_alias.
36747         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36748         "bp-asm.h".
36749         (PARMS): Do not use macros from bp-asm.h.
36750         (DEST): Likewise.
36751         (SRC): Likewise.
36752         (LEN): Likewise.
36753         (__stpncpy): Likewise.  Do not use BP_SYM.
36754         (stpncpy): Do not use BP_SYM in weak_alias.
36755         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36756         (PARMS): Do not use macros from bp-asm.h.
36757         (STR): Likewise.
36758         (CHR): Likewise.
36759         (strchr): Likewise.  Do not use BP_SYM.
36760         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36761         "bp-asm.h".
36762         (PARMS): Do not use macros from bp-asm.h.
36763         (STR): Likewise.
36764         (CHR): Likewise.
36765         (__strchrnul): Likewise.  Do not use BP_SYM.
36766         (strchrnul): Do not use BP_SYM in weak_alias.
36767         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36768         "bp-asm.h".
36769         (PARMS): Do not use macros from bp-asm.h.
36770         (STOP): Likewise.
36771         (strcspn): Do not use BP_SYM.
36772         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36773         "bp-asm.h".
36774         (PARMS): Do not use macros from bp-asm.h.
36775         (STR): Likewise.
36776         (STOP): Likewise.
36777         (strpbrk): Likewise.  Do not use BP_SYM.
36778         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36779         "bp-asm.h".
36780         (PARMS): Do not use macros from bp-asm.h.
36781         (STR): Likewise.
36782         (CHR): Likewise.
36783         (strrchr): Likewise.  Do not use BP_SYM.
36784         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36785         (PARMS): Do not use macros from bp-asm.h.
36786         (SKIP): Likewise.
36787         (strspn): Do not use BP_SYM.
36788         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36789         (PARMS): Do not use macros from bp-asm.h.
36790         (STR): Likewise.
36791         (DELIM): Likewise.
36792         (SAVE): Likewise.
36793         (FUNCTION): Likewise.  Do not use BP_SYM.
36794         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36795         aliases.
36796         (strtok_r): Likewise.
36797         (__GI___strtok_r): Likewise.
36798         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36799         (PARMS): Do not use macros from bp-asm.h.
36800         (S1): Likewise.
36801         (S2): Likewise.
36802         (SIZE): Likewise.
36803         (__mpn_sub_n): Do not use BP_SYM.
36804         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36805         "bp-asm.h".
36806         (PARMS): Do not use macros from bp-asm.h.
36807         (S1): Likewise.
36808         (SIZE): Likewise.
36809         (__mpn_submul_1): Do not use BP_SYM.
36810         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36811         <bp-sym.h>.
36812         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36813         and <bp-asm.h>.
36814         (PARMS): Do not use macros from bp-asm.h.
36815         (FLAGS): Likewise.
36816         (PTID): Likewise.
36817         (TLS): Likewise.
36818         (CTID): Likewise.
36819         (__clone): Do not use BP_SYM.
36820         (clone): Do not use BP_SYM in weak_alias.
36821         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36822         and <bp-asm.h>.
36823         (PARMS): Do not use macros from bp-asm.h.
36824         (LEN): Likewise.
36825         (__mmap64): Do not use BP_SYM.
36826         (mmap64): Do not use BP_SYM in weak_alias.
36827         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36828         <bp-sym.h> and <bp-asm.h>.
36829         (PARMS): Do not use macros from bp-asm.h.
36830         (__posix_fadvise64_l64): Do not use BP_SYM.
36831         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36832         (PARMS): Do not use macros from bp-asm.h.
36833         (NSOPS): Likewise.
36834         (semtimedop): Do not use BP_SYM.
36835         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36836         and <bp-asm.h>.
36838 2013-02-21  Allan McRae  <allan@archlinux.org>
36840         * manual/message.texi (Charset conversion in gettext):
36841         Move @end statement to beginning of line.
36843 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36846         static.
36847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36848         Likewise.
36850         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36851         (denorm): Likewise.
36852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36855 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36857         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36858         tail-call to the resolved function if pltexit isn't needed.
36860 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36863         or Y being zero as being unlikely.
36864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36865         Likewise.
36867 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36869         * manual/nss.texi (System Databases and Name Service Switch):
36870         Remove frobnicate @pxref.
36872 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36874         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36875         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36877 2013-02-20  Petr Machata  <pmachata@redhat.com>
36879         * elf/elf.h (R_ARM_TARGET1): New macro.
36880         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36881         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36882         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36883         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36884         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36885         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36886         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36887         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36888         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36889         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36890         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36891         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36892         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36893         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36894         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36895         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36896         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36897         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36898         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36899         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36900         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36901         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36902         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36903         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36904         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36905         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36906         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36907         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36908         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36909         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36910         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36911         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36912         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36913         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36914         (R_ARM_THM_GOT_BREL12): Likewise.
36915         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36916         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36917         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36918         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36919         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36920         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36921         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36922         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36923         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36925 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36927         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36928         __attribute_used__ to __attribute__ ((unused)).
36930 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36932         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36933         powerpc mpa.c.
36934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36935         comment formatting.
36936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36938 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36940         [BZ #13550]
36941         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36942         Remove macro.
36943         (ENTER): Remove both macro definitions.
36944         (LEAVE): Likewise.
36945         (CHECK_BOUNDS_LOW): Likewise.
36946         (CHECK_BOUNDS_HIGH): Likewise.
36947         (CHECK_BOUNDS_BOTH): Likewise.
36948         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36949         (RETURN_BOUNDED_POINTER): Likewise.
36950         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36951         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36952         (POP_ERRNO_LOCATION_RETURN): Likewise.
36953         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36954         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36955         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36956         macros.
36957         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36958         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36959         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36960         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36961         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36962         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36963         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36964         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36965         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36966         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36967         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36968         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36969         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36970         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36971         removed macros.
36972         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36973         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36974         macros.
36975         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36976         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36977         * sysdeps/i386/i586/memset.S (memset): Likewise.
36978         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36979         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36980         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36981         macros.
36982         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36983         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36984         Change uses of L(2) to L(out).
36985         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36986         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36987         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36988         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36989         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36990         removed macros.
36991         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36992         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36993         macros.
36994         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36995         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36996         (RETURN): Do not use macro LEAVE.
36997         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36998         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36999         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37000         * sysdeps/i386/i686/memset.S (memset): Likewise.
37001         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37002         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37003         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37004         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37005         Likewise.
37006         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37007         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37008         L(1_2) and L(1_3) into L(1).
37009         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37010         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37011         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37012         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37013         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37014         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37015         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37016         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37017         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37018         macros.
37019         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37020         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37021         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37022         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37023         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37024         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37025         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37026         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37027         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37028         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37029         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37030         * sysdeps/i386/strspn.S (strspn): Likewise.
37031         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37032         conditional code.
37033         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37034         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37035         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37036         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37037         L(1_3) into L(1_1).
37038         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37039         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37040         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37041         macros.
37042         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37044 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37046         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37047         macro.
37049 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37051         * math/atest-exp.c (exp_mpn): Remove ROUND.
37052         * math/atest-exp2.c (exp_mpn): Likewise.
37053         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37055         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37056         * stdlib/tst-tls-atexit-lib.c: Likewise.
37057         * stdlib/tst-tls-atexit.c: Likewise.
37059 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37061         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37062         and __attribute_alloc_size__.
37064 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37066         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37067         __attribute_alloc_size__.
37068         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37069         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37071 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37073         * include/programs/xmalloc.h: New file.
37074         * catgets/gencat.c: Include it.
37075         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37076         * elf/pldd.c: Likewise.
37077         * iconv/iconv_charmap.c: Likewise.
37078         * iconv/iconvconfig.c: Likewise.
37079         * iconv/strtab.c: Likewise.
37080         * locale/programs/locale.c: Likewise.
37081         * locale/programs/localedef.h: Likewise.
37082         * locale/programs/simple-hash.c: Likewise.
37083         * nscd/nscd.h: Likewise.
37084         * nss/makedb.c: Likewise.
37085         * sysdeps/generic/ldconfig.h: Likewise.
37087 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37089         * Versions.def: Add GLIBC_2.18.
37090         * include/link.h (struct link_map): New member l_tls_dtor_count.
37091         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37092         (__call_tls_dtors): Likewise.
37093         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37094         __cxa_thread_atexit_impl.
37095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37096         Likewise.
37097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37098         Likewise.
37099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37100         Likewise.
37101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37102         Likewise.
37103         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37105         Likewise.
37106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37107         Likewise.
37108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37110         Likewise.
37111         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37112         (tests): Add test case tst-tls-atexit.
37113         (modules-names): Add shared library for tst-tls-atexit.
37114         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37115         (GLIBC_PRIVATE): Add __call_tls_dtors.
37116         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37117         for libstdc++.
37118         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37119         * stdlib/tst-tls-atexit.c: New test case.
37120         * stdlib/tst-tls-atexit-lib.c: New test case.
37122         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37124         * elf/Versions (ld): Add _dl_find_dso_for_object.
37125         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37126         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37127         (dl_open_worker): Use _dl_find_dso_for_object.
37128         * elf/dl-sym.c (do_sym): Likewise.
37129         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37131 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37133         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37134         Syntactic changes only.
37135         (_dl_runtime_profile): Do a tail-call to the resolved function.
37137 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37139         [BZ #13550]
37140         * sysdeps/x86_64/bp-asm.h: Remove file.
37141         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37142         <bp-sym.h> and <bp-asm.h>.
37143         (__clone): Do not use BP_SYM.
37144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37145         <bp-sym.h> and <bp-asm.h>.
37146         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37147         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37148         "bp-asm.h".
37149         (_setjmp): Do not use BP_SYM.
37150         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37151         "bp-asm.h".
37152         (setjmp): Do not use BP_SYM.
37153         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37154         libc_hidden_def.
37155         (mempcpy): Do not use BP_SYM in weak_alias.
37156         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37157         "bp-asm.h".
37158         (strchr): Do not use BP_SYM.
37159         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37160         "bp-asm.h".
37161         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37162         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37163         (_start): Do not use BP_SYM.
37164         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37165         "bp-asm.h".
37166         (strcat): Do not use BP_SYM.
37167         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37168         "bp-asm.h".
37169         (STRCMP): Do not use BP_SYM.
37170         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37171         "bp-asm.h".
37172         (STRCPY): Do not use BP_SYM.
37173         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37174         "bp-asm.h".
37175         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37176         "bp-asm.h".
37177         (FUNCTION): Do not use BP_SYM.
37178         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37179         weak_alias.
37180         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37182 2013-02-17  Andreas Jaeger  <aj@suse.de>
37184         * time/Versions: Sort entries.
37185         * string/Versions: Likewise.
37186         * resolv/Versions: Likewise.
37187         * posix/Versions: Likewise.
37188         * iconv/Versions: Likewise.
37189         * elf/Versions: Likewise.
37190         * wcsmbs/Versions: Likewise.
37192 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37194         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37195         loop termination condition.
37197         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37198         variable to calculate EZ.
37199         (__sqr): Likewise.
37201         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37202         the lower precision input.
37204 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37206         [BZ #13550]
37207         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37208         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37209         (run-via-rtld-prefix): Do not handle %-bp tests.
37210         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37211         (all-object-suffixes): Remove .ob.
37212         (bppfx): Remove variable.
37213         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37214         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37215         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37216         [$(build-bounded) = yes] (libtype.ob): Likewise.
37217         * Makerules (elide-routines.ob): Remove variable.
37218         (do-tests-clean): Do not handle *-bp.out.
37219         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37220         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37221         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37222         (tests): Do not include $(tests-bp.out).
37223         (xtests): Do not include $(xtests-bp.out).
37224         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37225         [$(build-bounded) = yes] ($(addprefix
37226         $(objpfx),$(binaries-bounded))): Remove rule.
37227         ($(objpfx)%-bp.out): Remove rule.
37228         * config.make.in (build-bounded): Remove variable.
37229         * crypt/Makefile [$(build-bounded) = yes]
37230         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37231         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37232         append to variable.
37233         [$(build-bounded) = yes] (install-lib): Likewise.
37234         [$(build-bounded) = yes] (generated): Likewise.
37235         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37236         Remove rule.
37237         * intl/Makefile [$(build-bounded) = yes]
37238         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37239         * math/Makefile [$(build-bounded) = yes]
37240         ($(tests:%=$(objpfx)%-bp): Likewise.
37241         * misc/Makefile [$(build-bounded) = yes]
37242         ($(objpfx)tst-tsearch-bp): Likewise.
37243         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37244         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37245         Remove dependency.
37246         * string/Makefile (o-objects.ob): Remove variable.
37247         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37248         (CFLAGS-.ob): Remove variable.
37249         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37250         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37251         both definitions of variable.
37252         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37253         (ASFLAGS-.ob): Remove variable.
37255 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37257         [BZ #13550]
37258         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37259         Remove __BOUNDED_POINTERS__ from condition.
37260         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37261         * string/bits/string2.h [!__NO_STRING_INLINES &&
37262         !__BOUNDED_POINTERS__]: Likewise.
37263         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37264         Likewise.
37265         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37266         Remove conditional code.
37267         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37268         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37269         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37270         condition.
37272         [BZ #13550]
37273         * csu/libc-start.c: Do not include <bp-sym.h>.
37274         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37275         * elf/dl-open.c: Do not include <bp-sym.h>.
37276         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37277         * math/fegetenv.c: Do not include <bp-sym.h>.
37278         (fegetenv): Do not use BP_SYM in versioned symbols.
37279         * nptl/sysdeps/pthread/bits/libc-lockP.h
37280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37281         <bp-sym.h>.
37282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37283         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37285         (__pthread_mutex_destroy): Likewise.
37286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37287         (__pthread_mutex_lock): Likewise.
37288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37289         (__pthread_mutex_trylock): Likewise.
37290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37291         (__pthread_mutex_unlock): Likewise.
37292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37293         (__pthread_mutexattr_init): Likewise.
37294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37295         (__pthread_mutexattr_destroy): Likewise.
37296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37297         (__pthread_mutexattr_settype): Likewise.
37298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37299         (__pthread_rwlock_init): Likewise.
37300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37301         (__pthread_rwlock_destroy): Likewise.
37302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37303         (__pthread_rwlock_rdlock): Likewise.
37304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37305         (__pthread_rwlock_tryrdlock): Likewise.
37306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37307         (__pthread_rwlock_wrlock): Likewise.
37308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37309         (__pthread_rwlock_trywrlock): Likewise.
37310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37311         (__pthread_rwlock_unlock): Likewise.
37312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37313         (__pthread_key_create): Likewise.
37314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37315         (__pthread_setspecific): Likewise.
37316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37317         (__pthread_getspecific): Likewise.
37318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37319         Likewise.
37320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37321         (_pthread_cleanup_push_defer): Likewise.
37322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37323         (_pthread_cleanup_pop_restore): Likewise.
37324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37325         (pthread_setcancelstate): Likewise.
37326         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37327         <bp-sym.h>.
37328         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37329         (memchr): Do not use BP_SYM in weak_alias.
37330         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37331         (fegetenv): Do not use BP_SYM in versioned symbols.
37332         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37333         (fesetenv): Do not use BP_SYM in versioned symbols.
37334         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37335         (feupdateenv): Do not use BP_SYM in versioned symbols.
37336         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37337         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37338         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37339         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37340         (open64): Do not use BP_SYM in weak_alias.
37341         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37342         (fegetenv): Do not use BP_SYM in versioned symbols.
37343         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37344         (fesetenv): Do not use BP_SYM in versioned symbols.
37345         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37346         (feupdateenv): Do not use BP_SYM in versioned symbols.
37347         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37348         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37349         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37350         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37351         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37352         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37353         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37354         <bp-sym.h>.
37355         (__libc_start_main): Do not use BP_SYM.
37357 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37360         redundant return line.
37361         (norm): Likewise.
37362         (denorm): Likewise.
37363         (dbl_mp): Likewise.
37364         (sub_magnitudes): Likewise.
37365         (__add): Likewise.
37366         (__sub): Likewise.
37367         (__mul): Likewise.
37368         (__inv): Likewise.
37369         (__dvd): Likewise.
37370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37371         (norm): Likewise.
37372         (denorm): Likewise.
37373         (dbl_mp): Likewise.
37374         (sub_magnitudes): Likewise.
37375         (__add): Likewise.
37376         (__sub): Likewise.
37377         (__mul): Likewise.
37378         (__inv): Likewise.
37379         (__dvd): Likewise.
37381         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37382         instead of __mul.
37383         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37384         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37385         (cc32): Likewise.
37387         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37388         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37389         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37390         of __mul for squares.
37391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37392         function
37393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37394         Likewise.
37395         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37396         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37398 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37400         [BZ #13550]
37401         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37402         code.
37403         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37404         prototype or function definition.  Rename ubp_* variables and
37405         parameters.  Remove argv definitions conditional on
37406         [__BOUNDED_POINTERS__].
37407         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37408         * elf/dl-runtime.c (_dl_fixup): Likewise.
37409         * include/set-hooks.h (RUN_HOOK): Likewise.
37410         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37411         definition.
37412         * string/strcpy.c (strcpy): Do not use __unbounded.
37413         * sysdeps/generic/frame.h (struct layout): Likewise.
37414         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37415         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37416         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37417         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37418         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37419         (__backtrace): Likewise.
37420         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37421         use __ptrvalue.
37422         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37423         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37424         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37425         Likewise.
37426         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37427         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37428         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37429         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37430         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37431         Do not use __unbounded.
37432         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37433         Rename __unboundedrlimits parameter to rlimits in prototype.
37434         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37435         Do not use __unbounded.
37436         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37437         not use __ptrvalue.
37438         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37439         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37440         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37441         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37442         __ptrvalue or __unbounded.
37443         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37444         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37445         use __unbounded.
37446         (__new_msgctl): Do not use __ptrvalue.
37447         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37448         __unbounded.
37449         (__libc_msgrcv): Do not use __ptrvalue.
37450         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37451         startup_info): Do not use __unbounded.
37452         (__libc_start_main): Likewise.  Rename ubp_* variables and
37453         parameters.  Remove argv definitions conditional on
37454         [__BOUNDED_POINTERS__].
37455         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37456         __ptrvalue.
37457         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37458         use __unbounded.
37459         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37460         or __ptrvalue.
37461         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37462         use __unbounded.
37463         (__new_shmctl): Do not use __ptrvalue.
37464         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37465         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37466         Likewise.
37467         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37468         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37469         (__libc_sigaction): Likewise.
37470         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37471         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37472         Likewise.
37473         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37475 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37477         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37479         * string/mempcpy.c: Implement by calling memcpy.
37481 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37483         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37485         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37486         evaluation.
37488         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37489         values in the mantissa.
37491         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37492         minimize writes to Z.
37493         (sub_magnitudes): Simplify code a bit.
37495 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37497         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37498         from the message.  The linker prefixes all warnings with that already.
37500 2013-02-12  Andreas Schwab  <schwab@suse.de>
37502         [BZ #15078]
37503         * posix/regexec.c (extend_buffers): Add parameter min_len.
37504         (check_matching): Pass minimum needed length.
37505         (clean_state_log_if_needed): Likewise.
37506         (get_subexp): Likewise.
37507         * posix/Makefile (tests): Add bug-regex34.
37508         (bug-regex34-ENV): Define.
37509         * posix/bug-regex34.c: New file.
37511         [BZ #11561]
37512         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37513         elements compare against the byte sequence of it, not its name.
37514         * posix/Makefile (tests): Add bug-regex35.
37515         (bug-regex35-ENV): Define.
37516         * posix/bug-regex35.c: New file.
37518 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37520         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37521         comment.
37522         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37523         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37524         (CHECK_EOL): Add undef.
37526 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37528         * bits/stdlib-bsearch.h: New file.
37529         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37530         * stdlib/stdlib.h: Likewise.
37532 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37534         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37535         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37536         declaration.
37537         * manual/search.texi (Array Search Function): Add missing const in
37538         lfind prototype.
37539         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37540         declaration to use rlim_t.
37541         (Basic Scheduling Functions): Remove erroneous const from
37542         sched_getparam prototype.  Remove erroneous * from
37543         sched_get_priority_max and sched_get_priority_min prototypes.
37544         (Resource Usage): Fix summary @comment on vtimes to refer to
37545         sys/vtimes.h rather than vtimes.h.
37546         Add missing *s in vtimes prototype.
37547         (Limits on Resources): Fix ulimit prototype to return long int.
37548         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37549         prototypes to use long int rather than double.
37550         (BSD Random): Fix initstate and setstate to use char *, not void *.
37551         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37552         prototype to make second argument 'struct aiocb64 *const[]'.
37553         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37554         (Status of AIO Operations): Remove erroneous const in aio_return and
37555         aio_return64 prototypes.
37556         (Synchronizing I/O): Fix sync prototype to return void.
37557         * manual/startup.texi (Suboptions): Remove an erroneous const in
37558         getsubopt prototype.
37559         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37560         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37561         use size_t rather than int.
37562         (Scanning All Users): Likewise for getpwent_r.
37563         (Setting Groups): Add missing const to setgroups prototype.
37564         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37565         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37566         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37567         'const void *' rather than 'const char *'.
37568         (Host Address Functions): Likewise for inet_ntop.
37569         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37570         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37571         ssize_t for return value.
37572         (Sending Data): Likewise for send, sendto, sendmsg.
37573         (Socket Option Functions): Add a missing const in setsockopt prototype.
37574         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37575         use wchar_t for the argument.
37576         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37577         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37578         take no arguments.
37579         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37580         double/float/long double for second argument.
37581         Fix return types of significand, significandf, significandl.
37582         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37583         argument in fchmod prototype.
37584         (File Owner): Use uid_t and gid_t in fchown prototype.
37585         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37586         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37587         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37588         use 'const struct dirent **' as argument types to CMP function pointer
37589         argument.
37590         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37591         (File Times): Fix summary magic @comment for struct utimbuf and utime
37592         to refer to utime.h, not time.h.
37593         * manual/string.texi (Argz Functions): Add missing const in
37594         argz_extract and argz_next prototypes.
37595         (Finding Tokens in a String): Likewise for basename.
37596         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37597         (Copying and Concatenation): Fix typo in wmemmove prototype.
37598         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37599         (Signal Stack): Remove erroneous const in sigstack prototype.
37600         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37601         prototype.
37602         (Simple Calendar Time): Likewise for stime.
37603         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37604         prototype.
37605         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37606         say sys/sysctl.h instead.
37607         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37608         and vsyslog prototypes.
37610 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37612         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37613         Remove.
37615 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37617         * misc/sys/mman.h: Fix typo in mremap comment.
37619 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37621         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37622         the '\0' terminator.
37624 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37626         [BZ #13550]
37627         * debug/segfault.c: Don't include <bp-checks.h>.
37628         * sysdeps/generic/bp-checks.h: Remove file.
37629         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37630         (__GETDENTS): Don't use CHECK_N.
37631         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37632         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37633         (__getgroups): Don't use CHECK_N.
37634         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37635         (setgroups): Don't use CHECK_N.
37636         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37637         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37638         (__libc_msgrcv): Don't use CHECK_N.
37639         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37640         (__libc_msgsnd): Don't use CHECK_N.
37641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37642         <bp-checks.h>.
37643         (__libc_pread): Don't use CHECK_N.
37644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37645         include <bp-checks.h>.
37646         (__libc_pread64): Don't use CHECK_N.
37647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37648         include <bp-checks.h>.
37649         (__libc_pwrite): Don't use CHECK_N.
37650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37651         include <bp-checks.h>.
37652         (__libc_pwrite64): Don't use CHECK_N.
37653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37654         <bp-checks.h>.
37655         (__libc_pread): Don't use CHECK_N.
37656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37657         include <bp-checks.h>.
37658         (__libc_pread64): Don't use CHECK_N.
37659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37660         include <bp-checks.h>.
37661         (__libc_pwrite): Don't use CHECK_N.
37662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37663         include <bp-checks.h>.
37664         (__libc_pwrite64): Don't use CHECK_N.
37665         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37666         (do_pread): Don't use CHECK_N.
37667         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37668         (do_pread64): Don't use CHECK_N.
37669         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37670         (do_pwrite): Don't use CHECK_N.
37671         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37672         (do_pwrite64): Don't use CHECK_N.
37673         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37674         (__libc_readv): Don't use CHECK_N.
37675         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37676         (semop): Don't use CHECK_N.
37677         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37678         <bp-checks.h>.
37679         (semtimedop): Don't use CHECK_N.
37680         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37681         (__libc_pread): Don't use CHECK_N.
37682         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37683         <bp-checks.h>.
37684         (__libc_pread64): Don't use CHECK_N.
37685         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37686         <bp-checks.h>.
37687         (__libc_pwrite): Don't use CHECK_N.
37688         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37689         <bp-checks.h>.
37690         (__libc_pwrite64): Don't use CHECK_N.
37691         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37692         <bp-checks.h>.
37693         (__libc_msgrcv): Don't use CHECK_N.
37694         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37695         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37696         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37697         (__libc_writev): Don't use CHECK_N.
37699 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37701         * string/strcpy.c: Removed unused variable.
37703         * Makeconfig (+sysdep-includes): Define with := rather than =.
37704         Use an existing include/ subdir of each sysdeps dir before it.
37706 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37708         * nscd/connection.c (register_traced_file): Comment function.
37709         [HAVE_INOTIFY] (union __inev): Define.
37710         [HAVE_INOTIFY] (inotify_check_files): New function.
37711         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37712         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37713         clear_db_cache.
37714         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37716 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37718         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37719         loaded if not already and that a failure is permanent.
37721 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37723         [BZ #15006]
37724         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37725         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37727 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37729         [BZ #13550]
37730         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37731         (CHECK_1_NULL_OK): Likewise.
37732         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37733         (__fxstat): Do not use CHECK_1.
37734         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37735         <bp-checks.h>.
37736         (___fxstat64): Do not use CHECK_1.
37737         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37738         <bp-checks.h>.
37739         (__fxstatat): Do not use CHECK_1.
37740         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37741         <bp-checks.h>.
37742         (__fxstatat64): Do not use CHECK_1.
37743         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37744         <bp-checks.h>.
37745         (__fxstat): Do not use CHECK_1.
37746         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37747         <bp-checks.h>.
37748         (__fxstatat): Do not use CHECK_1.
37749         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37750         <bp-checks.h>.
37751         (__getresgid): Do not use CHECK_1.
37752         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37753         <bp-checks.h>.
37754         (__getresuid): Do not use CHECK_1.
37755         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37756         <bp-checks.h>.
37757         (__lxstat): Do not use CHECK_1.
37758         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37759         <bp-checks.h>.
37760         (__old_msgctl): Do not use CHECK_1.
37761         (__new_msgctl): Likewise.
37762         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37763         <bp-checks.h>.
37764         (__new_setrlimit): Do not use CHECK_1.
37765         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37766         <bp-checks.h>.
37767         (__old_shmctl): Do not use CHECK_1.
37768         (__new_shmctl): Likewise.
37769         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37770         <bp-checks.h>.
37771         (__xstat): Do not use CHECK_1.
37772         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37773         (__lxstat): Do not use CHECK_1.
37774         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37775         <bp-checks.h>.
37776         (___lxstat64): Do not use CHECK_1.
37777         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37778         (__old_msgctl): Do not use CHECK_1.
37779         (__new_msgctl): Likewise.
37780         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37781         <bp-checks.h>.
37782         (__gettimeofday): Do not use CHECK_1.
37783         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37784         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37785         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37786         <bp-checks.h>.
37787         (__gettimeofday): Do not use CHECK_1.
37788         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37789         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37790         (__new_shmctl): Do not use CHECK_1.
37791         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37792         <bp-checks.h>.
37793         (do_sigtimedwait): Do not use CHECK_1.
37794         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37795         <bp-checks.h>.
37796         (do_sigwaitinfo): Do not use CHECK_1.
37797         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37798         <bp-checks.h>.
37799         (msgctl): Do not use CHECK_1.
37800         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37801         <bp-checks.h>.
37802         (shmctl): Do not use CHECK_1.
37803         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37804         (ustat): Do not use CHECK_1.
37805         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37806         <bp-checks.h>.
37807         (__fxstat): Do not use CHECK_1.
37808         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37809         <bp-checks.h>.
37810         (__fxstatat): Do not use CHECK_1.
37811         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37812         <bp-checks.h>.
37813         (__lxstat): Do not use CHECK_1.
37814         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37815         <bp-checks.h>.
37816         (__xstat): Do not use CHECK_1.
37817         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37818         (__xstat): Do not use CHECK_1.
37819         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37820         (___xstat64): Do not use CHECK_1.
37822         [BZ #13550]
37823         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37824         definitions.
37825         (CHECK_BOUNDS_HIGH): Likewise.
37826         * string/strcpy.c: Do not include <bp-checks.h>.
37827         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37829 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37831         * nscd/nscd-client.h (__nscd_drop_map_ref):
37832         Add __attribute__ ((unused)).
37833         * nis/nss-nisplus.h (niserr2nss): Likewise.
37835         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37836         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37838         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37839         Remove inline keyword.
37840         * include/rounding-mode.h (round_away): Likewise.
37841         * libio/wfileops.c (adjust_wide_data): Likewise.
37842         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37843         (__m128i_strloadu_tolower): Likewise.
37844         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37845         (__m128i_strloadu_tolower): Likewise.
37846         * time/mktime.c (ydhms_diff): Likewise.
37847         * locale/elem-hash.h (elem_hash): Likewise.
37848         * locale/setlocale.c (setdata): Likewise.
37849         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37850         (re_string_wchar_at): Likewise.
37851         (bitset_not, bitset_merge, bitset_mask): Likewise.
37852         [!(__GNUC__ > 3)] (inline): Remove macro.
37853         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37854         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37855         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37856         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37857         * string/memcmp.c (memcmp_bytes): Likewise.
37858         * locale/programs/locarchive.c (compute_hashval): Likewise.
37859         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37860         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37861         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37862         * nss/getent.c (print_rpc, print_protocols): Likewise.
37863         (print_passwd, print_group, print_aliases): Likewise.
37864         * nis/nss-nisplus.h (niserr2nss): Likewise.
37865         * nscd/connections.c (restart_p): Likewise.
37866         Change return type to bool.
37868 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37870         * Makeconfig (all-Depend-files): Add existing
37871         $(sorted-subdirs:=/Depend) files.
37872         (all-subdirs): Remove nss.
37873         * sysdeps/unix/inet/Subdirs: Add it here instead.
37874         * hesiod/Depend: New file.
37876         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37877         instead of calling alloca.
37879         * io/lseek.c (__lseek): Rename to __libc_lseek.
37880         Define __lseek as an alias.
37882         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37884 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37886         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37887         else clause and remove check for non-standard endianness.
37889 2013-02-04  David S. Miller  <davem@davemloft.net>
37891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37893 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37895         [BZ #13550]
37896         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37897         (__ubp_memchr): Remove prototype.
37898         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37899         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37900         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37901         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37902         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37903         Remove alias.
37904         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37905         (__ubp_memchr): Likewise.
37906         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37907         (__ubp_memchr): Likewise.
37908         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37909         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37910         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37911         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37912         CHECK_STRING.
37913         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37914         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37915         (__getcwd): Do not use CHECK_STRING.
37916         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37917         <bp-checks.h>.
37918         (__real_chown): Do not use CHECK_STRING.
37919         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37920         <bp-checks.h>.
37921         (fchownat): Do not use CHECK_STRING.
37922         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37923         CHECK_STRING.
37924         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37925         <bp-checks.h>.
37926         (__lchown): Do not use CHECK_STRING.
37927         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37928         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37929         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37930         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37932         include <bp-checks.h>.
37933         (truncate64): Do not use CHECK_STRING.
37934         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37935         <bp-checks.h>.
37936         (__real_chown): Do not use CHECK_STRING.
37937         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37938         <bp-checks.h>.
37939         (__lchown): Do not use CHECK_STRING.
37940         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37941         <bp-checks.h>.
37942         (__chown): Do not use CHECK_STRING.
37943         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37944         <bp-checks.h>.
37945         (truncate64): Do not use CHECK_STRING.
37946         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37947         Likewise.
37948         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37949         (__xmknod): Do not use CHECK_STRING.
37950         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37951         <bp-checks.h>.
37952         (__xmknodat): Do not use CHECK_STRING.
37953         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37954         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37956 2013-02-04  Andreas Schwab  <schwab@suse.de>
37958         [BZ #14142]
37959         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37960         * include/netdb.h: Likewise for h_errno.
37961         * elf/tst-stackguard1.c: Include <tls.h>.
37963 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37965         * elf/link.h (struct link_map): Extend the l_addr comment.
37966         * include/link.h (struct link_map): Likewise.
37968 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37970         [BZ #13550]
37971         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37972         (BOUNDED_1): Remove macro.
37973         * debug/backtrace.c: Don't include <bp-checks.h>.
37974         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37975         (__backtrace): Likewise.
37976         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37977         <bp-checks.h>.
37978         (__backtrace): Don't use BOUNDED_1.
37979         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37980         <bp-checks.h>.
37981         (__backtrace): Don't use BOUNDED_1.
37982         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37983         (__backtrace): Don't use BOUNDED_1.
37984         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37985         (shmat): Don't use BOUNDED_N.
37987 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37989         [BZ #13550]
37990         * sysdeps/generic/bp-start.h: Remove file.
37991         * csu/libc-start.c: Don't include <bp-start.h>.
37992         (LIBC_START_MAIN): Set up __environ directly instead of using
37993         INIT_ARGV_and_ENVIRON.
37994         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37995         <bp-start.h>.
37997         [BZ #13550]
37998         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37999         definitions.
38000         (CHECK_FCNTL): Likewise.
38001         (CHECK_N_PAGES): Likewise.
38003         [BZ #13550]
38004         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38005         definitions.
38006         (CHECK_SIGSET_NULL_OK): Likewise.
38007         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38008         <bp-checks.h>.
38009         (sigpending): Don't use CHECK_SIGSET.
38010         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38011         <bp-checks.h>.
38012         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38013         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38014         <bp-checks.h>.
38015         (do_sigsuspend): Don't use CHECK_SIGSET.
38016         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38017         use CHECK_SIGSET.
38018         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38019         (do_sigwait): Don't use CHECK_SIGSET.
38020         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38021         use CHECK_SIGSET.
38022         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38023         include <bp-checks.h>.
38024         (sigpending): Don't use CHECK_SIGSET.
38025         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38026         include <bp-checks.h>.
38027         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38028         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38029         <bp-checks.h>.
38030         (sigpending): Don't use CHECK_SIGSET.
38031         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38032         <bp-checks.h>.
38033         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38035         [BZ #13550]
38036         * sysdeps/generic/bp-semctl.h: Remove file.
38037         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38038         <bp-checks.h> and <bp-semctl.h>.
38039         (__old_semctl): Don't use CHECK_SEMCTL.
38040         (__new_semctl): Likewise.
38041         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38042         and <bp-semctl.h>.
38043         (__old_semctl): Don't use CHECK_SEMCTL.
38044         (__new_semctl): Likewise.
38045         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38046         <bp-checks.h> and <bp-semctl.h>.
38047         (__old_semctl): Don't use CHECK_SEMCTL.
38048         (__new_semctl): Likewise.
38049         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38050         <bp-checks.h> and <bp-semctl.h>.
38051         (semctl): Don't use CHECK_SEMCTL.
38053         [BZ #13550]
38054         * Makerules (elide-bp-thunks): Remove variable.
38055         (elide-routines.oS): Don't use $(elide-bp-thunks).
38056         (elide-routines.os): Likewise.
38057         (elide-routines.o): Likewise.
38058         (elide-routines.op): Likewise.
38059         (elide-routines.og): Likewise.
38060         (objects): Don't use $(bp-thunks).
38061         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38062         include.
38063         (common-generated): Do not add s-proto-bp.d.
38064         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38065         (int): Likewise.
38066         (typ): Likewise.
38067         Do not generate makefile rules for bounded-pointer thunks.
38068         * sysdeps/generic/bp-thunks.h: Remove file.
38069         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38070         * sysdeps/unix/s-proto-bp.S: Likewise.
38072         [BZ #15062]
38073         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38074         parts of result separately when argument is not close to line from
38075         -i to i and one part of argument is small.
38076         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38077         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38078         * math/libm-test.inc (cacos_test): Add more tests.
38079         (casin_test): Likewise.
38080         (casinh_test): Likewise.
38081         * sysdeps/i386/fpu/libm-test-ulps: Update.
38082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38084 2013-01-31  David S. Miller  <davem@davemloft.net>
38086         * po/de.po: Update from translation team.
38088 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38090         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38092 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38094         * configure.in (_AC_PROG_CC_C89): New definition.
38095         * configure: Regenerate.
38097         * configure.in (AC_PROG_CPP): New definition.
38098         * configure: Regenerate.
38100 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38102         * debug/tst-backtrace.h: New file.
38103         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38104         (ret): Remove variable.
38105         (x): Likewise.
38106         (FAIL): Remove macro.
38107         (NO_INLINE): Likewise.
38108         (fn1): Use match function instead of strstr.
38109         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38110         (ret): Remove variable.
38111         (x): Likewise.
38112         (FAIL): Remove macro.
38113         (NO_INLINE): Likewise.
38114         (fn): Use match function instead of strstr.
38115         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38116         (ret): Remove variable.
38117         (x): Likewise.
38118         (FAIL): Remove macro.
38119         (NO_INLINE): Likewise.
38120         (handle_signal): Use match function instead of strstr.
38121         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38122         (ret): Remove variable.
38123         (x): Likewise.
38124         (FAIL): Remove macro.
38125         (NO_INLINE): Likewise.
38126         (handle_signal): Use match function instead of strstr.
38128 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38130         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38132 2013-01-23  David S. Miller  <davem@davemloft.net>
38134         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38135         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38136         argument of CAS if possible.
38137         * sysdeps/sparc/sparc64/bits/atomic.h
38138         (__arch_compare_and_exchange_val_32_acq): Likewise.
38139         (__arch_compare_and_exchange_val_64_acq): Likewise.
38141 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38143         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38144         * sysdeps/posix/ulimit.c: ... this.
38145         Include <limits.h>.
38146         * sysdeps/unix/bsd/ulimit.c: Remove file.
38148 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38150         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38151         (LDFLAGS-tst-array5): Likewise.
38153 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38155         [BZ #15036]
38156         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38157         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38158         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38159         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38161 2013-01-21  David S. Miller  <davem@davemloft.net>
38163         * sysdeps/sparc/backtrace.c: New file.
38164         * sysdeps/sparc/sparc32/backtrace.h: New file.
38165         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38166         * sysdeps/sparc/sparc64/backtrace.h: New file.
38167         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38168         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38169         -funwind-tables.
38171 2013-01-21  Andreas Schwab  <schwab@suse.de>
38173         [BZ #15020]
38174         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38175         closed its stdout.
38177 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38180         "mpa2.h".
38181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38183 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38184             Mark Mitchell  <mark@codesourcery.com>
38185             Tom de Vries  <tom@codesourcery.com>
38186             Paul Pluzhnikov  <ppluzhnikov@google.com>
38188         * debug/tst-backtrace2.c: New file.
38189         * debug/tst-backtrace3.c: Likewise.
38190         * debug/tst-backtrace4.c: Likewise.
38191         * debug/tst-backtrace5.c: Likewise.
38192         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38193         (CFLAGS-tst-backtrace3.c): Likewise.
38194         (CFLAGS-tst-backtrace4.c): Likewise.
38195         (CFLAGS-tst-backtrace5.c): Likewise.
38196         (LDFLAGS-tst-backtrace2): Likewise.
38197         (LDFLAGS-tst-backtrace3): Likewise.
38198         (LDFLAGS-tst-backtrace4): Likewise.
38199         (LDFLAGS-tst-backtrace5): Likewise.
38200         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38201         tst-backtrace4 and tst-backtrace5.
38203 2013-01-18  Anton Blanchard  <anton@samba.org>
38204             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38206         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38207         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38208         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38209         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38211         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38212         "+r" and remove output regs list as redundant.  Add explicit inline
38213         asm to specify register of return val to work around compiler codegen
38214         bug.  Remove (int) cast on return value.  Add return type parameter to
38215         use in macro so that this macro does not truncate return value for
38216         64-bit values.
38217         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38218         pass to INTERNAL_VSYSCALL_NCS.
38219         (INLINE_VSYSCALL): Add 'long int' as return type to
38220         INTERNAL_VSYSCALL_NCS macro invocation.
38221         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38222         INTERNAL_VSYSCALL_NCS macro invocation.
38223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38225 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38227         [BZ #14496]
38228         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38229         Fix application of SIMD FP exception mask.
38231         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38232         mp_no from a power of two.
38233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38234         __mpexp_twomm1.  Use __pow_mp.
38236         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38237         multiplication.
38239 2013-01-17  David S. Miller  <davem@davemloft.net>
38241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38243 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38245         [BZ #15023]
38246         * include/complex.h: Condition contents on [!_COMPLEX_H].
38247         (__kernel_casinhf): New prototype.
38248         (__kernel_casinh): Likewise.
38249         (__kernel_casinhl): Likewise.
38250         * math/Makefile (libm_calls): Add k_casinh.
38251         * math/k_casinh.c: New file.
38252         * math/k_casinhf.c: Likewise.
38253         * math/k_casinhl.c: Likewise.
38254         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38255         finite nonzero arguments.
38256         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38257         finite nonzero arguments.
38258         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38259         finite nonzero arguments.
38260         * math/s_casinh.c: Do not include <float.h>.
38261         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38262         * math/s_casinhf.c: Do not include <float.h>.
38263         (__casinhf): Move code for finite nonzero arguments to
38264         k_casinhf.c.
38265         * math/s_casinhl.c: Do not include <float.h>.
38266         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38267         redefine.
38268         (__casinhl): Move code for finite nonzero arguments to
38269         k_casinhl.c.
38270         * math/libm-test.inc (cacos_test): Add more tests.
38271         * sysdeps/i386/fpu/libm-test-ulps: Update.
38272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38274 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38276         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38277         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38278         [!HAVE_MREMAP]: Remove [defined linux] case.
38279         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38281 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38283         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38285 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38287         * elf/elf.h (R_386_SIZE32): New relocation.
38288         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38289         R_386_SIZE32.
38290         (elf_machine_rela): Likewise.
38291         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38292         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38294 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38296         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38297         (FP_FAST_FMA): Do not define.
38298         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38299         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38300         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38301         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38302         !_SOFT_FLOAT]: Likewise.
38303         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38304         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38305         value.
38306         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38307         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38308         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38309         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38310         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38311         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38312         file.
38314 2013-01-16  Andreas Schwab  <schwab@suse.de>
38316         [BZ #14327]
38317         * include/stdlib.h (__mktemp): Add declaration.
38318         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38319         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38321 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38323         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38324         definitions.
38325         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38326         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38327         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38328         definitions here.
38329         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38330         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38331         definitions.
38332         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38333         and ONE.
38334         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38335         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38336         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38337         definitions.
38338         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38339         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38340         definitions.
38341         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38343         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38345 2013-01-15  David S. Miller  <davem@davemloft.net>
38347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38348         trunc{,f} to libm-sysdep_routes.
38349         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38351         file.
38352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38354         file.
38355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38356         file.
38357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38359         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38360         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38361         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38362         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38363         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38364         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38367         nearbyint{,f} to libm-sysdep_routes.
38368         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38370         New file.
38371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38372         file.
38373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38374         New file.
38375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38376         file.
38377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38379         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38380         file.
38381         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38382         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38383         file.
38384         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38385         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38386         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38388         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38389         libc_feholdexcept and libc_fesetenv.
38391 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38393         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38395 2013-01-14  David S. Miller  <davem@davemloft.net>
38397         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38398         (SPARC_ASM_VIS2_IFUNC): Likewise.
38399         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38401         use of 'siam' instruction.
38402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38403         Likewise.
38404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38405         Likewise.
38406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38407         Likewise.
38408         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38411         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38413         file.
38414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38415         file.
38416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38417         file.
38418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38419         file.
38420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38421         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38423         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38425         new VIS2 routines.
38426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38429         Likewise.
38430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38435         routines to libm-sysdep_routines.
38436         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38439         fdim/fdimf to libm-sysdep_routines.
38440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38441         file.
38442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38444         file.
38445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38448         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38449         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38450         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38451         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38453 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38455         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38456         to optimize copies.
38458         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38463         local variable MPTWO.
38464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38465         Likewise.
38467 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38469         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38470         GLOB_NOESCAPE.
38472 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38474         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38476 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38478         * manual/pattern.texi (glob_t): Document gl_flags.
38479         (glob64_t): Likewise.
38481 2013-01-11  David S. Miller  <davem@davemloft.net>
38483         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38484         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38485         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38486         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38487         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38488         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38489         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38490         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38491         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38492         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38493         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38494         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38495         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38497         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38498         sparc V9 rather than using V8 code.
38499         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38500         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38502         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38503         Move to...
38504         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38505         Here.
38507 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38509         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38510         not in the main loop.
38511         * configure: Regenerated.
38513 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38515         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38516         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38517         to just #else.
38518         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38519         [!__GLIBC_HAVE_LONG_LONG] case.
38520         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38521         condition to just #else.
38522         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38523         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38524         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38525         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38526         unconditional.
38527         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38528         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38529         #elif condition to just #else.
38530         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38531         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38532         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38533         #elif condition to just #else.
38535 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38537         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38538         (EF_MIPS_ARCH_64): Fix value.
38539         (EF_MIPS_ARCH_32R2): New.
38540         (EF_MIPS_ARCH_64R2): New.
38542 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38544         * Makeconfig (+link-pie-before-libc): New.
38545         (+link-pie-after-libc): Likewise.
38546         (+link-pie-tests): Likewise.
38547         (+link-pie): Rewritten.
38548         (link-before-libc): Remove $(config-LDFLAGS).
38549         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38550         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38551         (config-LDFLAGS): Renamed to ...
38552         (rtld-LDFLAGS): This.
38553         (rtld-tests-LDFLAGS): New macro.
38554         (link-libc-rpath-link): Likewise.
38555         (link-libc-tests-rpath-link): Likewise.
38556         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38557         (link-libc): Prepand $(link-libc-rpath-link).
38558         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38559         (test-program-prefix): New macro.
38560         (test-via-rtld-prefix): Likewise.
38561         (test-program-cmd): Likewise.
38562         (host-test-program-cmd): Likewise.
38563         * Makefile ($(common-objpfx)testrun.sh): Replace
38564         $(run-program-prefix) with $(test-program-prefix).
38565         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38566         $(rtld-LDFLAGS).
38567         ($(common-objpfx)shlib.lds): Likewise.
38568         (build-module-helper): Likewise.
38569         ($(common-objpfx)format.lds): Likewise.
38570         * Rules (binaries-pie-tests): New.
38571         (binaries-pie-notests): Likewise.
38572         (binaries-pie): Rewritten.
38573         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38574         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38575         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38576         (make-test-out): Replace $(host-built-program-cmd) with
38577         $(host-test-program-cmd).
38578         * config.make.in (build-hardcoded-path-in-tests): New variable.
38579         * configure.in (--enable-hardcoded-path-in-tests): New configure
38580         option.
38581         (hardcoded_path_in_tests): New AC_SUBST.
38582         * configure: Regenerated.
38583         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38584         $(built-program-cmd) with $(test-program-cmd).
38585         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38586         (test_program_cmd): This.
38587         * elf/Makefile ($(objpfx)order.out): Run test with
38588         $(test-program-prefix).
38589         ($(objpfx)order2.out): Likewise.
38590         ($(objpfx)tst-initorder.out): Likewise.
38591         ($(objpfx)tst-initorder2.out): Likewise.
38592         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38593         $(test-program-cmd).
38594         ($(objpfx)tst-array1-static.out): Likewise.
38595         ($(objpfx)tst-array2.out): Likewise.
38596         ($(objpfx)tst-array3.out): Likewise.
38597         ($(objpfx)tst-array4.out): Likewise.
38598         ($(objpfx)tst-array5.out): Likewise.
38599         ($(objpfx)tst-array5-static.out): Likewise.
38600         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38601         $(test-program-cmd).
38602         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38603         $(run-program-prefix) with $(test-program-prefix).
38604         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38605         (test_program_prefix): This.
38606         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38607         $(run-program-prefix) with $(test-program-prefix).
38608         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38609         (test_program_prefix): This.
38610         * iconvdata/tst-tables.sh: Likewise.
38611         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38612         $(run-program-prefix) with $(test-program-prefix).
38613         ($(objpfx)tst-translit.out): Likewise.
38614         ($(objpfx)tst-gettext2.out): Likewise.
38615         ($(objpfx)tst-gettext4.out): Likewise.
38616         ($(objpfx)tst-gettext6.out): Likewise.
38617         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38618         (test_program_prefix): This.
38619         * intl/tst-gettext2.sh: Likewise.
38620         * intl/tst-gettext4.sh  Likewise.
38621         * intl/tst-gettext6.sh: Likewise.
38622         * intl/tst-translit.sh: Likewise.
38623         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38624         with $(test-program-cmd).
38625         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38626         $(run-program-prefix) with $(test-program-prefix).
38627         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38628         (test_program_prefix): This.
38629         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38630         $(run-program-prefix) with $(test-program-prefix).
38631         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38632         (test_program_prefix): This.
38633         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38634         * posix/Makefile ($(objpfx)globtest.out): Replace
38635         $(run-via-rtld-prefix) and $(test-wrapper) with
38636         $(test-program-prefix) and $(test-via-rtld-prefix).
38637         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38638         $(test-program-prefix).
38639         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38640         $(host-test-program-cmd).
38641         (tst-spawn-ARGS): Likewise.
38642         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38643         $(test-program-prefix).
38644         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38645         (test_via_rtld_prefix): This.
38646         (test_wrapper): Renamed to ...
38647         (test_program_prefix): This.
38648         (run_program_prefix): Replaced by test_program_prefix.
38649         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38650         (test_program_prefix): This.
38651         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38652         with $(host-test-program-cmd).
38653         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38654         $(run-program-prefix) with $(test-program-prefix).
38655         ($(objpfx)tst-printf.out): Likewise.
38656         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38657         $(test-program-cmd).
38658         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38659         (test_program_prefix): This.
38660         * stdio-common/tst-unbputc.sh: Likewise.
38661         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38662         $(run-program-prefix) with $(test-program-prefix).
38663         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38664         (test_program_prefix): This.
38665         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38666         $(built-program-cmd) with $(test-program-cmd).
38668 2013-01-11  Andreas Jaeger  <aj@suse.de>
38670         [BZ #15003]
38671         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38672         value. Sync with Linux 3.7.
38674 2013-01-10  David S. Miller  <davem@davemloft.net>
38676         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38677         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38678         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38680 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38682         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38683         never set.
38684         * configure: Regenerated.
38686 2013-01-10  David S. Miller  <davem@davemloft.net>
38688         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38689         sparc V9 rather than using V8 code.
38690         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38691         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38693 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38695         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38696         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38697         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38698         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38699         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38700         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38701         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38702         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38703         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38704         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38705         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38706         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38707         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38708         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38709         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38710         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38711         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38712         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38713         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38714         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38715         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38716         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38717         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38718         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38719         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38720         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38721         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38723 2013-01-10  David S. Miller  <davem@davemloft.net>
38725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38727 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38729         * posix/Makefile (tests-static): New variable.
38730         (tests): Add $(tests-static).
38731         (tst-exec-static-ARGS): New variable.
38732         (tst-spawn-static-ARGS): Likewise.
38733         * posix/tst-exec-static.c: New file.
38734         * posix/tst-spawn-static.c: Likewise.
38735         * posix/tst-exec.c: Support run directly.
38736         * posix/tst-spawn.c: Likewise.
38738 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38740         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38741         long.
38742         * math/bits/mathcalls.h (llrint): Likewise.
38743         (llround): Likewise.
38744         * stdlib/stdlib.h (struct drand48_data): Likewise.
38745         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38746         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38747         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38748         Likewise.
38749         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38750         Likewise.
38751         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38752         (elf_greg_t): Likewise.
38753         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38754         (__jmp_buf): Likewise.
38755         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38756         definitions.
38757         (llrint): Likewise, for all definitions.
38758         (llrintl): Likewise.
38760         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38761         Remove [__GNUC__] condition.
38762         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38763         condition to just [__USE_ISOC99].
38764         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38766 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38768         [BZ #14200]
38769         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38770         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38771         defined.
38772         (_POSIX_V6_ILP32_OFF32): Likewise.
38773         (_XBS5_ILP32_OFF32): Likewise.
38774         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38775         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38777 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38779         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38782         doubles __mpexp_twomm1.  Adjust usage.
38783         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38784         Remove.
38786 2013-01-10  Andreas Schwab  <schwab@suse.de>
38788         [BZ #14964]
38789         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38790         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38792 2013-01-09  David S. Miller  <davem@davemloft.net>
38794         [BZ #15003]
38795         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38796         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38797         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38798         (TCP_FASTOPEN): Define.
38799         (tcp_repair_opt): New structure.
38800         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38801         enum values.
38802         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38803         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38804         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38805         (tcp_cookie_transactions): New structure.
38807 2013-01-09  Anton Blanchard  <anton@samba.org>
38809         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38810         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38811         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38812         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38814 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38816         * include/features.h (__USE_ANSI): Remove.
38818 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38820         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38822         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38824 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38826         * sysdeps/s390/fpu/libm-test-ulps: Update.
38828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38830         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38831         (__acr): Likewise.
38832         (__cpy): Likewise.
38833         (norm): Likewise.
38834         (denorm): Likewise.
38835         (__mp_dbl): Likewise.
38836         (__dbl_mp): Likewise.
38837         (add_magnitudes): Likewise.
38838         (sub_magnitudes): Likewise.
38839         (__add): Likewise.
38840         (__sub): Likewise.
38841         (__mul): Likewise.
38842         (__inv): Likewise.
38843         (__dvd): Likewise.
38844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38845         (__acr): Likewise.
38846         (__cpy): Likewise.
38847         (norm): Likewise.
38848         (denorm): Likewise.
38849         (__mp_dbl): Likewise.
38850         (__dbl_mp): Likewise.
38851         (add_magnitudes): Likewise.
38852         (sub_magnitudes): Likewise.
38853         (__add): Likewise.
38854         (__sub): Likewise.
38855         (__mul): Likewise.
38856         (__inv): Likewise.
38857         (__dvd): Likewise.
38858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38859         (__acr): Likewise.
38860         (__cpy): Likewise.
38861         (norm): Likewise.
38862         (denorm): Likewise.
38863         (__mp_dbl): Likewise.
38864         (__dbl_mp): Likewise.
38865         (add_magnitudes): Likewise.
38866         (sub_magnitudes): Likewise.
38867         (__add): Likewise.
38868         (__sub): Likewise.
38869         (__mul): Likewise.
38870         (__inv): Likewise.
38871         (__dvd): Likewise.
38873 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38875         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38876         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38877         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38878         2 && __USE_EXTERN_INLINES]: Likewise.
38880 2013-01-08  Andreas Jaeger  <aj@suse.de>
38882         [BZ# 14985]
38883         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38884         Remove.
38885         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38886         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38888 2013-01-07  Anton Blanchard  <anton@samba.org>
38890         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38891         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38892         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38893         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38894         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38895         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38896         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38897         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38899         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38900         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38901         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38902         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38903         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38904         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38905         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38906         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38907         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38908         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38909         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38910         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38911         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38912         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38913         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38914         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38915         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38916         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38917         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38918         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38919         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38920         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38922         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38923         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38924         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38925         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38926         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38927         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38928         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38929         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38930         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38931         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38932         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38934 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38936         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38937         (__MALLOC_PMT): Likewise.
38938         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38939         [__GNUC__], only on [_LIBC].
38940         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38941         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38942         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38943         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38944         forward declaration.
38945         (realloc_hook_ini): Likewise.
38946         (memalign_hook_ini): Likewise.
38947         (__libc_memalign): Do not use __MALLOC_PMT in variable
38948         declaration.
38949         (__libc_valloc): Likewise.
38950         (__libc_pvalloc): Likewise.
38951         (__libc_calloc): Likewise.
38952         (__posix_memalign): Likewise.
38954         [BZ #14996]
38955         * math/s_casinh.c: Include <float.h>.
38956         (__casinh): Do not do computation with squaring and square root
38957         for large arguments.
38958         * math/s_casinhf.c: Include <float.h>.
38959         (__casinhf): Do not do computation with squaring and square root
38960         for large arguments.
38961         * math/s_casinhl.c: Include <float.h>.
38962         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38963         (__casinhl): Do not do computation with squaring and square root
38964         for large arguments.
38965         * math/libm-test.inc (casin_test): Add more tests.
38966         (casinh_test): Likewise.
38967         * sysdeps/i386/fpu/libm-test-ulps: Update.
38968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38970 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38972         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38973         (__x86_64_raw_data_cache_size): Likewise.
38974         (__x86_64_data_cache_size_half): Likewise.
38975         (__x86_64_raw_data_cache_size_half): Likewise.
38976         (__x86_64_shared_cache_size): Likewise.
38977         (__x86_64_raw_shared_cache_size): Likewise.
38978         (__x86_64_shared_cache_size_half): Likewise.
38979         (__x86_64_raw_shared_cache_size_half): Likewise.
38980         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38981         to ...
38982         (__x86_data_cache_size): This.
38983         (__x86_64_raw_data_cache_size): Renamed to ...
38984         (__x86_raw_data_cache_size): This.
38985         (__x86_64_data_cache_size_half): Renamed to ...
38986         (__x86_data_cache_size_half): This.
38987         (__x86_64_raw_data_cache_size_half): Renamed to ...
38988         (__x86_raw_data_cache_size_half): This.
38989         (__x86_64_shared_cache_size): Renamed to ...
38990         (__x86_shared_cache_size): This.
38991         (__x86_64_raw_shared_cache_size): Renamed to ...
38992         (__x86_raw_shared_cache_size): This.
38993         (__x86_64_shared_cache_size_half): Renamed to ...
38994         (__x86_shared_cache_size_half): This.
38995         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38996         (__x86_raw_shared_cache_size_half): This.
38997         * sysdeps/x86_64/memcpy.S: Updated.
38998         * sysdeps/x86_64/memset.S: Likewise.
38999         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39000         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39001         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39003 2013-01-04  David S. Miller  <davem@davemloft.net>
39005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39007 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39009         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39010         1 to avoid redefinition warning.
39011         (__USE_GNU): Don't define.
39012         (init_signaling_nan): Protoize.
39014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39016 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39018         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39020         (__cpymn): Likewise.
39021         (norm): Remove commented code.
39022         (denorm): Likewise.
39023         (__mp_dbl): Likewise.
39024         (__inv): Likewise.
39025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39026         (__cpymn): Likewise.
39027         (norm): Remove commented code.
39028         (denorm): Likewise.
39029         (__mp_dbl): Likewise.
39030         (__inv): Likewise.
39032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39033         mp_no value for 1.0 and 2.0.
39034         (norm): Use RADIXI instead of radixi.d.
39035         (denorm): Likewise.
39036         (__mul): Use 0.0 instead of zero.d.
39037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39038         mp_no value for 1.0 and 2.0.
39039         (norm): Use RADIXI instead of radixi.d.
39040         (denorm): Likewise.
39041         (__mul): Use 0.0 instead of zero.d.
39043 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39045         [BZ #14994]
39046         * math/s_casinh.c (__casinh): Reduce finite argument to first
39047         quadrant then set signs of results at the end.
39048         * math/s_casinhf.c (__casinhf): Likewise.
39049         * math/s_casinhl.c (__casinhl): Likewise.
39050         * math/libm-test.inc (casin_test): Add more tests.
39051         (casinh_test): Likewise.
39052         * sysdeps/i386/fpu/libm-test-ulps: Update.
39053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39055 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39057         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39059         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39061         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39062         declarations.
39063         (denorm): Likewise.
39064         (__mp_dbl): Likewise.
39065         (__inv): Likewise.
39067         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39068         and adjust the header comment.
39070         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39071         variable name from declaration.
39073 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39076         Initialize COMMON_CPUID_INDEX_7 element.
39077         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39078         (CPUID_RTM): Likewise.
39079         (HAS_RTM): Likewise.
39080         (COMMON_CPUID_INDEX_7): New enum.
39082 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39084         [BZ #14981]
39085         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39086         size is zero, record memory as freed.
39088 2013-01-03  Andreas Jaeger  <aj@suse.de>
39090         * po/ia.po: Add new Interlingua translation.
39092 2012-01-03  Allan McRae  <allan@archlinux.org>
39094         * locale/programs/localedef.c: Fix description of '--posix' flag.
39096 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39098         * NEWS: Update dates in second copyright notice.
39099         * README: Update copyright dates in example.
39100         * manual/libc.texinfo: Update copyright dates.
39101         * scripts/test-installation.pl: Update copyright date in --version
39102         output.
39104         * hurd/ctty-input.c: Fix copyright notice formatting.
39105         * hurd/ctty-output.c: Likewise.
39106         * hurd/dtable.c: Likewise.
39107         * hurd/hurd-raise.c: Likewise.
39108         * hurd/hurdprio.c: Likewise.
39109         * hurd/msgportdemux.c: Likewise.
39110         * misc/sys/file.h: Likewise.
39111         * misc/sys/ioctl.h: Likewise.
39112         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39113         * sysdeps/mach/hurd/chdir.c: Likewise.
39114         * sysdeps/mach/hurd/fchdir.c: Likewise.
39115         * sysdeps/mach/hurd/rename.c: Likewise.
39116         * sysdeps/mach/hurd/rmdir.c: Likewise.
39117         * sysdeps/mach/hurd/seekdir.c: Likewise.
39118         * sysdeps/mach/hurd/setsid.c: Likewise.
39119         * sysdeps/posix/wait3.c: Likewise.
39121         * All files with FSF copyright notices: Update copyright dates
39122         using scripts/update-copyrights.
39123         * intl/plural.c: Regenerated.
39124         * locale/programs/charmap-kw.h: Likewise.
39125         * locale/programs/locfile-kw.h: Likewise.
39127 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39129         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39130         four values.
39132         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39133         calculation loop and add branch prediction.
39135         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39136         check access beyond bounds of m1np.
39138         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39139         MPTWO.
39140         (__inv): Remove local variable MPTWO to use the global
39141         constant.
39142         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39144         variable MPTWO.
39145         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39146         MP3HALFS static const.
39148 2013-01-01  David S. Miller  <davem@davemloft.net>
39150         * po/ca.po: Update from translation team.
39152 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39154         * scripts/update-copyrights: New file.
39155         * Makeconfig: Reformat copyright notice.
39156         * ctype/ctype.h: Likewise.
39157         * debug/swprintf_chk.c: Likewise.
39158         * elf/dl-cache.c: Likewise.
39159         * elf/dl-debug.c: Likewise.
39160         * elf/dl-object.c: Likewise.
39161         * grp/initgroups.c: Likewise.
39162         * hurd/Makefile: Likewise.
39163         * hurd/hurd/signal.h: Likewise.
39164         * hurd/hurdfault.c: Likewise.
39165         * hurd/hurdioctl.c: Likewise.
39166         * hurd/hurdlookup.c: Likewise.
39167         * hurd/intr-msg.c: Likewise.
39168         * iconv/gconv_open.c: Likewise.
39169         * libio/swprintf.c: Likewise.
39170         * locale/lc-ctype.c: Likewise.
39171         * locale/nl_langinfo.c: Likewise.
39172         * mach/Machrules: Likewise.
39173         * mach/Makefile: Likewise.
39174         * malloc/obstack.h: Likewise.
39175         * manual/Makefile: Likewise.
39176         * manual/tsort.awk: Likewise.
39177         * misc/bits/stab.def: Likewise.
39178         * nis/nis_print_group_entry.c: Likewise.
39179         * nis/nis_table.c: Likewise.
39180         * nis/nss_compat/compat-pwd.c: Likewise.
39181         * nis/nss_compat/compat-spwd.c: Likewise.
39182         * po/Makefile: Likewise.
39183         * posix/fnmatch.c: Likewise.
39184         * posix/regex.h: Likewise.
39185         * resolv/Makefile: Likewise.
39186         * resolv/nss_dns/dns-network.c: Likewise.
39187         * resolv/res_hconf.c: Likewise.
39188         * scripts/gen-sorted.awk: Likewise.
39189         * soft-fp/soft-fp.h: Likewise.
39190         * stdio-common/printf.h: Likewise.
39191         * stdlib/monetary.h: Likewise.
39192         * stdlib/random.c: Likewise.
39193         * stdlib/random_r.c: Likewise.
39194         * sysdeps/generic/Makefile: Likewise.
39195         * sysdeps/gnu/Makefile: Likewise.
39196         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39197         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39198         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39199         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39200         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39201         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39202         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39203         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39204         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39205         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39206         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39207         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39208         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39209         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39210         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39211         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39212         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39213         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39214         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39215         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39216         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39217         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39218         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39219         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39220         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39221         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39222         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39223         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39224         * sysdeps/mach/hurd/errnos.awk: Likewise.
39225         * sysdeps/mach/hurd/fork.c: Likewise.
39226         * sysdeps/mach/hurd/getcwd.c: Likewise.
39227         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39228         * sysdeps/mach/hurd/mmap.c: Likewise.
39229         * sysdeps/mach/hurd/utimes.c: Likewise.
39230         * sysdeps/mach/hurd/xmknod.c: Likewise.
39231         * sysdeps/posix/profil.c: Likewise.
39232         * sysdeps/posix/readdir_r.c: Likewise.
39233         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39234         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39235         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39236         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39238         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39239         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39240         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39242         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39243         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39244         * sysdeps/pthread/lio_listio.c: Likewise.
39245         * sysdeps/sparc/dl-procinfo.h: Likewise.
39246         * sysdeps/unix/i386/sysdep.S: Likewise.
39247         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39248         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39249         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39250         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39252         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39253         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39254         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39255         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39256         * sysdeps/wordsize-32/divdi3.c: Likewise.
39257         * time/sys/time.h: Likewise.
39258         * wcsmbs/Makefile: Likewise.
39260 2013-01-01  David S. Miller  <davem@davemloft.net>
39262         * po/fr.po: Update from translation team.
39264         * catgets/gencat.c: Update copyright year.
39265         * csu/version.c: Likewise.
39266         * debug/catchsegv.sh: Likewise.
39267         * debug/pcprofiledump.c: Likewise.
39268         * debug/xtrace.sh: Likewise.
39269         * elf/ldconfig.c: Likewise.
39270         * elf/ldd.bash.in: Likewise.
39271         * elf/pldd.c: Likewise.
39272         * elf/sotruss.ksh: Likewise.
39273         * elf/sprof.c: Likewise.
39274         * iconv/iconv_prog.c: Likewise.
39275         * iconv/iconvconfig.c: Likewise.
39276         * locale/programs/locale.c: Likewise.
39277         * locale/programs/localedef.c: Likewise.
39278         * login/programs/pt_chown.c: Likewise.
39279         * malloc/memusage.sh: Likewise.
39280         * malloc/memusagestat.c: Likewise.
39281         * malloc/mtrace.pl: Likewise.
39282         * nscd/nscd.c: Likewise.
39283         * nss/getent.c: Likewise.
39284         * nss/makedb.c: Likewise.
39285         * posix/getconf.c: Likewise.
39287 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39289         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39290         numbers.
39292 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39294         * math/bits/mathcalls.h (modf): Use __nonnull.
39296 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39298         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39299         (split): Use macro CN instead of the bare value.
39300         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39301         could be used.
39302         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39303         instead of the bare value.
39304         (power1): Likewise.
39306 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39308         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39309         __ATAN_TWOM.
39310         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39312         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39313         their values.
39314         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39315         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39316         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39317         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39319 2012-12-28  Andreas Jaeger  <aj@suse.de>
39321         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39322         values are from Linux 3.7.
39324         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39325         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39327 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39329         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39330         TRUE case.
39332         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39333         (norm): Likewise.
39334         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39335         variables with preprocessor constants.
39336         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39337         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39338         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39340 2012-12-27  Bruno Haible  <bruno@clisp.org>
39342         [BZ #14317]
39343         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39344         only if needed.
39346 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39348         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39349         and use variable directly.
39350         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39352         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39353         MPONE.
39354         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39355         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39356         variable MPONE.
39357         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39359         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39360         include directive.  Remove local variable MPONE.
39361         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39362         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39363         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39365 2012-12-25  David S. Miller  <davem@davemloft.net>
39367         * version.h (RELEASE): Set to "development".
39368         (VERSION): Set to "2.17.90".
39369         * NEWS: Add 2.18 section.
39371 2012-12-21  David S. Miller  <davem@davemloft.net>
39373         * po/hr.po: Update from translation team.
39375 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39377         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39379 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39381         * NEWS:  Mention new memcpy for MIPS.
39383 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39385         * manual/contrib.texi (Contributors): Spelling correction.
39387 2012-12-15  David S. Miller  <davem@davemloft.net>
39389         * po/ru.po: Update from translation team.
39391 2012-12-13  David S. Miller  <davem@davemloft.net>
39393         * NEWS: Mention IFUNC testsuite enhancements.
39395         * po/pl.po: Update from translation team.
39396         * po/bg.po: Likewise.
39398         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39399         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39401 2012-12-11  David S. Miller  <davem@davemloft.net>
39403         * po/sv.po: Update from translation team.
39405         * po/vi.po: Update from translation team.
39407         * po/cs.po: Update from translation team.
39409         * po/de.po: Update from translation team.
39410         * po/eo.po: Likewise.
39411         * po/nl.po: Likewise.
39413 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39415         [BZ #14246]
39416         * manual/argp.texi (Argp Helper Functions): Move node to follow
39417         Argp Parsing State.
39419         [BZ #14872]
39420         * manual/conf.texi (Limits on File System Capacity): Mention if
39421         terminating null is included in the max size.
39423 2012-12-10  Andreas Jaeger  <aj@suse.de>
39425         * po/cs.po: Update from translation team.
39427 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39429         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39430         void pointer and cast to uintptr_t.
39431         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39432         path.
39433         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39434         * sysdeps/s390/s390-64/memset.S: Likewise.
39436 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39438         [BZ #14833]
39439         * menual/message.texi (Message Translation): Fix typos.
39440         (Helper programs for gettext): Likewise.
39442 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39444         [BZ #14898]
39445         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39446         Change to -1.
39448 2012-12-07  David S. Miller  <davem@davemloft.net>
39450         * po/libc.pot: Update.
39452 2012-12-07  Richard Henderson  <rth@redhat.com>
39454         [BZ #10114]
39455         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39456         normal/normal case to before the switch.
39457         (_FP_DIV): Likewise.
39459 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39460             Mike Frysinger  <vapier@gentoo.org>
39462         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39463         check for __NR_fadvise64_64.
39465 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39467         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39468         0, not just to plain "0" as a statement.
39469         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39470         with cw.
39472 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39474         * NEWS: Use sourceware.org in Bugzilla URL.
39476 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39479         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39481         * stdio-common/tst-put-error.c (do_test): Add newline to the
39482         padded test to ensure flush.
39484 2012-12-05  Jeff Law  <law@redhat.com>
39486         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39488 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39490         * README: Don't refer to ports add-on as distributed separately.
39491         Mention AArch64 in list of systems supported in the ports add-on.
39493         * LICENSES: Add more non-FSF copyright and license notices.
39495         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39496         ((unused)).
39498         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39500         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39501         10000 as width of padded output.
39503 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39505         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39507         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39508         variable LX with __attribute__ ((unused)).
39509         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39510         Likewise.
39511         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39513         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39514         with __attribute__ ((unused)).
39516 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39518         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39520 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39522         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39523         (CFLAGS-nldbl-acos.c): New variable.
39524         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39525         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39526         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39527         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39528         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39529         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39530         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39531         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39532         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39533         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39534         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39535         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39536         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39537         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39538         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39539         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39540         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39541         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39542         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39543         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39544         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39545         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39546         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39547         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39548         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39549         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39550         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39551         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39552         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39553         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39554         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39555         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39556         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39557         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39558         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39559         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39560         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39561         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39562         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39563         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39564         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39565         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39566         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39567         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39568         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39569         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39570         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39571         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39572         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39573         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39574         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39575         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39576         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39577         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39578         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39579         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39580         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39581         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39582         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39583         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39584         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39585         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39586         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39587         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39588         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39589         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39590         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39591         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39592         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39593         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39594         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39595         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39596         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39597         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39598         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39599         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39600         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39601         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39602         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39603         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39604         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39605         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39606         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39607         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39608         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39609         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39610         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39611         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39612         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39613         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39614         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39615         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39616         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39617         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39618         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39619         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39620         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39623         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39625         [BZ #14914]
39626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39627         whole low double instead of just low 47 bits when splitting values
39628         into two parts.
39630 2012-12-03  Allan McRae  <allan@archlinux.org>
39632         * manual/stdio.texi (Predefined Printf Handlers): Remove
39633         @hsep and @vsep usage.
39635 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39637         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39638         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39640 2012-12-03  Jeff Law  <law@redhat.com>
39642         * time/sys/time.h (settimeofday): Do not mark TV argument
39643         as __nonnull.
39645 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39647         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39648         when currently writing and seek to current position when not.
39649         * libio/Makefile (tests): Remove bug-fclose1.
39650         * libio/bug-fclose1.c: Delete.
39652 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39654         * manual/arith.texi (feenableexcept): Fix typo.
39655         (fedisableexcept): Likewise.
39657 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39659         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39660         second, differently-typed declaration, rather than a cast.
39662 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39664         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39665         * include/rpc/svc.h: ... here.
39667 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39669         [BZ #13013]
39670         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39671         depending n and resplen2 to catch cases where answer
39672         equals answerp2.
39674 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39676         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39677         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39679 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39681         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39683 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39685         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39687 2012-11-28  Jeff Law  <law@redhat.com>
39689         [BZ #13761]
39690         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39691         dataset_temporary.  Track alloca usage into alloca_used.
39692         If dataset is large allocate and release it via malloc/free.
39694 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39696         [BZ #14197]
39697         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39699 2012-11-28  David S. Miller  <davem@davemloft.net>
39701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39703 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39705         [BZ #14803]
39706         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39707         of pi/2 rounded to nearest to 64 bits.
39708         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39709         nearest to 64 bits.
39710         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39711         bits.
39713 2012-11-28  Jeff Law <law@redhat.com>
39714             Martin Osvald <mosvald@redhat.com>
39716         [BZ #14889]
39717         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39718         * sunrpc/svc.c: Include time.h.
39719         (__svc_accept_failed): New function.
39720         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39721         any reason other than EINTR, call __svc_accept_failed.
39722         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39723         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39725 2012-11-28  Andreas Schwab  <schwab@suse.de>
39727         * scripts/abilist.awk: Also handle indirect functions in .opd
39728         section.
39730 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39732         [BZ #13881]
39733         * sysdeps/x86/fpu/powl_helper.c: New file.
39734         * sysdeps/x86/fpu/Makefile: Likewise.
39735         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39736         (p3): New object.
39737         (__ieee754_powl): Use __powl_helper for finite arguments except
39738         integer exponents below 8.
39739         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39740         (p3): New object.
39741         (__ieee754_powl): Use __powl_helper for finite arguments except
39742         integer exponents below 8.
39743         * math/libm-test.inc (pow_test): Add more tests and enable some
39744         previously disabled tests.
39745         * sysdeps/i386/fpu/libm-test-ulps: Update.
39746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39748 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39749             Carlos O'Donell  <carlos_odonell@mentor.com>
39751         * nss/makedb.c (is_prime): Assert that input is odd and greater
39752         than 4.  Note that fact in a comment too.
39753         (next_prime): Add 4 to input.
39755 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39757         [BZ #11741]
39758         * libio/Makefile (tests): Add test case tst-fwrite-error.
39759         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39760         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39761         * libio/tst-fwrite-error.c: New test case.
39763 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39765         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39766         before casting to void *.
39767         * include/libc-internal.h (__pointer_type): New macro.
39768         (__integer_if_pointer_type_sub): Likewise.
39769         (__integer_if_pointer_type): Likewise.
39770         (cast_to_integer): Likewise.
39771         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39772         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39773         before casting to atomic64_t.
39774         (atomic_exchange_acq): Likewise.
39775         (__arch_exchange_and_add_body): Likewise.
39776         (__arch_add_body): Likewise.
39777         (atomic_add_negative): Likewise.
39778         (atomic_add_zero): Likewise.
39780 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39782         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39783         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39784         (add_fdes): Likewise.
39785         (linear_search_fdes): Likewise.
39786         (binary_search_unencoded_fdes): Likewise.
39788 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39790         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39792 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39794         * configure.in: Autodetect C++ header directories.
39795         * configure: Regenerated.
39797 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39799         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39801 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39805 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39807         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39808         LDBL_MANT_DIG == 106]: Disable some tests.
39809         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39810         Likewise.
39811         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39812         Likewise.
39814         [BZ #14871]
39815         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39816         input for small inputs.  Return +/- pi/2 for large inputs.
39817         * math/libm-test.inc (atan_test): Add more tests.
39819         * sysdeps/generic/unwind-dw2-fde-glibc.c
39820         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39821         __attribute__ ((unused)).
39823         [BZ #14645]
39824         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39825         x * y if x and y are nonzero and z is zero.
39827         [BZ #14811]
39828         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39829         nonzero exponents with absolute value below 0x1p-117 to +/-
39830         0x1p-117.
39832         [BZ #14869]
39833         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39834         up arguments below 2**-450, not just those below 2**-500.
39835         * math/libm-test.inc (hypot_test): Add another test.
39837         [BZ #14868]
39838         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39839         Return a+b for ratio over 2**120, not 2**60.
39840         * math/libm-test.inc (hypot_test): Add another test.
39842         * math/libm-test.inc (clog_test): Use
39843         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39844         (clog10_test): Likewise.
39846         [BZ #6778]
39847         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39849 2012-11-22  Andreas Schwab  <schwab@suse.de>
39851         * sysdeps/i386/fpu/libm-test-ulps: Update.
39853 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39855         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39856         printf output with newline.
39858 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39860         [BZ #14865]
39861         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39862         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39863         -z nodlopen, -z initfirst and -z execstack support.
39864         * configure: Regenerated.
39866         * elf/elf.h (DF_1_NODIRECT): New macro.
39867         (DF_1_IGNMULDEF): Likewise.
39868         (DF_1_NOKSYMS): Likewise.
39869         (DF_1_NOHDR): Likewise.
39870         (DF_1_EDITED): Likewise.
39871         (DF_1_NORELOC): Likewise.
39872         (DF_1_SYMINTPOSE): Likewise.
39873         (DF_1_GLOBAUDIT): Likewise.
39874         (DF_1_SINGLETON): Likewise.
39875         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39876         DT_1_SUPPORTED_MASK bits.
39877         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39879 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39881         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39883 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39885         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39886         macro.
39888         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39889         (sendmmsg): Move declarations...
39890         * socket/sys/socket.h: ... here.
39891         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39892         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39893         include it from...
39894         * socket/recvmmsg.c: ... this new file.
39895         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39896         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39897         definition of __sendmmsg hidden.
39898         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39899         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39900         Move ENOSYS stub into and include it from...
39901         * socket/sendmmsg.c: ... this new file.
39902         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39903         (sysdep_routines): Move recvmmsg and sendmmsg...
39904         * socket/Makefile (routines): ... here.
39905         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39906         (GLIBC_PRIVATE): Add __sendmmsg.
39907         * include/sys/socket.h (__sendmmsg): Add declarations.
39908         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39909         sendmmsg.
39911 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39913         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39914         variable I1 with __attribute__ ((unused)).
39915         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39917 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39919         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39920         DUMMY variables with __attribute__ ((unused)).
39922         * bits/byteswap.h: Include <bits/types.h>.
39923         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39925 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39927         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39928         string_t.  Do not manually set errno.
39929         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39930         length with __strnlen.  Make sure to both set errno and return it on
39931         failure.
39933 2012-11-19  David S. Miller  <davem@davemloft.net>
39935         With help from Joseph Myers.
39936         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39937         very large arguments properly.
39938         * math/libm-test.inc (atan_test): New tests.
39939         (atan2_test): New tests.
39940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39943 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39945         [BZ #14856]
39946         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39947         Define to 3.
39949         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39950         [POSIX] (EADDRNOTAVAIL): Likewise.
39951         [POSIX] (EAFNOSUPPORT): Likewise.
39952         [POSIX] (EALREADY): Likewise.
39953         [POSIX] (ECONNABORTED): Likewise.
39954         [POSIX] (ECONNREFUSED): Likewise.
39955         [POSIX] (ECONNRESET): Likewise.
39956         [POSIX] (EDESTADDRREQ): Likewise.
39957         [POSIX] (EDQUOT): Likewise.
39958         [POSIX] (EHOSTUNREACH): Likewise.
39959         [POSIX] (EIDRM): Likewise.
39960         [POSIX] (EISCONN): Likewise.
39961         [POSIX] (ELOOP): Likewise.
39962         [POSIX] (EMULTIHOP): Likewise.
39963         [POSIX] (ENETDOWN): Likewise.
39964         [POSIX] (ENETUNREACH): Likewise.
39965         [POSIX] (ENOBUFS): Likewise.
39966         [POSIX] (ENODATA): Likewise.
39967         [POSIX] (ENOLINK): Likewise.
39968         [POSIX] (ENOMSG): Likewise.
39969         [POSIX] (ENOPROTOOPT): Likewise.
39970         [POSIX] (ENOSR): Likewise.
39971         [POSIX] (ENOSTR): Likewise.
39972         [POSIX] (ENOTCONN): Likewise.
39973         [POSIX] (ENOTSOCK): Likewise.
39974         [POSIX] (EOPNOTSUPP): Likewise.
39975         [POSIX] (EOVERFLOW): Likewise.
39976         [POSIX] (EPROTO): Likewise.
39977         [POSIX] (EPROTONOSUPPORT): Likewise.
39978         [POSIX] (EPROTOTYPE): Likewise.
39979         [POSIX] (ESTALE): Likewise.
39980         [POSIX] (ETIME): Likewise.
39981         [POSIX] (ETXTBSY): Likewise.
39982         [POSIX] (EWOULDBLOCK): Likewise.
39983         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39984         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39985         [POSIX] (SEEK_CUR): Likewise.
39986         [POSIX] (SEEK_END): Likewise.
39987         [POSIX || UNIX98] (mode_t): Do not require.
39988         [POSIX] (off_t): Likewise.
39989         [POSIX] (pid_t): Likewise.
39990         [POSIX] (sys/stat.h): Do not allow header.
39991         [POSIX] (unistd.h): Likewise.
39992         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39993         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39994         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39995         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39996         require.
39997         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39998         sigevent): Specify elements.
39999         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40000         entry.
40001         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40002         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40004         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40005         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40006         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40007         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40008         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40009         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40010         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40011         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40012         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40013         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40014         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40015         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40016         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40017         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40018         Likewise.
40019         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40020         Likewise.
40021         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40022         Likewise.
40023         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40024         Likewise.
40025         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40026         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40027         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40028         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40029         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40030         Specify lower bound on value.
40031         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40032         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40033         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40034         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40035         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40036         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40037         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40038         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40039         value.
40040         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40041         as optional.
40042         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40043         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40044         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40045         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40046         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40047         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40048         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40049         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40050         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40051         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40052         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40053         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40054         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40055         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40056         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40057         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40058         entry.
40059         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40060         optional.
40061         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40062         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40063         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40064         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40065         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40066         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40067         Likewise.
40068         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40069         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40070         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40071         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40072         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40073         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40074         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40075         as optional.
40076         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40077         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40078         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40079         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40080         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40081         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40082         specify as optional.
40083         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40084         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40085         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40086         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40087         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40088         [XPG3] (NL_LANGMAX): Likewise.
40089         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40090         [POSIX || XPG3] (NL_NMAX): Likewise.
40091         [POSIX || XPG3] (NL_SETMAX): Likewise.
40092         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40093         [XPG3] (NZERO): Likewise.
40094         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40095         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40096         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40097         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40098         (REG_ERANGE): Expect.
40099         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40100         optional-constant.
40101         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40102         Use (void) in prototype.
40103         [POSIX] (*_t): Allow.
40104         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40105         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40106         (WRDE_BADVAL): Expect.
40108         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40109         expect.
40110         [XPG3 || XPG4] (O_RSYNC): Likewise.
40111         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40112         Likewise.
40113         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40114         [XPG3 || XPG4] (sigqueue): Likewise.
40115         [XPG3 || XPG4] (sigtimedwait): Likewise.
40116         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40117         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40118         [XPG3 || XPG4] (vsnprintf): Likewise.
40119         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40120         Likewise.
40121         [XPG3 || XPG4] (blksize_t): Likewise.
40122         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40123         Likewise.
40124         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40125         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40126         [XPG3 || XPG4] (struct itimerspec): Likewise.
40127         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40128         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40129         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40130         [XPG3 || XPG4] (clockid_t): Likewise.
40131         [XPG3 || XPG4] (timer_t): Likewise.
40132         [XPG3 || XPG4] (clock_getres): Likewise.
40133         [XPG3 || XPG4] (clock_gettime): Likewise.
40134         [XPG3 || XPG4] (clock_settime): Likewise.
40135         [XPG3 || XPG4] (nanosleep): Likewise.
40136         [XPG3 || XPG4] (timer_create): Likewise.
40137         [XPG3 || XPG4] (timer_delete): Likewise.
40138         [XPG3 || XPG4] (timer_gettime): Likewise.
40139         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40140         [XPG3 || XPG4] (timer_settime): Likewise.
40141         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40142         [XPG3 || XPG4] (getlogin_r): Likewise.
40143         [XPG3 || XPG4] (pread): Likewise.
40144         [XPG3 || XPG4] (pthread_atfork): Likewise.
40145         [XPG3 || XPG4] (pwrite): Likewise.
40147         [BZ #14835]
40148         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40149         <bits/siginfo.h>.
40151 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40153         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40154         finalizing MALLSTREAM.
40156         * sysdeps/mach/hurd/syncfs.c: New file.
40158 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40160         [BZ #14719]
40161         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40162         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40163         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40164         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40165         (_nss_dns_gethostbyname4_r): Likewise.
40166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40167         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40169 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40171         [BZ #13763]
40172         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40174 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40176         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40177         * elf/cache.c (print_entry): Print ",AArch64" for
40178         FLAG_AARCH64_LIB64
40180         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40181         * elf/cache.c (print_entry): Print ",hard-float" for
40182         FLAG_ARM_LIBHF.
40184 2012-11-18  David S. Miller  <davem@davemloft.net>
40186         With help from Joseph Myers.
40187         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40188         cutoff to 2**-13.
40189         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40190         cutoff to 2**-25.
40191         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40192         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40193         small.
40194         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40195         * math/libm-test.inc (y0_test): New tests.
40196         (y1_test): New tests.
40197         * sysdeps/i386/fpu/libm-test-ulps: Update.
40198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40201 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40203         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40204         64-bit targets.
40205         * configure: Regenerated.
40207 2012-11-17  David S. Miller  <davem@davemloft.net>
40209         [BZ #14811]
40210         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40211         nonzero exponents with absolute value below 0x1p-128 to +/-
40212         0x1p-128.
40214 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40216         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40218         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40220         * posix/getconf-speclist.c: New file.
40221         * posix/posix-envs.def: Likewise.
40222         * posix/confstr.c (START_ENV_GROUP): New macro.
40223         (END_ENV_GROUP): Likewise.
40224         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40225         (KNOWN_PRESENT_ENV_STRING): Likewise.
40226         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40227         (UNKNOWN_ENVIRONMENT): Likewise.
40228         (confstr): Include posix-envs.def instead of handling
40229         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40230         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40231         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40232         (END_ENV_GROUP): Likewise.
40233         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40234         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40235         (UNKNOWN_ENVIRONMENT): Likewise.
40236         (__sysconf): Include posix-envs.def instead of handling associated
40237         cases directly here.
40238         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40239         preprocessing getconf-speclist.c rather than running getconf or
40240         generating empty file.
40242 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40244         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40246 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40248         [BZ #14672]
40249         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40251 2012-11-16  David S. Miller  <davem@davemloft.net>
40253         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40254         smaller than LDBL_EPSILON/2.0L, just return xm1.
40256 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40258         * elf/tst-array1.c (init): Set constructor priority to 1000.
40259         (fini): Set destructor priority to 1000.
40260         * elf/tst-array2dep.c: Likewise.
40262 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40264         [BZ #11741]
40265         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40266         (_IO_new_file_xsputn): Also return EOF if none of the input
40267         data was written when overflow failed.
40268         * libio/iopadn.c (_IO_padn): Likewise.
40269         * libio/iowpadn.c (_IO_wpadn): Likewise.
40270         * stdio-common/tst-put-error.c: Add copyright notice.
40271         (do_test): Add case for printing padded string.
40272         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40273         _IO_padn returned error.
40274         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40275         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40276         return EOF.
40278 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         * libio/libioP.h: Add comment note that the references to C++
40281         bits are now obsolete.
40283 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40285         * math/libm-test.inc (check_complex): Use asprintf.
40287 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40289         * debug/pcprofiledump.c (print_version): Update copyright year.
40290         * malloc/memusagestat.c (print_version): Likewise.
40292 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40294         [BZ #14831]
40295         * elf/Makefile (tests): Add tst-audit8.
40296         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40297         ($(objpfx)tst-audit8.out): New target.
40298         (tst-audit8-ENV): New variable.
40299         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40300         audit if l_reloc_result is NULL.
40301         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40302         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40303         * elf/tst-audit8.c: New file.
40305 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40307         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40308         * misc/Makefile (CFLAGS-select.c): Define.
40309         * posix/Makefile (CFLAGS-pause.c): Define.
40311 2012-11-13  David S. Miller  <davem@davemloft.net>
40313         * crypt/Makefile: Move test targets after toplevel Rules
40314         inclusion.  Grab any necessary sysdep routines when linking.
40315         * crypt/md5.c (md5_process_block): Remove define, we will always
40316         name it __md5_process_block.
40317         (md5_finish_ctx): Update md5_process_block call.
40318         (md5_stream): Likewise.
40319         (md5_process_bytes): Likewise.
40320         (md5_process_block): Rename to __md5_process_block and move to ...
40321         * crypt/md5-block.c: ... here.
40322         * crypt/sha256.c (sha256_process_block): Move to ...
40323         * crypt/sha256-block.c: ... here.
40324         * crypt/sha512.c (sha512_process_block): Move to ...
40325         * crypt/sha512-block.c: ... here.
40326         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40327         path.
40328         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40329         * sysdeps/sparc/sparc64/multiarch/Makefile
40330         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40331         crypt subdir.
40332         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40333         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40334         multiarch changes.
40335         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40336         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40337         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40338         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40339         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40340         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40341         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40342         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40343         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40344         file.
40345         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40346         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40347         file.
40348         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40350 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40352         * timezone/tzselect.ksh: Update from tzcode git revision
40353         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40354         * timezone/zdump.c: Likewise.
40355         * timezone/zic.c: Likewise.
40356         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40357         in TZVERSION setting, not $(PKGVERSION).
40358         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40359         REPORT_BUGS_TO settings.
40361         [BZ #14838]
40362         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40363         macro.
40365 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40367         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40368         detection to immediately after _FP_ROUND().
40369         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40370         bits are 0.
40372 2012-11-11  David S. Miller  <davem@davemloft.net>
40374         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40375         inttypes.h
40376         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40377         __close rather than their public counterparts.
40379 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40381         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40382         file.
40383         [UNIX98] (sem_timedwait): Do not expect.
40384         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40385         [XPG4 || UNIX98] (sockatmark): Do not expect.
40386         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40387         (clock_getcpuclockid): Do not expect.
40388         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40389         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40390         Do not expect.
40391         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40392         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40393         [UNIX98] (vwscanf): Likewise.
40394         [UNIX98] (vswscanf): Likewise.
40396 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40398         * timezone/version.h: Remove file.
40399         * timezone/README: Do not refer to version.h.
40400         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40401         $(objpfx)version.h.
40402         ($(objpfx)zdump.o): Likewise.
40403         ($(objpfx)version.h): New target.
40405         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40406         2012i.
40407         * timezone/README: Don't mention modification to tzselect.ksh.
40408         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40409         work on unmodified tzselect.ksh.  Substitute version numbers in
40410         tzselect.ksh.
40412         * Makefile (format-me): Remove.
40413         (INSTALL): Adjust indentation.  Use commands directly instead of
40414         using $(format-me).
40416         * aclocal.m4 (ACX_PKGVERSION): New macro.
40417         (ACX_BUGURL): Likewise.
40418         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40419         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40420         (REPORT_BUGS_TO): Likewise.
40421         * configure: Regenerated.
40422         * config.h.in (PKGVERSION): New macro.
40423         (REPORT_BUGS_TO): Likewise.
40424         * config.make.in (PKGVERSION): New variable.
40425         (PKGVERSION_TEXI): Likewise.
40426         (REPORT_BUGS_TO): Likewise.
40427         (REPORT_BUGS_TEXI): Likewise.
40428         * Makefile (format-me): Use -I$(common-objpfx)manual.
40429         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40430         ($(common-objpfx)manual/%): New target.
40431         (manual/%): Remove target.
40432         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40433         (print_version): Use PKGVERSION.
40434         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40435         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40436         and REPORT_BUGS_TO.
40437         ($(objpfx)xtrace): Likewise.
40438         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40439         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40440         (print_version): Use PKGVERSION.
40441         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40442         (do_version): Use PKGVERSION.
40443         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40444         REPORT_BUGS_TO.
40445         (common-ldd-rewrite): Likewise.
40446         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40447         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40448         (print_version): Use PKGVERSION.
40449         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40450         * elf/pldd.c (argp_program_bug_address): Remove variable.
40451         (more_help): New function.
40452         (argp): Use more_help.
40453         (print_version): Use PKGVERSION.
40454         * elf/sln.c (main): Use PKGVERSION.
40455         (usage): Use REPORT_BUGS_TO.
40456         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40457         (top level): Use PKGVERSION.
40458         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40459         (print_version): Use PKGVERSION.
40460         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40461         (print_version): Use PKGVERSION.
40462         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40463         (print_version): Use PKGVERSION.
40464         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40465         (print_version): Use PKGVERSION.
40466         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40467         (print_version): Use PKGVERSION.
40468         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40469         (print_version): Use PKGVERSION.
40470         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40471         and BUGURL.
40472         ($(objpfx)memusage): Likewise.
40473         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40474         (do_version): Use PKGVERSION.
40475         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40476         (print_version): Use PKGVERSION.
40477         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40478         ($PKGVERSION): New variable.
40479         ($REPORT_BUGS_TO): Likewise.
40480         (usage): Use $REPORT_BUGS_TO.
40481         (top level): Use $PKGVERSION.
40482         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40483         ($(objpfx)pkgvers.texi): New rule.
40484         ($(objpfx)stamp-pkgvers): Likewise.
40485         * manual/install.texi: Include pkgvers.texi.
40486         (--with-pkgversion): Document new configure option.
40487         (--with-bugurl): Likewise.
40488         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40489         than necessarily for this particular distribution.  Use
40490         REPORT_BUGS_TO for where to report bugs.
40491         * INSTALL: Regenerated.
40492         * manual/libc.texinfo: Include pkgvers.texi.
40493         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40494         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40495         (print_version): Use PKGVERSION.
40496         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40497         (print_version): Use PKGVERSION.
40498         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40499         (print_version): Use PKGVERSION.
40500         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40501         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40502         macro.
40503         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40504         (print_version): Use PKGVERSION.
40505         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40506         (print_version): Use PKGVERSION.
40507         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40508         and PKGVERSION.
40510         * timezone/checktab.awk: Update from tzcode 2012i.
40511         * timezone/ialloc.c: Likewise.
40512         * timezone/private.h: Likewise.
40513         * timezone/scheck.c: Likewise.
40514         * timezone/tzfile.h: Likewise.
40515         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40516         (TZVERSION): Hardcode tzcode version number.
40517         * timezone/zdump.c: Update from tzcode 2012i.
40518         * timezone/zic.c: Likewise.
40519         * timezone/version.h: New file.
40520         * timezone/README: Describe version.h.  Update upstream location.
40522         [BZ #14824]
40523         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40524         (mktemp): Enable declaration.
40525         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40526         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40527         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40528         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40529         Likewise.
40530         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40531         Likewise.
40532         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40533         Likewise.
40534         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40535         Likewise.
40536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40537         Likewise.
40538         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40539         Likewise.
40541         [BZ #14821]
40542         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40543         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40544         for copies of such integer values.
40545         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40546         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40548 2012-11-09  Andreas Jaeger  <aj@suse.de>
40550         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40551         definitions and declarations that are provided by
40552         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40554 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40556         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40557         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40558         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40559         definition.
40561 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40563         * elf/elf.h: Update comment before AArch64 relocations.
40565 2012-11-07  David S. Miller  <davem@davemloft.net>
40567         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40568         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40569         (__start_context): Declare.
40570         (__makecontext_ret): Delete.
40571         (__makecontext): Hook up __start_context instead of
40572         __makecontext_ret.
40573         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40574         (sysdep_routines): Add __start_context when in stdlib.
40576 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40578         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40579         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40580         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40581         hardcoded "nm".
40582         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40583         (READELF): New variable.  Use it instead of hardcoded "readelf".
40585 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40587         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40588         * sysdeps/x86/Makefile: Here.
40589         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40590         * sysdeps/x86/tst-xmmymm.sh: This.
40592 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40594         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40595         expectations.
40596         [UNIX98] (pthread_barrier_t): Do not expect.
40597         [UNIX98] (pthread_barrierattr_t): Likewise.
40598         [UNIX98] (pthread_spinlock_t): Likewise.
40599         [UNIX98] (pthread_barrier_destroy): Likewise.
40600         [UNIX98] (pthread_barrier_init): Likewise.
40601         [UNIX98] (pthread_barrier_wait): Likewise.
40602         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40603         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40604         [UNIX98] (pthread_barrierattr_init): Likewise.
40605         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40606         [UNIX98] (pthread_getcpuclockid): Likewise.
40607         [UNIX98] (pthread_mutex_timedlock): Likewise.
40608         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40609         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40610         [UNIX98] (pthread_sigmask): Likewise.
40611         [UNIX98] (pthread_spin_destroy): Likewise.
40612         [UNIX98] (pthread_spin_init): Likewise.
40613         [UNIX98] (pthread_spin_lock): Likewise.
40614         [UNIX98] (pthread_spin_trylock): Likewise.
40615         [UNIX98] (pthread_spin_unlock): Likewise.
40616         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40617         Do not expect.
40618         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40619         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40620         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40621         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40622         [XPG3 || XPG4] (pthread_key_t): Likewise.
40623         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40624         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40625         [XPG3 || XPG4] (pthread_once_t): Likewise.
40626         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40627         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40628         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40629         [XPG3 || XPG4] (pthread_t): Likewise.
40631         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40632         not expect.
40633         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40635         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40636         Change function return type to int.
40638         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40639         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40640         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40641         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40642         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40643         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40644         [!POSIX] (posix_madvise): Likewise.
40645         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40646         && !UNIX98].
40647         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40648         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40649         (mode_t): Likewise.
40650         (posix_mem_offset): Likewise.
40651         (posix_typed_mem_get_info): Likewise.
40652         (posix_typed_mem_open): Likewise.
40654         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40655         Change condition to [XOPEN2K8].
40657         * conform/conformtest.pl: Preprocess allow-header data with -x c
40658         instead of from stdin.
40659         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40660         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40661         [C99-based standards] (cerfc): Likewise.
40662         [C99-based standards] (cexp2): Likewise.
40663         [C99-based standards] (cexpm1): Likewise.
40664         [C99-based standards] (clog10): Likewise.
40665         [C99-based standards] (clog1p): Likewise.
40666         [C99-based standards] (clog2): Likewise.
40667         [C99-based standards] (clgamma): Likewise.
40668         [C99-based standards] (ctgamma): Likewise.
40669         [C99-based standards] (cerff): Likewise.
40670         [C99-based standards] (cerfcf): Likewise.
40671         [C99-based standards] (cexp2f): Likewise.
40672         [C99-based standards] (cexpm1f): Likewise.
40673         [C99-based standards] (clog10f): Likewise.
40674         [C99-based standards] (clog1pf): Likewise.
40675         [C99-based standards] (clog2f): Likewise.
40676         [C99-based standards] (clgammaf): Likewise.
40677         [C99-based standards] (ctgammaf): Likewise.
40678         [C99-based standards] (cerfl): Likewise.
40679         [C99-based standards] (cerfcl): Likewise.
40680         [C99-based standards] (cexp2l): Likewise.
40681         [C99-based standards] (cexpm1l): Likewise.
40682         [C99-based standards] (clog10l): Likewise.
40683         [C99-based standards] (clog1pl): Likewise.
40684         [C99-based standards] (clog2l): Likewise.
40685         [C99-based standards] (clgammal): Likewise.
40686         [C99-based standards] (ctgammal): Likewise.
40687         * conform/data/inttypes.h-data [C99-based standards]: Include
40688         stdint.h-data.  Remove all expectations for stdint.h contents.
40689         [C99-based standards] (PRI*): Do not allow.
40690         [C99-based standards] (SCN*): Likewise.
40691         [C99-based standards] (*_t): Likewise.
40692         [C99-based-standards] (PRId8): Expect macro.
40693         [C99-based-standards] (PRIi8): Likewise.
40694         [C99-based-standards] (PRIo8): Likewise.
40695         [C99-based-standards] (PRIu8): Likewise.
40696         [C99-based-standards] (PRIx8): Likewise.
40697         [C99-based-standards] (PRIX8): Likewise.
40698         [C99-based-standards] (SCNd8): Likewise.
40699         [C99-based-standards] (SCNi8): Likewise.
40700         [C99-based-standards] (SCNo8): Likewise.
40701         [C99-based-standards] (SCNu8): Likewise.
40702         [C99-based-standards] (SCNx8): Likewise.
40703         [C99-based-standards] (PRIdLEAST8): Likewise.
40704         [C99-based-standards] (PRIiLEAST8): Likewise.
40705         [C99-based-standards] (PRIoLEAST8): Likewise.
40706         [C99-based-standards] (PRIuLEAST8): Likewise.
40707         [C99-based-standards] (PRIxLEAST8): Likewise.
40708         [C99-based-standards] (PRIXLEAST8): Likewise.
40709         [C99-based-standards] (SCNdLEAST8): Likewise.
40710         [C99-based-standards] (SCNiLEAST8): Likewise.
40711         [C99-based-standards] (SCNoLEAST8): Likewise.
40712         [C99-based-standards] (SCNuLEAST8): Likewise.
40713         [C99-based-standards] (SCNxLEAST8): Likewise.
40714         [C99-based-standards] (PRIdFAST8): Likewise.
40715         [C99-based-standards] (PRIiFAST8): Likewise.
40716         [C99-based-standards] (PRIoFAST8): Likewise.
40717         [C99-based-standards] (PRIuFAST8): Likewise.
40718         [C99-based-standards] (PRIxFAST8): Likewise.
40719         [C99-based-standards] (PRIXFAST8): Likewise.
40720         [C99-based-standards] (SCNdFAST8): Likewise.
40721         [C99-based-standards] (SCNiFAST8): Likewise.
40722         [C99-based-standards] (SCNoFAST8): Likewise.
40723         [C99-based-standards] (SCNuFAST8): Likewise.
40724         [C99-based-standards] (SCNxFAST8): Likewise.
40725         [C99-based-standards] (PRId16): Likewise.
40726         [C99-based-standards] (PRIi16): Likewise.
40727         [C99-based-standards] (PRIo16): Likewise.
40728         [C99-based-standards] (PRIu16): Likewise.
40729         [C99-based-standards] (PRIx16): Likewise.
40730         [C99-based-standards] (PRIX16): Likewise.
40731         [C99-based-standards] (SCNd16): Likewise.
40732         [C99-based-standards] (SCNi16): Likewise.
40733         [C99-based-standards] (SCNo16): Likewise.
40734         [C99-based-standards] (SCNu16): Likewise.
40735         [C99-based-standards] (SCNx16): Likewise.
40736         [C99-based-standards] (PRIdLEAST16): Likewise.
40737         [C99-based-standards] (PRIiLEAST16): Likewise.
40738         [C99-based-standards] (PRIoLEAST16): Likewise.
40739         [C99-based-standards] (PRIuLEAST16): Likewise.
40740         [C99-based-standards] (PRIxLEAST16): Likewise.
40741         [C99-based-standards] (PRIXLEAST16): Likewise.
40742         [C99-based-standards] (SCNdLEAST16): Likewise.
40743         [C99-based-standards] (SCNiLEAST16): Likewise.
40744         [C99-based-standards] (SCNoLEAST16): Likewise.
40745         [C99-based-standards] (SCNuLEAST16): Likewise.
40746         [C99-based-standards] (SCNxLEAST16): Likewise.
40747         [C99-based-standards] (PRIdFAST16): Likewise.
40748         [C99-based-standards] (PRIiFAST16): Likewise.
40749         [C99-based-standards] (PRIoFAST16): Likewise.
40750         [C99-based-standards] (PRIuFAST16): Likewise.
40751         [C99-based-standards] (PRIxFAST16): Likewise.
40752         [C99-based-standards] (PRIXFAST16): Likewise.
40753         [C99-based-standards] (SCNdFAST16): Likewise.
40754         [C99-based-standards] (SCNiFAST16): Likewise.
40755         [C99-based-standards] (SCNoFAST16): Likewise.
40756         [C99-based-standards] (SCNuFAST16): Likewise.
40757         [C99-based-standards] (SCNxFAST16): Likewise.
40758         [C99-based-standards] (PRId32): Likewise.
40759         [C99-based-standards] (PRIi32): Likewise.
40760         [C99-based-standards] (PRIo32): Likewise.
40761         [C99-based-standards] (PRIu32): Likewise.
40762         [C99-based-standards] (PRIx32): Likewise.
40763         [C99-based-standards] (PRIX32): Likewise.
40764         [C99-based-standards] (SCNd32): Likewise.
40765         [C99-based-standards] (SCNi32): Likewise.
40766         [C99-based-standards] (SCNo32): Likewise.
40767         [C99-based-standards] (SCNu32): Likewise.
40768         [C99-based-standards] (SCNx32): Likewise.
40769         [C99-based-standards] (PRIdLEAST32): Likewise.
40770         [C99-based-standards] (PRIiLEAST32): Likewise.
40771         [C99-based-standards] (PRIoLEAST32): Likewise.
40772         [C99-based-standards] (PRIuLEAST32): Likewise.
40773         [C99-based-standards] (PRIxLEAST32): Likewise.
40774         [C99-based-standards] (PRIXLEAST32): Likewise.
40775         [C99-based-standards] (SCNdLEAST32): Likewise.
40776         [C99-based-standards] (SCNiLEAST32): Likewise.
40777         [C99-based-standards] (SCNoLEAST32): Likewise.
40778         [C99-based-standards] (SCNuLEAST32): Likewise.
40779         [C99-based-standards] (SCNxLEAST32): Likewise.
40780         [C99-based-standards] (PRIdFAST32): Likewise.
40781         [C99-based-standards] (PRIiFAST32): Likewise.
40782         [C99-based-standards] (PRIoFAST32): Likewise.
40783         [C99-based-standards] (PRIuFAST32): Likewise.
40784         [C99-based-standards] (PRIxFAST32): Likewise.
40785         [C99-based-standards] (PRIXFAST32): Likewise.
40786         [C99-based-standards] (SCNdFAST32): Likewise.
40787         [C99-based-standards] (SCNiFAST32): Likewise.
40788         [C99-based-standards] (SCNoFAST32): Likewise.
40789         [C99-based-standards] (SCNuFAST32): Likewise.
40790         [C99-based-standards] (SCNxFAST32): Likewise.
40791         [C99-based-standards] (PRId64): Likewise.
40792         [C99-based-standards] (PRIi64): Likewise.
40793         [C99-based-standards] (PRIo64): Likewise.
40794         [C99-based-standards] (PRIu64): Likewise.
40795         [C99-based-standards] (PRIx64): Likewise.
40796         [C99-based-standards] (PRIX64): Likewise.
40797         [C99-based-standards] (SCNd64): Likewise.
40798         [C99-based-standards] (SCNi64): Likewise.
40799         [C99-based-standards] (SCNo64): Likewise.
40800         [C99-based-standards] (SCNu64): Likewise.
40801         [C99-based-standards] (SCNx64): Likewise.
40802         [C99-based-standards] (PRIdLEAST64): Likewise.
40803         [C99-based-standards] (PRIiLEAST64): Likewise.
40804         [C99-based-standards] (PRIoLEAST64): Likewise.
40805         [C99-based-standards] (PRIuLEAST64): Likewise.
40806         [C99-based-standards] (PRIxLEAST64): Likewise.
40807         [C99-based-standards] (PRIXLEAST64): Likewise.
40808         [C99-based-standards] (SCNdLEAST64): Likewise.
40809         [C99-based-standards] (SCNiLEAST64): Likewise.
40810         [C99-based-standards] (SCNoLEAST64): Likewise.
40811         [C99-based-standards] (SCNuLEAST64): Likewise.
40812         [C99-based-standards] (SCNxLEAST64): Likewise.
40813         [C99-based-standards] (PRIdFAST64): Likewise.
40814         [C99-based-standards] (PRIiFAST64): Likewise.
40815         [C99-based-standards] (PRIoFAST64): Likewise.
40816         [C99-based-standards] (PRIuFAST64): Likewise.
40817         [C99-based-standards] (PRIxFAST64): Likewise.
40818         [C99-based-standards] (PRIXFAST64): Likewise.
40819         [C99-based-standards] (SCNdFAST64): Likewise.
40820         [C99-based-standards] (SCNiFAST64): Likewise.
40821         [C99-based-standards] (SCNoFAST64): Likewise.
40822         [C99-based-standards] (SCNuFAST64): Likewise.
40823         [C99-based-standards] (SCNxFAST64): Likewise.
40824         [C99-based-standards] (PRIdMAX): Likewise.
40825         [C99-based-standards] (PRIiMAX): Likewise.
40826         [C99-based-standards] (PRIoMAX): Likewise.
40827         [C99-based-standards] (PRIuMAX): Likewise.
40828         [C99-based-standards] (PRIxMAX): Likewise.
40829         [C99-based-standards] (PRIXMAX): Likewise.
40830         [C99-based-standards] (SCNdMAX): Likewise.
40831         [C99-based-standards] (SCNiMAX): Likewise.
40832         [C99-based-standards] (SCNoMAX): Likewise.
40833         [C99-based-standards] (SCNuMAX): Likewise.
40834         [C99-based-standards] (SCNxMAX): Likewise.
40835         [C99-based-standards] (PRIdPTR): Likewise.
40836         [C99-based-standards] (PRIiPTR): Likewise.
40837         [C99-based-standards] (PRIoPTR): Likewise.
40838         [C99-based-standards] (PRIuPTR): Likewise.
40839         [C99-based-standards] (PRIxPTR): Likewise.
40840         [C99-based-standards] (PRIXPTR): Likewise.
40841         [C99-based-standards] (SCNdPTR): Likewise.
40842         [C99-based-standards] (SCNiPTR): Likewise.
40843         [C99-based-standards] (SCNoPTR): Likewise.
40844         [C99-based-standards] (SCNuPTR): Likewise.
40845         [C99-based-standards] (SCNxPTR): Likewise.
40846         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40847         allow.
40848         * conform/data/stdint.h-data: Update comments to clarify
40849         requirements.
40850         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40851         type.
40852         [C99-based standards] (INT8_MAX): Likewise.
40853         [C99-based standards] (INT16_MIN): Likewise.
40854         [C99-based standards] (INT16_MAX): Likewise.
40855         [C99-based standards] (INT32_MIN): Likewise.
40856         [C99-based standards] (INT32_MAX): Likewise.
40857         [C99-based standards] (INT64_MIN): Likewise.
40858         [C99-based standards] (INT64_MAX): Likewise.
40859         [C99-based standards] (UINT8_MAX): Likewise.
40860         [C99-based standards] (UINT16_MAX): Likewise.
40861         [C99-based standards] (UINT32_MAX): Likewise.
40862         [C99-based standards] (UINT64_MAX): Likewise.
40863         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40864         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40865         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40866         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40867         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40868         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40869         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40870         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40871         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40872         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40873         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40874         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40875         [C99-based standards] (INT_FAST8_MIN): Likewise.
40876         [C99-based standards] (INT_FAST8_MAX): Likewise.
40877         [C99-based standards] (INT_FAST16_MIN): Likewise.
40878         [C99-based standards] (INT_FAST16_MAX): Likewise.
40879         [C99-based standards] (INT_FAST32_MIN): Likewise.
40880         [C99-based standards] (INT_FAST32_MAX): Likewise.
40881         [C99-based standards] (INT_FAST64_MIN): Likewise.
40882         [C99-based standards] (INT_FAST64_MAX): Likewise.
40883         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40884         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40885         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40886         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40887         [C99-based standards] (INTPTR_MIN): Likewise.
40888         [C99-based standards] (INTPTR_MAX): Likewise.
40889         [C99-based standards] (UINTPTR_MAX): Likewise.
40890         [C99-based standards] (INTMAX_MIN): Likewise.
40891         [C99-based standards] (INTMAX_MAX): Likewise.
40892         [C99-based standards] (UINTMAX_MAX): Likewise.
40893         [C99-based standards] (PTRDIFF_MIN): Likewise.
40894         [C99-based standards] (PTRDIFF_MAX): Likewise.
40895         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40896         [C99-based standards] (SIZE_MAX): Likewise.
40897         [C99-based standards] (WCHAR_MAX): Likewise.
40898         [C99-based standards] (WINT_MAX): Likewise.
40899         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40900         constraint on value.
40901         [C99-based standards] (WCHAR_MIN): Likewise.
40902         [C99-based standards] (WINT_MIN): Likewise.
40903         [C99-based standards] (*_t): Allow.
40904         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40905         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40906         Include math.h-data and complex.h-data.  Remove all expectations
40907         of math.h and complex.h contents.
40908         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40909         at end of line.
40910         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40911         (struct tm): Expect tag.
40912         [C99-based-standards] (wcstof): Expect function.
40913         [C99-based-standards] (wcstold): Likewise.
40914         [C99-based-standards] (wcstoll): Likewise.
40915         [C99-based-standards] (wcstoull): Likewise.
40916         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40917         macro-int-constant.  Specify type.
40918         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40919         constraint on value.
40920         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40921         Specify type.
40922         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40923         Specify value.
40924         [ISO C standards]: Do not allow headers.
40925         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40926         wcs[abcdefghijklmnopqrstuvwxyz]*.
40927         [ISO C standards] (*_t): Do not allow.
40928         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40929         Expect function.
40930         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40931         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40932         Specify type.
40933         [ISO C standards]: Do not allow headers.
40934         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40935         is[abcdefghijklmnopqrstuvwxyz]*.
40936         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40937         to[abcdefghijklmnopqrstuvwxyz]*.
40938         [ISO C standards] (*_t): Do not allow.
40939         * conform/data/stdalign.h-data: New file.
40940         * conform/data/stdbool.h-data: Likewise.
40941         * conform/data/stdnoreturn.h-data: Likewise.
40943 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40945         [BZ #14815]
40946         * manual/filesys.texi (Directory Entries): Typo fix.
40947         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40949 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40951         * elf/elf.h (EM_AARCH64): New macro.
40952         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40953         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40954         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40955         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40956         (R_AARCH64_TLSDESC): Likewise.
40957         (NT_ARM_TLS): Likewise.
40958         (NT_ARM_HW_BREAK): Likewise.
40959         (NT_ARM_HW_WATCH): Likewise.
40961 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40963         [BZ #14811]
40964         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40965         (__ieee754_powl): Saturate nonzero exponents with absolute value
40966         below 0x1p-79 to +/- 0x1p-79.
40967         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40968         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40969         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40970         nonzero exponents with absolute value below 0x1p-32 to +/-
40971         0x1p-32.
40972         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40973         (__ieee754_powl): Saturate nonzero exponents with absolute value
40974         below 0x1p-79 to +/- 0x1p-79.
40975         * math/libm-test.inc (pow_test): Add more tests.
40977 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40979         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40980         _dl_s390_cap_flags with kernel. Increase string length.
40981         (_dl_s390_platforms): Add z196 and zEC12.
40983 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40985         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40986         Change XOPEN21K to XOPEN2K.
40988 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40990         * string/memmove.c: Use memcpy when possible.
40992 2012-11-06  Andreas Jaeger  <aj@suse.de>
40994         * po/eo.po: Update from translation team.
40996 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40998         [BZ #14793]
40999         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41000         exponent and small x and y exponents, scale x or y up.  Increase
41001         by 2 the exponent used in scaling up.
41002         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41004         * math/libm-test.inc (fma_test): Add more tests.
41005         (fma_test_towardzero): Likewise.
41006         (fma_test_downward): Likewise.
41007         (fma_test_upward): Likewise.
41009 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41011         [BZ #14805]
41012         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41013         fenv_t *.
41015         [BZ #14801]
41016         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41017         namespace for names of struct fields.
41018         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41019         fenv_t fields.
41020         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41021         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41023 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41025         [BZ #3665]
41026         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41028 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41030         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41031         PTR_DEMANGLE.
41033         [BZ #5246]
41034         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41035         PTR_DEMANGLE.
41037 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41039         [BZ #14797]
41040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41041         definitely overflow as x * y not x * y + z.
41042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41043         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41044         * math/libm-test.inc (fma_test): Add more tests.
41045         (fma_test_towardzero): Likewise.
41046         (fma_test_downward): Likewise.
41047         (fma_test_upward): Likewise.
41049 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41051         [BZ #157]
41053         * include/stub-tag.h: Remove file.
41054         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41055         '#include' of it.
41056         * manual/maint.texi (Porting): Don't reference it.
41057         * Makerules ($(objpfx)stubs): Likewise.
41058         * dirent/closedir.c: Don't include <stub-tag.h>.
41059         * dirent/dirfd.c: Likewise.
41060         * dirent/fdopendir.c: Likewise.
41061         * dirent/getdents.c: Likewise.
41062         * dirent/getdents64.c: Likewise.
41063         * dirent/opendir.c: Likewise.
41064         * dirent/readdir.c: Likewise.
41065         * dirent/readdir64.c: Likewise.
41066         * dirent/readdir64_r.c: Likewise.
41067         * dirent/readdir_r.c: Likewise.
41068         * dirent/rewinddir.c: Likewise.
41069         * dirent/seekdir.c: Likewise.
41070         * dirent/telldir.c: Likewise.
41071         * gmon/profil.c: Likewise.
41072         * grp/setgroups.c: Likewise.
41073         * inet/if_index.c: Likewise.
41074         * io/access.c: Likewise.
41075         * io/chdir.c: Likewise.
41076         * io/chmod.c: Likewise.
41077         * io/chown.c: Likewise.
41078         * io/close.c: Likewise.
41079         * io/dup.c: Likewise.
41080         * io/dup2.c: Likewise.
41081         * io/dup3.c: Likewise.
41082         * io/euidaccess.c: Likewise.
41083         * io/faccessat.c: Likewise.
41084         * io/fchdir.c: Likewise.
41085         * io/fchmod.c: Likewise.
41086         * io/fchmodat.c: Likewise.
41087         * io/fchown.c: Likewise.
41088         * io/fchownat.c: Likewise.
41089         * io/fcntl.c: Likewise.
41090         * io/flock.c: Likewise.
41091         * io/fstatfs.c: Likewise.
41092         * io/fstatfs64.c: Likewise.
41093         * io/fstatvfs.c: Likewise.
41094         * io/fstatvfs64.c: Likewise.
41095         * io/futimens.c: Likewise.
41096         * io/fxstat.c: Likewise.
41097         * io/fxstat64.c: Likewise.
41098         * io/fxstatat.c: Likewise.
41099         * io/fxstatat64.c: Likewise.
41100         * io/getcwd.c: Likewise.
41101         * io/isatty.c: Likewise.
41102         * io/lchmod.c: Likewise.
41103         * io/lchown.c: Likewise.
41104         * io/link.c: Likewise.
41105         * io/linkat.c: Likewise.
41106         * io/lseek.c: Likewise.
41107         * io/lseek64.c: Likewise.
41108         * io/lxstat64.c: Likewise.
41109         * io/mkdir.c: Likewise.
41110         * io/mkdirat.c: Likewise.
41111         * io/mkfifo.c: Likewise.
41112         * io/mkfifoat.c: Likewise.
41113         * io/open.c: Likewise.
41114         * io/open64.c: Likewise.
41115         * io/openat.c: Likewise.
41116         * io/openat64.c: Likewise.
41117         * io/pipe.c: Likewise.
41118         * io/pipe2.c: Likewise.
41119         * io/poll.c: Likewise.
41120         * io/posix_fadvise.c: Likewise.
41121         * io/posix_fadvise64.c: Likewise.
41122         * io/posix_fallocate.c: Likewise.
41123         * io/posix_fallocate64.c: Likewise.
41124         * io/read.c: Likewise.
41125         * io/readlink.c: Likewise.
41126         * io/readlinkat.c: Likewise.
41127         * io/rmdir.c: Likewise.
41128         * io/sendfile.c: Likewise.
41129         * io/sendfile64.c: Likewise.
41130         * io/statfs.c: Likewise.
41131         * io/statfs64.c: Likewise.
41132         * io/statvfs.c: Likewise.
41133         * io/statvfs64.c: Likewise.
41134         * io/symlink.c: Likewise.
41135         * io/symlinkat.c: Likewise.
41136         * io/ttyname.c: Likewise.
41137         * io/ttyname_r.c: Likewise.
41138         * io/umask.c: Likewise.
41139         * io/unlink.c: Likewise.
41140         * io/unlinkat.c: Likewise.
41141         * io/utime.c: Likewise.
41142         * io/utimensat.c: Likewise.
41143         * io/write.c: Likewise.
41144         * io/xmknod.c: Likewise.
41145         * io/xmknodat.c: Likewise.
41146         * io/xstat.c: Likewise.
41147         * io/xstat64.c: Likewise.
41148         * login/getpt.c: Likewise.
41149         * login/grantpt.c: Likewise.
41150         * login/unlockpt.c: Likewise.
41151         * math/e_acoshl.c: Likewise.
41152         * math/e_acosl.c: Likewise.
41153         * math/e_asinl.c: Likewise.
41154         * math/e_atan2l.c: Likewise.
41155         * math/e_atanhl.c: Likewise.
41156         * math/e_coshl.c: Likewise.
41157         * math/e_expl.c: Likewise.
41158         * math/e_fmodl.c: Likewise.
41159         * math/e_gammal_r.c: Likewise.
41160         * math/e_hypotl.c: Likewise.
41161         * math/e_j0l.c: Likewise.
41162         * math/e_j1l.c: Likewise.
41163         * math/e_jnl.c: Likewise.
41164         * math/e_lgammal_r.c: Likewise.
41165         * math/e_log10l.c: Likewise.
41166         * math/e_log2l.c: Likewise.
41167         * math/e_logl.c: Likewise.
41168         * math/e_powl.c: Likewise.
41169         * math/e_rem_pio2l.c: Likewise.
41170         * math/e_sinhl.c: Likewise.
41171         * math/e_sqrtl.c: Likewise.
41172         * math/fclrexcpt.c: Likewise.
41173         * math/fedisblxcpt.c: Likewise.
41174         * math/feenablxcpt.c: Likewise.
41175         * math/fegetenv.c: Likewise.
41176         * math/fegetexcept.c: Likewise.
41177         * math/fegetround.c: Likewise.
41178         * math/feholdexcpt.c: Likewise.
41179         * math/fesetenv.c: Likewise.
41180         * math/fesetround.c: Likewise.
41181         * math/feupdateenv.c: Likewise.
41182         * math/fgetexcptflg.c: Likewise.
41183         * math/fraiseexcpt.c: Likewise.
41184         * math/fsetexcptflg.c: Likewise.
41185         * math/ftestexcept.c: Likewise.
41186         * math/k_cosl.c: Likewise.
41187         * math/k_rem_pio2l.c: Likewise.
41188         * math/k_sinl.c: Likewise.
41189         * math/k_tanl.c: Likewise.
41190         * math/s_asinhl.c: Likewise.
41191         * math/s_atanl.c: Likewise.
41192         * math/s_cbrtl.c: Likewise.
41193         * math/s_erfl.c: Likewise.
41194         * math/s_expm1l.c: Likewise.
41195         * math/s_log1pl.c: Likewise.
41196         * math/s_tanhl.c: Likewise.
41197         * misc/acct.c: Likewise.
41198         * misc/brk.c: Likewise.
41199         * misc/chflags.c: Likewise.
41200         * misc/chroot.c: Likewise.
41201         * misc/fchflags.c: Likewise.
41202         * misc/fgetxattr.c: Likewise.
41203         * misc/flistxattr.c: Likewise.
41204         * misc/fremovexattr.c: Likewise.
41205         * misc/fsetxattr.c: Likewise.
41206         * misc/fsync.c: Likewise.
41207         * misc/ftruncate.c: Likewise.
41208         * misc/futimes.c: Likewise.
41209         * misc/futimesat.c: Likewise.
41210         * misc/getdomain.c: Likewise.
41211         * misc/getdtsz.c: Likewise.
41212         * misc/gethostid.c: Likewise.
41213         * misc/gethostname.c: Likewise.
41214         * misc/getloadavg.c: Likewise.
41215         * misc/getpagesize.c: Likewise.
41216         * misc/getsysstats.c: Likewise.
41217         * misc/getxattr.c: Likewise.
41218         * misc/gtty.c: Likewise.
41219         * misc/ioctl.c: Likewise.
41220         * misc/lgetxattr.c: Likewise.
41221         * misc/listxattr.c: Likewise.
41222         * misc/llistxattr.c: Likewise.
41223         * misc/lremovexattr.c: Likewise.
41224         * misc/lsetxattr.c: Likewise.
41225         * misc/lutimes.c: Likewise.
41226         * misc/madvise.c: Likewise.
41227         * misc/mincore.c: Likewise.
41228         * misc/mlock.c: Likewise.
41229         * misc/mlockall.c: Likewise.
41230         * misc/mmap.c: Likewise.
41231         * misc/mprotect.c: Likewise.
41232         * misc/msync.c: Likewise.
41233         * misc/munlock.c: Likewise.
41234         * misc/munlockall.c: Likewise.
41235         * misc/munmap.c: Likewise.
41236         * misc/preadv.c: Likewise.
41237         * misc/preadv64.c: Likewise.
41238         * misc/ptrace.c: Likewise.
41239         * misc/pwritev.c: Likewise.
41240         * misc/pwritev64.c: Likewise.
41241         * misc/readv.c: Likewise.
41242         * misc/reboot.c: Likewise.
41243         * misc/remap_file_pages.c: Likewise.
41244         * misc/removexattr.c: Likewise.
41245         * misc/revoke.c: Likewise.
41246         * misc/select.c: Likewise.
41247         * misc/setdomain.c: Likewise.
41248         * misc/setegid.c: Likewise.
41249         * misc/seteuid.c: Likewise.
41250         * misc/sethostid.c: Likewise.
41251         * misc/sethostname.c: Likewise.
41252         * misc/setregid.c: Likewise.
41253         * misc/setreuid.c: Likewise.
41254         * misc/setxattr.c: Likewise.
41255         * misc/sstk.c: Likewise.
41256         * misc/stty.c: Likewise.
41257         * misc/swapoff.c: Likewise.
41258         * misc/swapon.c: Likewise.
41259         * misc/sync.c: Likewise.
41260         * misc/syncfs.c: Likewise.
41261         * misc/syscall.c: Likewise.
41262         * misc/truncate.c: Likewise.
41263         * misc/ualarm.c: Likewise.
41264         * misc/usleep.c: Likewise.
41265         * misc/ustat.c: Likewise.
41266         * misc/utimes.c: Likewise.
41267         * misc/vhangup.c: Likewise.
41268         * misc/writev.c: Likewise.
41269         * posix/_exit.c: Likewise.
41270         * posix/alarm.c: Likewise.
41271         * posix/execve.c: Likewise.
41272         * posix/fexecve.c: Likewise.
41273         * posix/fork.c: Likewise.
41274         * posix/fpathconf.c: Likewise.
41275         * posix/getaddrinfo.c: Likewise.
41276         * posix/getegid.c: Likewise.
41277         * posix/geteuid.c: Likewise.
41278         * posix/getgid.c: Likewise.
41279         * posix/getgroups.c: Likewise.
41280         * posix/getlogin.c: Likewise.
41281         * posix/getlogin_r.c: Likewise.
41282         * posix/getpgid.c: Likewise.
41283         * posix/getpid.c: Likewise.
41284         * posix/getppid.c: Likewise.
41285         * posix/getresgid.c: Likewise.
41286         * posix/getresuid.c: Likewise.
41287         * posix/getsid.c: Likewise.
41288         * posix/getuid.c: Likewise.
41289         * posix/glob64.c: Likewise.
41290         * posix/nanosleep.c: Likewise.
41291         * posix/pathconf.c: Likewise.
41292         * posix/pause.c: Likewise.
41293         * posix/posix_madvise.c: Likewise.
41294         * posix/pread.c: Likewise.
41295         * posix/pread64.c: Likewise.
41296         * posix/pwrite.c: Likewise.
41297         * posix/pwrite64.c: Likewise.
41298         * posix/sched_getaffinity.c: Likewise.
41299         * posix/sched_getp.c: Likewise.
41300         * posix/sched_gets.c: Likewise.
41301         * posix/sched_primax.c: Likewise.
41302         * posix/sched_primin.c: Likewise.
41303         * posix/sched_rr_gi.c: Likewise.
41304         * posix/sched_setaffinity.c: Likewise.
41305         * posix/sched_setp.c: Likewise.
41306         * posix/sched_sets.c: Likewise.
41307         * posix/sched_yield.c: Likewise.
41308         * posix/setgid.c: Likewise.
41309         * posix/setlogin.c: Likewise.
41310         * posix/setpgid.c: Likewise.
41311         * posix/setresgid.c: Likewise.
41312         * posix/setresuid.c: Likewise.
41313         * posix/setsid.c: Likewise.
41314         * posix/setuid.c: Likewise.
41315         * posix/sleep.c: Likewise.
41316         * posix/spawni.c: Likewise.
41317         * posix/sysconf.c: Likewise.
41318         * posix/times.c: Likewise.
41319         * posix/wait.c: Likewise.
41320         * posix/wait3.c: Likewise.
41321         * posix/wait4.c: Likewise.
41322         * posix/waitpid.c: Likewise.
41323         * resolv/gai_sigqueue.c: Likewise.
41324         * resource/getpriority.c: Likewise.
41325         * resource/getrlimit.c: Likewise.
41326         * resource/getrusage.c: Likewise.
41327         * resource/nice.c: Likewise.
41328         * resource/setpriority.c: Likewise.
41329         * resource/setrlimit.c: Likewise.
41330         * resource/ulimit.c: Likewise.
41331         * rt/aio_cancel.c: Likewise.
41332         * rt/aio_fsync.c: Likewise.
41333         * rt/aio_read.c: Likewise.
41334         * rt/aio_sigqueue.c: Likewise.
41335         * rt/aio_suspend.c: Likewise.
41336         * rt/aio_write.c: Likewise.
41337         * rt/clock_getres.c: Likewise.
41338         * rt/clock_gettime.c: Likewise.
41339         * rt/clock_nanosleep.c: Likewise.
41340         * rt/clock_settime.c: Likewise.
41341         * rt/lio_listio.c: Likewise.
41342         * rt/mq_close.c: Likewise.
41343         * rt/mq_getattr.c: Likewise.
41344         * rt/mq_notify.c: Likewise.
41345         * rt/mq_open.c: Likewise.
41346         * rt/mq_receive.c: Likewise.
41347         * rt/mq_send.c: Likewise.
41348         * rt/mq_setattr.c: Likewise.
41349         * rt/mq_timedreceive.c: Likewise.
41350         * rt/mq_timedsend.c: Likewise.
41351         * rt/mq_unlink.c: Likewise.
41352         * rt/shm_open.c: Likewise.
41353         * rt/shm_unlink.c: Likewise.
41354         * rt/timer_create.c: Likewise.
41355         * rt/timer_delete.c: Likewise.
41356         * rt/timer_getoverr.c: Likewise.
41357         * rt/timer_gettime.c: Likewise.
41358         * rt/timer_settime.c: Likewise.
41359         * setjmp/__longjmp.c: Likewise.
41360         * setjmp/setjmp.c: Likewise.
41361         * signal/kill.c: Likewise.
41362         * signal/killpg.c: Likewise.
41363         * signal/raise.c: Likewise.
41364         * signal/sigaction.c: Likewise.
41365         * signal/sigaltstack.c: Likewise.
41366         * signal/sigblock.c: Likewise.
41367         * signal/sigignore.c: Likewise.
41368         * signal/sigintr.c: Likewise.
41369         * signal/signal.c: Likewise.
41370         * signal/sigpause.c: Likewise.
41371         * signal/sigpending.c: Likewise.
41372         * signal/sigqueue.c: Likewise.
41373         * signal/sigreturn.c: Likewise.
41374         * signal/sigset.c: Likewise.
41375         * signal/sigsetmask.c: Likewise.
41376         * signal/sigstack.c: Likewise.
41377         * signal/sigsuspend.c: Likewise.
41378         * signal/sigtimedwait.c: Likewise.
41379         * signal/sigvec.c: Likewise.
41380         * signal/sigwait.c: Likewise.
41381         * signal/sigwaitinfo.c: Likewise.
41382         * signal/sysv_signal.c: Likewise.
41383         * socket/accept.c: Likewise.
41384         * socket/accept4.c: Likewise.
41385         * socket/bind.c: Likewise.
41386         * socket/connect.c: Likewise.
41387         * socket/getpeername.c: Likewise.
41388         * socket/getsockname.c: Likewise.
41389         * socket/getsockopt.c: Likewise.
41390         * socket/isfdtype.c: Likewise.
41391         * socket/listen.c: Likewise.
41392         * socket/recv.c: Likewise.
41393         * socket/recvfrom.c: Likewise.
41394         * socket/recvmsg.c: Likewise.
41395         * socket/send.c: Likewise.
41396         * socket/sendmsg.c: Likewise.
41397         * socket/sendto.c: Likewise.
41398         * socket/setsockopt.c: Likewise.
41399         * socket/shutdown.c: Likewise.
41400         * socket/sockatmark.c: Likewise.
41401         * socket/socket.c: Likewise.
41402         * socket/socketpair.c: Likewise.
41403         * stdio-common/ctermid.c: Likewise.
41404         * stdio-common/cuserid.c: Likewise.
41405         * stdio-common/remove.c: Likewise.
41406         * stdio-common/rename.c: Likewise.
41407         * stdio-common/renameat.c: Likewise.
41408         * stdio-common/tempname.c: Likewise.
41409         * stdlib/getcontext.c: Likewise.
41410         * stdlib/makecontext.c: Likewise.
41411         * stdlib/setcontext.c: Likewise.
41412         * stdlib/swapcontext.c: Likewise.
41413         * stdlib/system.c: Likewise.
41414         * streams/fattach.c: Likewise.
41415         * streams/fdetach.c: Likewise.
41416         * streams/getmsg.c: Likewise.
41417         * streams/getpmsg.c: Likewise.
41418         * streams/putmsg.c: Likewise.
41419         * streams/putpmsg.c: Likewise.
41420         * sysdeps/unix/bsd/getpt.c: Likewise.
41421         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41422         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41423         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41425         Likewise.
41426         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41427         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41428         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41429         * sysvipc/msgctl.c: Likewise.
41430         * sysvipc/msgget.c: Likewise.
41431         * sysvipc/msgrcv.c: Likewise.
41432         * sysvipc/msgsnd.c: Likewise.
41433         * sysvipc/semctl.c: Likewise.
41434         * sysvipc/semget.c: Likewise.
41435         * sysvipc/semop.c: Likewise.
41436         * sysvipc/semtimedop.c: Likewise.
41437         * sysvipc/shmat.c: Likewise.
41438         * sysvipc/shmctl.c: Likewise.
41439         * sysvipc/shmdt.c: Likewise.
41440         * sysvipc/shmget.c: Likewise.
41441         * termios/tcdrain.c: Likewise.
41442         * termios/tcflow.c: Likewise.
41443         * termios/tcflush.c: Likewise.
41444         * termios/tcgetattr.c: Likewise.
41445         * termios/tcgetpgrp.c: Likewise.
41446         * termios/tcsendbrk.c: Likewise.
41447         * termios/tcsetattr.c: Likewise.
41448         * termios/tcsetpgrp.c: Likewise.
41449         * time/adjtime.c: Likewise.
41450         * time/clock.c: Likewise.
41451         * time/getitimer.c: Likewise.
41452         * time/gettimeofday.c: Likewise.
41453         * time/setitimer.c: Likewise.
41454         * time/settimeofday.c: Likewise.
41455         * time/stime.c: Likewise.
41456         * time/time.c: Likewise.
41458 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41460         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41461         /usr/old/bin.
41463         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41464         instead of spaces.
41465         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41467 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41469         [BZ #14796]
41470         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41471         FE_TONEAREST before applying Dekker multiplication and Knuth
41472         addition.  Clear inexact exceptions and check for exact zero
41473         results afterwards.
41474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41475         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41477         * math/libm-test.inc (fma_test): Add more tests.
41478         (fma_test_towardzero): Likewise.
41479         (fma_test_downward): Likewise.
41480         (fma_test_upward): Likewise.
41481         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41482         function.
41483         (libc_fesetround): New macro.
41484         (libc_fesetroundf): Likewise.
41485         (libc_fesetroundl): Likewise.
41486         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41487         function.
41488         (libc_fesetround_387): Likewise.
41489         (libc_fesetroundf): New macro.
41490         (libc_fesetround): Likewise.
41491         (libc_fesetroundl): Likewise.
41492         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41493         function.
41494         (libc_fesetroundf): New macro.
41495         (libc_fesetround): Likewise.
41496         (libc_fesetroundl): Likewise.
41497         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41498         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41499         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41500         libm_hidden_ver.
41501         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41502         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41503         libm_hidden_def.
41504         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41505         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41506         libm_hidden_ver.
41507         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41508         libm_hidden_def.
41510         [BZ #3439]
41511         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41512         integer constant usable in #if and use that to give value to enum
41513         constant.
41514         (FE_DIVBYZERO): Likewise.
41515         (FE_UNDERFLOW): Likewise.
41516         (FE_OVERFLOW): Likewise.
41517         (FE_INVALID): Likewise.
41518         (FE_INVALID_SNAN): Likewise.
41519         (FE_INVALID_ISI): Likewise.
41520         (FE_INVALID_IDI): Likewise.
41521         (FE_INVALID_ZDZ): Likewise.
41522         (FE_INVALID_IMZ): Likewise.
41523         (FE_INVALID_COMPARE): Likewise.
41524         (FE_INVALID_SOFTWARE): Likewise.
41525         (FE_INVALID_SQRT): Likewise.
41526         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41527         (FE_TONEAREST): Likewise.
41528         (FE_TOWARDZERO): Likewise.
41529         (FE_UPWARD): Likewise.
41530         (FE_DOWNWARD): Likewise.
41531         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41532         (FE_DIVBYZERO): Likewise.
41533         (FE_OVERFLOW): Likewise.
41534         (FE_UNDERFLOW): Likewise.
41535         (FE_INEXACT): Likewise.
41536         (FE_TONEAREST): Likewise.
41537         (FE_DOWNWARD): Likewise.
41538         (FE_UPWARD): Likewise.
41539         (FE_TOWARDZERO): Likewise.
41540         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41541         (FE_UNDERFLOW): Likewise.
41542         (FE_OVERFLOW): Likewise.
41543         (FE_DIVBYZERO): Likewise.
41544         (FE_INVALID): Likewise.
41545         (FE_TONEAREST): Likewise.
41546         (FE_TOWARDZERO): Likewise.
41547         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41548         (FE_OVERFLOW): Likewise.
41549         (FE_UNDERFLOW): Likewise.
41550         (FE_DIVBYZERO): Likewise.
41551         (FE_INEXACT): Likewise.
41552         (FE_TONEAREST): Likewise.
41553         (FE_TOWARDZERO): Likewise.
41554         (FE_UPWARD): Likewise.
41555         (FE_DOWNWARD): Likewise.
41556         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41557         (FE_DIVBYZERO): Likewise.
41558         (FE_OVERFLOW): Likewise.
41559         (FE_UNDERFLOW): Likewise.
41560         (FE_INEXACT): Likewise.
41561         (FE_TONEAREST): Likewise.
41562         (FE_DOWNWARD): Likewise.
41563         (FE_UPWARD): Likewise.
41564         (FE_TOWARDZERO): Likewise.
41566 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41568         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41570 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41572         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41573         commands.  Quote $PWD.
41574         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41575         -x" by "export".
41576         (remove_newlines): Remove.
41578 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41580         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41581         * stdlib/stdlib.h (atof): Moved to ...
41582         * include/bits/stdlib-float.h: Here.  New file.
41583         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41584         * stdlib/bits/stdlib-float.h: New file.
41585         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41586         -mno-sse -mno-mmx.
41587         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41588         <xmmintrin.h>.
41590 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41592         * conform/conformtest.pl (@headers): Add fenv.h.
41593         * conform/data/fenv.h-data: New file.
41594         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41595         include of <math/fenv.h>.
41597         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41598         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41599         && !UNIX98].  Enables tests for XOPEN2K8.
41600         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41601         POSIX2008]: Likewise.
41603         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41604         (struct rusage): Do not expect type or its members.
41606         [BZ #3439]
41607         * math/math.h (FP_NAN): Define macro to integer constant usable in
41608         #if and use that to give value to enum constant.
41609         (FP_INFINITE): Likewise.
41610         (FP_ZERO): Likewise.
41611         (FP_SUBNORMAL): Likewise.
41612         (FP_NORMAL): Likewise.
41614 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41616         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41617         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41618         arguments.
41620 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41622         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41623         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41624         autoconf-time if not.
41625         * configure.in: Remove AC_PREREQ.
41627 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41629         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41630         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41631         of the internal implementation.
41633 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41635         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41636         except include of <misc/sys/syslog.h>.
41638 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41641         function returns with a NULL context exit with zero.
41643 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41645         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41647 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41649         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41650         (run_program_cmd): This.
41651         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41652         (tst_langinfo): New variable.  Use it.
41654 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41656         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41657         floating point opcodes.
41659 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41661         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41662         variable.
41664         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41666         * sysdeps/mach/hurd/powerpc: Remove directory.
41667         * sysdeps/mach/powerpc: Likewise.
41669 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41671         * scripts/check-local-headers.sh: Ignore c++ headers.
41673 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41675         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41676         __libc_cleanup_region_start argument.
41678 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41680         [BZ #14784]
41681         [BZ #14785]
41682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41683         x * y using scaling, not as x * y + z.
41684         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41685         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41686         * math/libm-test.inc (fma_test): Add more tests.
41687         (fma_test_towardzero): Likewise.
41688         (fma_test_downward): Likewise.
41689         (fma_test_upward): Likewise.
41691 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41693         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41695 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41697         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41698         New variable.
41700 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41702         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41704 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41707         Fix sort order.
41708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41709         Likewise.
41711 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41714         Fix the order of the list for glibc 2.17.
41715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41716         Likewise.
41718 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41722 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41724         [BZ #14610]
41725         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41726         for low part of x being zero before using __atanl (y).
41727         * math/libm-test.inc (atan2_test): Add another test.
41729         * manual/install.texi (Configuring and compiling): Document
41730         general use of test-wrapper and test-wrapper-env.
41731         * INSTALL: Regenerated.
41733         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41734         (__fma): Do not extract and scale down low bits on after-rounding
41735         systems when result rounded to normal precision would have normal
41736         exponent.
41737         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41738         (__fmal): Do not extract and scale down low bits on after-rounding
41739         systems when result rounded to normal precision would have normal
41740         exponent.
41741         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41742         (__fmal): Do not extract and scale down low bits on after-rounding
41743         systems when result rounded to normal precision would have normal
41744         exponent.
41745         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41746         macro.
41747         (fma_test): Add more tests.
41748         (fma_test_towardzero): Likewise.
41749         (fma_test_downward): Likewise.
41750         (fma_test_upward): Likewise.
41752 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41754         * sysdeps/i386/tininess.h: Renamed to ...
41755         * sysdeps/x86/tininess.h: This.
41756         * sysdeps/x86_64/tininess.h: Removed.
41758 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41760         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41761         input.  Use $(build-program-cmd).
41762         ($(objpfx)tst-array1-static.out): Likewise.
41763         ($(objpfx)tst-array2.out): Likewise.
41764         ($(objpfx)tst-array3.out): Likewise.
41765         ($(objpfx)tst-array4.out): Likewise.
41766         ($(objpfx)tst-array5.out): Likewise.
41767         ($(objpfx)tst-array5-static.out): Likewise.
41769 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41771         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41772         if defined.
41774         * nss/nsswitch.h (nss_interface_function): Provide new
41775         macro for use with NSS functions.
41776         * grp/initgroups.c: Use new macro.
41777         * nss/getXXbyYY.c: Likewise.
41778         * nss/getXXbyYY_r.c: Likewise.
41779         * nss/getXXent.c: Likewise.
41780         * nss/getXXent_r.c: Likewise.
41781         * sysdeps/posix/getaddrinfo.c: Likewise.
41783 2012-10-30  Andreas Jaeger  <aj@suse.de>
41785         * po/ru.po: Update Russion translation from translation project.
41787 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41789         [BZ #14152]
41790         [BZ #14783]
41791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41792         result and shift together with sticky bit instead of replicating
41793         round-to-nearest rounding.
41794         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41795         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41796         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41797         missing underflow exceptions.
41798         (fma_test_towardzero): Add more tests.
41799         (fma_test_downward): Likewise.
41800         (fma_test_upward): Likewise.
41802         [BZ #14047]
41803         * sysdeps/generic/tininess.h: New file.
41804         * sysdeps/i386/tininess.h: Likewise.
41805         * sysdeps/sh/tininess.h: Likewise.
41806         * sysdeps/x86_64/tininess.h: Likewise.
41807         * stdlib/tst-strtod-underflow.c: Likewise.
41808         * stdlib/tst-tininess.c: Likewise.
41809         * stdlib/strtod_l.c: Include <tininess.h>.
41810         (round_and_return): Do not set errno for exact underflow cases.
41811         Force an underflow exception when setting errno for underflow.
41812         Determine underflow based on rounding to normal precision if
41813         TININESS_AFTER_ROUNDING.
41814         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41815         ERANGE for exact underflow cases.
41816         * stdlib/Makefile (tests): Add tst-tininess and
41817         tst-strtod-underflow.
41818         ($(objpfx)tst-tininess): Use $(link-libm).
41819         ($(objpfx)tst-strtod-underflow): Likewise.
41821 2012-10-30  Andreas Jaeger  <aj@suse.de>
41823         [BZ#14767]
41824         * elf/Makefile (tests): Remove conditional for have-initfini-array
41825         since this is now always required and the variable does not exist
41826         anymore.
41827         (tests-static): Likewise.
41828         (modules-names): Likewise.
41830         * po/eo.po: Add Esperanto translation from translation project.
41832         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41833         merged with constructor/destructor.
41834         (init_array): Likewise.
41835         * elf/tst-array2dep.c (fini_array): Likewise.
41836         (init_array): Likewise.
41838 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41840         * manual/message.texi: Delete @cartouche tags.
41842 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41844         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41845         EOPNOTSUPP.
41846         * sysdeps/mach/hurd/fsync.c: Likewise.
41848         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41849         [_POSIX_REALTIME_SIGNALS]: Change condition to
41850         [_POSIX_REALTIME_SIGNALS > 0].
41852 2012-10-27  Andreas Jaeger  <aj@suse.de>
41854         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41855         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41856         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41857         [__WORDSIZE != 64]: Likewise.
41859 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41861         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41862         *  iconvdata/tst-tables.sh: Likewise.
41864 2012-10-25  David S. Miller  <davem@davemloft.net>
41866         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41867         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41868         of strtoull.
41870         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41871         ifunc-impl-list.c
41872         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41873         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41874         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41875         file.
41877 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41879         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41880         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41881         __getdirentries.
41883 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41884             Jim Blandy  <jimb@codesourcery.com>
41886         * scripts/cross-test-ssh.sh: New file.
41887         * manual/install.texi (Configuring and compiling): Document use of
41888         cross-test-ssh.sh.
41889         * INSTALL: Regenerated.
41891 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41893         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41894         EOPNOTSUPP.
41896 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41898         * Makeconfig (run-program-prefix): Fix comment.
41900 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41901             Jim Blandy  <jimb@codesourcery.com>
41903         * Makeconfig (test-wrapper): New variable,
41904         (test-wrapper-env): Likewise.
41905         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41906         (run-built-tests): Define to yes.
41907         (run-program-prefix): Use $(test-wrapper).
41908         (built-program-cmd): Likewise.
41909         * Rules (make-test-out): Use $(test-wrapper-env) and
41910         $(host-built-program-cmd).
41911         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41912         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41913         tst-pathopt.sh.
41914         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41915         $(test-wrapper-env) to tst-rtld-load-self.sh.
41916         ($(objpfx)order2.out): Use $(test-wrapper).
41917         ($(objpfx)tst-initorder.out): Likewise.
41918         ($(objpfx)tst-initorder2.out): Likewise.
41919         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41920         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41921         (test_wrapper_env): New variable.  Use it to run ld.so.
41922         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41923         Use it to run ld.so.
41924         (test_wrapper_env): Likewise.
41925         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41926         $(test-wrapper) to run-iconv-test.sh.
41927         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41928         (ICONV): Use $test_wrapper.
41929         * posix/Makefile ($(objpfx)globtest.out): Pass
41930         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41931         globtest.sh, not $(run-program-prefix).
41932         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41933         (test_wrapper): Likewise.
41934         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41935         set together with run_via_rtld_prefix.
41936         (run_program_prefix): Define in terms of test_wrapper and
41937         run_via_rtld_prefix.
41939 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41941         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41942         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41943         Targets removed.
41945         [BZ #14743]
41946         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41947         Declare __clock_getres, __clock_gettime, __clock_settime,
41948         __clock_nanosleep, and __clock_getcpuclockid.
41949         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41950         Remove librt_hidden_def (clock_gettime).
41951         * sysdeps/unix/clock_gettime.c: Likewise.
41952         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41953         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41954         * rt/clock_getres.c: Define __clock_getres as an alias.
41955         * sysdeps/posix/clock_getres.c: Likewise.
41956         * rt/clock_settime.c: Define __clock_settime as an alias.
41957         * sysdeps/unix/clock_settime.c: Likewise.
41958         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41959         * sysdeps/unix/clock_nanosleep.c: Likewise.
41960         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41961         * rt/clock-compat.c: New file.
41962         * rt/Makefile (librt-routines): Add clock-compat and move
41963         $(clock-routines) to ...
41964         (routines): ... here, new variable.
41965         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41966         Don't add get_clockfreq here.
41967         * rt/Versions (libc: GLIBC_2.17): New version set.
41968         Add clock_* symbols here.
41969         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41970         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41971         (GLIBC_2.17): Add clock_* symbols.
41972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41974         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41976         Likewise.
41977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41978         Likewise.
41979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41983         * NEWS: Mention the move.
41985         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41986         Use __open, __read, __close rather than their public counterparts.
41987         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41988         (__get_clockfreq_via_cpuinfo): Likewise.
41989         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41990         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41992         * config.h.in (HAVE_IFUNC): New #undef.
41993         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41994         was successful.
41995         * configure: Regenerated.
41997 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41999         * configure.in: Move READELF check to start of file.
42000         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42001         libc_cv_asm_gnu_indirect_function in the process.
42002         * configure: Regenerated.
42004 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42006         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42007         send the output to /dev/null.
42008         (libc_cv_cc_with_libunwind): Likewise.
42009         (libc_cv_as_noexecstack): Likewise.
42010         * configure: Regenerate.
42012 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42014         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42016         * posix/globtest.sh (TMPDIR): Do not set.
42017         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42018         (testout): Likewise.
42020 2012-10-24  Andreas Jaeger  <aj@suse.de>
42022         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42023         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42024         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42025         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42026         posix_fadvise64, posix_fallocate64.
42028         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42029         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42030         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42031         Likewise.
42032         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42033         Likewise.
42034         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42036         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42037         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42038         <bits/fcntl-linux.h>.
42039         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42041         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42042         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42043         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42044         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42045         [__WORDSIZE != 64]: Likewise.
42047 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42049         * Makeconfig (run-built-tests): New variable.
42050         * Rules [$(cross-compiling) = yes]: Change condition to
42051         [$(run-built-tests) = no].
42052         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42053         to [$(run-built-tests) = yes].
42054         * elf/Makefile [$(cross-compiling) = no]: Likewise
42055         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42056         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42057         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42058         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42059         * io/Makefile [$(cross-compiling) = no]: Likewise.
42060         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42061         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42062         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42063         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42064         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42065         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42066         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42067         * string/Makefile [$(cross-compiling) = no]: Likewise.
42069         * posix/Makefile ($(objpfx)globtest.out): Pass
42070         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42071         $(rtld-installed-name).
42072         * posix/globtest.sh (elf_objpfx): Remove variable.
42073         (rtld_installed_name): Likewise.
42074         (library_path): Likewise.
42075         (run_program_prefix): New variable.  Use for running globtest
42076         binary.
42078 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42079             Joseph Myers  <joseph@codesourcery.com>
42081         * Makeconfig (host-built-program-cmd): New variable.
42082         * elf/Makefile (tst-stackguard1-ARGS): Use
42083         $(host-built-program-cmd).
42084         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42085         (tst-spawn-ARGS): Likewise.
42086         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42088 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42089             Jim Blandy  <jimb@codesourcery.com>
42091         * Makeconfig (run-via-rtld-prefix): New variable.
42092         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42093         (built-program-cmd): Likewise.
42095 2012-10-22  Andreas Jaeger  <aj@suse.de>
42097         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42098         __O_RSYNC if it exists, otherwise to O_SYNC.
42100 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42101             Joseph Myers  <joseph@codesourcery.com>
42103         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42104         /dev/null.
42105         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42106         from /dev/null
42107         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42108         /dev/null.
42110 2012-10-22  Andreas Jaeger  <aj@suse.de>
42112         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42113         Define always.
42114         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42117         bits/fcntl-linux.h.
42119         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42120         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42122         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42123         to __O_LARGEFILE.
42124         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42125         to __O_LARGEFILE.
42127 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42128             Joseph Myers  <joseph@codesourcery.com>
42130         * config.make.in (NM): New variable.
42132 2012-10-21  Andreas Jaeger  <aj@suse.de>
42134         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42135         definitions and declarations that are provided by
42136         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42138 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42140         [BZ #14683]
42141         * elf/Makefile (tests-static): Add tst-leaks1-static.
42142         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42143         ($(objpfx)tst-leaks1-static): New rule.
42144         ($(objpfx)tst-leaks1-static-mem): Likewise.
42145         (tst-leaks1-static-ENV): New macro.
42146         * elf/dl-open.c (dl_open_worker): Check the main application
42147         only if SHARED is defined.
42148         * elf/tst-leaks1-static.c: New file.
42150 2012-10-20  Andreas Jaeger  <aj@suse.de>
42152         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42153         generic values for Linux.
42154         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42155         and declarations that are provided by <bits/fcntl-linux.h> and
42156         include <bits/fcntl-linux.h>.
42157         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42160 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42162         * io/fcntl.h: Move include of <bits/types.h> to the top and
42163         include it unconditionally.
42165 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42167         * wcsmbs/Makefile (tests-ifunc): New variable.
42168         (tests): Add $(tests-ifunc).
42169         * wcsmbs/test-wcschr-ifunc.c: New file.
42170         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42171         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42172         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42173         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42174         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42176         * string/Makefile (tests-ifunc): New variable.
42177         (tests): Add $(tests-ifunc).
42178         * string/test-memccpy.c (TEST_NAME): New macro.
42179         * string/test-memchr.c (TEST_NAME): Likewise.
42180         * string/test-memcmp.c (TEST_NAME): Likewise.
42181         * string/test-memcpy.c (TEST_NAME): Likewise.
42182         * string/test-memmem.c (TEST_NAME): Likewise.
42183         * string/test-memmove.c (TEST_NAME): Likewise.
42184         * string/test-memset.c (TEST_NAME): Likewise.
42185         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42186         * string/test-stpcpy.c (TEST_NAME): Likewise.
42187         * string/test-stpncpy.c (TEST_NAME): Likewise.
42188         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42189         * string/test-strcasestr.c (TEST_NAME): Likewise.
42190         * string/test-strcat.c (TEST_NAME): Likewise.
42191         * string/test-strchr.c (TEST_NAME): Likewise.
42192         * string/test-strcmp.c(TEST_NAME): Likewise.
42193         * string/test-strcpy.c (TEST_NAME): Likewise.
42194         * string/test-strcspn.c (TEST_NAME): Likewise.
42195         * string/test-strlen.c (TEST_NAME): Likewise.
42196         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42197         * string/test-strncmp.c (TEST_NAME): Likewise.
42198         * string/test-strncpy.c (TEST_NAME): Likewise.
42199         * string/test-strnlen.c (TEST_NAME): Likewise.
42200         * string/test-strpbrk.c (TEST_NAME): Likewise.
42201         * string/test-strrchr.c (TEST_NAME): Likewise.
42202         * string/test-strspn.c (TEST_NAME): Likewise.
42203         * string/test-strstr.c (TEST_NAME): Likewise.
42204         * string/test-bcopy-ifunc.c: New file.
42205         * string/test-bzero-ifunc.c: Likewise.
42206         * string/test-memccpy-ifunc.c: Likewise.
42207         * string/test-memchr-ifunc.c: Likewise.
42208         * string/test-memcmp-ifunc.c: Likewise.
42209         * string/test-memcpy-ifunc.c: Likewise.
42210         * string/test-memmem-ifunc.c: Likewise.
42211         * string/test-memmove-ifunc.c: Likewise.
42212         * string/test-mempcpy-ifunc.c: Likewise.
42213         * string/test-memset-ifunc.c: Likewise.
42214         * string/test-rawmemchr-ifunc.c: Likewise.
42215         * string/test-stpcpy-ifunc.c: Likewise.
42216         * string/test-stpncpy-ifunc.c: Likewise.
42217         * string/test-strcasecmp-ifunc.c: Likewise.
42218         * string/test-strcasestr-ifunc.c: Likewise.
42219         * string/test-strcat-ifunc.c: Likewise.
42220         * string/test-strchr-ifunc.c: Likewise.
42221         * string/test-strchrnul-ifunc.c: Likewise.
42222         * string/test-strcmp-ifunc.c: Likewise.
42223         * string/test-strcpy-ifunc.c: Likewise.
42224         * string/test-strcspn-ifunc.c: Likewise.
42225         * string/test-strlen-ifunc.c: Likewise.
42226         * string/test-strncasecmp-ifunc.c: Likewise.
42227         * string/test-strncat-ifunc.c: Likewise.
42228         * string/test-strncmp-ifunc.c: Likewise.
42229         * string/test-strncpy-ifunc.c: Likewise.
42230         * string/test-strnlen-ifunc.c: Likewise.
42231         * string/test-strpbrk-ifunc.c: Likewise.
42232         * string/test-strrchr-ifunc.c: Likewise.
42233         * string/test-strspn-ifunc.c: Likewise.
42234         * string/test-strstr-ifunc.c: Likewise.
42236         * debug/Makefile (tests-ifunc): New variable.
42237         (tests): Add $(tests-ifunc).
42238         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42239         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42240         * debug/test-stpcpy_chk-ifunc.c: New file.
42241         * debug/test-strcpy_chk-ifunc.c: Likewise.
42243 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42245         [BZ #13601]
42246         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42247         header is not read in.
42249 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42251         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42252         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42253         directly.  Pass built executable to script as
42254         $(built-program-cmd).
42255         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42256         $testprogram without using LD_LIBRARY_PATH and $ldso.
42258         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42259         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42260         $(rtld-installed-name).
42261         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42262         (rtld_installed_name): Likewise.
42263         (library_path): Likewise.
42264         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42265         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42266         $(run-program-prefix) to tst-tables.sh.
42267         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42268         it to run tst-table-from and tst-table-to.
42269         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42270         Pass it to tst-table.sh.
42271         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42272         $(run-program-prefix) to tst-gettext.sh.
42273         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42274         tst-translit.sh.
42275         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42276         tst-gettext2.sh.
42277         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42278         to run tst-gettext.
42279         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42280         to run tst-gettext2.
42281         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42282         to run tst-translit.
42283         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42284         $(run-program-prefix) to tst-mtrace.sh.
42285         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42286         to run tst-mtrace.
42287         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42288         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42289         $(rtld-installed-name).
42290         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42291         (rtld_installed_name): Likewise.
42292         (run_program_prefix): New variable.  Use it to run wordexp-test.
42294         * Makeconfig (ARCH): Remove all definitions.
42295         (machine): Likewise.
42296         [ARCH]: Remove conditional code.
42297         [!objdir]: Give error.
42298         [!objdir] (objpfx): Remove.
42299         [!objdir] (common-objpfx): Likewise.
42300         [!objdir] (common-objdir): Likewise.
42301         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42302         AC_CONFIG_FILES call.
42303         * configure: Regenerated.
42305         [BZ #13888]
42306         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42307         or TMPDIR.
42308         (testout): Likewise.
42310         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42311         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42312         $(rtld-installed-name).
42313         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42314         (rtld_installed_name): Likwise.
42315         (runit): Remove function.
42316         (run_getconf): New variable,  Use it for running getconf binary.
42318 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42320         [BZ #14716]
42321         * string/test-memmem.c (check_result): New function.
42322         (do_one_test): Use it.
42323         (check1): New function.
42324         (test_main): Use it.
42326 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42328         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42330 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42332         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42333         (_G_LSEEK64): Likewise.
42334         (_G_MMAP64): Likewise.
42335         (_G_FSTAT64): Likewise.
42336         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42337         (_G_LSEEK64): Likewise.
42338         (_G_MMAP64): Likewise.
42339         (_G_FSTAT64): Likewise.
42340         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42341         unconditional.  Call __mmap64 directly.
42342         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42343         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42344         __lseek64 directly.
42345         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42346         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42347         __mmap64 directly.
42348         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42349         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42350         __lseek64 directly.
42351         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42352         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42353         __lseek64 directly.
42354         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42355         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42356         __lseek64 directly.
42357         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42358         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42359         __fxstat64 directly.
42360         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42361         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42362         unconditional.
42363         (freopen64) [!_G_OPEN64]: Remove conditional code.
42364         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42365         unconditional.
42366         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42367         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42368         unconditional.
42369         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42370         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42371         unconditional.
42372         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42373         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42374         unconditional.
42375         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42376         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42377         unconditional.
42378         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42379         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42380         unconditional.
42381         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42382         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42383         unconditional.
42384         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42386 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42388         [BZ #12140]
42389         * manual/memory.texi (Malloc Tunable Parameters): Add note
42390         about free list pointers overwriting some perturb bytes.
42391         Wording suggested by Roland McGrath.
42393 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42395         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42396         (lgamma_test): Likewise.
42397         (tgamma_test): Likewise.
42399 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42401         [BZ #14700]
42402         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42403         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42405 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42407         * NEWS: Mention BZ #14716.
42408         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42409         when removing AVAILABLE1_USES_J macro.
42411 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42413         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42414         (__bswap_64): __uint64_t for unsigned 64-bit int.
42416 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42418         * include/string.h (memmem): Declare libc hidden alias.
42419         * string/memmem.c (memmem): Define libc hidden alias.
42420         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42421         __read, __close instead of open, read, close.
42423 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42425         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42426         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42427         global and hidden.
42428         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42429         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42430         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42431         Likewise.
42432         (__rawmemchr_sse2): Likewise.
42433         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42434         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42435         (__strchr_sse2): Likewise.
42436         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42437         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42438         (__strcasecmp_sse2): Likewise.
42439         (__strncasecmp_sse2): Likewise.
42440         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42441         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42442         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42443         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42444         (__strrchr_sse2): Likewise.
42445         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42446         ifunc-impl-list.c.
42447         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42448         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42449         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42450         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42451         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42452         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42453         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42454         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42455         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42456         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42457         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42458         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42459         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42460         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42461         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42462         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42463         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42464         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42465         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42466         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42467         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42468         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42469         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42470         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42471         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42472         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42473         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42474         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42475         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42476         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42478         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42479         global and hidden.
42480         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42481         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42482         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42483         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42484         Likewise.
42485         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42486         Likewise.
42487         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42488         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42489         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42490         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42491         ifunc-impl-list.c.
42492         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42493         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42494         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42495         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42496         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42497         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42498         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42499         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42500         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42501         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42502         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42503         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42504         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42505         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42506         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42507         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42508         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42509         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42510         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42511         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42512         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42513         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42514         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42515         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42516         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42517         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42518         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42519         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42520         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42521         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42522         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42523         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42524         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42525         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42526         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42527         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42528         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42529         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42530         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42531         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42532         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42534         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42535         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42536         * include/ifunc-impl-list.h: New file.
42537         * misc/ifunc-impl-list.c: Likewise.
42538         * misc/Makefile (routines): Add ifunc-impl-list.
42539         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42540         * string/test-string.h: Include <ifunc-impl-list.h>.
42541         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42542         TEST_NAME]: New variables.
42543         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42544         are defined.
42545         (test_init): Call __libc_ifunc_impl_list to initialize
42546         func_list if TEST_IFUNC and TEST_NAME are defined.
42548         * string/Makefile (strop-tests): Add bcopy and bzero.
42549         * string/test-bcopy.c: New file.
42550         * string/test-bzero.c: Likewise.
42551         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42552         defined.
42553         * string/test-memset.c: Support bzero test if TEST_BZERO is
42554         defined.
42555         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42556         __libc_memmove.
42557         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42558         __libc_memset.
42559         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42560         of memset.
42562 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42564         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42565         * configure: Regenerated.
42567         * Makeconfig (+link-static-before-libc): Don't include
42568         $(link-static-libc).
42570         * libio/libio.h (_IO_pos_t): Remove.
42572 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42574         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42575         McGrath.
42577 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42579         * crypt/crypt-entry.c: Include fips-private.h.
42580         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42581         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42582         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42583         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42585 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42587         * crypt/crypt-private.h: Include stdbool.h.
42588         (_ufc_setup_salt_r): Return bool.
42589         * crypt/crypt-entry.c: Include errno.h.
42590         (__crypt_r): Return NULL with EINVAL for bad salt.
42591         * crypt/crypt_util.c (bad_for_salt): New.
42592         (_ufc_setup_salt_r): Check that salt is long enough and within
42593         the specified alphabet.
42594         * crypt/badsalttest.c: New file.
42595         * crypt/Makefile (tests): Add it.
42596         ($(objpfx)badsalttest): New.
42598 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42600         * NEWS: Add entry for BZ #14602.
42602 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42604         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42605         type-generic.
42606         * math/libm-test.inc: Update comment listing what functions and
42607         macros are tested.
42608         (isgreater_test): New function.
42609         (isgreaterequal_test): Likewise.
42610         (isless_test): Likewise.
42611         (islessequal_test): Likewise.
42612         (islessgreater_test): Likewise.
42613         (isunordered_test): Likewise.
42614         (main): Call the new functions.
42616 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42618         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42619         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42620         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42621         * sysdeps/i386/configure: Regenerated.
42622         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42623         * sysdeps/mach/configure: Regenerated.
42624         * sysdeps/mach/hurd/configure: Regenerated.
42625         * sysdeps/powerpc/configure: Regenerated.
42626         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42627         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42628         * sysdeps/s390/s390-32/configure: Regenerated.
42629         * sysdeps/s390/s390-64/configure: Regenerated.
42630         * sysdeps/sh/configure: Regenerated.
42631         * sysdeps/sparc/configure: Regenerated.
42632         * sysdeps/unix/sysv/linux/configure: Regenerated.
42633         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42634         * sysdeps/x86_64/configure: Regenerated.
42636         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42637         defined.  Don't check if MAP is NULL.
42639 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42641         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42642         (_G_stat64): Likewise.
42643         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42644         (_G_stat64): Likewise.
42645         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42646         instead of struct _G_stat64.
42647         * libio/fileops.c (mmap_remap_check): Likewise.
42648         (decide_maybe_mmap): Likewise.
42649         (_IO_new_file_seekoff): Likewise.
42650         (_IO_file_stat): Likewise.
42651         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42652         _G_off64_t.
42653         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42654         instead of struct _G_stat64.
42655         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42657 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42659         [BZ #14602]
42660         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42661         Replace with ...
42662         (CHECK_EOL): New macro.
42663         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42664         CHECK_EOL.
42665         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42666         Replace with CHECK_EOL.
42667         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42668         Replace with CHECK_EOL.
42670 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42672         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42673         type-generic.
42674         * math/libm-test.inc: Update comment listing what functions and
42675         macros are tested.
42676         (finite_test): New function.
42677         (isinf_test): Likewise.
42678         (isnan_test): Likewise.
42679         (fpclassify_test): Test subnormal input.
42680         (isfinite_test): Likewise.
42681         (isnormal_test): Likewise.
42682         (main): Call the new functions.
42684 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42686         [BZ #14660]
42687         * Makerules (%.dynsym): Force C locale when running
42688         $(OBJDUMP) --dynamic-syms.
42690 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42692         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42693         <stdint.h>.
42695 2012-10-06  David S. Miller  <davem@davemloft.net>
42697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42698         upper 32-bits of the length value in %o2 since we use branch-on-register
42699         tests which consider the entire 64-bit register.
42701 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42703         * string/test-strstr.c (check2): Add a test for page boundary.
42705 2012-10-05  David S. Miller  <davem@davemloft.net>
42707         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42708         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42709         file.
42710         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42711         sysdep_routines.
42712         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42713         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42714         and bzero when HWCAP_SPARC_CRYPTO is present.
42716 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42718         [BZ #14602]
42719         * string/test-strstr.c (check2): New function.
42720         (test_main): Call check2.
42722         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42723         and bug-strchr1.
42724         * string/bug-strcasestr1.c (do_test): Moved to ...
42725         * string/test-strcasestr.c (check1): Here.  New function.
42726         (do_one_test): Break out result checking code into ...
42727         (check_result): This.  New function.
42728         (do_one_test): Call check_result.
42729         (test_main): Call check1.
42730         * string/bug-strchr1.c (do_test): Moved to ...
42731         * string/test-strchr.c (check1): Here.  New function.
42732         (do_one_test): Break out result checking code into ...
42733         (check_result): This.  New function.
42734         (do_one_test): Call check_result.
42735         (test_main): Call check1.
42736         * string/bug-strstr1.c (main): Moved to ...
42737         * string/test-strstr.c (check1): Here.  New function.
42738         (do_one_test): Break out result checking code into ...
42739         (check_result): This.  New function.
42740         (do_one_test): Call check_result.
42741         (test_main): Call check1.
42742         * string/bug-strcasestr1.c: Removed.
42743         * string/bug-strchr1.c: Likewise.
42744         * string/bug-strstr1.c: Likewise.
42746         * elf/Makefile (dl-routines): Add hwcaps.
42747         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42748         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42749         (_dl_important_hwcaps): Moved to ...
42750         * elf/dl-hwcaps.c: Here.  New file.
42751         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42753         [BZ #14557]
42754         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42755         if IS_IN_rtld isn't defined.
42757         * elf/dl-support.c (_dl_sysinfo_map): New.
42758         Include "get-dynamic-info.h" and "setup-vdso.h".
42759         (_dl_non_dynamic_init): Call setup_vdso.
42760         * elf/dynamic-link.h: Don't include <assert.h>.
42761         (elf_get_dynamic_info): Moved to ...
42762         * elf/get-dynamic-info.h: Here.  New file.
42763         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42764         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42765         * elf/setup-vdso.h: Here.  New file.
42766         * elf/rtld.c: Include "setup-vdso.h".
42767         (dl_main): Call setup_vdso.
42769 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42771         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42772         creal in comment listing functions tested.  List finite, isinf,
42773         isnan, isless, islessequal, isgreater, isgreaterequal,
42774         islessgreater, isunordered, lgamma_r and pow10 as functions and
42775         macros not tested.  Mention which functions not tested are aliases
42776         for other functions.  Fix typo.  Note that signs of NaNs are not
42777         tested.
42779         * scripts/config.guess: Update from config.git.
42780         * scripts/config.sub: Likewise.
42782 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42784         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42785         * misc/madvise.c (madvise): Renamed to __madvise.
42786         Make madvise a weak alias.
42787         * include/sys/mman.h: Declare __madvise.
42788         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42789         * sysdeps/unix/syscalls.list
42790         (madvise): Make __madvise the strong name, and madvise a weak alias.
42791         * sysdeps/unix/sysv/linux/syscalls.list
42792         (madvise, mmap): Remove redundant entries.
42793         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42794         * malloc/malloc.c (mtrim): Likewise.
42795         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42797 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42799         * sysdeps/mach/hurd/dl-cache.c: File removed.
42800         * config.h.in (USE_LDCONFIG): New #undef.
42801         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42802         * configure: Regenerated.
42803         * elf/Makefile (dl-routines): Add dl-cache only under
42804         [$(use-ldconfig) = yes].
42805         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42806         cache on [USE_LDCONFIG].
42807         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42808         [USE_LDCONFIG].
42809         * elf/rtld.c (dl_main): Likewise.
42811 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42813         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42814         _SC_LEVEL4_CACHE_LINESIZE.
42816 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42818         * sysdeps/unix/bsd/confstr.h: File removed.
42820 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42822         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42823         sys/sdt-config.h.
42825 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42827         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42828         Make 'mapoff' field ElfW(Off) rather than off_t.
42830 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42832         * nscd/Makefile: Remove nscd-cflags and all its users.
42833         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42834         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42836         [BZ #10631]
42837         * malloc.c (malloc_printerr): Clarify error message.
42839 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42841         [BZ #14648]
42842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42843         Set bit_FMA_Usable if FMA is supported.
42844         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42845         macro.
42846         (bit_FMA4_Usable): Updated.
42847         (index_FMA_Usable): New macro.
42848         (CPUID_FMA): Likewise
42849         (HAS_FMA): Defined with bit_FMA_Usable.
42851 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42853         * bits/types.h (__swblk_t): Type removed.
42854         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42855         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42856         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42857         (__SWBLK_T_TYPE): Likewise.
42858         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42859         (__SWBLK_T_TYPE): Likewise.
42860         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42861         (__SWBLK_T_TYPE): Likewise.
42862         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42863         (__SWBLK_T_TYPE): Likewise.
42865 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42866             Honza Horak <hhorak@redhat.com>
42868         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42869         (xdr_mapname): Use YPMAXMAP as maxsize.
42870         (xdr_peername): Use YPMAXPEER as maxsize.
42871         (xdr_keydat): Use YPAXRECORD as maxsize.
42872         (xdr_valdat): Use YPMAXRECORD as maxsize.
42874 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42876         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42878         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42879         * csu/init-first.c: ... here.
42880         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42881         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42882         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42883         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42884         * sysdeps/i386/init-first.c: File removed.
42885         * sysdeps/sh/init-first.c: File removed.
42887 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42889         [BZ #14645]
42890         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42891         if x * y might underflow to zero and z is zero.
42892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42893         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42894         * math/libm-test.inc (min_subnorm_value): New variable.
42895         (fma_test): Add more tests.
42896         (fma_test_towardzero): Likewise.
42897         (fma_test_downward): Likewise
42898         (fma_test_upward): Likewise.
42899         (initialize): Set min_subnorm_value.
42901 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42903         [BZ #14638]
42904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42905         0 + 0.
42906         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42907         mode for addition resulting in exact zero.
42908         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42909         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42910         exact 0 + 0.
42911         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42912         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42913         * math/libm-test.inc (fma_test): Add more tests.
42914         (fma_test_towardzero): New function.
42915         (fma_test_downward): Likewise.
42916         (fma_test_upward): Likewise.
42917         (main): Call the new functions.
42919 2012-09-28  David S. Miller  <davem@davemloft.net>
42921         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42923 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42925         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42926         instead of SIGALRM.
42928         * sysdeps/gnu/_G_config.h: Moved to ...
42929         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42930         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42931         * sysdeps/generic/_G_config.h: ... here.
42933         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42935         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42937         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42938         Conditionalize target on [libnss_test1.so-version].
42940         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42942         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42943         (elfobjdir): Move out of conditionals.
42945         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42946         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42947         (__nss_lookup_function): Conditionalize label remove_from_tree on
42948         [!DO_STATIC_NSS || SHARED], matching its only use.
42950 2012-09-28  David S. Miller  <davem@davemloft.net>
42952         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42953         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42954         file.
42955         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42956         sysdep_routines.
42957         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42958         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42959         when HWCAP_SPARC_CRYPTO is present.
42961 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42963         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42965 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42967         [BZ #6530]
42968         * stdio-common/vfprintf.c (process_string_arg): Revert
42969         2000-07-22 change.
42971 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42973         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42974         for testcase.
42975         * stdio-common/tst-sprintf.c: Include <locale.h>
42976         (main): Test sprintf's handling of incomplete multibyte
42977         characters.
42979 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42981         * elf/dl-runtime.c (VERSYMIDX): Removed.
42982         * elf/dl-version.c (VERSYMIDX): Likewise.
42983         * elf/do-rel.h (VERSYMIDX): Likewise.
42984         (VALIDX): Likewise.
42985         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42986         * elf/rtld.c (VALIDX): Likewise.
42987         (ADDRIDX): Likewise.
42988         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42989         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42990         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42991         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42992         (VALIDX): Likewise.
42993         (ADDRIDX): Likewise.
42995 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42997         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42999 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43001         [BZ #11438]
43002         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43003         to global scope.
43004         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43005         addresses are in the same scope as 192.0.2/24.
43006         * posix/gai.conf: Document new scope table defaults.
43008 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43010         [BZ #5298]
43011         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43012         for ftell.  Compute offsets from write pointers instead.
43013         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43015 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43017         [BZ #14543]
43018         * libio/Makefile (tests): New test case tst-fseek.
43019         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43020         combination works in wide mode.
43021         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43022         state when the external buffer state changes.
43024 2012-09-27  David S. Miller  <davem@davemloft.net>
43026         [BZ #14376]
43027         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43028         pass reloc->r_addend in as the 'high' argument to
43029         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43033 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43035         * rt/tst-aio2.c: Include <pthread.h>.
43036         * rt/tst-aio3.c: Likewise.
43038 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43040         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43042 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43044         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43045         contents on [SHARED].
43047 2012-09-26  Marek Polacek  <polacek@redhat.com>
43049         [BZ #14530]
43050         [BZ #13741]
43051         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43052         for C++ and GCC <4.3 as well as for non GCC compilers.
43054 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43058 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43060         * Makefile.in (all, install): Declare with .PHONY.
43061         Reported by Michael Hope <michael.hope@linaro.org>.
43063 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43065         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43066         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43067         system header.
43068         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43069         Likewise.
43070         (sydep_routines): Add the new and the internal functions.
43071         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43072         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43074         (GLIBC_2.17): Add the new function.
43075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43076         (GLIBC_2.17): Likewise.
43077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43078         (GLIBC_2.17): Likewise.
43079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43080         (GLIBC_2.17): Likewise.
43081         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43083 2012-09-25  Alan Modra  <amodra@gmail.com>
43085         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43086         Add release barrier before setting once_control to say
43087         initialisation is done.  Add hints on lwarx.  Use macro in
43088         place of isync.
43089         (clear_once_control): Add release barrier.
43091 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43093         [BZ #13629]
43094         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43095         specially.
43096         * math/s_clog10.c (__clog10): Likewise.
43097         * math/s_clog10f.c (__clog10f): Likewise.
43098         * math/s_clog10l.c (__clog10l): Likewise.
43099         * math/s_clogf.c (__clogf): Likewise.
43100         * math/s_clogl.c (__clogl): Likewise.
43101         * math/Makefile (libm-calls): Add x2y2m1.
43102         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43103         (__x2y2m1): Likewise.
43104         (__x2y2m1l): Likewise.
43105         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43106         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43107         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43108         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43109         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43110         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43111         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43112         * sysdeps/i386/fpu/libm-test-ulps: Update.
43113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43115         [BZ #14621]
43116         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43117         int as type of variable DEPTH.
43118         (glob): Use size_t instead of int as type of variables NEWCOUNT
43119         and OLD_PATHC.
43121 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43123         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43124         Add s_sincosf-sse2.
43125         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43126         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43127         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43128         macros for using routine as __sincosf_ia32.
43129         Use macro for function declaration and weak_alias.
43130         * sysdeps/i386/fpu/libm-test-ulps: Update.
43132         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43135         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43136         subnormal argument.
43137         * math/s_cexpf.c (__cexpf): Likewise.
43138         * math/s_csinf.c (__csinf): Likewise.
43139         * math/s_csinhf.c (__csinhf): Likewise.
43140         * math/s_ctanf.c (__ctanf): Likewise.
43141         * math/s_ctanhf.c (__ctanhf): Likewise.
43142         * math/s_ccosh.c (__ccoshf): Likewise.
43143         * math/s_cexp.c (__cexpl): Likewise.
43144         * math/s_csin.c (__csin): Likewise.
43145         * math/s_csinh.c (__csinh): Likewise.
43146         * math/s_ctan.c (__ctan): Likewise.
43147         * math/s_ctanh.c (ctanh): Likewise.
43148         * math/s_ccoshl.c (__ccoshl): Likewise.
43149         * math/s_cexpl.c (__cexpl): Likewise.
43150         * math/s_csinl.c (__csinl): Likewise.
43151         * math/s_csinhl.c (__csinhl): Likewise.
43152         * math/s_ctanl.c (__ctanl): Likewise.
43153         * math/s_ctanhl.c (__ctanhl): Likewise.
43155 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43157         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43158         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43159         (_IO_off_t): Define to __off_t, not _G_off_t.
43160         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43161         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43162         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43163         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43164         type of __dummy and __dummy2 fields.
43165         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43166         (_G_ssize_t): Likewise.
43167         (_G_off_t): Likewise.
43168         (_G_pid_t): Likewise.
43169         (_G_uid_t): Likewise.
43170         (_G_wchar_t): Likewise.
43171         (_G_wint_t): Likewise.
43172         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43173         (_G_ssize_t): Likewise.
43174         (_G_off_t): Likewise.
43175         (_G_pid_t): Likewise.
43176         (_G_uid_t): Likewise.
43177         (_G_wchar_t): Likewise.
43178         (_G_wint_t): Likewise.
43179         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43180         (_G_ssize_t): Likewise.
43181         (_G_off_t): Likewise.
43182         (_G_pid_t): Likewise.
43183         (_G_uid_t): Likewise.
43184         (_G_wchar_t): Likewise.
43185         (_G_wint_t): Likewise.
43187 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43189         * malloc/arena.c: Include malloc-sysdep.h.
43190         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43191         is sufficient to shrink the heap or an unmap is needed.
43192         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43193         new function check_may_shrink_heap.
43194         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43195         new function check_may_shrink_heap.
43197 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43199         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43200         comments.
43202 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43204         * catgets/test-gencat.sh: Add "set -e".
43205         * elf/tst-pathopt.sh: Likewise.
43206         * grp/tst_fgetgrent.sh: Likewise.
43207         * iconvdata/run-iconv-test.sh: Likewise.
43208         * intl/tst-gettext.sh: Likewise.
43209         * intl/tst-gettext2.sh: Likewise.
43210         * intl/tst-gettext4.sh: Likewise.
43211         * intl/tst-gettext6.sh: Likewise.
43212         * intl/tst-translit.sh: Likewise.
43213         * io/ftwtest-sh: Likewise.
43214         * libio/test-freopen.sh: Likewise.
43215         * malloc/tst-mtrace.sh: Likewise.
43216         * posix/globtest.sh: Likewise.
43217         * posix/tst-getconf.sh: Likewise.
43218         * posix/wordexp-tst.sh: Likewise.
43219         * stdio-common/tst-printf.sh: Likewise.
43220         * stdio-common/tst-unbputc.sh: Likewise.
43221         * stdlib/tst-fmtmsg.sh: Likewise.
43222         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43223         * catgets/Makefile: Do not specify -e option when running
43224         testsuite shell scripts.
43225         * elf/Makefile: Likewise.
43226         * grp/Makefile: Likewise.
43227         * iconvdata/Makefile: Likewise.
43228         * intl/Makefile: Likewise.
43229         * io/Makefile: Likewise.
43230         * libio/Makefile: Likewise.
43231         * malloc/Makefile: Likewise.
43232         * posix/Makefile: Likewise.
43233         * stdio-common/Makefile: Likewise.
43234         * stdlib/Makefile: Likewise.
43235         * sysdeps/x86_64/Makefile: Likewise.
43237         * io/ftwtest-sh: Add copyright header.
43238         * posix/globtest.sh: Likewise.
43239         * posix/tst-getconf.sh: Likewise.
43240         * posix/wordexp-tst.sh: Likewise.
43241         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43243 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43245         [BZ #13679]
43246         * Makeconfig (+link): Defined as $(+link-static) if
43247         $(build-shared) isn't yes.
43248         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43249         isn't yes.
43250         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43252         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43254         [BZ #14562]
43255         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43256         new chunk size with MALLOC_ALIGN_MASK.
43258 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43260         [BZ #5044]
43261         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43262         <rounding-mode.h>.
43263         (__printf_fphex): Determine rounding using get_rounding_mode and
43264         round_away.
43265         * stdio-common/tst-printf-round.c (struct hex_test): New
43266         structure.
43267         (hex_tests): New variable.
43268         (test_hex_in_one_mode): New function.
43269         (do_test): Also run tests for hex float output.
43271 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43273         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43274         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43275         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43276         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43277         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43278         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43279         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43280         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43282 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43284         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43285         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43286         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43287         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43289 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43291         [BZ #14579]
43292         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43293         mode only.
43294         * elf/tst-rtld-load-self.sh: New test.
43295         * elf/Makefile: Run it.
43297 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43299         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43300         (tst-writev-ENV): Remove.
43301         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43303 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43305         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43307 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43309         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43310         unconditional.
43311         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43312         Likewise.
43313         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43314         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43315         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43316         Likewise.
43318 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43320         [BZ #14587]
43321         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43322         * config.make.in (have-cpp-asm-debuginfo): Removed.
43323         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43324         * configure: Regenerated.
43326 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43328         [BZ #5044]
43329         * stdio-common/printf_fp.c: Include <stdbool.h> and
43330         <rounding-mode.h>.
43331         (___printf_fp): Determine rounding using get_rounding_mode and
43332         round_away.
43333         * stdio-common/tst-printf-round.c: New file.
43334         * stdio-common/Makefile (tests): Add tst-printf-round.
43335         (link-libm): New variable.
43336         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43338 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43340         [BZ #14576]
43341         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43342         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43343         Likewise.
43344         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43345         Likewise.
43347 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43349         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43350         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43351         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43352         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43354 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43356         [BZ #14518]
43357         * include/rounding-mode.h: New file.
43358         * sysdeps/generic/get-rounding-mode.h: Likewise.
43359         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43360         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43361         (MAX_VALUE): New macro.
43362         (MIN_VALUE): Likewise.
43363         (overflow_value): New function.
43364         (underflow_value): Likewise.
43365         (round_and_return): Use overflow_value and underflow_value to
43366         determine return values in overflow and underflow cases.  Use
43367         round_away to determine rounding depending on rounding mode.
43368         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43369         determine return values in overflow and underflow cases.
43370         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43371         (struct test_results): New structure.
43372         (struct test): Use struct test_results to store expected results
43373         for all rounding modes.
43374         (TEST): Include expected results for all rounding modes.
43375         (test_in_one_mode): New function.
43376         (do_test): Use test_in_one_mode to compute and check results.
43377         Check results for all rounding modes.
43378         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43379         $(link-libm).
43381 2012-12-09  Allan McRae  <allan@archlinux.org>
43383         * sysdeps/i386/fpu/libm-test-ulps: Update
43385 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43387         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43388         (_G_int32_t): Likewise.
43389         (_G_uint16_t): Likewise.
43390         (_G_uint32_t): Likewise.
43391         (_G_HAVE_BOOL): Likewise.
43392         (_G_HAVE_ATEXIT): Likewise.
43393         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43394         (_G_HAVE_IO_FILE_OPEN): Likewise.
43395         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43396         (_G_int32_t): Likewise.
43397         (_G_uint16_t): Likewise.
43398         (_G_uint32_t): Likewise.
43399         (_G_HAVE_BOOL): Likewise.
43400         (_G_HAVE_ATEXIT): Likewise.
43401         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43402         (_G_HAVE_IO_FILE_OPEN): Likewise.
43403         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43404         (_G_int32_t): Likewise.
43405         (_G_uint16_t): Likewise.
43406         (_G_uint32_t): Likewise.
43407         (_G_HAVE_BOOL): Likewise.
43408         (_G_HAVE_ATEXIT): Likewise.
43409         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43410         (_G_HAVE_IO_FILE_OPEN): Likewise.
43412 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43414         * csu/libc-tls.c: Update copyright years.
43416 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43418         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43419         [!_G_USING_THUNKS]: Remove conditional code.
43420         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43421         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43423         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43424         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43425         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43426         (_G_VTABLE_LABEL_PREFIX): Likewise.
43427         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43428         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43429         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43430         (_G_VTABLE_LABEL_PREFIX): Likewise.
43431         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43432         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43433         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43434         (_G_VTABLE_LABEL_PREFIX): Likewise.
43435         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43437 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43439         * libio/Makefile: Include ../Makeconfig before tests.
43440         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43441         only if $(build-shared) is yes.
43443         * iconv/gconv_db.c: Update copyright years.
43445 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43447         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43448         unwind info if defined PIC. Fix special cases description.
43449         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43451         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43452         DP_HI_MASK entry.
43453         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43455 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43457         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43459         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43460         is NULL.
43462         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43463         (LDLIBS-tst-chk4): This.
43464         (LDFLAGS-tst-chk5): Renamed to ...
43465         (LDLIBS-tst-chk5): This.
43466         (LDFLAGS-tst-chk6): Renamed to ...
43467         (LDLIBS-tst-chk6): This.
43468         (LDFLAGS-tst-lfschk4): Renamed to ...
43469         (LDLIBS-tst-lfschk4): This.
43470         (LDFLAGS-tst-lfschk5): Renamed to ...
43471         (LDLIBS-tst-lfschk5): This.
43472         (LDFLAGS-tst-lfschk6): Renamed to ...
43473         (LDLIBS-tst-lfschk6): This.
43475         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43476         on $(common-objpfx)soversions.mk.
43478 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43480         [BZ #10014]
43481         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43482         example host name.
43484 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43486         * malloc/arena.c (arena_get_retry): New function that gets
43487         another arena for the caller to try its request on.
43488         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43489         current arena cannot fulfill the request.
43490         (__libc_memalign): Likewise.
43491         (__libc_memalign): Likewise.
43492         (__libc_pvalloc): Likewise.
43493         (__libc_calloc): Likewise.
43495 2012-09-05  John Tobey  <john.tobey@gmail.com>
43497         [BZ #13542]
43498         * manual/arith.texi (Operations on Complex): Fix description
43499         of carg branch cut.
43501 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43503         [BZ #10014]
43504         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43505         host name.
43507         [BZ #10038]
43508         * manual/memory.texi (Memory): Make order of menu items match
43509         order of sections.
43511 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43513         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43514         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43515         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43517 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43519         * csu/libc-tls.c (static_dtv): Renamed to ...
43520         (_dl_static_dtv): This.  Make it global.
43521         (_dl_initial_dtv): Removed.
43522         (__libc_setup_tls): Updated.
43523         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43524         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43525         DL_INITIAL_DTV.
43527 2012-09-06  Petr Machata  <pmachata@redhat.com>
43529         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43530         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43531         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43532         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43534 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43536         [BZ #14545]
43537         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43538         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43539         freeing dtv[-1].
43541 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43543         [BZ #14544]
43544         * Makeconfig (link-static-before-libc): Replace $(+prector)
43545         with $(+prectorT).
43546         (link-static-after-libc): Replace $(+postctor) with
43547         $(+postctorT).
43548         (link-bounded): Replace $(+prector)/$(+postctor) with
43549         $(+prectorT)/$(+postctorT).
43550         (+prectorT): New macro.
43551         (+postctorT): Likewise.
43553 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43555         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43556         (round_str): Handle values above the maximum for IBM long double
43557         as inexact.
43558         * stdlib/tst-strtod-round.c (tests): Regenerated.
43560 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43562         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43563         assembler flag.
43564         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43565         zarch_nohighgprs around the zarch optimized routines.
43566         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43567         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43568         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43569         for zarch.
43571 2012-09-05  David S. Miller  <davem@davemloft.net>
43573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43575         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43576         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43577         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43578         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43579         entries.
43581 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43583         * malloc/arena.c: Fold copyright years.
43584         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43586 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43588         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43590 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43592         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43594 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43596         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43597         change internal state upon failure.
43599 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43601         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43602         * malloc/memusage.c (mmap): Likewise.
43603         (mmap64, mremap): Likewise.  Adjust name in comment.
43605 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43607         * libio/fileops.c: Fix typos in comments.
43608         * libio/oldfileops.c: Likewise.
43609         * libio/wfileops.c: Likewise.
43611 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43613         [BZ #1349]
43614         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43615         (tst-malloc-usable-ENV): Set environment for test case.
43616         * malloc/hooks.c (malloc_check_get_size): New function to get
43617         requested size.
43618         * malloc/malloc.c (musable): Use malloc_check_get_size.
43619         * malloc/tst-malloc-usable.c: New test case.
43621 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43623         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43625 2012-09-05  Allan McRae  <allan@archlinux.org>
43627         [BZ #13966]
43628         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43629         determine header location.
43630         * configure: Regenerated.
43632 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43634         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43635         float format.
43636         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43637         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43638         format.
43639         (test): Regenerate.
43641 2012-09-04  David S. Miller  <davem@davemloft.net>
43643         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43644         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43645         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43647 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43649         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43650         failures.
43652         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43654 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43656         [BZ #9914]
43657         * libio/iogetdelim.c: Include <limits.h>.
43658         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43659         + len + 1 would overflow.
43661 2012-09-03  Andreas Jaeger  <aj@suse.de>
43663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43664         * sysdeps/i386/fpu/libm-test-ulps: Update.
43666 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43668         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43669         Add s_sinf-sse2, s_conf-sse2.
43671         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43672         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43673         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43674         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43676         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43677         for using routine as __sinf_ia32.
43678         Use macro for function declaration and weak_alias.
43679         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43680         for using routine as __cosf_ia32.
43681         Use macro for function declaration and weak_alias.
43683         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43684         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43686         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43687         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43690         * math/libm-test.inc (cos_test): Add more test cases.
43691         (sin_test): Likewise.
43692         (sincos_test): Likewise.
43694 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43696         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43697         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43698         hidden.
43699         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43701 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43703         [BZ #14538]
43704         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43705         first element of the GOT.
43706         (elf_machine_load_address): Return the difference between
43707         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43709 2012-09-01  Allan McRae  <allan@archlinux.org>
43711         [BZ #13412]
43712         * configure.in (AWK): Require gawk version 3.0 or later.
43713         * configure: Regenerated.
43715 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43717         * sysdeps/unix/sysv/linux/kernel-features.h
43718         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43719         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43720         [__NR_clock_getres]: Make code unconditional.
43721         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43722         (clock_getcpuclockid): Remove code left unreachable by removal of
43723         conditionals.
43724         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43725         code unconditional.
43726         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43727         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43728         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43729         Make code unconditional.
43730         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43731         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43732         * sysdeps/unix/sysv/linux/clock_settime.c
43733         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43734         conditional code.
43735         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43736         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43738 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43740         [BZ #14476]
43741         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43742         scripts/test-installation.pl.
43744         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43745         and $ld_so_version if it is set.
43747 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43749         [BZ #14516]
43750         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43751         failure if reading from procfs failed.
43752         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43754 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43756         * sysdeps/unix/sysv/linux/kernel-features.h
43757         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43758         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43759         Remove conditional code.
43760         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43761         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43762         Remove conditional code.
43763         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43764         * sysdeps/unix/sysv/linux/i386/fxstat.c
43765         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43766         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43767         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43768         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43769         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43770         * sysdeps/unix/sysv/linux/i386/lxstat.c
43771         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43772         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43773         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43774         Remove conditional code.
43775         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43776         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43777         Remove conditional code.
43778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43779         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43780         <kernel-features.h>.
43781         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43782         Remove.
43783         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43784         Remove conditional code.
43785         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43786         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43787         Remove conditional.
43789 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43791         [BZ #5400]
43792         * NEWS: Add fixed bug number.
43794 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43796         [BZ #14519]
43797         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43798         underflowing exponent in case of negative sign.
43799         * stdlib/tst-strtod-round-data: Add more tests.
43800         * stdlib/tst-strtod-round.c (tests): Regenerated.
43802         [BZ #3479]
43803         * stdlib/strtod_l.c (NDIG): Remove.
43804         (HEXNDIG): Likewise.
43805         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43806         smallest representable value.
43807         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43808         lie within an exact representation of 1/2 ulp of the result.
43809         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43810         unconditionally.
43811         (TENS_P9_IDX): Define unconditionally.
43812         (TENS_P9_SIZE): Likewise.
43813         (TENS_P10_IDX): Likewise.
43814         (TENS_P10_SIZE): Likewise.
43815         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43816         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43817         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43818         entries for 10^2^13 and 10^2^14.
43819         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43820         (TENS_P13_IDX): Define.
43821         (TENS_P13_SIZE): Likewise.
43822         (TENS_P14_IDX): Likewise.
43823         (TENS_P14_SIZE): Likewise.
43824         (_fpioconst_pow10): Change array size to
43825         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43826         unconditional.
43827         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43828         1024]: Add entries for 10^2^13 and 10^2^14.
43829         [LAST_POW10 > _LAST_POW10]: Remove #error.
43830         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43831         (_fpioconst_pow10): Change array size to
43832         FPIOCONST_POW10_ARRAY_SIZE.
43833         * stdlib/gen-fpioconst.c: New file.
43834         * stdlib/gen-tst-strtod-round.c: Likewise.
43835         * stdlib/tst-strtod-round-data: Likewise.
43836         * stdlib/tst-strtod-round.c: Likewise.
43837         * stdlib/Makefile (tests): Add tst-strtod-round.
43839         [BZ #14459]
43840         * stdlib/strtod_l.c: Include <stdint.h>.
43841         (NDEBUG): Do not define.
43842         (round_and_return): Change EXPONENT parameter to type intmax_t.
43843         Rearrange calculations to avoid internal overflow possibilities.
43844         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43845         Rearrange calculations to avoid internal overflow possibilities.
43846         Assert that number fits inside MPNSIZE limbs.
43847         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43848         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43849         calculations and add assertions to avoid internal overflow
43850         possibilities.  Add casts to avoid signed/unsigned operations.
43851         * stdlib/tst-strtod-overflow.c: New file.
43852         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43854 2012-08-25  Marek Polacek  <polacek@redhat.com>
43856         * time/time.h: Fix some typos in comments.
43858 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43860         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43861         * posix/tst-rfc3484-2.c: Likewise.
43862         * posix/tst-rfc3484-3.c: Likewise.
43864 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43866         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43867         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43869 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43871         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43872         #include of fxstatat64.c.
43874 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43876         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43877         * shadow/getspent_r.c: Likewise.
43878         * shadow/getspnam.c: Likewise.
43879         * shadow/getspnam_r.c: Likewise.
43880         * gshadow/getsgent.c: Likewise.
43881         * gshadow/getsgent_r.c: Likewise.
43882         * gshadow/getsgnam.c: Likewise.
43883         * gshadow/getsgnam_r.c: Likewise.
43884         * inet/getnetbyad.c: Likewise.
43885         * inet/getnetbyad_r.c: Likewise.
43886         * inet/getnetbynm.c: Likewise.
43887         * inet/getnetbynm_r.c: Likewise.
43888         * inet/getnetent.c: Likewise.
43889         * inet/getnetent_r.c: Likewise.
43890         * inet/getproto.c: Likewise.
43891         * inet/getproto_r.c: Likewise.
43892         * inet/getprtent.c: Likewise.
43893         * inet/getprtent_r.c: Likewise.
43894         * inet/getprtname.c: Likewise.
43895         * inet/getprtname_r.c: Likewise.
43896         * inet/getrpcbyname.c: Likewise.
43897         * inet/getrpcbyname_r.c: Likewise.
43898         * inet/getrpcbynumber.c: Likewise.
43899         * inet/getrpcbynumber_r.c: Likewise.
43900         * inet/getrpcent.c: Likewise.
43901         * inet/getrpcent_r.c: Likewise.
43902         * inet/getaliasent.c: Likewise.
43903         * inet/getaliasent_r.c: Likewise.
43904         * inet/getaliasname.c: Likewise.
43905         * inet/getaliasname_r.c: Likewise.
43906         * nscd/getgrgid_r.c: Likewise.
43907         * nscd/getgrnam_r.c: Likewise.
43908         * nscd/gethstbyad_r.c: Likewise.
43909         * nscd/gethstbynm3_r.c: Likewise.
43910         * nscd/getpwnam_r.c: Likewise.
43911         * nscd/getpwuid_r.c: Likewise.
43912         * nscd/getsrvbynm_r.c: Likewise.
43913         * nscd/getsrvbypt_r.c: Likewise.
43914         * nscd/gai.c: Likewise.
43916         * configure.in (build_nscd): New substituted variable, set
43917         by --disable-build-nscd and defaults to $use_nscd.
43918         * configure: Regenerated.
43919         * config.make.in (build-nscd): New substituted variable.
43920         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43921         Change conditional to require [$(build-nscd) = yes] as well.
43922         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43924         [BZ# 13696]
43925         * configure.in (use_nscd): New substituted variable, set by
43926         --disable-nscd.  If enabled, define USE_NSCD.
43927         * configure: Regenerated.
43928         * config.h.in: Add USE_NSCD.
43929         * config.make.in (use-nscd): New substituted variable.
43930         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43931         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43932         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43933         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43934         (CFLAGS-getgrnam_r.c): Likewise.
43935         (CFLAGS-initgroups.c): Likewise.
43936         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43937         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43938         Variables removed.
43939         * inet/getnetgrent_r.c
43940         (nscd_setnetgrent): New function, broken out of ...
43941         (setnetgrent): ... here.  Call it.
43942         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43943         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43944         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43945         * nscd/Makefile (routines, aux): Move definitions after include of
43946         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43947         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43948         Conditionalize on [USE_NSCD].
43949         (is_nscd, nscd_init_cb): Likewise.
43950         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43951         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43952         * nss/nss_db/db-init.c: Likewise.
43953         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43954         [USE_NSCD].
43955         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43956         (make_request): Use it.
43957         (cache_valid_p): New function.
43958         (__check_pf): Use it.
43959         * NEWS: Add item for --disable-nscd.
43961 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43963         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43964         to support sed >= 4.2.1-20-ga9bf076.
43965         * configure: Regenerated.
43967 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43969         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43970         Conditionalize whole body on [IREL].
43972 2012-08-22  Jeff Law <law@redhat.com>
43974         [BZ #14505]
43975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43976         if the family is PF_UNSPEC.
43978 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43980         * Makerules (lib-version): Rename from V.
43981         (install-lib-nosubdir): Change V to lib-version.
43983 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43985         [BZ #14252]
43986         * powerpc32/power6/wcschr.c: New file.
43987         * powerpc32/power6/wcscpy.c: New file.
43988         * powerpc32/power6/wcsrchr.c: New file.
43989         * powerpc64/power6/wcschr.c: New file.
43990         * powerpc64/power6/wcscpy.c: New file.
43991         * powerpc64/power6/wcsrchr.c: New file.
43993 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43995         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43996         (two_way_short_needle): Use it.
43997         * string/strstr.c (AVAILABLE1_USES_J): Define.
43998         * string/strcasestr.c: Likewise.
44000         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44001         array references.
44002         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44004         [BZ #11607]
44005         * NEWS: Add an entry.
44006         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44007         define their defaults.
44008         (two_way_short_needle): Detect end-of-string on-the-fly.
44009         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44010         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44011         * string/bug-strcasestr1.c: New test.
44012         * string/Makefile: Run it.
44014 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44016         [BZ #11607]
44017         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44018         the first character.
44020 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44022         * csu/elf-init.c (__libc_csu_irel): Function removed.
44023         * csu/libc-start.c (apply_irel): New function.
44024         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44026 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44028         * sysdeps/unix/sysv/linux/kernel-features.h
44029         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44030         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44031         <kernel-features.h>.
44032         [__NR_fadvise64_64]: Make code unconditional.
44033         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44034         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44035         !__NR_fadvise64_64)]: Likewise.
44036         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44037         !__NR_fadvise64_64))]: Likewise.
44038         [__NR_fadvise64]: Make code unconditional.
44039         [!__NR_fadvise64]: Remove conditional code.
44040         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44041         <kernel-features.h>.
44042         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44043         unconditional.
44044         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44045         conditional code.
44046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44047         not include <kernel-features.h>.
44048         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44049         unconditional.
44050         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44051         conditional code.
44052         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44053         include <kernel-features.h>.
44054         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44055         unconditional.
44056         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44057         conditional code.
44059 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44061         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44062         slight instruction rearrangements per scrollpipe analysis.
44063         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44065 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44067         * manual/syslog.texi (syslog; vsyslog, closelog):
44068         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44069         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44071         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44072         DSOCAPS to match condition on defining it.
44074 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44076         * sysdeps/unix/sysv/linux/kernel-features.h
44077         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44079         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44080         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44082         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44083         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44085         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44086         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44088         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44089         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44091         * sysdeps/unix/sysv/linux/kernel-features.h
44092         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44093         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44094         unconditional.
44095         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44096         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44097         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44098         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44099         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44100         Make code unconditional.
44101         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44102         (__mmap64) [!__NR_mmap2]: Likewise.
44103         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44104         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44105         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44106         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44107         [__NR_mmap2]: Make code unconditional.
44108         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44109         (__mmap64) [!__NR_mmap2]: Likewise.
44111 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44113         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44115 2012-08-18  Andreas Jaeger  <aj@suse.de>
44117         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44119 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44121         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44122         * include/unistd.h (__have_sock_cloexec): Likewise.
44123         (__have_pipe2): Likewise.
44124         (__have_dup3): Likewise.
44126 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44128         [BZ #9685]
44129         * include/unistd.h (__have_pipe2): Change define into an extern int.
44130         (__have_dup3): Likewise.
44131         * socket/have_sock_cloexec.c: Include fcntl.h.
44132         (__have_pipe2): New variable.
44133         (__have_dup3): Likewise.
44135 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44137         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44139 2012-08-17  Marek Polacek  <polacek@redhat.com>
44141         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44142         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44144 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44146         * configure.in: Add AC_SUBST for sysheaders.
44147         * configure: Regenerated.
44148         * config.make.in (sysheaders): New substituted variable.
44150         * sysdeps/unix/mkfifo.c: Moved ...
44151         * sysdeps/posix/mkfifo.c: ... here.
44152         * sysdeps/unix/mkfifoat.c: Moved ...
44153         * sysdeps/posix/mkfifoat.c: ... here.
44155         * sysdeps/unix/utime.c: Moved ...
44156         * sysdeps/posix/utime.c: ... here.
44158         * sysdeps/unix/time.c: Moved ...
44159         * sysdeps/posix/time.c: ... here.
44160         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44161         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44163         * sysdeps/unix/nice.c: Moved ...
44164         * sysdeps/posix/nice.c: ... here.
44166         * sysdeps/unix/alarm.c: Moved ...
44167         * sysdeps/posix/alarm.c: ... here.
44169         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44171 2012-08-17  Jeff Law <law@redhat.com>
44173         * intl/Makefile (codeset_mo): New variable.
44174         ($(codeset_mo)): New target.
44175         (tst-codeset.out): Depend on that.  Remove explicit rule.
44176         (tst-gettext3.out, tst-gettext5.out): Likewise.
44177         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44178         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44179         * intl/tst-codeset.sh: Remove.
44180         * intl/tst-gettext3.sh: Likewise.
44181         * intl/tst-gettext5.sh: Likewise.
44183 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44185         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44186         * sysdeps/unix/syscalls.list: ... here.
44188         * sysdeps/posix/getaddrinfo.c
44189         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44190         (gaiconf_init, gaiconf_reload): Use them.
44191         [!_STATBUF_ST_NSEC]
44192         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44193         Define using time_t rather than struct timespec.
44195         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44196         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44197         Macros removed.
44198         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44199         [!NO_THREADS].
44200         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44201         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44202         Likewise.
44204         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44205         __libc_cleanup_push argument.
44207         * bits/param.h: New file.
44208         * misc/sys/param.h: New file.
44209         * include/sys/param.h: New file.
44210         * misc/Makefile (headers): Add bits/param.h.
44211         * sysdeps/generic/sys/param.h: File removed.
44212         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44213         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44214         * sysdeps/mach/hurd/bits/param.h: New file.
44215         * sysdeps/mach/hurd/sys/param.h: File removed.
44217         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44218         last change.
44220         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44221         [_IO_MTSAFE_IO].
44222         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44223         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44224         New macros.
44226         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44227         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44228         rather than -D_IO_MTSAFE_IO conditionally.
44229         * stdio-common/Makefile (CPPFLAGS): Likewise.
44230         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44231         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44232         Use $(libio-mtsafe).
44233         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44234         of -D_IO_MTSAFE_IO.
44235         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44236         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44237         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44238         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44239         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44240         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44241         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44242         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44243         (CFLAGS-fread_u_chk.c): Likewise.
44244         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44245         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44246         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44247         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44248         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44249         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44250         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44251         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44252         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44254         * libio/Makefile: Test [$(libc-reentrant) = yes]
44255         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44257         * Makeconfig
44258         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44259         * sysdeps/pthread/configure: File removed.
44260         * sysdeps/pthread/Makeconfig: New file.
44261         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44262         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44264 2012-08-16  Gary Benson  <gbenson@redhat.com>
44266         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44267         unmapping the first object in a namespace.
44269 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44271         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44272         (__internal_setnetgrent): ... this.  Add internal_function to
44273         definition.  Add libc_hidden_def.
44274         (setnetgrent): Update caller.
44275         (internal_endnetgrent): Renamed to ...
44276         (__internal_endnetgrent): ... this.  Add internal_function to
44277         definition.  Add libc_hidden_def.
44278         (endnetgrent): Update caller.
44279         (internal_getnetgrent_r): Renamed to ...
44280         (__internal_getnetgrent_r): ... this.  Add internal_function to
44281         definition.  Add libc_hidden_def.
44282         (__getnetgrent_r): Update caller.
44283         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44285 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44287         * stdlib/longlong.h: Update from GCC.
44289 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44291         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44292         on _QL, which is set by umul_ppmm but never used.
44293         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44294         variables, which are set by GMP macros but never used.
44295         * stdio-common/_itowa.c (_itowa): Likewise.
44296         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44297         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44299 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44301         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44302         struct La_sh_regs is not constant.
44303         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44304         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44305         and struct La_sparc64_regs are not constant.
44307 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44309         * sysdeps/unix/sysv/linux/kernel-features.h
44310         (__ASSUME_POSIX_TIMERS): Remove.
44311         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44312         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44313         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44314         Make code unconditional.
44315         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44316         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44317         Make code unconditional.
44318         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44319         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44320         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44321         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44322         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44323         Make code unconditional.
44324         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44325         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44326         (__libc_missing_posix_timers): Remove.
44328 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44330         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44331         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44333         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44335         * elf/dl-sym.c: Include <stdlib.h>.
44337         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44338         constants, which avoids warnings in 32-bit builds.
44340         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44341         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44343         * misc/lseek.c: File moved to ...
44344         * io/lseek.c: ... here.
44346         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44348         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44349         shifting LEN more than 31 bits at once.
44351 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44353         [BZ #14195]
44354         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44355         segmentation fault for a case of two empty input strings.
44356         * string/test-strncasecmp.c (check1): Renamed to...
44357         (bz12205): ...this.
44358         (bz14195): Add new testcase for two empty input strings and N > 0.
44359         (test_main): Call new testcase, adapt for renamed function.
44361 2012-08-15  Andreas Jaeger  <aj@suse.de>
44363         [BZ #14090]
44364         * crypt/md5test2.c: New test, based on test supplied by Serge
44365         Belyshev <belyshev@depni.sinp.msu.ru>.
44366         * crypt/Makefile (xtests): Add md5test-giant..
44367         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44369 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44371         [BZ #14090]
44372         * crypt/md5.c (md5_process_block): Don't assume the buffer
44373         length is less than 2**32.
44374         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44375         length is less than 2**64.
44377 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44379         * string/str-two-way.h: Include <sys/param.h>.
44380         (MAX): Macro removed.
44382         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44383         Move #define and #undef of memmove to just before and after
44384         including <string.h>.
44386         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44387         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44388         and after including <string.h>.  Move declarations of
44389         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44390         to before #include "string/memmove.c".
44392         * include/dirent.h: Declare __getdirentries.
44394         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44395         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44397 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44399         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44400         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44401         * sysdeps/i386/configure: Regenerated.
44402         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44403         STABS_CURRENT_FILE, and STABS_FUN.
44404         (END): Remove call to STABS_FUN_END.
44405         (STABS_CURRENT_FILE1): Delete.
44406         (STABS_CURRENT_FILE): Likewise.
44407         (STABS_FUN): Likewise.
44408         (STABS_FUN_END): Likewise.
44409         (STABS_FUN2): Likewise.
44410         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44411         * sysdeps/x86_64/configure: Regenerated.
44413 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44415         * elf/dl-open.c: Include <atomic.h>.
44416         * elf/dl-lookup.c: Likewise.
44418 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44420         * sysdeps/unix/sysv/linux/kernel-features.h
44421         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44422         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44423         unconditionally.
44424         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44425         unconditionally.
44426         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44427         condition on __ASSUME_CLONE_THREAD_FLAGS.
44429 2012-08-14  Andreas Jaeger  <aj@suse.de>
44431         * sysdeps/i386/fpu/libm-test-ulps: Update.
44433 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44435         * include/atomic.h (atomic_exchange_and_add): Split into ...
44436         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44437         New atomic macros.
44439 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44443 2012-08-13  Jeff Law <law@redhat.com>
44445         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44446         null byte in the output string.
44448 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44450         * sysdeps/unix/sysv/linux/kernel-features.h
44451         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44452         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44453         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44454         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44455         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44456         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44457         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44459 2012-08-09  Jeff Law <law@redhat.com>
44461         [BZ #13939]
44462         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44463         When avoid_arena is set, don't retry in the that arena.  Pick the
44464         next one, whatever it might be.
44465         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44466         (arena_lock): Pass in new parameter to arena_get2.
44467         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44468         arena_get2.
44469         (__libc_malloc): Unify retrying after main arena failure with
44470         __libc_memalign version.
44471         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44473 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44475         [BZ #14166]
44476         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44477         to __redirect_strstr.
44478         (__strstr_sse42): Use typeof __redirect_strstr.
44479         (__strstr_ia32): Likewise.
44480         (__libc_strstr): New prototype.
44481         (strstr): Renamed to ...
44482         (__libc_strstr): This.
44483         (strstr): New strong alias of __libc_strstr.
44484         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44485         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44486         __redirect_time.
44487         Include <time.h>.
44488         (__libc_time): New prototype.
44489         (time_ifunc): Replace time with __libc_time.
44490         (time): New strong alias and hidden definition of __libc_time.
44491         (__GI_time): Remove strong alias.
44492         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44493         Include <stddef.h>.
44494         (memmove): Redefined to __redirect_memmove.
44495         (__memmove_sse2): Use typeof __redirect_memmove.
44496         (__memmove_ssse3): Likewise.
44497         (__memmove_ssse3_back): Likewise.
44498         (__libc_memmove): New prototype.
44499         (memmove): Renamed to ...
44500         (__libc_memmove): This.
44501         (memmove): New strong alias of __libc_memmove.
44503 2012-08-08  Mark Salter  <msalter@redhat.com>
44505         * elf/elf.h
44506         (R_MN10300_TLS_GD): Define.
44507         (R_MN10300_TLS_LD): Likewise.
44508         (R_MN10300_TLS_LDO): Likewise.
44509         (R_MN10300_TLS_GOTIE): Likewise.
44510         (R_MN10300_TLS_IE): Likewise.
44511         (R_MN10300_TLS_LE): Likewise.
44512         (R_MN10300_TLS_DTPMOD): Likewise.
44513         (R_MN10300_TLS_DTPOFF): Likewise.
44514         (R_MN10300_TLS_TPOFF): Likewise.
44515         (R_MN10300_SYM_DIFF): Likewise.
44516         (R_MN10300_ALIGN): Likewise.
44517         (R_MN10300_NUM): Update.
44519 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44521         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44522         Remove.
44524 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44526         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44528         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44529         sysdeps/unix -> sysdeps/posix move.
44530         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44532 2012-08-07      Allan McRae     <allan@archlinux.org>
44534         [BZ #14303]
44535         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44536         (SUNOS_CPP): Likewise.
44537         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44538         not found.
44539         (open_input): Call CPP using execvp.
44541 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44543         * sysdeps/unix/sysv/linux/kernel-features.h
44544         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44545         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44546         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44547         (__ASSUME_WAITID_SYSCALL): Likewise.
44548         * sysdeps/unix/sysv/linux/dl-execstack.c
44549         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44550         code unconditional.
44551         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44552         conditional code.
44553         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44554         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44555         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44556         code.
44557         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44558         unconditional.
44559         [__ASSUME_WAITID_SYSCALL]: Likewise.
44560         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44562 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44564         * sysdeps/unix/closedir.c: Renamed to ...
44565         * sysdeps/posix/closedir.c: ... here.
44566         * sysdeps/unix/dirfd.c: Renamed to ...
44567         * sysdeps/posix/dirfd.c: ... here.
44568         * sysdeps/unix/dirstream.h: Renamed to ...
44569         * sysdeps/posix/dirstream.h: ... here.
44570         * sysdeps/unix/fdopendir.c: Renamed to ...
44571         * sysdeps/posix/fdopendir.c: ... here.
44572         * sysdeps/unix/opendir.c: Renamed to ...
44573         * sysdeps/posix/opendir.c: ... here.
44574         * sysdeps/unix/readdir.c: Renamed to ...
44575         * sysdeps/posix/readdir.c: ... here.
44576         * sysdeps/unix/readdir_r.c: Renamed to ...
44577         * sysdeps/posix/readdir_r.c: ... here.
44578         * sysdeps/unix/rewinddir.c: Renamed to ...
44579         * sysdeps/posix/rewinddir.c: ... here.
44580         * sysdeps/unix/seekdir.c: Renamed to ...
44581         * sysdeps/posix/seekdir.c: ... here.
44582         * sysdeps/unix/telldir.c: Renamed to ...
44583         * sysdeps/posix/telldir.c: ... here.
44584         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44585         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44586         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44587         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44589         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44590         * bits/fcntl.h: ... here.
44592         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44593         not 0.
44594         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44595         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44596         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44597         (struct flock): Move l_start, l_len to the beginning.
44598         Use __pid_t for l_pid.
44599         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44600         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44601         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44602         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44603         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44604         [__USE_LARGEFILE64] (struct flock64): New type.
44605         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44607         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44608         * bits/dirent.h: ... here.
44610         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44611         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44613 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44615         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44616         Change from 2.6.0 to 2.6.16.
44617         * sysdeps/unix/sysv/linux/configure: Regenerated.
44618         * sysdeps/unix/sysv/linux/kernel-features.h
44619         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44620         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44621         version.
44622         (__ASSUME_UTIMES): Likewise.
44623         (__ASSUME_CLONE_STOPPED): Remove.
44624         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44625         architectures, not kernel version.
44626         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44627         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44628         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44629         (__ASSUME_WAITID_SYSCALL): Likewise.
44630         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44631         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44632         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44633         refer to older versions.
44635 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44637         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44638         Define alphasort64 as an alias.
44639         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44640         Define versionsort64 as an alias.
44641         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44642         Define scandir64 as an alias.
44643         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44644         Define scandirat64 as an alias.
44645         * dirent/alphasort64.c (alphasort64):
44646         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44647         * dirent/versionsort64.c: Likewise.
44648         * dirent/scandir64.c: Likewise.
44649         * dirent/scandirat64.c: Likewise.
44650         * sysdeps/wordsize-64/alphasort.c: File removed.
44651         * sysdeps/wordsize-64/alphasort64.c: File removed.
44652         * sysdeps/wordsize-64/scandir.c: File removed.
44653         * sysdeps/wordsize-64/scandir64.c: File removed.
44654         * sysdeps/wordsize-64/scandirat.c: File removed.
44655         * sysdeps/wordsize-64/scandirat64.c: File removed.
44656         * sysdeps/wordsize-64/versionsort.c: File removed.
44657         * sysdeps/wordsize-64/versionsort64.c: File removed.
44658         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44659         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44660         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44661         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44662         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44663         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44664         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44665         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44667         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44668         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44669         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44670         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44671         [defined __arch64__ || defined __sparcv9]
44672         (__INO_T_MATCHES_INO64_T): New macro.
44673         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44674         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44675         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44676         * sysdeps/unix/sysv/linux/bits/dirent.h
44677         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44678         (_DIRENT_MATCHES_DIRENT64): New macro.
44680         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44681         Define lockf64 as an alias.
44682         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44683         Define fseeko64 as an alias.
44684         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44685         Define ftello64 as an alias.
44686         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44687         Define _IO_fgetpos64 and fgetpos64 as aliases.
44688         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44689         Define _IO_fsetpos64 and fsetpos64 as aliases.
44690         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44691         Conditionalize body on this.
44692         * libio/fseeko64.c: Likewise.
44693         * libio/ftello64.c: Likewise.
44694         * libio/iofgetpos64.c: Likewise.
44695         * libio/iofsetpos64.c: Likewise.
44696         * sysdeps/wordsize-64/lockf.c: File removed.
44697         * sysdeps/wordsize-64/lockf64.c: File removed.
44698         * sysdeps/wordsize-64/fseeko.c: File removed.
44699         * sysdeps/wordsize-64/fseeko64.c: File removed.
44700         * sysdeps/wordsize-64/ftello.c: File removed.
44701         * sysdeps/wordsize-64/ftello64.c: File removed.
44702         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44703         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44704         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44705         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44706         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44707         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44708         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44709         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44710         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44711         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44712         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44713         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44714         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44715         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44717         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44718         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44719         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44720         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44721         [defined __arch64__ || defined __sparcv9]
44722         (__OFF_T_MATCHES_OFF64_T): New macro.
44723         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44724         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44725         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44726         (__OFF_T_MATCHES_OFF64_T): New macro.
44728 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44730         * stdlib/secure-getenv.c (__secure_getenv): Replace
44731         GLIBC_2_16 with GLIBC_2_17.
44733 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44735         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44736         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44738 2012-08-03  David S. Miller  <davem@davemloft.net>
44740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44742 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44744         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44745         Remove.
44746         (__ASSUME_CORRECT_SI_PID): Likewise.
44747         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44748         (__ASSUME_TMPFS_NAME): Likewise.
44749         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44750         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44751         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44752         (HAVE_AUX_SECURE): Make definition unconditional.
44753         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44754         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44756 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44758         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44759         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44760         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44761         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44762         __eloop_threshold instead of SYMLOOP_MAX.
44764         * sysdeps/generic/eloop-threshold.h: New file.
44765         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44766         of MAXSYMLINKS.
44767         * elf/chroot_canon.c (chroot_canon): Likewise.
44769 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44771         [BZ #13717]
44772         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44773         Change to 2.6.0 everywhere.
44774         * sysdeps/unix/sysv/linux/configure: Regenerated.
44775         * sysdeps/unix/sysv/linux/kernel-features.h
44776         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44777         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44778         kernel versions.
44779         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44780         (__ASSUME_FUTEX_REQUEUE): Remove.
44781         (__ASSUME_STATFS64): Define unconditionally.
44782         (__ASSUME_AT_SECURE): Likewise.
44783         (__ASSUME_CORRECT_SI_PID): Likewise.
44784         (__ASSUME_TGKILL): Define without depending on kernel version for
44785         i386.
44786         (__ASSUME_UTIMES): Likewise.
44787         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44788         kernel version.
44789         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44790         (__ASSUME_TMPFS_NAME): Likewise.
44791         * README: Update reference to Linux kernel versions.
44793 2012-08-02  Marek Polacek  <polacek@redhat.com>
44795         [BZ# 14150]
44796         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44797         libc_cv_asm_type_prefix with %.
44798         * configure: Regenerated.
44799         * include/libc-symbols.h: Remove comment about
44800         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44801         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44802         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44803         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44804         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44805         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44806         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44807         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44808         * elf/tst-unique2mod1.c: Likewise.
44809         * elf/tst-unique1mod2.c: Likewise.
44810         * elf/tst-unique1mod1.c: Likewise.
44811         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44812         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44813         Replace ASM_TYPE_DIRECTIVE with .type.
44814         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44815         * sysdeps/i386/sysdep.h: Likewise.
44816         * sysdeps/x86_64/sysdep.h: Likewise.
44817         * sysdeps/sh/sysdep.h: Likewise.
44818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44819         Do not define ASM_TYPE_DIRECTIVE.
44820         * sysdeps/powerpc/sysdep.h: Likewise.
44821         * sysdeps/powerpc/powerpc32/sysdep.h:
44822         Replace ASM_TYPE_DIRECTIVE with .type.
44823         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44824         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44825         * sysdeps/i386/fpu/e_powf.S: Likewise.
44826         * sysdeps/i386/fpu/e_expl.S: Likewise.
44827         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44828         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44829         * sysdeps/i386/fpu/e_pow.S: Likewise.
44830         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44831         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44832         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44833         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44834         * sysdeps/i386/fpu/e_log2.S: Likewise.
44835         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44836         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44837         * sysdeps/i386/fpu/e_powl.S: Likewise.
44838         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44839         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44840         * sysdeps/i386/fpu/e_logl.S: Likewise.
44841         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44842         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44843         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44844         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44845         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44846         * sysdeps/i386/fpu/e_log.S: Likewise.
44847         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44848         * sysdeps/i386/fpu/e_logf.S: Likewise.
44849         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44850         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44851         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44852         * sysdeps/i386/fpu/e_log10.S: Likewise.
44853         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44854         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44855         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44856         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44857         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44858         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44859         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44860         * sysdeps/i386/i686/strtok.S: Likewise.
44861         * sysdeps/i386/i386-mcount.S: Likewise.
44862         * sysdeps/i386/strtok.S: Likewise.
44863         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44864         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44865         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44866         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44867         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44868         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44869         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44870         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44871         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44872         * sysdeps/x86_64/_mcount.S: Likewise.
44873         * sysdeps/x86_64/strtok.S: Likewise.
44874         * sysdeps/sh/_mcount.S: Likewise.
44876 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44878         * libio/iofopen.c: Include <fcntl.h>.
44879         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44880         (_IO_fopen64, fopen64): Define as aliases.
44881         * libio/iofopen64.c: Include <fcntl.h>.
44882         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44883         Conditionalize body on this.
44884         * sysdeps/wordsize-64/iofopen.c: File removed.
44885         * sysdeps/wordsize-64/iofopen64.c: File removed.
44887 2012-08-01  Marek Polacek  <polacek@redhat.com>
44889         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44890         Use dlfcn directly instead of a variable.
44891         (binfmt-subdir): Do not define.
44892         (dlfcn): Likewise.
44894 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44897         Remove all definitions.
44898         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44899         <kernel-features.h>.
44900         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44901         (miss_F_GETOWN_EX): Remove all definitions.
44902         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44903         macro definition.
44904         [!__ASSUME_FCNTL64]: Remove conditional code.
44905         [__ASSUME_FCNTL64]: Make code unconditional.
44906         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44907         <kernel-features.h>.
44908         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44909         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44910         (lockf64) [__NR_fcntl64]: Make code unconditional.
44911         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44913         * sysdeps/unix/sysv/linux/kernel-features.h
44914         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44915         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44916         Make code unconditional.
44917         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44918         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44920         [__NR_vfork]: Make code unconditional.
44921         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44922         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44924         [__NR_vfork]: Make code unconditional.
44925         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44926         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44928 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44930         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44931         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44933         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44934         Define mkstemp64 as an alias.
44935         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44936         Define mkstemps64 as an alias.
44937         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44938         Define mkostemp64 as an alias.
44939         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44940         Define mkostemps64 as an alias.
44941         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44942         Conditionalize body on this.
44943         * misc/mkostemp64.c: Likewise.
44944         * misc/mkostemps64.c: Likewise.
44945         * misc/mkstemps64.c: Likewise.
44946         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44947         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44948         * sysdeps/wordsize-64/mkostemp.c: File removed.
44949         * sysdeps/wordsize-64/mkstemp.c: File removed.
44950         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44951         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44952         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44953         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44955         [BZ #14138]
44956         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44957         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44958         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44959         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44961         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44962         compat_symbol macros from <shlib-compat.h> rather than the underlying
44963         default_symbol_version and symbol_version macros, so that DEFAULT
44964         lines in shlib-versions are respected.
44965         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44967 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44969         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44970         Declare with warn_unused_result.
44971         (setgid, setregid, setegid, setresgid): Likewise.
44972         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44973         Likewise.
44974         * WUR-REPORT: Remove set*id functions.
44976 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44978         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44980 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44982         [BZ #10191]
44983         * include/sys/socket.h (__libc_accept, __libc_accept4):
44984         Add attribute_hidden.
44985         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44987         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44988         use of PTR_MANGLE.
44989         * inet/getnetgrent_r.c (setup): Likewise.
44991         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44993 2012-07-31  David S. Miller  <davem@davemloft.net>
44995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44997 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44999         [BZ #13629]
45000         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45001         value between 1.0 and 2.0 and smaller part has absolute value less
45002         than 1.0.
45003         * math/s_clog10.c (__clog10): Likewise.
45004         * math/s_clog10f.c (__clog10f): Likewise.
45005         * math/s_clog10l.c (__clog10l): Likewise.
45006         * math/s_clogf.c (__clogf): Likewise.
45007         * math/s_clogl.c (__clogl): Likewise.
45008         * math/libm-test.inc (clog_test): Add more tests.
45009         (clog10_test): Likewise.
45010         * sysdeps/i386/fpu/libm-test-ulps: Update.
45011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45013 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45015         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45016         Exit with zero in case no suitable GID is found, and write a
45017         message to standard error.
45019 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45021         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45022         rather than to 1.
45023         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45024         (MAXPATHLEN): Removed.
45025         (NOGROUP, NODEV): New macros.
45026         (setbit, clrbit, isset, isclr): New macros.
45027         (howmany, roundup, powerof2): New macros.
45028         (DEV_BSIZE): New macro.
45030         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45031         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45033         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45034         definition on [!__NO_LONG_DOUBLE_MATH].
45036         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45037         PTR_MANGLE and PTR_DEMANGLE.
45039         * socket/accept4.c (accept4): Rename to __libc_accept4.
45040         Define accept4 as a weak alias.
45042         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45043         on [_DIRENT_HAVE_D_TYPE].
45044         * io/ftw.c (ftw_dir): Likewise.
45046         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45048         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45050         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45051         Use the BSD numbers rather than the arbitrary ones we had.
45052         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45053         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45054         (SIGXCPU, SIGXFSZ): New macros.
45055         (_NSIG): Now 32.
45057         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45058         initializer on [_LIBC_REENTRANT].
45060         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45061         definitions inside [_POSIX_MAPPED_FILES].
45063         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45065         * dirent/opendir.c: Include <fcntl.h>.
45067         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45068         (__libc_getspecific): Likewise.
45069         (__libc_key_create): Likewise.
45071         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45072         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45073         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45074         (tmpfile64): Define as alias.
45075         * sysdeps/wordsize-64/tmpfile.c: File removed.
45076         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45077         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45078         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45080         * stdio-common/vfscanf.c: Include <stdbool.h>.
45081         * nss/makedb.c: Likewise.
45082         * stdio-common/_i18n_number.h: Likewise.
45083         * argp/argp-help.c: Likewise.
45084         * posix/wordexp.c: Likewise.
45085         * sysdeps/posix/spawni.c: Likewise.
45086         * nss/nss_files/files-initgroups.c: Likewise.
45087         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45088         * nss/nss_files/files-initgroups.c: Likewise.
45089         * nss/nss_db/db-netgrp.c: Likewise.
45090         * nss/nss_db/db-initgroups.c: Likewise.
45091         * io/fchmodat.c: Include <sys/stat.h>.
45093         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45094         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45096         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45097         [HAVE_MMAP].
45099         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45100         Add multiple inclusion protection.
45102 2012-07-27  David S. Miller  <davem@davemloft.net>
45104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45106 2012-07-27  Gary Benson  <gbenson@redhat.com>
45108         [BZ #14298]
45109         * elf/rtld.c: Include <stap-probe.h>.
45110         (dl_main): Added static probes "init_start" and "init_complete".
45111         * elf/dl-load.c: Include <stap-probe.h>.
45112         (lose): Take new parameter "nsid".
45113         Added static probe "map_failed".
45114         (_dl_map_object_from_fd): Pass namespace id to lose.
45115         Added static probe "map_start".
45116         (open_verify): Pass namespace id to lose.
45117         * elf/dl-open.c: Include <stap-probe.h>.
45118         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45119         and "reloc_complete".
45120         * elf/dl-close.c: Include <stap-probe.h>.
45121         (_dl_close_worker): Added static probes "unmap_start" and
45122         "unmap_complete".
45123         * elf/rtld-debugger-interface.txt: New file documenting the above.
45125 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45127         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45128         rather than a string variable.
45129         * sunrpc/rpc_main.c (h_output): Likewise.
45130         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45132 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45134         * inet/check_native.c: New file.
45136 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45138         [BZ #13629]
45139         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45140         if larger part has absolute value 1.0.
45141         * math/s_clog10.c (__clog10): Likewise.
45142         * math/s_clog10f.c (__clog10f): Likewise.
45143         * math/s_clog10l.c (__clog10l): Likewise.
45144         * math/s_clogf.c (__clogf): Likewise.
45145         * math/s_clogl.c (__clogl): Likewise.
45146         * math/libm-test.inc (clog_test): Add more tests.
45147         (clog10_test): Likewise.
45148         * sysdeps/i386/fpu/libm-test-ulps: Update.
45149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45151         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45152         (pltexit): Likewise.
45153         (La_regs): Likewise.
45154         (La_retval): Likewise.
45155         (int_retval): Likewise.
45156         Update #error for removed macros to refer only to definitions in
45157         tst-audit.h.
45158         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45159         macro.
45160         (pltexit): Likewise.
45161         (La_regs): Likewise.
45162         (La_retval): Likewise.
45163         (int_retval): Likewise.
45164         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45165         macro.
45166         (pltexit): Likewise.
45167         (La_regs): Likewise.
45168         (La_retval): Likewise.
45169         (int_retval): Likewise.
45170         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45171         macro.
45172         (pltexit): Likewise.
45173         (La_regs): Likewise.
45174         (La_retval): Likewise.
45175         (int_retval): Likewise.
45176         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45177         macro.
45178         (pltexit): Likewise.
45179         (La_regs): Likewise.
45180         (La_retval): Likewise.
45181         (int_retval): Likewise.
45182         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45183         macro.
45184         (pltexit): Likewise.
45185         (La_regs): Likewise.
45186         (La_retval): Likewise.
45187         (int_retval): Likewise.
45188         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45189         macro.
45190         (pltexit): Likewise.
45191         (La_regs): Likewise.
45192         (La_retval): Likewise.
45193         (int_retval): Likewise.
45194         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45195         macro definitions in tst-audit.h.
45196         * sysdeps/i386/tst-audit.h: New file.
45197         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45198         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45199         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45200         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45201         * sysdeps/sh/tst-audit.h: Likewise.
45202         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45203         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45204         * sysdeps/x86_64/tst-audit.h: Likewise.
45206 2012-07-26  Andreas Jaeger  <aj@suse.de>
45208         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45209         ptrace.
45211         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45212         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45213         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45214         PTRACE_O_MASK.
45215         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45216         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45217         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45219         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45220         value.
45222         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45223         _sigsys.
45224         (si_call_addr, si_syscall, si_arch): Define new macro.
45225         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45226         _sigsys.
45227         (si_call_addr, si_syscall, si_arch): Define new marcro.
45228         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45229         _sigsys.
45230         (si_call_addr, si_syscall, si_arch): Define new macro.
45231         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45232         _sigsys.
45233         (si_call_addr, si_syscall, si_arch): Define new macro.
45235 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45237         [BZ #13717]
45238         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45239         Change to 2.4.21 where previously 2.4.1.
45240         * sysdeps/unix/sysv/linux/configure: Regenerated.
45241         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45242         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45243         Linux kernel version.
45244         (__ASSUME_STD_AUXV): Remove.
45245         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45246         kernel version.
45247         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45248         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45249         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45250         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45251         (__ASSUME_NETLINK_SUPPORT): Likewise.
45252         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45253         (__no_netlink_support): Remove conditional definition.
45254         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45255         Remove.
45256         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45257         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45258         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45259         (if_nameindex_ioctl): Remove.
45260         (if_nameindex_netlink): Do not handle __no_netlink_support.
45261         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45262         code.
45263         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45264         Remove conditional code.
45265         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45266         code.
45267         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45268         unconditional.
45269         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45270         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45271         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45272         Remove.
45273         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45274         [!__ASSUME_STD_AUXV]: Remove conditional code.
45275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45276         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45277         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45279         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45280         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45281         code.
45282         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45284         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45285         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45286         conditional code.
45287         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45289         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45290         code.
45291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45292         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45293         conditional code.
45294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45295         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45296         code unconditional.
45297         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45298         conditional code.
45299         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45300         unconditional.
45301         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45302         conditional code.
45303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45304         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45305         unconditional.
45306         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45307         conditional code.
45308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45309         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45310         code unconditional.
45311         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45312         conditional code.
45313         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45314         unconditional.
45315         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45316         conditional code.
45317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45318         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45319         code unconditional.
45320         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45321         conditional code.
45322         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45323         unconditional.
45324         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45325         conditional code.
45327 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45329         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45330         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45331         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45332         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45333         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45334         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45335         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45336         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45337         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45338         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45339         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45340         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45341         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45342         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45343         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45344         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45345         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45346         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45347         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45349         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45350         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45351         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45353 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45355         * Versions.def: Add GLIBC_2.17.
45356         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45357         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45358         Introduce __libc_secure_getenv.
45359         * stdlib/Versions (2.17): Add secure_getenv
45360         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45361         * stdlib/secure-getenv.c: Rename __secure_getenv to
45362         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45363         symbol __secure_getenv for GLIBC_2.0.
45364         * stdlib/tst-secure-getenv.c: New.
45365         * stdlib/Makefile (tests): Add testcase.
45366         * manual/startup.texi (Environment Access): Document
45367         secure_getenv.
45368         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45369         __libc_secure_getenv.
45370         * inet/ruserpass.c (ruserpass): Likewise.
45371         * malloc/mtrace.c (mtrace): Likewise.
45372         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45373         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45374         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45375         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45376         HAVE_SECURE_GETENV.
45377         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45378         __secure_getenv to __libc_secure_getenv.
45379         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45381         Likewise.
45382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45383         Likewise.
45384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45386         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45392 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45394         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45395         (struct La_i86_retval): Likewise.
45396         (struct La_x86_64_regs): Likewise.
45397         (struct La_x86_64_retval): Likewise.
45398         (struct La_x32_regs): Likewise.
45399         (struct La_x32_retval): Likewise.
45400         (struct La_ppc32_regs): Likewise.
45401         (struct La_ppc32_retval): Likewise.
45402         (struct La_ppc64_regs): Likewise.
45403         (struct La_ppc64_retval): Likewise.
45404         (struct La_sh_regs): Likewise.
45405         (struct La_sh_retval): Likewise.
45406         (struct La_s390_32_regs): Likewise.
45407         (struct La_s390_32_retval): Likewise.
45408         (struct La_s390_64_regs): Likewise.
45409         (struct La_s390_64_retval): Likewise.
45410         (struct La_sparc32_regs): Likewise.
45411         (struct La_sparc32_retval): Likewise.
45412         (struct La_sparc64_regs): Likewise.
45413         (struct La_sparc64_retval): Likewise.
45414         (struct audit_ifaces): Remove architecture-specific pltenter and
45415         pltexit members.
45416         * sysdeps/i386/ldsodefs.h: New file.
45417         * sysdeps/powerpc/ldsodefs.h: Likewise.
45418         * sysdeps/s390/ldsodefs.h: Likewise.
45419         * sysdeps/sh/ldsodefs.h: Likewise.
45420         * sysdeps/sparc/ldsodefs.h: Likewise.
45421         * sysdeps/x86_64/ldsodefs.h: Likewise.
45423 2012-07-25  Marek Polacek  <polacek@redhat.com>
45425         [BZ #6808]
45426         * math/libm-test.inc (yn_test): Add another test.
45427         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45428         to ERANGE when the result is +-Inf.
45429         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45430         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45431         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45432         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45434 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45436         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45437         equal to 0.
45438         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45439         clock_t.
45440         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45442 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45444         * configure.in <sysdeps resolving>: Correct printing
45445         Implies_before.
45446         * configure: Regenerate.
45448 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45450         * math/w_ilogb.c: Include <limits.h>.
45451         * math/w_ilogbl.c: Likewise.
45453 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45455         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45456         va_copy.  Document allowing for unavailable va_copy only as
45457         pre-C99 compatibility.
45458         * manual/string.texi (Copying and Concatenation): Use va_copy
45459         instead of __va_copy in concat example.
45461 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45463         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45464         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45465         it if not null.
45467         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45468         with O_NOLINK passed to __file_name_lookup.
45470         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45471         with O_NOLINK passed to __file_name_lookup.
45473         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45474         negative N or less than NGIDS.
45476         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45477         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45478         enough.  Use memcpy instead of strncpy.
45480 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45482         * elf/Makefile (check-data): Remove.
45483         (localplt.data): New vpath directive.
45484         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45485         instead of $(check-data).
45486         * scripts/data/localplt-generic.data: Move to ...
45487         * sysdeps/generic/localplt.data: ... here.
45488         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45489         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45490         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45492         ... here.
45493         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45495         ... here.
45496         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45498         ... here.
45499         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45501         ... here.
45502         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45504         ... here.
45505         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45507         ... here.
45509 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45511         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45512         PPC32 and PPC64 files.
45513         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45514         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45516 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45518         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45519         __makecontext_ret to ...
45520         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45521         ... here and call exit if uc_link is NULL.  New file.
45522         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45523         __makecontext_ret.S.
45524         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45525         __makecontext_ret to ...
45526         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45527         ... here and call exit if uc_link is NULL.  New file.
45528         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45529         __makecontext_ret.S.
45531 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45533         * elf/elf.h (R_390_IRELATIVE): New definition.
45534         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45535         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45536         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45537         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45538         (elf_machine_lazy_rel): Likewise.
45539         * sysdeps/s390/dl-irel.h: New file.
45540         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45541         * sysdeps/s390/s390-64/memset.S: New asm code.
45542         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45543         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45544         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45545         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45546         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45547         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45548         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45549         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45550         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45551         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45552         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45553         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45554         * sysdeps/s390/s390-32/memset.S: New asm code.
45555         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45557 2012-07-17  Marek Polacek  <polacek@redhat.com>
45559         [BZ #14349]
45560         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45561         * sysdeps/s390/s390-64/configure.in: Likewise.
45562         * sysdeps/sparc/configure.in: Likewise.
45563         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45564         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45565         * sysdeps/i386/configure.in: Likewise.
45566         * sysdeps/x86_64/configure.in: Likewise.
45567         * sysdeps/sh/configure.in: Likewise.
45568         * sysdeps/s390/s390-32/configure: Regenerated.
45569         * sysdeps/s390/s390-64/configure: Likewise.
45570         * sysdeps/x86_64/configure: Likewise.
45571         * sysdeps/sh/configure: Likewise.
45572         * sysdeps/powerpc/powerpc64/configure: Likewise.
45573         * sysdeps/powerpc/powerpc32/configure: Likewise.
45574         * sysdeps/sparc/configure: Likwise.
45575         * sysdeps/i386/configure: Likewise.
45577         * elf/dl-open.c: Comment fixes.
45579 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45581         * Makefile [CXX] (check-data): Remove.
45582         [CXX] (c++-types.data): New vpath directive.
45583         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45584         vpath.  Do not allow for C++ type data being missing.
45585         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45586         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45587         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45588         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45589         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45590         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45591         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45593         ... here.
45594         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45596         ... here.
45597         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45599         ... here.
45600         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45602         ... here.
45603         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45605         ... here.
45606         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45608         ... here.
45609         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45611         ... here.
45612         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45615         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45616         definitions to architecture-specific files.
45617         (TLS_IE): Likewise.
45618         (TLS_LD): Likewise.
45619         (TLS_GD): Likewise.
45620         * sysdeps/i386/tls-macros.h: New file.
45621         * sysdeps/powerpc/tls-macros.h: Likewise.
45622         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45623         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45624         * sysdeps/sh/tls-macros.h: Likewise.
45625         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45626         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45627         * sysdeps/x86_64/tls-macros.h: Likewise.
45629 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45631         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45632         zero value for regular exit case.
45634         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45635         (__start_context): Preserve zero value for regular exit case.
45637 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45638             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45640         * manual/setjmp.texi (setcontext): Clarify normal process
45641         termination when uc_link is the null pointer.
45642         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45643         exit call.
45645 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45647         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45648         preprocessor.  Test for each exception mask separately.
45650 2012-07-16  Andreas Jaeger  <aj@suse.de>
45652         * po/ru.po: Update from translation team.
45654 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45656         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45657         equal to 0.
45658         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45659         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45660         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45661         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45662         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45664 2012-07-13  Andreas Jaeger  <aj@suse.de>
45666         * po/fr.po: Update from translation team.
45668 2012-07-12  Marek Polacek  <polacek@redhat.com>
45670         [BZ #14173]
45671         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45672         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45673         loop condition.
45675 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45677         [BZ #13717]
45678         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45679         Change to 2.4.1 where previously 2.4.0.
45680         * sysdeps/unix/sysv/linux/configure: Regenerated.
45681         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45682         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45683         version.
45684         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45685         (__ASSUME_AT_CLKTCK): Remove.
45686         (__ASSUME_AT_PAGESIZE): Likewise.
45687         (__ASSUME_AT_XID): Likewise.
45688         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45689         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45690         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45691         unconditionally.
45692         (HAVE_AUX_PAGESIZE): Likewise.
45693         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45694         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45695         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45697 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45699         [BZ #14307]
45700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45701         the temporary buffer used to invoke __gethostbyname2_r,
45702         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45703         host_data / struct gaih_addrtuple.
45704         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45705         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45706         header file nss/nsswitch.h.
45707         * nss/nsswitch.h (global scope): Add definition of implementation
45708         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45709         resolv/nss_dns/dns-host.c).
45711 2012-07-11  Andreas Jaeger  <aj@suse.de>
45713         * po/fr.po: Update from translation team.
45715         * po/sv.po: Update from translation team
45716         * po/fr.po: Another update from translation team.
45718 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45720         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45721         for subnormals or multiply small sinh result by itself.
45722         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45725 2012-07-11  David S. Miller  <davem@davemloft.net>
45727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45729 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45731         [BZ #14347]
45732         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45733         (INTERNAL_MARK): Shift it here.
45735 2012-07-10  Marek Polacek  <polacek@redhat.com>
45737         [BZ #14151]
45738         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45739         libc_cv_asm_global_directive with .globl.
45740         * configure: Regenerated.
45741         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45742         with .globl.
45743         * sysdeps/i386/configure: Regenerated.
45744         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45745         with .globl.
45746         * sysdeps/x86_64/configure: Regenerated.
45747         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45748         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45749         * elf/tst-unique2mod2.c: Likewise.
45750         * elf/tst-unique2mod1.c: Likewise.
45751         * elf/tst-unique1mod2.c: Likewise.
45752         * elf/tst-unique1mod1.c: Likewise.
45753         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45754         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45755         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45756         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45757         * sysdeps/mach/sysdep.h: Likewise.
45758         * sysdeps/i386/sysdep.h: Likewise.
45759         * sysdeps/i386/i386-mcount.S: Likewise.
45760         * sysdeps/x86_64/_mcount.S: Likewise.
45761         * sysdeps/x86_64/sysdep.h: Likewise.
45762         * sysdeps/sh/_mcount.S: Likewise.
45763         * sysdeps/sh/sysdep.h: Likewise.
45764         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45765         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45766         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45767         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45768         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45769         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45770         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45771         * locale/localeinfo.h: Likewise.
45772         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45773         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45775 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45777         [BZ #14336]
45778         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45779         system".
45780         * manual/message.texi (The Uniforum approach): Likewise.
45781         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45782         (glibc iconv Implementation): Likewise.
45784 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45786         [BZ #14337]
45787         * math/s_clog.c (__clog): Avoid scaling a value down where that
45788         could result in underflow.
45789         * math/s_clog10.c (__clog10): Likewise.
45790         * math/s_clog10f.c (__clog10f): Likewise.
45791         * math/s_clog10l.c (__clog10l): Likewise.
45792         * math/s_clogf.c (__clogf): Likewise.
45793         * math/s_clogl.c (__clogl): Likewise.
45794         * math/libm-test.inc (clog_test): Add more tests.
45795         (clog10_test): Likewise.
45796         * sysdeps/i386/fpu/libm-test-ulps: Update.
45797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45799 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45801         [BZ #14283]
45802         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45803         by 7 not 8 to examine high bit of fractional part.
45805         [BZ #14042]
45806         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45807         for call to __mcount_internal.
45808         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45809         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45810         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45812 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45814         [BZ #14154]
45815         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45816         approximation for values within 0x1p-13f of an odd multiple of
45817         pi/4.
45818         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45819         exception.  Add more tests.
45820         * sysdeps/i386/fpu/libm-test-ulps: Update.
45822         [BZ #6778]
45823         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45824         inputs and return -1 for them.  Do not check for +Inf in case not
45825         reachable for +Inf.
45826         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45827         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45828         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45829         and return -1 for them.  Do not check for +Inf in case not
45830         reachable for +Inf.
45831         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45832         define.
45833         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45834         and return -1 for them.  Do not check for +Inf in case not
45835         reachable for +Inf.
45836         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45837         spurious underflow.
45838         * sysdeps/i386/fpu/libm-test-ulps: Update.
45839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45841 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45843         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45845 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45847         [BZ #14157]
45848         [BZ #14331]
45849         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45850         could result in spurious underflow.  Scale down values above
45851         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45852         * math/s_csqrtf.c (__csqrtf): Likewise.
45853         * math/s_csqrtl.c (__csqrtl): Likewise.
45854         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45855         spurious underflow.
45856         * sysdeps/i386/fpu/libm-test-ulps: Update.
45857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45859 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45861         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45862         xopen-msg.sed.
45863         * catgets/xopen-msg.awk: New file.
45864         * catgets/xopen-msg.sed: Removed.
45866         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45867         po2text.sed.
45868         * intl/po2test.awk: New file.
45869         * intl/po2test.sed: Removed.
45871 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45873         [BZ #14328]
45874         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45875         or multiply small sinh result by itself.
45876         * math/s_ctanf.c (__ctanf): Likewise.
45877         * math/s_ctanh.c (__ctanh): Likewise.
45878         * math/s_ctanhf.c (__ctanhf): Likewise.
45879         * math/s_ctanhl.c (__ctanhl): Likewise.
45880         * math/s_ctanl.c (__ctanl): Likewise.
45881         * math/libm-test.inc (ctan_test_tonearest): New function.
45882         (ctan_test_towardzero): Likewise.
45883         (ctan_test_downward): Likewise.
45884         (ctan_test_upward): Likewise.
45885         (ctanh_test_tonearest): Likewise.
45886         (ctanh_test_towardzero): Likewise.
45887         (ctanh_test_downward): Likewise.
45888         (ctanh_test_upward): Likewise.
45889         (main): Call these new functions.
45890         * sysdeps/i386/fpu/libm-test-ulps: Update.
45891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45893 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45895         * .gitignore: Delete /ports entry.
45897 2012-07-03  Andreas Jaeger  <aj@suse.de>
45899         * po/bg.po: Update from translation team.
45900         * po/cs.po: Likewise.
45901         * po/de.po: Likewise.
45902         * po/hr.po: Likewise.
45903         * po/nl.pl: Likewise.
45904         * po/pl.po: Likewise.
45905         * po/vi.po: Likewise.
45907 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45909         * Makeconfig [!+link] (+link-before-libc): New variable.
45910         [!+link] (+link-after-libc): Likewise.
45911         [!+link] (+link-tests): Likewise.
45912         [!+link] (+link): Define in terms of $(+link-before-libc) and
45913         $(+link-after-libc).
45914         [!+link-static] (+link-static-before-libc): New variable.
45915         [!+link-static] (+link-static-after-libc): Likewise.
45916         [!+link-static] (+link-static-tests): Likewise.
45917         [!+link-static] (+link-static): Define in terms of
45918         $(+link-static-before-libc) and $(+link-static-after-libc).
45919         [build-shared] (link-libc-before-gnulib): New variable.
45920         [build-shared] (link-libc-tests): Likewise.
45921         [build-shared] (link-libc): Define in terms of
45922         $(link-libc-before-gnulib).
45923         [!build-shared] (link-libc-tests): New variable.
45924         (link-libc-static-tests): New variable.
45925         [!gnulib] (gnulib-arch): New variable.
45926         [!gnulib] (gnulib-tests): Likewise.
45927         [!gnulib] (static-gnulib-arch): Likewise.
45928         [!gnulib] (static-gnulib-tests): Likewise.
45929         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45930         Define with "=" instead of ":=".
45931         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45932         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45933         * Rules (binaries-all-notests): New variable.
45934         (binaries-all-tests): Likewise.
45935         (binaries-static-notests): Likewise.
45936         (binaries-static-tests): Likewise.
45937         (binaries-all): Define using $(binaries-all-notests) and
45938         $(binaries-all-tests).
45939         (binaries-static): Define using $(binaries-static-notests) and
45940         $(binaries-static-tests).
45941         (binaries-shared-tests): New variable.
45942         (binaries-shared-notests): Likewise.
45943         (binaries-shared): Remove variable.
45944         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45945         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45946         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45947         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45948         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45949         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45950         * elf/Makefile (sln-modules): New variable.
45951         (extra-objs): Add $(sln-modules:=.o).
45952         (ldconfig-modules): Add static-stubs.
45953         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45954         * elf/static-stubs.c: New file.
45956         [BZ #14283]
45957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45958         by 7 not 8 to examine high bit of fractional part.  Use volatile
45959         variables when splitting into final array of floats if
45960         __FLT_EVAL_METHOD__ != 0.
45961         * math/libm-test.inc (cos_test): Add another test.
45962         (sin_test): Likewise.
45963         * sysdeps/i386/fpu/libm-test-ulps: Update.
45965         [BZ #14273]
45966         * math/libm-test.inc (cosh_test): Add more tests.
45968         * version.h (RELEASE): Set to "development".
45969         (VERSION): Set to "2.16.90".
45971 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45973         * NEWS: Update copyright. Remove last-updated date.
45974         Mention math library bug fixes and timezone data changes.
45975         * README: Mention GNU/Hurd, x32, and HPPA support status.
45977 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45979         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45981 2012-06-27  Andreas Jaeger  <aj@suse.de>
45983         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45985 2012-06-25  Andreas Jaeger  <aj@suse.de>
45987         * sysdeps/s390/fpu/libm-test-ulps: Update.
45989 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45990             Thomas Schwinge  <thomas@codesourcery.com>
45992         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45993         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45994         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45995         fanotify_mark.
45997 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45999         * sysdeps/mach/start.c: Remove file.
46000         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46001         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46002         * sysdeps/sh/init-first.c: Likewise.
46004         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46005         registers for frame unwinding purposes, add CFI directives.
46006         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46007         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46008         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46009         Likewise.
46011         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46012         __fortify_fail returning.
46013         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46015         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46016         sysdeps/sh/____longjmp_chk.S.
46017         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46018         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46019         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46020         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46022         * sysdeps/sh/abort-instr.h: New file.
46023         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46024         process in case exit returns.
46026         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46027         initialize the GOT register before use.
46029         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46030         calculation of ARGC > 4.
46032         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46033         meaningful names to some local labels.
46035 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46036             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46038         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46039         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46040         (__arch_compare_and_exchange_val_16_acq): Likewise.
46041         (__arch_compare_and_exchange_val_32_acq): Likewise.
46042         (atomic_exchange_and_add): Fix gUSA sequence.
46043         (atomic_add): Likewise.
46044         (atomic_add_negative): Likewise.
46045         (atomic_add_zero): Likewise.
46046         (atomic_bit_test_set): Likewise.
46048 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46050         [BZ #13579]
46051         * include/link.h (struct link_map): Add l_free_initfini.
46052         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46053         l_initfini.
46054         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46055         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46056         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46057         set.
46059 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46061         * configure.in: Use AC_LANG_SOURCE.
46062         * configure: Regenerate.
46064 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46066         * configure.in (libc_cv_localstatedir): New substituted variable.
46067         * configure: Regenerated.
46068         * config.make.in (localstatedir): New variable, substituted from
46069         libc_cv_localstatedir.
46070         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46071         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46072         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46073         * sysdeps/gnu/configure: Regenerated.
46075 2012-06-21  Jeff Law  <law@redhat.com>
46077         [BZ #14277]
46078         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46079         free.  Simplify list management for _LIBC case.
46081 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46083         [BZ #14273]
46084         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46085         Clear sign bit of 64-bit integer value before comparing against
46086         overflow value.
46088         * sysdeps/mach/configure: Regenerated.
46090 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46092         [BZ #14278]
46093         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46095 2012-06-21  Jeff Law  <law@redhat.com>
46097         [BZ #13882]
46098         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46099         uint16_t for elements in the "seen" array to avoid char overflows.
46100         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46101         * elf/dl-open.c (dl_open_worker): Likewise.
46103 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46105         * scripts/list-sources.sh: Scan PORTS for translations.
46106         * po/libc.pot: Regenerated.
46108 2012-06-21  Andreas Jaeger  <aj@suse.de>
46110         [BZ #12194]
46111         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46112         warning.
46113         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46114         * bits/byteswap-16.h (__bswap_16): Likewise.
46115         * bits/byteswap.h (__bswap_constant_16): Likewise.
46117 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46119         [BZ #14117]
46120         * sysdeps/i386/fpu_control.h: Removed.
46121         * sysdeps/x86_64/fpu_control.h: Moved to ...
46122         * sysdeps/x86/fpu_control.h: Here.
46124         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46125         (_FPU_SETCW): Likewise.
46127 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46129         [BZ #14117]
46130         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46131         * sysdeps/x86/fpu/bits/mathinline.h: This.
46132         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46134         [BZ #14050]
46135         [BZ #14117]
46136         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46137         functions if __x86_64__ is defined.
46139 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46141         * string/endian.h: Add !__ASSEMBLER__ condition for including
46142         conversion interfaces.
46144 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46146         [BZ #14241]
46147         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46148         of ABS(x) in calculating zero to negative powers other than odd
46149         integers.
46150         * math/libm-test.inc (pow_test): Add more tests.
46152 2012-06-15  Andreas Jaeger  <aj@suse.de>
46154         * manual/contrib.texi (Contributors): Update entry of Liubov
46155         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46156         Machado Filho.
46158 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46160         * string/string.h: Add __wur to GNU version of strerror_r.
46162 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46164         [BZ #14229]
46165         * string/Makefile (tests): Add tst-strtok_r.
46166         * string/tst-strtok_r.c: New file.
46167         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46168         RAX_LP/RDX_LP on SAVE_PTR.
46170 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46172         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46174 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46176         * libm_test.inc (csqrt_test): Allow more spurious underflow
46177         exceptions.
46178         (j0_test): Likewise.
46179         (j1_test): Likewise.
46180         (y0_test): Likewise.
46181         (y1_test): Likewise.
46183 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46185         * po/Makefile (libc.pot): Use UTF-8 charset.
46187 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46189         [BZ #14210]
46190         Suppress sign-conversion warning from FD_SET.
46191         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46192         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46193         not unsigned long int.
46194         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46196 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46198         [BZ #14050]
46199         [BZ #14117]
46200         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46201         __extern_always_inline instead of __extern_inline.
46202         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46203         (__signbit): Likewise.
46204         (__signbitl): Support C++ namespace.
46205         (lrintf): New inline function.
46206         (lrint): Likewise.
46207         (llrintf): Likewise.
46208         (llrint): Likewise.
46209         (fmaxf): Likewise.
46210         (fmax): Likewise.
46211         (fminf): Likewise.
46212         (fmin): Likewise.
46213         (rint): Likewise.
46214         (rintf): Likewise.
46215         (ceil): Likewise.
46216         (ceilf): Likewise.
46217         (floor): Likewise.
46218         (floorf): Likewise.
46219         (nearbyint): Likewise.
46220         (nearbyintf): Likewise.
46222 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46224         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46225         non-default versions.
46227 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46229         [BZ #14218]
46230         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46232 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46234         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46235         (FE_UPWARD, FE_DOWNWARD): Don't define.
46236         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46237         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46239         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46240         reading it.
46241         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46242         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46244 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46246         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46247         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46248         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46249         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46251 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46253         [BZ #14117]
46254         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46255         * sysdeps/i386/fpu/Implies: New file.
46256         * sysdeps/x86_64/fpu/Implies: Likewise.
46257         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46258         * sysdeps/x86/fpu/bits/fenv.h: This.
46260         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46261         __SSE_MATH__.
46263 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46265         [BZ #14134]
46266         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46267         character 0xffff that matches the last element of the
46268         conversion table.
46270 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46272         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46273         fmodl commit.
46275 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46277         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46278         values higher than 25.6283.
46280 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46283         subnormal exponent extraction and add some __builtin_expect.
46284         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46285         Fix for subnormal mantissa calculation.
46287 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46289         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46290         cpu2 is -1 and errno is not ENOSYS.
46292 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46294         [BZ #14117]
46295         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46296         * sysdeps/x86/bits/string.h: This.
46297         * sysdeps/x86_64/bits/string.h: Removed.
46299         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46300         if not compiling for x86-64, but compiling for >= i486.
46302         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46303         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46305         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46306         New macro from Linux kernel 3.4.0.
46307         (FP_XSTATE_MAGIC2): Likewise.
46308         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46309         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46310         (struct _fpx_sw_bytes): New struct.
46311         (struct _xsave_hdr): Likewise.
46312         (struct _ymmh_state): Likewise.
46313         (struct _xstate): Likewise.
46315         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46316         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46317         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46318         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46319         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46320         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46322         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46323         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46324         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46325         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46326         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46327         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46329 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46331         [BZ #13743]
46332         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46333         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46334         (sysdep_headers): Include sys/platform/ppc.h.
46335         * sysdeps/powerpc/test-gettimebase.c: Test for
46336         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46337         * manual/Makefile (appendices): Include platform.texi.
46338         * manual/contrib.texi (Contributors): Update @node pointers.
46339         * manual/maint.texi (Maintenance): Likewise.
46340         (Platform): New node.
46341         * manual/platform.texi: New file.  Document the new features.
46343 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46344             Jakub Jelinek  <jakub@redhat.com>
46346         [BZ #14188]
46347         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46348         where __builtin_expect is unavailable.
46350 2012-06-03  David S. Miller  <davem@davemloft.net>
46352         * stdlib/longlong.h: Updated from GCC.
46354 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46356         [BZ #14042]
46357         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46358         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46359         __mcount_internal.
46360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46361         (GLIBC_2.16): Likewise.
46363 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46365         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46367 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46370         (default-abi): New variable.
46371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46372         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46373         variable.
46374         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46375         Likewise.
46376         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46377         Likewise.
46378         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46379         Likewise.
46381         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46382         definition.  Document in comment.
46384 2012-06-01  David S. Miller  <davem@davemloft.net>
46386         * stdlib/longlong.h: Updated from GCC.
46388 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46390         [BZ #14117]
46391         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46392         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46393         sys/debugreg.h sys/io.h here.
46394         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46395         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46396         sys/io.h.
46397         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46398         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46399         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46400         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46401         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46402         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46404         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46405         Define only if __x86_64__ is defined.
46407 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46409         [BZ #14048]
46410         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46411         Use int64_t for variable i.
46412         * math/libm-test.inc (fmod_test): Add more tests.
46414         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46415         z computation is not scheduled after fetestexcept.
46416         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46417         Use math_force_eval instead of asm to ensure calculation scheduled
46418         before exception test.
46419         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46420         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46422 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46424         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46425         computation is not scheduled after fetestexcept.
46427 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46429         [BZ #14117]
46430         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46431         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46433 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46435         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46436         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46438 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46440         [BZ #14117]
46441         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46442         <bits/wordsize.h>.
46443         (__WCHAR_MIN): Support __WORDSIZE == 64.
46444         (__WCHAR_MAX): Likewise.
46446         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46447         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46449         [BZ #14183]
46450         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46451         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46453         [BZ #14117]
46454         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46455         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46457         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46458         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46460         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46461         Defined to 1 if __x86_64__ isn't defined.
46462         (_STAT_VER_LINUX_OLD): New.
46463         (st_atime): Remove duplicate.
46464         (st_mtime): Likewise.
46465         (st_ctime): Likewise.
46467 2012-05-31  David S. Miller  <davem@davemloft.net>
46469         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46470         entries.
46472 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46474         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46475         gen-libm-test.pl.
46477         [BZ #14132]
46478         * elf/dl-reloc.c: Include <_itoa.h>.
46479         (_dl_reloc_bad_type): Remove use of INTUSE.
46480         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46481         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46482         * stdio-common/psiginfo.c (psiginfo): Likewise.
46483         * stdio-common/psignal.c (psignal): Likewise.
46484         * string/strsignal.c (strsignal): Likewise.
46485         * include/signal.h (_sys_siglist): Declare hidden proto.
46486         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46487         INTVARDEF with libc_hidden_data_def.
46488         * stdio-common/itoa-udigits.c: Likewise.
46489         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46490         (_itoa_lower_digits_internal): Remove declaration.
46491         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46492         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46493         (_sys_sigabbrev_internal): Remove aliases.
46494         (_sys_siglist): Define hidden alias.
46496 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46499         bits/sysctl.h.
46501 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46503         [BZ #14117]
46504         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46505         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46507         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46508         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46509         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46510         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46511         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46512         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46514         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46515         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46516         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46518         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46519         with __addr.
46520         (insw): Likewise.
46521         (insl): Likewise.
46522         (outsb): Likewise.
46523         (outsw): Likewise.
46524         (outsl): Likewise.
46526         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46527         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46528         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46530         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46531         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46532         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46533         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46534         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46535         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46537         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46538         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46540         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46541         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46543         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46544         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46545         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46547         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46548         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46549         to ...
46550         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46552         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46553         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46554         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46556         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46557         for x86-64.
46558         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46560 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46562         * math/math.h (M_El): Use two more decimal places.
46563         (M_LOG2El): Likewise.
46564         (M_LOG10El): Likewise.
46565         (M_LN2l): Likewise.
46566         (M_LN10l): Likewise.
46567         (M_PIl): Likewise.
46568         (M_PI_2l): Likewise.
46569         (M_PI_4l): Likewise.
46570         (M_1_PIl): Likewise.
46571         (M_2_PIl): Likewise.
46572         (M_2_SQRTPIl): Likewise.
46573         (M_SQRT2l): Likewise.
46574         (M_SQRT1_2l): Likewise.
46576 2012-05-31  David S. Miller  <davem@davemloft.net>
46578         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46579         values between float registers.
46580         * sysdeps/sparc/sparc64/memset.S: Likewise.
46581         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46583 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46585         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46586         -D_FORTIFY_SOURCE=1.
46587         (CPPFLAGS-tst-longjmp_chk.c): Define.
46588         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46589         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46590         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46591         CFLAGS-tst-wchar-h.c.
46593 2012-05-31  Marek Polacek  <polacek@redhat.com>
46595         [BZ #14132]
46596         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46597         __endmntent_internal): Remove declaration.
46598         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46599         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46600         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46602 2012-05-30  David S. Miller  <davem@davemloft.net>
46604         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46605         (___Q_simulate_exceptions): Use real FP ops rather than writing
46606         into the %fsr.
46607         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46608         Likewise.
46610 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46612         [BZ #14117]
46613         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46614         * sysdeps/x86/bits/xtitypes.h: This.
46616         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46617         * sysdeps/x86/bits/wordsize.h: This.
46619         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46620         * sysdeps/x86/bits/huge_vall.h: This.
46622         * sysdeps/i386/bits/select.h: Removed.
46623         * sysdeps/x86_64/bits/select.h: Renamed to ...
46624         * sysdeps/x86/bits/select.h: This.
46626         * sysdeps/i386/bits/setjmp.h: Removed.
46627         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46628         * sysdeps/x86/bits/setjmp.h: This.
46630         * sysdeps/i386/bits/mathdef.h: Removed.
46631         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46632         * sysdeps/x86/bits/mathdef.h: This.
46634 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46636         [BZ #14132]
46637         * include/sys/socket.h (__connect_internal)
46638         (__libc_sa_len_internal): Remove declaration.
46639         (__connect, __libc_sa_len): Declare hidden_proto.
46640         (SA_LEN): Remove use of INTUSE.
46641         * socket/connect.c: Add libc_hidden_def.
46642         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46643         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46644         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46645         alias.
46646         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46647         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46648         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46649         of adding _internal alias.
46651 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46653         [BZ #14117]
46654         * sysdeps/i386/bits/link.h: Removed.
46655         * sysdeps/i386/bits/linkmap.h: Likewise.
46656         * sysdeps/x86_64/bits/link.h: Renamed to ...
46657         * sysdeps/x86/bits/link.h: This.
46658         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46659         * sysdeps/x86/bits/linkmap.h: This.
46661         * sysdeps/i386/bits/endian.h: Removed.
46662         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46663         * sysdeps/x86/bits/endian.h: This.
46665         * sysdeps/i386/bits/byteswap.h: Removed.
46666         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46667         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46668         * sysdeps/x86/bits/byteswap.h: This.
46669         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46670         * sysdeps/x86/bits/byteswap-16.h: This.
46671         * sysdeps/i386/Implies: Add x86.
46672         * sysdeps/x86_64/Implies: Likewise.
46674 2012-05-30  David S. Miller  <davem@davemloft.net>
46676         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46677         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46678         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46679         (FP_TRAPPING_EXCEPTIONS): Define.
46680         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46681         (FP_TRAPPING_EXCEPTIONS): Define.
46682         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46683         subnormals only when inexact has been signalled or underflow
46684         exceptions are enabled.
46685         (_FP_PACK_CANONICAL): Likewise.
46687 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46689         [BZ #14183]
46690         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46691         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46693 2012-05-30  Richard Henderson  <rth@twiddle.net>
46695         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46696         with #ifndef NOT_IN_libc.
46698         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46699         marked to avoid plt entry.
46701 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46703         [BZ #14112]
46704         * Makeconfig (default-abi): New macro.
46705         (abi-includes): Likewise.
46706         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46707         $(abi-$(default-abi)-lib-soname) for soname if defined.
46708         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46709         abi-variants.
46710         * Makefile (installed-stubs): Likewise.
46711         * include/stubs-biarch.h: Removed.
46712         * scripts/lib-names.awk: Only handle one library at a time.
46713         * scripts/soversions.awk: Remove WORDSIZE support.
46714         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46715         entries.
46716         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46717         Removed.
46718         (syscall-list-default-condition): Likewise.
46719         (syscall-list-default-condition): Likewise.
46720         (syscall-list-includes): Likewise.
46721         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46722         syscall-list-* with abi-*.  Handle undefined abi-variants.
46723         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46724         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46725         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46726         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46727         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46728         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46729         Removed.
46730         (syscall-list-32-options): Likewise.
46731         (syscall-list-32-condition): Likewise.
46732         (syscall-list-64-options): Likewise.
46733         (syscall-list-64-condition): Likewise.
46734         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46735         macro.
46736         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46737         Renamed to ...
46738         (abi-*): This.
46739         (abi-64-ld-soname): New macro.
46740         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46741         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46742         Renamed to ...
46743         (abi-*): This.
46744         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46745         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46747 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46749         * sysdeps/unix/sysv/linux/kernel-features.h
46750         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46751         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46752         include <kernel-features.h>.
46753         [!__NR_ftruncate64]: Remove conditional code.
46754         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46755         [__NR_ftruncate64]: Make code unconditional.
46756         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46757         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46758         include <kernel-features.h>.
46759         [!__NR_ftruncate64]: Remove conditional code.
46760         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46761         [__NR_ftruncate64]: Make code unconditional.
46762         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46764         include <kernel-features.h>.
46765         [!__NR_ftruncate64]: Remove conditional code.
46766         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46767         [__NR_ftruncate64]: Make code unconditional.
46768         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46770         include <kernel-features.h>.
46771         [!__NR_ftruncate64]: Remove conditional code.
46772         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46773         [__NR_ftruncate64]: Make code unconditional.
46774         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46776         * configure.in (libc_cv_fpie): Weaken to a compile test using
46777         LIBC_TRY_CC_OPTION.
46778         * configure: Regenerated.
46780 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46786         Refreshed.
46787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46793         Refreshed.
46795 2012-05-27  David S. Miller  <davem@davemloft.net>
46797         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46798         (___Q_zero): New.
46799         (__Q_simulate_exceptions): Return void.  Change to simulate
46800         exceptions by writing into the %fsr.
46801         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46802         (__Qp_handle_exceptions): Likewise.
46803         (numbers): Delete.
46804         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46805         __Qp_handle_exceptions.
46806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46807         __Qp_handle_exceptions.
46808         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46809         as unused and give dummy FP_RND_NEAREST initializer.
46810         (FP_INHIBIT_RESULTS): Define.
46811         (___Q_simulate_exceptions): Update declaration.
46812         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46813         formatting.
46814         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46815         as unused and give dummy FP_RND_NEAREST initializer.
46816         (__Qp_handle_exceptions): Update declaration.
46817         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46818         formatting.
46820 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46822         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46823         the temporary FPU control word.
46824         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46825         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46826         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46827         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46828         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46829         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46830         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46831         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46832         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46833         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46834         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46836 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46838         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46839         fields.
46841 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46843         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46844         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46845         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46846         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46847         Likewise.
46848         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46849         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46850         Likewise.
46852 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46854         * po/h.po: Update from translation team.
46856 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46858         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46860         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46861         handling of denormals.
46862         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46863         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46864         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46865         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46866         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46867         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46869         Likewise.
46871 2012-05-26  Marek Polacek  <polacek@redhat.com>
46873         [BZ #14152]
46874         * math/libm-test.inc (fma_test): Don't always expect underflow
46875         exception.
46877 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46879         [BZ #12416]
46880         * elf/tst-execstack.c: Include stackinfo.h.
46881         (do_test): Adjust test case to ensure that pthread_getattr_np
46882         behaviour remains the same after marking stack executable.
46884 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46886         * sysdeps/unix/sysv/linux/kernel-features.h
46887         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46888         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46889         kernel-features.h.
46890         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46891         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46892         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46893         kernel-features.h.
46894         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46895         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46897 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46899         * configure.in: Define the default includes to being none.
46900         * configure: Regenerated.
46902 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46904         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46905         * sysdeps/x86_64/setjmp.S: Likewise.
46906         * sysdeps/i386/bsd-setjmp.S: Likewise.
46907         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46908         * sysdeps/i386/setjmp.S: Likewise.
46909         * sysdeps/i386/__longjmp.S: Likewise.
46910         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46911         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46913         * include/stap-probe.h: New file.
46914         * configure.in: Handle --enable-systemtap.
46915         * configure: Regenerated.
46916         * config.h.in (USE_STAP_PROBE): New #undef.
46917         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46918         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46919         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46921 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46923         [BZ #13717]
46924         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46925         to 2.4.0 where earlier.
46926         * sysdeps/unix/sysv/linux/configure: Regenerated.
46927         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46928         <kernel-features.h>.
46929         [__ASSUME_32BITUIDS]: Make code unconditional.
46930         [!__ASSUME_32BITUIDS]: Remove conditional code.
46931         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46932         <kernel-features.h>.
46933         [__ASSUME_32BITUIDS]: Make code unconditional.
46934         [!__ASSUME_32BITUIDS]: Remove conditional code.
46935         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46936         [__ASSUME_32BITUIDS]: Make code unconditional.
46937         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46938         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46939         <kernel-features.h>.
46940         [__ASSUME_32BITUIDS]: Make code unconditional.
46941         [!__ASSUME_32BITUIDS]: Remove conditional code.
46942         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46943         <kernel-features.h>.
46944         [__ASSUME_32BITUIDS]: Make code unconditional.
46945         [!__ASSUME_32BITUIDS]: Remove conditional code.
46946         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46947         <kernel-features.h>.
46948         [__ASSUME_32BITUIDS]: Make code unconditional.
46949         [!__ASSUME_32BITUIDS]: Remove conditional code.
46950         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46951         <kernel-features.h>.
46952         [__ASSUME_32BITUIDS]: Make code unconditional.
46953         [!__ASSUME_32BITUIDS]: Remove conditional code.
46954         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46955         <kernel-features.h>.
46956         [__ASSUME_32BITUIDS]: Make code unconditional.
46957         [!__ASSUME_32BITUIDS]: Remove conditional code.
46958         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46959         <kernel-features.h>.
46960         [__ASSUME_32BITUIDS]: Make code unconditional.
46961         [!__ASSUME_32BITUIDS]: Remove conditional code.
46962         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46963         <kernel-features.h>.
46964         [__ASSUME_32BITUIDS]: Make code unconditional.
46965         [!__ASSUME_32BITUIDS]: Remove conditional code.
46966         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46967         <kernel-features.h>.
46968         [__ASSUME_32BITUIDS]: Make code unconditional.
46969         [!__ASSUME_32BITUIDS]: Remove conditional code.
46970         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46971         <kernel-features.h>.
46972         [__ASSUME_32BITUIDS]: Make code unconditional.
46973         [!__ASSUME_32BITUIDS]: Remove conditional code.
46974         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46975         <kernel-features.h>.
46976         [__ASSUME_32BITUIDS]: Make code unconditional.
46977         [!__ASSUME_32BITUIDS]: Remove conditional code.
46978         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46979         <kernel-features.h>.
46980         [__NR_setresgid] (__setresgid): Do not declare.
46981         [__ASSUME_32BITUIDS]: Make code unconditional.
46982         [!__ASSUME_32BITUIDS]: Remove conditional code.
46983         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46984         <kernel-features.h>.
46985         [__NR_setresuid] (__setresuid): Do not declare.
46986         [__ASSUME_32BITUIDS]: Make code unconditional.
46987         [!__ASSUME_32BITUIDS]: Remove conditional code.
46988         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46989         <kernel-features.h>.
46990         [__ASSUME_32BITUIDS]: Make code unconditional.
46991         [!__ASSUME_32BITUIDS]: Remove conditional code.
46992         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46993         <kernel-features.h>.
46994         [__ASSUME_32BITUIDS]: Make code unconditional.
46995         [!__ASSUME_32BITUIDS]: Remove conditional code.
46996         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46997         <kernel-features.h>.
46998         [__ASSUME_32BITUIDS]: Make code unconditional.
46999         [!__ASSUME_32BITUIDS]: Remove conditional code.
47000         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47001         <kernel-features.h>.
47002         [__ASSUME_32BITUIDS]: Make code unconditional.
47003         [!__ASSUME_32BITUIDS]: Remove conditional code.
47004         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47005         <kernel-features.h>.
47006         [__ASSUME_32BITUIDS]: Make code unconditional.
47007         [!__ASSUME_32BITUIDS]: Remove conditional code.
47008         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47009         <kernel-features.h>.
47010         [__ASSUME_32BITUIDS]: Make code unconditional.
47011         [!__ASSUME_32BITUIDS]: Remove conditional code.
47012         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47013         <kernel-features.h>.
47014         [__ASSUME_32BITUIDS]: Make code unconditional.
47015         [!__ASSUME_32BITUIDS]: Remove conditional code.
47016         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47017         <kernel-features.h>.
47018         [__ASSUME_32BITUIDS]: Make code unconditional.
47019         [!__ASSUME_32BITUIDS]: Remove conditional code.
47020         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47021         <kernel-features.h>.
47022         [__ASSUME_32BITUIDS]: Make code unconditional.
47023         [!__ASSUME_32BITUIDS]: Remove conditional code.
47024         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47025         <kernel-features.h>.
47026         [__ASSUME_32BITUIDS]: Make code unconditional.
47027         [!__ASSUME_32BITUIDS]: Remove conditional code.
47028         * sysdeps/unix/sysv/linux/kernel-features.h
47029         (__ASSUME_SETRESUID_SYSCALL): Remove.
47030         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47031         (__ASSUME_32BITUIDS): Likewise.
47032         (__ASSUME_LDT_WORKS): Likewise.
47033         (__ASSUME_O_DIRECTORY): Likewise.
47034         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47035         architecture but not kernel version.
47036         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47037         (__ASSUME_MMAP2_SYSCALL): Likewise.
47038         (__ASSUME_STAT64_SYSCALL): Likewise.
47039         (__ASSUME_IPC64): Likewise.
47040         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47041         <kernel-features.h>.
47042         [__ASSUME_32BITUIDS]: Make code unconditional.
47043         [!__ASSUME_32BITUIDS]: Remove conditional code.
47044         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47045         <kernel-features.h>.
47046         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47047         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47048         132096]: Remove conditional code.
47049         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47050         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47051         <kernel-features.h>.
47052         [__ASSUME_32BITUIDS]: Make code unconditional.
47053         [!__ASSUME_32BITUIDS]: Remove conditional code.
47054         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47055         <kernel-features.h>.
47056         [__ASSUME_32BITUIDS]: Make code unconditional.
47057         [!__ASSUME_32BITUIDS]: Remove conditional code.
47058         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47059         <kernel-features.h>.
47060         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47061         unconditional.
47062         (__setresgid): Do not declare.
47063         [__ASSUME_32BITUIDS]: Make code unconditional.
47064         [!__ASSUME_32BITUIDS]: Remove conditional code.
47065         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47066         <kernel-features.h>.
47067         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47068         unconditional.
47069         (__setresuid): Do not declare.
47070         [__ASSUME_32BITUIDS]: Make code unconditional.
47071         [!__ASSUME_32BITUIDS]: Remove conditional code.
47072         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47073         <kernel-features.h>.
47074         [__ASSUME_32BITUIDS]: Make code unconditional.
47075         [!__ASSUME_32BITUIDS]: Remove conditional code.
47076         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47077         <kernel-features.h>.
47078         [__ASSUME_32BITUIDS]: Make code unconditional.
47079         [!__ASSUME_32BITUIDS]: Remove conditional code.
47081 2012-05-25  Richard Henderson  <rth@twiddle.net>
47083         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47084         dl_hwcap to ifunc resolver.
47085         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47086         elf_ifunc_invoke.
47087         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47088         dl_hwcap to ifunc resolver.
47089         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47091 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47093         [BZ #14153]
47094         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47095         for |x| <= 2**-26, not 2**-57.
47096         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47097         exception.
47099 2012-05-24  Jeff Law  <law@redhat.com>
47101         * stdio-common/Makefile (tests): Add bug25.
47102         * stdio-common/bug25.c: New test.
47104 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47106         [BZ #13576]
47107         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47108         multiple of MALLOC_ALIGNMENT in size.
47109         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47111 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47113         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47114         Require >= 256.
47115         (FILENAME_MAX): Use macro-int-constant.
47116         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47117         (_IOFBF): Use macro-int-constant.
47118         (_IOLBF): Likewise.
47119         (_IONBF): Likewise.
47120         (SEEK_CUR): Likewise.
47121         (SEEK_END): Likewise.
47122         (SEEK_SET): Likewise.
47123         (TMP_MAX): Likewise.
47124         (EOF): Use macro-int-constant.  Require < 0.
47125         (NULL): Use macro-constant.  Require == 0.
47126         (stdin): Require type to be FILE *.
47127         (stdout): Likewise.
47128         (stderr): Likewise.
47129         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47130         macro-int-constant.
47131         (EXIT_SUCCESS): Likewise.
47132         (NULL): Use macro-constant.  Require == 0.
47133         (RAND_MAX): Use macro-int-constant.
47134         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47135         [C99-based standards] (strtof): Require function.
47136         [C99-based standards] (strtold): Likewise.
47137         [C99-based standards] (strtoll): Likewise.
47138         [C99-based standards] (strtoull): Likewise.
47139         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47140         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47141         [ISO || ISO99 || ISO11] (math.h): Likewise.
47142         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47143         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47144         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47146 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47148         [BZ #14132]
47149         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47150         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47151         * intl/dgettext.c (DCGETTEXT): Likewise.
47152         * intl/gettext.c (DCGETTEXT): Likewise.
47153         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47154         * posix/regex_internal.h (gettext): Likewise.
47155         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47156         Remove declaration.
47157         * include/argz.h (__argz_count_internal)
47158         (__argz_stringify_internal): Remove declaration.
47159         (__argz_count, __argz_stringify): Declare hidden proto.
47160         * intl/dcgettext.c: Remove use of INTDEF.
47161         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47162         * string/argz-stringify.c: Likewise.
47163         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47164         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47165         Declare hidden proto.
47166         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47167         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47168         Declare hidden proto.
47169         * include/stdio.h (__asprintf_internal): Don't declare.
47170         (__asprintf): Don't define as macro.  Declare hidden proto.
47171         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47172         (__fsetlocking): Declare hidden proto.
47173         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47174         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47175         hidden proto.
47176         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47177         (_IO_setlinebuf): Remove use of INTUSE.
47178         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47179         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47180         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47181         Remove declaration.
47182         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47183         (_IO_do_flush): Remove use of INTUSE.
47184         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47185         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47186         (_IO_adjust_column, _IO_least_wmarker)
47187         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47188         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47189         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47190         (_IO_default_doallocate, _IO_wdefault_doallocate)
47191         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47192         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47193         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47194         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47195         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47196         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47197         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47198         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47199         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47200         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47201         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47202         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47203         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47204         proto.
47205         (_IO_flush_all_internal, _IO_adjust_column_internal)
47206         (_IO_default_uflow_internal, _IO_default_finish_internal)
47207         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47208         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47209         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47210         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47211         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47212         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47213         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47214         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47215         (_IO_file_close_internal, _IO_file_close_it_internal)
47216         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47217         (_IO_file_init_internal, _IO_file_attach_internal)
47218         (_IO_file_fopen_internal, _IO_file_read_internal)
47219         (_IO_file_sync_internal, _IO_file_seek_internal)
47220         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47221         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47222         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47223         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47224         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47225         (_IO_list_all_internal, _IO_link_in_internal)
47226         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47227         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47228         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47229         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47230         (_IO_do_write_internal, _IO_padn_internal)
47231         (_IO_getline_info_internal, _IO_getline_internal)
47232         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47233         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47234         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47235         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47236         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47237         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47238         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47239         with libc_hidden_ver, remove use of INTUSE.
47240         * libio/genops.c: Likewise.
47241         * libio/freopen.c: Likewise.
47242         * libio/freopen64.c: Likewise.
47243         * libio/iofclose.c: Likewise.
47244         * libio/iofdopen.c: Likewise.
47245         * libio/iofflush.c: Likewise.
47246         * libio/iofflush_u.c: Likewise.
47247         * libio/iofgets.c: Likewise.
47248         * libio/iofgets_u.c: Likewise.
47249         * libio/iofopen.c: Likewise.
47250         * libio/iofopncook.c: Likewise.
47251         * libio/iofread.c: Likewise.
47252         * libio/iofread_u.c: Likewise.
47253         * libio/ioftell.c: Likewise.
47254         * libio/iofwrite.c: Likewise.
47255         * libio/iogetline.c: Likewise.
47256         * libio/iogets.c: Likewise.
47257         * libio/iogetwline.c: Likewise.
47258         * libio/iopadn.c: Likewise.
47259         * libio/iopopen.c: Likewise.
47260         * libio/ioseekoff.c: Likewise.
47261         * libio/ioseekpos.c: Likewise.
47262         * libio/iosetbuffer.c: Likewise.
47263         * libio/iosetvbuf.c: Likewise.
47264         * libio/ioungetc.c: Likewise.
47265         * libio/ioungetwc.c: Likewise.
47266         * libio/iovdprintf.c: Likewise.
47267         * libio/iovsprintf.c: Likewise.
47268         * libio/iovsscanf.c: Likewise.
47269         * libio/memstream.c: Likewise.
47270         * libio/obprintf.c: Likewise.
47271         * libio/oldfileops.c: Likewise.
47272         * libio/oldiofclose.c: Likewise.
47273         * libio/oldiofdopen.c: Likewise.
47274         * libio/oldiofopen.c: Likewise.
47275         * libio/oldiopopen.c: Likewise.
47276         * libio/oldstdfiles.c: Likewise.
47277         * libio/putc.c: Likewise.
47278         * libio/setbuf.c: Likewise.
47279         * libio/setlinebuf.c: Likewise.
47280         * libio/stdfiles.c: Likewise.
47281         * libio/strops.c: Likewise.
47282         * libio/vasprintf.c: Likewise.
47283         * libio/vscanf.c: Likewise.
47284         * libio/vsnprintf.c: Likewise.
47285         * libio/vswprintf.c: Likewise.
47286         * libio/wfiledoalloc.c: Likewise.
47287         * libio/wfileops.c: Likewise.
47288         * libio/wgenops.c: Likewise.
47289         * libio/wmemstream.c: Likewise.
47290         * libio/wstrops.c: Likewise.
47291         * libio/__fpurge.c: Likewise.
47292         * libio/__fsetlocking.c: Likewise.
47293         * assert/assert.c: Likewise.
47294         * debug/fgets_chk.c: Likewise.
47295         * debug/fgets_u_chk.c: Likewise.
47296         * debug/fread_chk.c: Likewise.
47297         * debug/fread_u_chk.c: Likewise.
47298         * debug/gets_chk.c: Likewise.
47299         * debug/obprintf_chk.c: Likewise.
47300         * debug/vasprintf_chk.c: Likewise.
47301         * debug/vdprintf_chk.c: Likewise.
47302         * debug/vsnprintf_chk.c: Likewise.
47303         * debug/vsprintf_chk.c: Likewise.
47304         * malloc/mtrace.c: Likewise.
47305         * misc/error.c: Likewise.
47306         * misc/syslog.c: Likewise.
47307         * stdio-common/asprintf.c: Likewise.
47308         * stdio-common/fxprintf.c: Likewise.
47309         * stdio-common/getw.c: Likewise.
47310         * stdio-common/isoc99_fscanf.c: Likewise.
47311         * stdio-common/isoc99_scanf.c: Likewise.
47312         * stdio-common/isoc99_vfscanf.c: Likewise.
47313         * stdio-common/isoc99_vscanf.c: Likewise.
47314         * stdio-common/isoc99_vsscanf.c: Likewise.
47315         * stdio-common/printf-prs.c: Likewise.
47316         * stdio-common/printf_fp.c: Likewise.
47317         * stdio-common/printf_fphex.c: Likewise.
47318         * stdio-common/printf_size.c: Likewise.
47319         * stdio-common/putw.c: Likewise.
47320         * stdio-common/scanf.c: Likewise.
47321         * stdio-common/sprintf.c: Likewise.
47322         * stdio-common/tmpfile.c: Likewise.
47323         * stdio-common/vfprintf.c: Likewise.
47324         * stdio-common/vfscanf.c: Likewise.
47325         * stdlib/strfmon_l.c: Likewise.
47326         * sunrpc/openchild.c: Likewise.
47327         * sunrpc/xdr_stdio.c: Likewise.
47328         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47329         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47331 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47333         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47335         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47336         in the third column, to generate for the shared library an IFUNC
47337         that uses _dl_vdso_vsym.
47338         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47339         * Makeconfig (object-suffixes-noshared): New variable.
47341         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47342         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47343         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47344         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47346         [BZ #14132]
47347         * include/sys/time.h (__gettimeofday): Remove macro.
47348         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47349         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47350         Remove INTDEF.
47351         (__gettimeofday): Add libc_hidden_def.
47352         (gettimeofday): Add libc_hidden_weak.
47353         * sysdeps/mach/gettimeofday.c: Likewise.
47354         * sysdeps/posix/gettimeofday.c: Likewise.
47355         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47356         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47358         (__gettimeofday_internal): Remove strong_alias.
47359         (__gettimeofday): Add libc_hidden_def.
47360         (gettimeofday): Add libc_hidden_weak.
47361         * sysdeps/unix/syscalls.list (gettimeofday):
47362         Remove __gettimeofday_internal alias.
47364 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47365             H.J. Lu  <hongjiu.lu@intel.com>
47367         [BZ #12495]
47368         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47369         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47370         (largebin_index_32_big): New.
47371         (largebin_index): Use it for 16-byte alignment.
47372         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47373         correction with front_misalign.
47375 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47379         Likewise.
47380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47381         Likewise.
47382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47383         Likewise.
47384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47385         Likewise.
47386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47387         Likewise.
47388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47389         Likewise.
47390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47391         Likewise.
47392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47393         Likewise.
47394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47395         Likewise.
47396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47397         Likewise.
47398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47399         Likewise.
47400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47401         Likewise.
47403         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47404         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47406 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47408         [BZ #10846]
47409         [BZ #14036]
47410         * math/libm-test.inc (exp_test): Add test from bug 14036.
47411         (pow_test): Add test from bug 10846.
47413         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47414         and other flags.
47415         (special_function): Do not include flags in test name.
47416         (parse_args): Likewise.
47417         * sysdeps/i386/fpu/libm-test-ulps: Update.
47418         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47419         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47420         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47423         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47424         exceptions.
47425         * math/libm-test.inc ("Philosophy"): Update comment about
47426         exception testing.
47427         (UNDERFLOW_EXCEPTION): New macro.
47428         (UNDERFLOW_EXCEPTION_OK): Likewise.
47429         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47430         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47431         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47432         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47433         (INVALID_EXCEPTION_OK): Update value.
47434         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47435         (OVERFLOW_EXCEPTION_OK): Likewise.
47436         (IGNORE_ZERO_INF_SIGN): Likewise.
47437         (test_exceptions): Handle underflow exceptions.
47438         (acos_test): Update for underflow exception expectations.
47439         (cexp_test): Likewise.
47440         (clog_test): Likewise.
47441         (clog10_test): Likewise.
47442         (csqrt_test): Likewise.
47443         (ctan_test): Likewise.
47444         (ctanh_test): Likewise.
47445         (exp_test): Likewise.
47446         (exp10_test): Likewise.
47447         (exp2_test): Likewise.
47448         (expm1_test): Likewise.
47449         (fma_test): Likewise.
47450         (j0_test): Likewise.
47451         (jn_test): Likewise.
47452         (nexttoward_test): Likewise.
47453         (pow_test): Likewise.
47454         (scalbn_test): Likewise.
47455         (scalbln_test): Likewise.
47456         (tan_test): Likewise.
47457         (y1_test): Likewise.
47458         * sysdeps/i386/fpu/libm-test-ulps: Update.
47459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47461 2012-05-23  David S. Miller  <davem@davemloft.net>
47463         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47464         (__libc_sigaction): Remove unused local variables.
47466 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47468         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47470 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47472         mktime: avoid signed integer overflow
47473         * time/mktime.c (__mktime_internal): Do not mishandle the case
47474         where diff == INT_MIN.
47476         mktime: simplify computation of average
47477         * time/mktime.c (ranged_convert): Use new time_t_avg function
47478         instead of rolling our own (probably-slower) code.
47480         mktime: do not assume signed right shift propagates sign bit
47481         * time/mktime.c (isdst_differ): New static function.
47482         (__mktime_internal): No need to normalize tm_isdst now.
47483         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47484         tm_isdst values.
47486         mktime: merge another wrapv change from gnulib
47487         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47488         from some compilers.
47490         mktime: remove incorrect attempt at unusual arithmetics
47491         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47492         The code didn't really work on such machines anyway.
47493         (TYPE_MINIMUM): Assume two's complement.
47494         (twos_complement_arithmetic): Verify that long_int and time_t
47495         are two's complement (or unsigned, in the latter case).
47497         mktime: check signed shifts on long_int and time_t, too
47498         * time/mktime.c (SHR): Check that shifts work as desired
47499         on the types long_int and time_t too, as SHR is used on
47500         such types.
47502         mktime: do not assume 'long' is wide enough
47503         * time/mktime.c (verify): Move decl up.
47504         (long_int): New type.
47505         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47506         to remove assumption in the code that 'long' is wide enough to
47507         store year values.  This assumption is not true on x32 and on
47508         some non-glibc platforms.
47510         mktime: merge wrapv change from gnulib
47511         * time/mktime.c (WRAPV): New macro.
47512         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47513         (guess_time_tm, __mktime_internal): Do not assume that signed
47514         integer overflow wraps around; modern compilers generate code
47515         where this assumption is no longer valid.
47517 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47519         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47520         Replace "jmp L(pseudo_end)" with "ret".
47521         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47522         Likewise.
47524 2012-05-23  Andreas Jaeger  <aj@suse.de>
47526         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47527         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47529 2012-05-23  Andreas Jaeger  <aj@suse.de>
47530             Maximilian Attems  <max@stro.at>
47532         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47533         New macros.
47535 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47537         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47538         code so that pseudo_end is just ret and the stack pointer is
47539         correct also for static library in error case.
47541 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47543         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47544         move to syscalls.list.
47545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47550         * manual/install.texi (Running make install): Do not mention Linux
47551         kernel version for which pt_chown is not needed.
47552         (Linux): Do not mention problems with nscd with 2.0 kernels.
47553         * INSTALL: Regenerated.
47555 2012-05-23  Andreas Jaeger  <aj@suse.de>
47557         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47558         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47559         macro.
47560         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47561         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47562         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47563         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47564         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47565         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47566         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47567         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47568         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47569         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47570         * sysdeps/unix/sysv/linux/bits/in.h
47571         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47573 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47575         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47576         (PREPARE_VERSION): Just use assert instead, it will be elided
47577         under [NDEBUG] anyway.
47579 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47581         * sysdeps/unix/sysv/linux/Makefile: Include
47582         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47583         (sysdep_routines): Remove sysctl.
47584         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47585         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47586         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47587         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47588         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47590 2012-05-22  Andreas Jaeger  <aj@suse.de>
47592         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47593         that pseudo_end is just ret and the stack pointer is correct also
47594         for static library in error case.
47596 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47598         [BZ #14122]
47599         * nss/nsswitch.c (defconfig_entries): New variable.
47600         (__nss_database_lookup): Don't leak defconfig entries.
47601         (nss_parse_service_list): Don't leak on error paths.
47602         (free_database_entries): New function.
47603         (free_defconfig): New function.
47604         (free_mem): Move common code to free_database_entries.
47606 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47608         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47609         Add arch_prctl.
47610         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47612         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47613         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47615         New macro.
47616         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47617         (INTERNAL_SYSCALL_TYPES): Likewise.
47618         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47619         (LOAD_REGS_TYPES_[1-6]): Likewise.
47620         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47621         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47623 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47625         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47626         copysignl for GLIBC_2_0.
47627         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47628         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47629         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47630         logbl for GLIBC_2_0.
47631         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47632         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47634 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47636         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47637         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47639         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47640         Use "neg %eax".
47642         * time/mktime.c: Update copyright years.
47644 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47646         mktime: merge comment-quoting-style change from gnulib
47647         * time/mktime.c: Quote 'like this' in comments.
47648         The GNU coding standards suggest that we no longer quote `like this',
47649         as "`" and "'" are typically rendered asymmetrically nowadays.
47650         The typical gnulib style is to quote 'like this' when quoting
47651         code, and "like this" when quoting English.
47653         * time/mktime.c (compile-command): Add "-I.".
47655         mktime: merge mktime-internal.h change from gnulib
47656         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47658         mktime: merge time_r change from gnulib
47659         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47661         mktime: merge DEBUG change from gnulib
47662         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47663         case system <time.h> has a #define.
47665         mktime: merge <sys/types.h> change from gnulib
47666         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47667         since <time.t> is now guaranteed to define time_t.
47669         mktime: merge HAVE_CONFIG_H change from gnulib
47670         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47672 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47675         Use "neg %eax".
47677         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47678         __rlim_t cast.
47679         (struct rusage): Use anonymous union to pad each field to
47680         __syscall_slong_t.
47682 2012-05-21  David S. Miller  <davem@davemloft.net>
47684         * Makefules (o-iterator): Remove .s cases.
47685         (compile-command.s): Delete.
47686         (COMPILE.s): Delete.
47687         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47689 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47691         * configure.in (libc_cv_predef_stack_protector): Only consider
47692         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47693         * configure: Regenerated.
47695 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47698         New macro.  Use R*LP on int and pointer.
47699         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47700         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47701         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47702         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47704         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47705         [__WORDSIZE_TIME64_COMPAT32] instead of
47706         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47707         (struct utmp): Likewise.
47708         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47709         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47710         Renamed to ...
47711         (__WORDSIZE_TIME64_COMPAT32): This.
47712         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47713         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47714         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47715         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47716         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47717         (__WORDSIZE_TIME64_COMPAT32): New macro.
47719 2012-05-21  Andreas Jaeger  <aj@suse.de>
47721         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47722         only if [SHARED]. Add prototype for __wcschr_ia32.
47724 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47726         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47727         of %rbp unmolested in the jmp_buf while mangling the low bits.
47728         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47729         unmolested high bits of %rbp while demangling the low bits.
47730         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47732 2012-05-21  Andreas Jaeger  <aj@suse.de>
47734         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47735         * sunrpc/svc_simple.c: Use it for registerrpc.
47736         * sunrpc/xcrypt.c: Use it for passwd2des.
47738         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47740 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47742         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47743         Don't define if [__SYSCALL_WORDSIZE != 32].
47744         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47745         New macro.
47747 2012-05-21  Bruno Haible  <bruno@clisp.org>
47748             Andreas Jaeger  <aj@suse.de>
47750         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47751         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47752         inptr and inend for must_buffer_ch.
47753         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47754         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47755         * stdio-common/Makefile (tests): Remove bug15.
47756         (bug15-ENV): Remove macro.
47757         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47758         anymore.
47760 2012-05-19  Andreas Jaeger  <aj@suse.de>
47761             Roland McGrath  <roland@hack.frob.com>
47763         * manual/contrib.texi: Completely rewritten. It contains now an
47764         alphabetical list of contributors and their contributions.
47766 2012-05-21  Richard Henderson  <rth@twiddle.net>
47768         * misc/getauxval.c (__getauxval): Use unsigned long int.
47769         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47770         (getauxval): Use unsigned long int.
47772 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47774         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47776 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47778         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47779         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47780         __alignof__ (long double).
47782 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47786 2012-05-20  Richard Henderson  <rth@twiddle.net>
47788         * misc/getauxval.c: New file.
47789         * misc/sys/auxv.h: New file.
47790         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47791         (routines): Add getauxval.
47792         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47793         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47794         * elf/dl-sysdep.c (_dl_auxv): Remove.
47795         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47796         * elf/dl-support.c (_dl_auxv): New variable.
47797         (_dl_aux_init): Initialize it.
47798         * manual/startup.texi (Auxiliary Vector): New node.
47799         * sysdeps/generic/bits/hwcap.h: New file.
47800         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47801         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47802         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47803         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47804         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47807         Update.
47808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47817 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47821 2012-05-19  David S. Miller  <davem@davemloft.net>
47823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47825 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47827         [BZ #14123]
47828         * math/s_ccosh.c: Include <float.h>
47829         (__ccosh): Avoid internal overflow calculating sinh and cosh
47830         values before multiplying by sin and cos values.
47831         * math/s_ccoshf.c: Likewise.
47832         * math/s_ccoshl.c: Likewise.
47833         * math/s_csin.c: Likewise.
47834         * math/s_csinf.c: Likewise.
47835         * math/s_csinl.c: Likewise.
47836         * math/s_csinh.c: Likewise.
47837         * math/s_csinhf.c: Likewise.
47838         * math/s_csinhl.c: Likewise.
47839         * math/libm-test.inc (ccos_test): Add more tests.
47840         (ccosh_test): Likewise.
47841         (csin_test): Likewise.
47842         (csinh_test): Likewise.
47843         * sysdeps/i386/fpu/libm-test-ulps: Update.
47844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47846 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47848         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47849         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47851         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47853 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47855         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47856         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47857         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47858         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47859         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47860         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47861         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47862         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47863         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47864         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47865         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47866         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47867         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47868         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47869         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47870         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47871         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47872         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47873         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47874         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47875         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47876         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47877         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47878         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47879         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47880         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47881         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47882         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47883         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47884         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47885         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47887 2012-05-18  Andreas Jaeger  <aj@suse.de>
47889         * csu/.gitignore: Delete.
47891 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47893         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47894         (timex): Use __syscall_slong_t.
47896 2012-05-18  Andreas Jaeger  <aj@suse.de>
47897             Carlos O'Donell  <carlos_odonell@mentor.com>
47899         * manual/install.texi (Configuring and compiling): Update
47900         description about files modified in the source directory.
47901         * INSTALL: Regenerated.
47903 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47905         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47906         value.  Use "or" to set return value to -1.
47907         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47908         negate return value.
47910 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47912         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47913         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47914         failure if the compiler has Graphite support disabled.
47915         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47916         Likewise.
47917         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47918         (CFLAGS-memmove.c): Likewise.
47919         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47920         Likewise.
47922 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47924         * sysdeps/x86_64/x32/_itoa.h: New file.
47926         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47927         getdents system call only if kernel and user dirents have the
47928         same d_ino and d_off.
47930         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47931         LLONG_MAX != LONG_MAX.
47932         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47933         (_fitoa_word): Likewise.
47935         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47936         years.
47937         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47938         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47939         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47941         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47942         include <bits/wordsize.h>.  Check __x86_64__ instead of
47943         __WORDSIZE.
47944         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47945         if __x86_64__ is defined.  Use anonymous union on fpstate.
47947         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47948         anonymous union.
47950 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47952         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47953         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47954         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47955         Refer to _rtld_local_ro instead of _rtld_global_ro.
47956         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47957         Likewise.
47958         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47959         Likewise.
47960         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47961         Likewise.
47962         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47963         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47964         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47966         * sysdeps/powerpc/powerpc32/dl-machine.c
47967         (__elf_machine_runtime_setup) [PROF]: Don't reference
47968         _dl_prof_resolve.
47970 2012-05-18  Andreas Jaeger  <aj@suse.de>
47972         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47973         function only available for GCCs before 3.4 since GCC 3.4
47974         introduced a builtin.
47975         (lrint): Likewise.
47976         (llrintf): Likewise.
47977         (llrint): Likewise.
47978         (fmaxf): Likewise.
47979         (fmax): Likewise.
47980         (fminf): Likewise.
47981         (fmin): Likewise.
47982         (rint): Likewise.
47983         (rintf): Likewise.
47984         (nearbyint): Likewise.
47985         (nearbyintf): Likewise.
47986         (ceil): Likewise.
47987         (ceilf): Likewise.
47988         (floor): Likewise.
47989         (floorf): Likewise.
47991 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47993         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47994         on both fields and cast pointer to __syscall_ulong_t.
47996         * bits/types.h (__fsword_t): New type.
47997         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47998         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47999         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48000         (__FSWORD_T_TYPE): Likewise.
48001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48002         (__FSWORD_T_TYPE): Likewise.
48003         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48004         (__FSWORD_T_TYPE): Likewise.
48005         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48006         (__FSWORD_T_TYPE): Likewise.
48007         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48008         __SWORD_TYPE with __fsword_t.
48009         (statfs64): Likewise.
48011 2012-05-17  David S. Miller  <davem@davemloft.net>
48013         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48015 2012-05-17  Andreas Jaeger  <aj@suse.de>
48017         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48018         warning.
48020 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48022         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48024 2012-05-17  Andreas Jaeger  <aj@suse.de>
48026         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48027         when it is used.
48029 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48031         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48033 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48035         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48036         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48038 2012-05-17  Andreas Jaeger  <aj@suse.de>
48039             Carlos O'Donell  <carlos_odonell@mentor.com>
48041         [BZ #14059]
48042         * sysdeps/x86_64/multiarch/init-arch.h
48043         (bit_YMM_Usable): Rename to...
48044         (bit_AVX_Usable): ... this.
48045         (bit_FMA4_Usable): New macro.
48046         (bit_XMM_state): New macro.
48047         (bit_YMM_state): New macro.
48048         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48049         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48050         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48051         (CPUID_OSXSAVE): New macro.
48052         (CPUID_AVX): New macro.
48053         (CPUID_FMA4): New macro.
48054         (index_YMM_Usable): Rename to...
48055         (index_AVX_Usable): ... this.
48056         (HAS_AVX): Use HAS_ARCH_FEATURE.
48057         (HAS_FMA4): Likewise.
48058         (HAS_YMM_USABLE): Remove.
48059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48060         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48061         are present.
48062         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48063         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48064         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48065         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48066         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48068 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48070         * math/libm-test.c: Support platforms without multiple rounding modes.
48071         * math/bug-nextafter.c: Support platforms without FP exceptions.
48072         * math/bug-nexttoward.c: Likewise.
48073         * math/test-fenv.c: Likewise.
48074         * math/test-misc.c: Likewise.
48075         * stdlib/bug-getcontext.c: Likewise.
48077 2012-05-17  Andreas Jaeger  <aj@suse.de>
48079         * manual/examples/search.c (critter_cmp): Change signature to
48080         avoid warnings.
48081         * manual/string.texi (Collation Functions): Likewise.
48083 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48085         * bits/types.h: Fold copyright years.
48086         * bits/typesizes.h: Likewise.
48087         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48089         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48090         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48091         * time/time.h: Likewise.
48093 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48095         [BZ #208]
48096         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48097         in instead of returning them.  Return void.
48098         (__libc_mallinfo): Accumulate over all arenas.
48099         (__malloc_stats): Adjust for change in int_mallinfo interface.
48101 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48103         [BZ #10375]
48104         * configure.in (NM): Add AC_CHECK_TOOL for it.
48105         (libc_extra_cflags): New substituted variable.
48106         Check for -fstack-protector being used implicitly.
48107         * configure: Regenerated.
48108         * config.make.in (config-extra-cflags): New variable,
48109         gets @libc_extra_cflags@.
48110         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48112         [BZ #10375]
48113         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48114         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48115         * configure: Regenerated.
48116         * config.make.in (CPPUNDEFS): New substituted variable.
48117         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48118         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48119         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48121 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48123         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48124         (mq_attr): Use __syscall_slong_t.
48126 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48128         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48129         Check __x86_64__ instead of __WORDSIZE.
48130         (_STAT_VER_LINUX): Likewise.
48131         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48132         __syscall_ulong_t and __syscall_slong_t.
48133         (stat64): Likewise.
48135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48137         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48139 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48141         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48143 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48145         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48146         __syscall_ulong_t.
48148         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48149         include <bits/wordsize.h>.  Check __x86_64__ instead of
48150         __WORDSIZE.
48151         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48152         defined.
48153         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48155         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48156         include <bits/wordsize.h>.  Check __x86_64__ instead of
48157         __WORDSIZE.
48158         (user_regs_struct): Use "__extension__ unsigned long long"
48159         instead of "unsigned long" if __x86_64__ is defined.
48160         (user): Likewise.  Pad after pointer field if __ILP32__ is
48161         defined.
48163 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48165         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48166         versions 5 to 9.
48167         * configure: Regenerated.
48168         * manual/install.texi (texinfo): Increase version requirement to
48169         4.5 or later.
48170         * INSTALL: Regenerated.
48172         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48174 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48176         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48178         * sysdeps/x86_64/x32/ffs.c: New file.
48180         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48181         __syscall_ulong_t.
48182         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48183         defined.  Use __syscall_ulong_t.
48184         (shminfo): Use __syscall_ulong_t.
48185         (shm_info): Likewise.
48187         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48188         __syscall_ulong_t.
48190         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48191         <bits/wordsize.h>.
48192         (msgqnum_t): Use __syscall_ulong_t.
48193         (msglen_t): Likewise.
48194         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48195         __syscall_ulong_t.
48197         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48198         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48200         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48202         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48203         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48205         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48206         __syscall_slong_t.
48208         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48209         include <bits/wordsize.h>.  Check __x86_64__ instead of
48210         __WORDSIZE.
48212         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48213         "unsigned long long int" if __x86_64__ is defined.
48214         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48216         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48217         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48218         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48220         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48221         <stdint.h>.
48222         (GET_PC): Cast to uintptr_t first.
48223         (GET_FRAME): Likewise.
48224         (GET_STACK): Likewise.
48226         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48227         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48228         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48229         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48230         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48231         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48232         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48233         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48234         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48235         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48236         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48237         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48238         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48239         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48240         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48241         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48242         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48243         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48244         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48245         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48246         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48247         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48248         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48249         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48250         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48251         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48252         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48253         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48254         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48256 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48258         * Makerules (+depfiles): Also collect depfiles from .oS in
48259         $(extra-objs).
48260         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48261         .oS, $(libnldbl-routines)).
48263         * Makerules (native-compile-mkdep-flags): Define.
48264         * sunrpc/Makefile (extra-objs): Add $(addprefix
48265         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48266         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48267         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48268         calling $(make-target-directory).
48270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48272         * bits/types.h (__snseconds_t): Removed.
48273         * time/time.h (struct timespec): Replace __snseconds_t with
48274         __syscall_slong_t.
48275         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48276         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48277         Likewise.
48278         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48279         (__SNSECONDS_T_TYPE): Likewise.
48280         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48281         (__SNSECONDS_T_TYPE): Likewise.
48282         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48283         (__SNSECONDS_T_TYPE): Likewise.
48285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48287         * sysdeps/mach/hurd/bits/typesizes.h
48288         (__SYSCALL_SLONG_TYPE): New macro.
48289         (__SYSCALL_ULONG_TYPE): Likewise.
48291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48293         * bits/types.h (__syscall_slong_t): New type.
48294         (__syscall_ulong_t): Likewise.
48296         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48297         (__SYSCALL_ULONG_TYPE): Likewise.
48298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48299         (__SYSCALL_SLONG_TYPE): Likewise.
48300         (__SYSCALL_ULONG_TYPE): Likewise.
48301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48302         (__SYSCALL_SLONG_TYPE): Likewise.
48303         (__SYSCALL_ULONG_TYPE): Likewise.
48304         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48305         (__SYSCALL_SLONG_TYPE): Likewise.
48306         (__SYSCALL_ULONG_TYPE): Likewise.
48308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48310         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48311         Add sigaltstack-offsets.sym.
48312         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48313         <sigaltstack-offsets.h>.
48314         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48315         longjmp_msg pointer.
48316         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48317         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48318         signal stack.
48319         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48321 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48323         * elf/stackguard-macros.h: Remove file.
48324         * sysdeps/generic/stackguard-macros.h: New file.
48325         * sysdeps/i386/stackguard-macros.h: Likewise.
48326         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48327         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48328         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48329         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48330         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48331         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48332         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48333         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48334         <elf/stackguard-macros.h>.
48336         [BZ #14109]
48337         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48338         __aligned__ in attribute.
48339         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48340         (gregset_t): Likewise.
48342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48344         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48345         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48346         * sysdeps/x86_64/x32/Implies-after: New file.
48348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48350         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48351         and access return value for _dl_profile_fixup.  Use R10_LP to
48352         load frame size.
48354 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48356         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48360         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48361         * sysdeps/x86_64/x32/sysdep.h: New file.
48363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48365         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48366         * sysdeps/x86_64/setjmp.S: Likewise.
48368 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48370         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48371         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48372         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48373         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48374         remove unused global constant.
48376 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48378         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48379         include of <not-cancel.h>.
48381 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48383         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48385 2012-05-15  Jeff Law  <law@redhat.com>
48386             Andreas Jaeger  <aj@suse.de>
48388         [BZ #13594]
48389         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48390         out from...
48391         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48392         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48393         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48394         code changing __hst_map_handle.map.
48396 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48398         * configure.in (sysnames): Look for Implies-before and Implies-after
48399         files.
48400         * configure: Regenerated.
48402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48404         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48405         8-byte data alignment with LP_SIZE alignment.
48407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48409         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48410         into R10_LP.
48412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48414         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48418         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48419         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48420         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48421         Likewise.
48422         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48426         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48427         (stackinfo_sub_sp): Likewise.
48429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48431         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48432         RAX_LP.
48434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48436         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48437         into R*_LP.
48439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48441         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48442         sizes into R*_LP.
48444 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48446         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48450         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48451         into R11_LP and load __x86_64_shared_cache_size_half into
48452         R8_LP.
48454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48456         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48457         R8_LP.
48459 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48461         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48462         logb for POWER7.
48463         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48464         logbf for POWER7.
48465         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48466         logbl for POWER7.
48467         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48468         powerpc32/power7/fpu/s_logb.c via #include.
48469         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48470         powerpc32/power7/fpu/s_logbf.c via #include.
48471         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48472         powerpc32/power7/fpu/s_logbl.c via #include.
48474 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48476         * README.libm: Remove file.
48478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48480         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48481         count for x32.  Use R*_LP and omit operand-size suffix.
48483 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48485         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48486         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48487         * sysdeps/x86_64/x32/shlib-versions: New file.
48489 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48491         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48492         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48493         Use _dl_fatal_printf instead.
48495 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48497         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48498         set if not set by the user.  Do not allow for being unset.
48499         * sysdeps/unix/sysv/linux/configure: Regenerated.
48501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48503         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48504         the `q' suffix from lea and replace .quad with ASM_ADDR.
48506 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48509         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48510         instead of $17.
48511         (PTR_DEMANGLE): Likewise.
48513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48515         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48516         (LP_OP): Likewise.
48517         (ASM_ADDR): Likewise.
48518         (RAX_LP): Likewise.
48519         (RBP_LP): Likewise.
48520         (RBX_LP): Likewise.
48521         (RCX_LP): Likewise.
48522         (RDI_LP): Likewise.
48523         (RSI_LP): Likewise.
48524         (RSP_LP): Likewise.
48525         (R8_LP): Likewise.
48526         (R9_LP): Likewise.
48527         (R10_LP): Likewise.
48528         (R10_LP): Likewise.
48529         (R11_LP): Likewise.
48530         (R12_LP): Likewise.
48531         (R13_LP): Likewise.
48532         (R14_LP): Likewise.
48533         (R15_LP): Likewise.
48535 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48537         * sysdeps/x86_64/x32/dl-machine.h: New file.
48539 2012-05-14  Andreas Jaeger  <aj@suse.de>
48541         * manual/Makefile (subdir): Remove export of subdir.
48542         (all): Remove target.
48543         (.PHONY): Remove all from list.
48544         (mkinstalldirs): Remove.
48545         (.PHONY): Remove installdirs from list.
48546         ($(inst_infodir)/libc.info): Use make-target-directory.
48547         (installdirs): Remove.
48548         (subdir_%): Remove.
48549         (glibc-targets): Remove.
48550         (lib): Remove.
48551         (stubs): Remove.
48552         ($(objpfx)stubs ../po/manual.pot): Remove.
48553         ($(objpfx)stamp%): Remove.
48554         (make-target-directory): Remove.
48555         (subdir_install): Remove.
48556         (routines): Remove.
48557         (aux): Remove.
48558         (sources): Remove.
48559         (objects): Remove.
48560         (headers): Remove.
48562         [BZ #13750]
48563         * manual/.gitignore: Remove, it's not needed anymore.
48564         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48565         all files in it.
48566         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48567         directory.
48568         (texis): Renamed to $(objpfx)texis.
48569         (texis-path): New, contains path to generated files.
48570         (chapters.%): Use texis-path for complete path, add extra argument
48571         libc-texinfo.sh.
48572         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48573         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48574         (summary,texi, stamp-summary): Use complete path of
48575         files. Generate files in build dir.
48576         (dir-add.texi): Build in build dir.
48577         (libm-err.texi,stamp-libm-err): Likewise.
48578         (version.texi, stamp-version): Likewise.
48579         (.%c.texi): Likewise.
48580         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48581         (mostlyclean): Remove target.
48582         (realclean): Remove target.
48583         (generated): Add new variable with contents from mostlyclean and
48584         realclean, remove entries duplicated in common-mostlyclean, add
48585         stamp-libm-err and stamp-version.
48586         (generated-dirs): Add libc directory.
48587         ($(inst_infodir)/libc.info): Install files from build dir.
48589         * manual/install.texi (Configuring and compiling): Adjust since
48590         the info files are not part of the tar ball anymore.
48592 2012-05-14  Andreas Jaeger  <aj@suse.de>
48594         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48595         variable.
48597 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48599         [BZ #13717]
48600         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48601         to 2.2.0 where earlier.
48602         * sysdeps/unix/sysv/linux/configure: Regenerated.
48603         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48604         Remove conditional code.
48605         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48606         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48607         Remove conditional code.
48608         [!__NR_lchown]: Likewise.
48609         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48610         [__NR_lchown]: Likewise.
48611         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48612         comment referencing __ASSUME_LCHOWN_SYSCALL.
48613         * sysdeps/unix/sysv/linux/i386/sigaction.c
48614         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48615         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48616         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48617         Remove conditional code.
48618         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48619         (__protocol_available): Remove #if 0 code.
48620         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48621         conditional code.
48622         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48623         * sysdeps/unix/sysv/linux/kernel-features.h
48624         (__ASSUME_GETCWD_SYSCALL): Don't define.
48625         (__ASSUME_REALTIME_SIGNALS): Likewise.
48626         (__ASSUME_PREAD_SYSCALL): Likewise.
48627         (__ASSUME_PWRITE_SYSCALL): Likewise.
48628         (__ASSUME_POLL_SYSCALL): Likewise.
48629         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48630         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48631         non-SPARC.
48632         (__ASSUME_SIOCGIFNAME): Don't define.
48633         (__ASSUME_MSG_NOSIGNAL): Likewise.
48634         (__ASSUME_SENDFILE): Define unconditionally.
48635         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48636         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48637         conditional code.
48638         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48639         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48640         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48641         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48642         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48643         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48644         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48646         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48649         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48652         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48653         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48655         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48658         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48659         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48661         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48662         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48664         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48665         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48667         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48668         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48669         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48670         Remove conditional code.
48671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48672         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48673         Remove conditional code.
48674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48675         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48676         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48677         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48678         Remove conditional code.
48679         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48680         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48681         Remove conditional code.
48682         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48683         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48684         Remove conditional code.
48685         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48686         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48687         Remove conditional code.
48688         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48689         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48690         Remove conditional code.
48691         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48692         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48693         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48694         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48695         * sysdeps/unix/sysv/linux/sigaction.c
48696         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48697         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48698         * sysdeps/unix/sysv/linux/sigpending.c
48699         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48700         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48701         * sysdeps/unix/sysv/linux/sigprocmask.c
48702         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48703         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48704         * sysdeps/unix/sysv/linux/sigsuspend.c
48705         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48706         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48707         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48708         (__libc_missing_rt_sigs): Remove.
48709         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48710         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48711         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48712         Remove conditional code.
48713         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48714         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48715         return 1.
48716         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48717         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48718         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48719         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48721 2012-05-14  Andreas Jaeger  <aj@suse.de>
48723         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48724         it's not used in glibc.
48725         (__coshm1): Likewise.
48726         (__acosh1p): Likewise.
48727         (__sgn): Likewise.
48729         * manual/string.texi (Copying and Concatenation): Add missing
48730         variable in concat example.
48731         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48733 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48735         [BZ #14103]
48736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48737         __builtin_clzl with __builtin_clzll.
48739 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48741         [BZ #14104]
48742         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48743         libc_freeres_ptr.
48745 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48747         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48748         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48749         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48750         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48752 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48754         * NEWS: Update ia64 info.
48756 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48758         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48759         used as bcopy.
48761 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48763         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48764         * sysdeps/unix/syscalls.list (dup3): Likewise.
48765         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48766         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48768 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48770         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48771         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48773 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48775         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48776         thread pointer.
48777         (TLS_IE): Use mov/add instead of movq/addq to load thread
48778         pointer.
48779         (TLS_GD_PREFIX): New.
48780         (TLS_GD): Use it.
48782 2012-05-11  David S. Miller  <davem@davemloft.net>
48784         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48785         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48786         (_FPU_SETCW): Likewise.
48788 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48790         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48791         is 32-byte aligned.
48793 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48795         [BZ #11837]
48796         * iconvdata/gb18030.c: Update tables.
48797         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48798         characters specially.
48799         (BODY for TO_LOOP): Add encoding of missing ranges.
48801 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48803         [BZ #13673]
48804         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48805         * sysdeps/mach/hurd/dup3.c: Likewise.
48806         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48807         * sysdeps/powerpc/memmove.c:: Likewise.
48809 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48811         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48812         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48814 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48816         * elf/elf.h (R_X86_64_RELATIVE64): New.
48817         (R_X86_64_NUM): Updated.
48818         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48819         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48820         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48821         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48822         tst-quad1pie tst-quad2pie
48823         (modules-names): Add tst-quadmod1 tst-quadmod2.
48824         ($(objpfx)tst-quad1): New dependency.
48825         ($(objpfx)tst-quad2): Likewise.
48826         ($(objpfx)tst-quad1pie): Likewise.
48827         ($(objpfx)tst-quad2pie): Likewise.
48828         * sysdeps/x86_64/tst-quad1.c: New file.
48829         * sysdeps/x86_64/tst-quad1pie.c: New file.
48830         * sysdeps/x86_64/tst-quad2.c: Likewise.
48831         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48832         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48833         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48834         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48835         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48837 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48839         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48840         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48841         * streams/stropts.h (t_scalar_t): Define type.
48843         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48844         (_PATH_PRESERVE): Set to "/var/lib".
48845         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48847         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48848         instead of int.
48850         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48851         if __dir_mkfile succeeded.
48853         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48854         checking for _hurd_dtablesize.  Unlock it right after having
48855         finished _hurd_dtable allocation.
48857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48859         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48860         * sysdeps/mach/hurd/configure: Regenerated.
48861         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48862         special-casing to...
48863         * sysdeps/gnu/configure.in: ... this new file.
48864         * sysdeps/unix/sysv/linux/configure: Regenerated.
48865         * sysdeps/gnu/configure: New generated file.
48867         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48868         for Linux: use nsec instead of usec, as well as:
48869         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48870         members of type struct timespec.
48871         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48872         New macros.
48873         (struct stat64): Likewise.
48874         (_STATBUF_ST_NSEC): New macro.
48875         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48877         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48878         __strtoul_internal rather than strtoul.
48880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48882         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48883         and reject them.
48885 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48887         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48888         which preserves existing values.
48889         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48891 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48893         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48894         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48895         greater than FD_SETSIZE.
48897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48899         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48900         allocated, call __vm_protect to finish enabling the existing space, and
48901         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48902         allocate the remainder.
48904 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48906         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48907         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48911         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48912         sysdeps/mach/hurd/readlink.c.
48914         * posix/tst-sysconf.c (posix_options): Only use
48915         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48916         _POSIX_SYNCHRONIZED_IO when they are defined
48917         * sysdeps/mach/hurd/bits/posix_opt.h:
48918         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48919         (_XOPEN_REALTIME): Undefine macro.
48920         (_XOPEN_REALTIME_THREADS): Undefine macro.
48921         (_XOPEN_SHM): Undefine macro.
48922         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48923         macro to -1.
48924         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48925         macro to -1.
48926         (_POSIX_ASYNC_IO): Undefine macro.
48927         (_POSIX_PRIORITIZED_IO): Undefine macro.
48928         (_POSIX_SPIN_LOCKS): Define macro to -1.
48930         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48931         SA_NODEFER, SA_RESETHAND.
48932         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48933         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48934         F_DUPFD_CLOEXEC.
48936 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48938         * elf/Makefile (pldd-modules): Define unconditionally.
48940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48942         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48946         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48947         Return ENOENT when name is empty.
48948         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48950 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48952         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48954         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48958         Fix mlock in all cases except non-readable pages.
48959         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48960         instead of VM_PROT_ALL as parameter to __vm_wire function.
48962         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48963         (__mkdir): When path is `/', just fail with EEXIST.
48964         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48968         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48969         <sys/uio.h> (for writev).
48970         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48971         and <sys/param.h> (for MIN).
48973 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48975         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48976         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48977         if interrupted.
48979 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48981         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48982         Depend on against $(link-rpcuserlibs).
48984 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48986         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48987         (__libc_stack_end): Do not use attribute_relro.
48988         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48989         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48990         to libthread-provided value.
48991         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48992         attribute_relro.
48994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48996         [BZ #3748]
48997         * bits/libc-lock.h (__libc_once_get): New macro.
48998         * sysdeps/mach/bits/libc-lock.h: Likewise.
48999         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49000         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49001         instead of using implementation details.
49003         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49004         * libio/freopen.c: Likewise.
49005         * libio/freopen64.c: Likewise.
49006         * misc/syslog.c: Likewise.
49007         * nscd/connections.c: Likewise.
49008         * nscd/netgroupcache.c: Likewise.
49009         * sysdeps/posix/getcwd.c: Likewise.
49011 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49013         * math/w_ilogbf.c: Add #include <limits.h>.
49015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49017         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49018         path instead of returning without unlocking.
49020         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49021         immediate-write ioctls.
49022         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49024 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49026         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49027         __builtin_frame_address instead of making assumptions about the
49028         location of the return address relative to DATA.  Force early load of
49029         the return address.
49030         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49031         __builtin_frame_address.
49033         dup3 for GNU Hurd.
49034         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49035         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49036         implement dup3 and do some further code clean-ups.
49037         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49038         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49042         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49044         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49045         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49046         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49047         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49048         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49049         d->port.lock.
49051         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49052         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49053         when handler == SIG_ERR, not when handler != SIG_ERR.
49055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49057         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49058         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49059         definitions.
49061         accept4 for GNU Hurd.
49062         * include/sys/socket.h (__libc_accept4): New prototype.
49063         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49064         to implement __libc_accept4.
49065         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49066         __libc_accept4.
49067         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49069         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49070         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49071         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49072         signal-defines.sym.
49074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49076         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49078 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49080         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49081         assertion on O_CLOEXEC flag.
49082         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49083         * hurd/intern-fd.c: Likewise.
49084         * hurd/port2fd.c: Likewise.
49086 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49088         [BZ #3906]
49089         * bits/in.h (IPV6_PKTINFO): Define new macro.
49090         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49092 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49094         [BZ #13954]
49095         [BZ #13955]
49096         [BZ #13956]
49097         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49099         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49100         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49101         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49102         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49103         * math/libm-test.inc (logb_test) : Additional logb tests.
49105 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49106             Andreas Jaeger  <aj@suse.de>
49108         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49109         * configure: Regenerated.
49110         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49111         * config.make.in (link-obsolete-rpc): New substituted variable.
49112         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49113         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49114         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49115         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49116         so that libc.a contains the symbols.
49117         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49118         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49119         * sunrpc/auth_none.c: Likewise.
49120         * sunrpc/auth_unix.c: Likewise.
49121         * sunrpc/authdes_prot.c: Likewise.
49122         * sunrpc/authuxprot.c: Likewise.
49123         * sunrpc/clnt_gen.c: Likewise.
49124         * sunrpc/clnt_perr.c: Likewise.
49125         * sunrpc/clnt_raw.c: Likewise.
49126         * sunrpc/clnt_simp.c: Likewise.
49127         * sunrpc/clnt_tcp.c: Likewise.
49128         * sunrpc/clnt_udp.c: Likewise.
49129         * sunrpc/clnt_unix.c: Likewise.
49130         * sunrpc/des_crypt.c: Likewise.
49131         * sunrpc/des_soft.c: Likewise.
49132         * sunrpc/get_myaddr.c: Likewise.
49133         * sunrpc/key_call.c: Likewise.
49134         * sunrpc/key_prot.c: Likewise.
49135         * sunrpc/netname.c: Likewise.
49136         * sunrpc/pm_getmaps.c: Likewise.
49137         * sunrpc/pm_getport.c: Likewise.
49138         * sunrpc/pmap_clnt.c: Likewise.
49139         * sunrpc/pmap_prot.c: Likewise.
49140         * sunrpc/pmap_prot2.c: Likewise.
49141         * sunrpc/pmap_rmt.c: Likewise.
49142         * sunrpc/publickey.c: Likewise.
49143         * sunrpc/rpc_cmsg.c: Likewise.
49144         * sunrpc/rpc_common.c: Likewise.
49145         * sunrpc/rpc_dtable.c: Likewise.
49146         * sunrpc/rpc_prot.c: Likewise.
49147         * sunrpc/rpc_thread.c: Likewise.
49148         * sunrpc/rtime.c: Likewise.
49149         * sunrpc/svc.c: Likewise.
49150         * sunrpc/svc_auth.c: Likewise.
49151         * sunrpc/svc_raw.c: Likewise.
49152         * sunrpc/svc_run.c: Likewise.
49153         * sunrpc/svc_tcp.c: Likewise.
49154         * sunrpc/svc_udp.c: Likewise.
49155         * sunrpc/svc_unix.c: Likewise.
49156         * sunrpc/svcauth_des.c: Likewise.
49157         * sunrpc/xcrypt.c: Likewise.
49158         * sunrpc/xdr.c: Likewise.
49159         * sunrpc/xdr_array.c: Likewise.
49160         * sunrpc/xdr_float.c: Likewise.
49161         * sunrpc/xdr_intXX_t.c: Likewise.
49162         * sunrpc/xdr_mem.c: Likewise.
49163         * sunrpc/xdr_rec.c: Likewise.
49164         * sunrpc/xdr_ref.c: Likewise.
49165         * sunrpc/xdr_sizeof.c: Likewise.
49166         * sunrpc/xdr_stdio.c: Likewise.
49168 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49170         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49171         change.  Update copyright years.
49173 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49175         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49177 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49178             Joseph Myers  <joseph@codesourcery.com>
49179             Paul Pluzhnikov  <ppluzhnikov@google.com>
49181         [BZ #14012]
49182         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49183         requiring rpcgen.
49184         [cross-compiling] (extra-libs): Likewise.
49185         [cross-compiling] (extra-libs-others): Likewise.
49186         [cross-compiling] (librpcsvc-routines): Likewise.
49187         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49188         [cross-compiling] (omit-deps): Likewise.
49189         (sunrpc-CPPFLAGS): New variable.
49190         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49191         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49192         (cross-rpcgen-objs): New variable.
49193         (extra-objs): Append $(cross-rpcgen-objs).
49194         ($(cross-rpcgen-objs)): New rule.
49195         ($(objpfx)cross-rpcgen): Likewise.
49196         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49197         comment.
49198         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49199         ($(objpfx)x%.stmp): Likewise.
49200         * sunrpc/proto.h [IS_IN_build] (_): Define.
49201         [IS_IN_build] (_libc_intl_domainname): Likewise.
49203 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49206         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49207         and R_X86_64_TPOFF64.
49209 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49211         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49212         sysdeps/unix/sysv/syscalls.list.
49213         (stime): Likewise.
49214         (utime): Likewise.
49215         * sysdeps/unix/sysv/syscalls.list: Remove file.
49217 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49219         [BZ #3440]
49220         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49221         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49222         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49223         (__LC_IDENTIFICATION): Make these macros useful in #if
49224         expressions, as required by C99.
49226 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49228         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49229         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49230         after this.
49232 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49234         * stdlib/longlong.h: Updated from GCC.
49236 2012-05-09  Andreas Jaeger  <aj@suse.de>
49238         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49239         default is first entry.
49240         (run_mode): Set type.
49241         (main): Remove informal message about syslog.
49242         (options): Fix typo.
49244         [BZ #14053]
49245         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49246         to asm.
49247         (lrint): Likewise.
49248         (llrintf): Likewise.
49249         (llrint): Likewise.
49250         (rint): Likewise.
49251         (rintf): Likewise.
49252         (nearbyint): Likewise.
49253         (nearbyintf): Likewise.
49255 2012-05-09  Andreas Jaeger  <aj@suse.de>
49256             Pedro Alves  <palves@redhat.com>
49258         * nscd/nscd.c (run_mode): Use enum.
49259         (main): Cleanup coding style issue.
49261 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49262             Andreas Jaeger  <aj@suse.de>
49264         * nscd/nscd.c (go_background): Replaced with...
49265         (run_mode): ... this.
49266         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49267         (options): Add -F --foreground.
49268         (main): Implement it.
49269         (parse_opt): Parse it.
49271 2012-05-09  Andreas Jaeger  <aj@suse.de>
49273         [BZ #14083]
49274         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49275         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49276         -Wconversion warning.
49277         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49278         Likewise.
49280 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49282         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49283         == 0.
49284         (LC_ALL): Use macro-int-constant.
49285         (LC_COLLATE): Likewise.
49286         (LC_CTYPE): Likewise.
49287         (LC_MESSAGES): Likewise.
49288         (LC_MONETARY): Likewise.
49289         (LC_NUMERIC): Likewise.
49290         (LC_TIME): Likewise.
49291         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49292         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49293         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49294         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49295         Specify type.
49296         [C99-based standards] (float_t): Expect type.
49297         [C99-based standards] (double_t): Expect type.
49298         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49299         type.
49300         [C99-based standards] (HUGE_VALL): Likewise.
49301         [C99-based standards] (INFINITY): Likewise.
49302         [C99-based standards] (NAN): Likewise.
49303         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49304         [C99-based standards] (FP_NAN): Likewise.
49305         [C99-based standards] (FP_NORMAL): Likewise.
49306         [C99-based standards] (FP_SUBNORMAL): Likewise.
49307         [C99-based standards] (FP_ZERO): Likewise.
49308         [C99-based standards] (FP_FAST_FMA): Use
49309         optional-macro-int-constant.  Specify type.  Require == 1.
49310         [C99-based standards] (FP_FAST_FMAF): Likewise.
49311         [C99-based standards] (FP_FAST_FMAL): Likewise.
49312         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49313         [C99-based standards] (FP_ILOGBNAN): Likewise.
49314         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49315         Specify type.
49316         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49317         [C99-based standards] (math_errhandling): Specify type.
49318         [ISO99 || ISO11] (signgam): Do not allow.
49319         [non-C99-based standards] (copysignf): Do not allow.
49320         [non-C99-based standards] (exp2f): Likewise.
49321         [non-C99-based standards] (log2f): Likewise.
49322         [non-C99-based standards] (modff): Allow.
49323         [non-C99-based standards] (erff): Do not allow.
49324         [non-C99-based standards] (erfcf): Likewise.
49325         [non-C99-based standards] (gammaf): Likewise.
49326         [non-C99-based standards] (hypotf): Likewise.
49327         [non-C99-based standards] (j0f): Likewise.
49328         [non-C99-based standards] (j1f): Likewise.
49329         [non-C99-based standards] (jnf): Likewise.
49330         [non-C99-based standards] (lgammaf): Likewise.
49331         [non-C99-based standards] (tgammaf): Likewise.
49332         [non-C99-based standards] (y0f): Likewise.
49333         [non-C99-based standards] (y1f): Likewise.
49334         [non-C99-based standards] (ynf): Likewise.
49335         [non-C99-based standards] (isnanf): Likewise.
49336         [non-C99-based standards] (acoshf): Likewise.
49337         [non-C99-based standards] (asinhf): Likewise.
49338         [non-C99-based standards] (atanhf): Likewise.
49339         [non-C99-based standards] (cbrtf): Likewise.
49340         [non-C99-based standards] (expm1f): Likewise.
49341         [non-C99-based standards] (ilogbf): Likewise.
49342         [non-C99-based standards] (log1pf): Likewise.
49343         [non-C99-based standards] (logbf): Likewise.
49344         [non-C99-based standards] (nextafterf): Likewise.
49345         [non-C99-based standards] (remainderf): Likewise.
49346         [non-C99-based standards] (rintf): Likewise.
49347         [non-C99-based standards] (scalbf): Likewise.
49348         [non-C99-based standards] (copysignl): Likewise.
49349         [non-C99-based standards] (exp2l): Likewise.
49350         [non-C99-based standards] (log2l): Likewise.
49351         [non-C99-based standards] (modfl): Allow.
49352         [non-C99-based standards] (erfl): Do not allow.
49353         [non-C99-based standards] (erfcl): Likewise.
49354         [non-C99-based standards] (gammal): Likewise.
49355         [non-C99-based standards] (hypotl): Likewise.
49356         [non-C99-based standards] (j0l): Likewise.
49357         [non-C99-based standards] (j1l): Likewise.
49358         [non-C99-based standards] (jnl): Likewise.
49359         [non-C99-based standards] (lgammal): Likewise.
49360         [non-C99-based standards] (tgammal): Likewise.
49361         [non-C99-based standards] (y0l): Likewise.
49362         [non-C99-based standards] (y1l): Likewise.
49363         [non-C99-based standards] (ynl): Likewise.
49364         [non-C99-based standards] (isnanl): Likewise.
49365         [non-C99-based standards] (acoshl): Likewise.
49366         [non-C99-based standards] (asinhl): Likewise.
49367         [non-C99-based standards] (atanhl): Likewise.
49368         [non-C99-based standards] (cbrtl): Likewise.
49369         [non-C99-based standards] (expm1l): Likewise.
49370         [non-C99-based standards] (ilogbl): Likewise.
49371         [non-C99-based standards] (log1pl): Likewise.
49372         [non-C99-based standards] (logbl): Likewise.
49373         [non-C99-based standards] (nextafterl): Likewise.
49374         [non-C99-based standards] (remainderl): Likewise.
49375         [non-C99-based standards] (rintl): Likewise.
49376         [non-C99-based standards] (scalbl): Likewise.
49377         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49378         [non-C99-based standards] (FP_*): Do not allow.
49379         [C99-based standards] (FP_*): Change to
49380         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49381         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49382         allow.
49383         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49384         (SIG_ERR): Likewise.
49385         [X/Open-based standards] (SIG_HOLD): Likewise.
49386         (SIG_IGN): Likewise.
49387         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49388         positive value.
49389         (SIGFPE): Likewise.
49390         (SIGILL): Likewise.
49391         (SIGINT): Likewise.
49392         (SIGSEGV): Likewise.
49393         (SIGTER): Likewise.
49394         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49395         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49396         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49397         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49398         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49399         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49400         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49401         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49402         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49403         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49404         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49405         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49406         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49407         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49408         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49409         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49410         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49411         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49412         [X/Open-based standards] (SIGTRAP): Likewise.
49413         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49414         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49415         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49416         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49417         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49418         allow.
49420 2012-05-08  Ian Wienand  <ianw@vmware.com>
49422         [BZ #14080]
49423         * time/tzset.c (__tzset_parse_tz): Update default rules for
49424         daylight time changes in the Energy Policy Act of 2005.
49426 2012-05-09  Andreas Jaeger  <aj@suse.de>
49428         [BZ #13983]
49429         * elf/ldconfig.c (parse_conf): Change string to make clear that
49430         ldconfig only issued a warning if ld.so.conf does not exist.
49432 2012-05-08  David S. Miller  <davem@davemloft.net>
49434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49435         movxtod instead of popping the value on the stack.
49437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49439 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49441         * config.h.in: Add HAVE_ARM_PCS_VFP.
49443 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49445         [BZ #13979]
49446         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49447         checking but the checks are disabled for any reason.
49449 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49451         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49452         and ELF64_R_TYPE with ELFW(R_TYPE).
49454 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49456         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49457         (ulimit): Likewise.
49459         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49460         (settimeofday): Likewise.
49462 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49464         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49465         a struct th_u2 inside the union, and move tu_block/tu_code into
49466         a new th_u3 union of tu_block/tu_code inside of that.  Move
49467         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49468         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49469         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49470         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49471         (th_stuff): Change to th_u1.tu_stuff.
49472         (th_data): Define.
49473         (th_msg): Change to th_u1.th_u2.tu_data.
49475 2012-05-07  David S. Miller  <davem@davemloft.net>
49477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49479         [BZ #14074]
49480         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49481         (SETUP_PIC_REG): Use it.
49482         (SETUP_PIC_REG_LEAF): Use it.
49484 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49486         [BZ #13885]
49487         [BZ #13923]
49488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49489         USE_AS_EXPM1L.
49490         (EXPL_FINITE): Likewise.
49491         (FLDLOG): Likewise.
49492         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49493         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49494         e_expl.S.
49495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49496         USE_AS_EXPM1L.
49497         (EXPL_FINITE): Likewise.
49498         (FLDLOG): Likewise.
49499         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49500         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49501         e_expl.S.
49502         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49503         test of -max_value argument for long double.
49504         * sysdeps/i386/fpu/libm-test-ulps: Update.
49505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49507 2012-05-06  David S. Miller  <davem@davemloft.net>
49509         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49510         quad soft-float symbols whose references which are compiler
49511         generated.
49512         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49514 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49516         [BZ #13884]
49517         [BZ #13914]
49518         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49519         USE_AS_EXP10L.
49520         (EXPL_FINITE): Likewise.
49521         (FLDLOG): Likewise.
49522         (c0): Likewise.
49523         (c1): Likewise.
49524         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49525         Adjust comments for base varying.
49526         (__expl_finite): Change alias to EXPL_FINITE.
49527         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49528         e_expl.S.
49529         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49530         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49531         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49532         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49533         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49534         USE_AS_EXP10L.
49535         (EXPL_FINITE): Likewise.
49536         (FLDLOG): Likewise.
49537         (c0): Likewise.
49538         (c1): Likewise.
49539         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49540         Adjust comments for base varying.
49541         (__expl_finite): Change alias to EXPL_FINITE.
49542         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49543         tests for bugs.
49544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49546         [BZ #14064]
49547         * math/libm-test.inc (check_float_internal): Correct ulp
49548         calculation for subnormal expected results.
49550 2012-05-06  Andreas Jaeger  <aj@suse.de>
49552         * Makeconfig (+math-flags): New, set to -frounding-math.
49553         (+cflags): Add +math-flags so that all of glibc gets compiled with
49554         it.
49556         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49558 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49560         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49561         Disable one test.
49563         [BZ #13787]
49564         [BZ #13922]
49565         [BZ #14036]
49566         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49567         (__ieee754_expl): Allow for and saturate large arguments.
49568         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49569         (u_threshold): Likewise.
49570         (__exp): Call __ieee754_exp before checking for overflow and
49571         underflow.
49572         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49573         (u_threshold): Likewise.
49574         (__expf): Call __ieee754_expf before checking for overflow and
49575         underflow.
49576         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49577         (u_threshold): Likewise.
49578         (__expl): Call __ieee754_expl before checking for overflow and
49579         underflow.
49580         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49581         (__ieee754_expl): Allow for and saturate large arguments.
49582         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49583         missing overflow exception on overflow.
49584         (expm1_test): Do not allow missing overflow exception on overflow.
49586         * sysdeps/i386/fpu/e_expl.c: Move to ...
49587         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49588         rather than using inline asm.
49589         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49590         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49591         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49593         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49594         (nice): Likewise.
49595         (poll): Likewise.
49596         (signal): Likewise.
49597         (time): Likewise.
49598         (times): Likewise.
49600 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49602         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49603         sysdeps/unix/common/syscalls.list.
49604         (fchmod): Likewise.
49605         (fchown): Likewise.
49606         (ftruncate): Likewise.
49607         (getrusage): Likewise.
49608         (gettimeofday): Likewise.
49609         (setpgid): Likewise.
49610         (setregid): Likewise.
49611         (setreuid): Likewise.
49612         (sigaction): Likewise.
49613         (truncate): Likewise.
49614         (vhangup): Likewise.
49615         * sysdeps/unix/common/syscalls.list: Remove file.
49616         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49617         * sysdeps/unix/sysv/linux/Implies: Likewise.
49619 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49621         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49623         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49624         Moved to ...
49625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49626         Here.
49627         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49628         to ...
49629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49630         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49631         to ...
49632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49633         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49634         to ...
49635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49636         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49637         to ...
49638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49639         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49640         to ...
49641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49642         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49643         to ...
49644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49645         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49646         to ...
49647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49648         Here.
49649         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49650         to ...
49651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49652         Here.
49653         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49654         to ...
49655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49656         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49657         Moved to ...
49658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49659         Here.
49660         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49661         to ...
49662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49664 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49666         * sysdeps/unix/common/bits/dirent.h: Remove file.
49667         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49669         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49670         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49671         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49672         * sysdeps/unix/bsd/isatty.c: Likewise.
49673         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49674         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49675         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49677 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49679         [BZ #13563]
49680         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49681         long double comparison inaccuracies.
49682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49685 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49687         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49688         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49690 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49692         [BZ #14049]
49693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49694         nonzero digits before rounding a hex value.
49695         * stdlib/tst-strtod.c (tests): Add another test.
49697 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49699         * sysdeps/s390/fpu/libm-test-ulps: Update.
49701 2012-05-03  Andreas Jaeger  <aj@suse.de>
49703         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49704         does not get optimized out.
49705         (malloc_opt_barrier): New.
49707 2012-05-03  Andreas Jaeger  <aj@suse.de>
49708             Roland McGrath  <roland@hack.frob.com>
49710         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49711         intermediate file deletion.
49712         (generated): Add .symlist files.
49714 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49716         [BZ #13775]
49717         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49718         Redirect under this condition.
49719         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49720         [__USE_GNU] (__dprintf_chk): Not under this condition.
49721         [__USE_GNU] (__vdprintf_chk): Likewise.
49722         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49723         under this condition.
49724         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49725         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49726         [__USE_XOPEN2K8] (vdprintf): Likewise.
49727         [__USE_GNU] (__dprintf_chk): Not under this condition.
49728         [__USE_GNU] (__vdprintf_chk): Likewise.
49729         [__USE_GNU] (dprintf): Likewise.
49730         [__USE_GNU] (vdprintf): Likewise.
49732 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49734         * elf/Makefile (common-generated): Set this instead of generated for
49735         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49736         $(all-built-dso)-derived lists.
49738 2012-05-03  Andreas Jaeger  <aj@suse.de>
49740         * sysdeps/i386/fpu/libm-test-ulps: Update.
49742         * FAQ: Removed.
49743         * FAQ.in: Likewise.
49744         * scripts/gen-FAQ.pl: Likewise.
49745         * manual/install.texi (Installation): Point to online location of
49746         FAQ.
49747         * Makefile (files-for-dist): Remove FAQ.
49748         (FAQ): Remove.
49750 2012-05-02  Allan McRae  <allan@archlinux.org>
49752         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49753         (LDFLAGS-reldepmod5.so): Likewise.
49754         (LDFLAGS-reldep6mod1.so): Likewise.
49755         (LDFLAGS-reldep6mod4.so): Likewise.
49756         (LDFLAGS-reldep8mod3.so): Likewise.
49757         (LDFLAGS-unload4mod1.so): Likewise.
49758         (LDFLAGS-unload4mod2.so): Likewise.
49759         (LDFLAGS-tst-initorder): Likewise.
49760         (LDFLAGS-tst-initordera2.so): Likewise.
49761         (LDFLAGS-tst-initordera3.so): Likewise.
49762         (LDFLAGS-tst-initordera4.so): Likewise.
49763         (LDFLAGS-tst-initorderb2.so): Likewise.
49764         (LDFLAGS-noload): Likewise.
49765         (LDFLAGS-next): Likewise.
49766         (LDFLAGS-order2mod1.so): Likewise.
49767         (LDFLAGS-order2mod2.so): Likewise.
49768         (LDFLAGS-tst-initorder2): Likewise.
49769         (LDFLAGS-tst-initorder2a.so): Likewise.
49770         (LDFLAGS-tst-initorder2b.so): Likewise.
49771         (LDFLAGS-tst-initorder2c.so): Likewise.
49772         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49774 2012-05-02  David S. Miller  <davem@davemloft.net>
49776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49778 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49780         [BZ #14055]
49781         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49783 2012-05-02  Andreas Jaeger  <aj@suse.de>
49785         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49786         since we manipulate rounding mode.
49787         (CPPFLAGS-test-idouble.c): Likewise.
49788         (CPPFLAGS-test-ifloat.c): Likewise.
49789         (CFLAGS-test-ldouble.c): Likewise.
49790         (CFLAGS-test-double.c): Likewise.
49791         (CFLAGS-test-float.c): Likewise.
49792         (CFLAGS-test-misc.c): Likewise.
49793         (CFLAGS-test-test-fenv.c): Likewise.
49795 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49797         [BZ #2550]
49798         [BZ #2570]
49799         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49800         comparisons to determine direction to adjust input.
49802 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49804         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49805         output to the target.
49807         * scripts/localplt.awk: New file.
49808         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49809         (check-localplt-CFLAGS): Variable removed.
49810         ($(all-built-dso:=.jmprel)): New static pattern rule.
49811         (generated): Add those targets.
49812         (localplt-built-dso): New variable.
49813         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49815         * elf/check-localplt.c: File removed.
49817         * scripts/check-execstack.awk: New file.
49818         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49819         (check-execstack-CFLAGS): Variable removed.
49820         ($(objpfx)check-execstack.h): Target removed.
49821         ($(objpfx)execstack-default): New target.
49822         (generated): Add that instead of check-execstack.h.
49823         ($(all-built-dso:=.phdr)): New static pattern rule.
49824         (generated): Add those targets.
49825         * elf/check-execstack.c: File removed.
49827         * scripts/check-textrel.awk: New file.
49828         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49829         (check-textrel-CFLAGS): Variable removed.
49830         (all-built-dso): Use := to define.o
49831         ($(all-built-dso:=.dyn)): New static pattern rule.
49832         (generated): Add those targets.
49833         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49834         * config.make.in (READELF): New substituted variable.
49835         * elf/check-textrel.c: File removed.
49837 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49839         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49840         allow.
49841         * conform/data/ctype.h-data [C99-based standards] (isblank):
49842         Expect function.
49843         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49844         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49845         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49846         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49847         Specify type.  Require positive value.
49848         (EILSEQ): Likewise.
49849         (ERANGE): Likewise.
49850         [ISO || POSIX] (EILSEQ): Do not expect.
49851         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49852         Specify type.  Require positive value.
49853         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49854         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49855         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49856         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49857         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49858         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49859         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49860         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49861         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49862         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49863         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49864         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49865         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49866         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49867         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49868         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49869         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49870         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49871         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49872         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49873         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49874         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49875         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49876         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49877         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49878         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49879         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49880         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49881         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49882         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49883         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49884         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49885         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49886         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49887         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49888         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49889         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49890         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49891         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49892         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49893         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49894         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49895         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49896         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49897         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49898         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49899         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49900         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49901         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49902         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49903         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49904         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49905         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49906         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49907         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49908         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49909         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49910         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49911         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49912         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49913         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49914         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49915         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49916         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49917         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49918         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49919         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49920         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49921         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49922         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49923         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49924         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49925         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49926         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49927         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49928         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49929         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49930         Require >= 2.
49931         (FLT_ROUNDS): Expect as macro, not constant.
49932         (FLT_MANT_DIG): Use macro-int-constant.
49933         (DBL_MANT_DIG): Likewise.
49934         (LDBL_MANT_DIG): Likewise.
49935         (FLT_DIG): Likewise.
49936         (DBL_DIG): Likewise.
49937         (LDBL_DIG): Likewise.
49938         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49939         (DBL_MIN_EXP): Likewise.
49940         (LDBL_MIN_EXP): Likewise.
49941         (FLT_MAX_EXP): Use macro-int-constant.
49942         (DBL_MAX_EXP): Likewise.
49943         (LDBL_MAX_EXP): Likewise.
49944         (FLT_MAX_10_EXP): Likewise.
49945         (DBL_MAX_10_EXP): Likewise.
49946         (LDBL_MAX_10_EXP): Likewise.
49947         (FLT_MAX): Use macro-constant.
49948         (DBL_MAX): Likewise.
49949         (LDBL_MAX): Likewise.
49950         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49951         (DBL_EPSILON): Likewise.
49952         (LDBL_EPSILON): Likewise.
49953         (FLT_MIN): Likewise.
49954         (DBL_MIN): Likewise.
49955         (LDBL_MIN): Likewise.
49956         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49957         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49958         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49959         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49960         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49961         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49962         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49963         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49964         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49965         [ISO11] (FLT_TRUE_MIN): Likewise.
49966         [ISO11] (LDBL_TRUE_MIN): Likewise.
49967         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49968         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49969         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49970         (SCHAR_MAX): Likewise.
49971         (UCHAR_MAX): Likewise.
49972         (CHAR_MIN): Likewise.
49973         (CHAR_MAX): Likewise.
49974         (MB_LEN_MAX): Use macro-int-constant.
49975         (SHRT_MIN): Use macro-int-constant.  Specify type.
49976         (SHRT_MAX): Likewise.
49977         (USHRT_MAX): Likewise.
49978         (INT_MAX): Likewise.
49979         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49980         bound negative.
49981         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49982         bound with "U".
49983         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49984         bound with "L".
49985         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49986         bound negative.  Suffix upper bound with "L".
49987         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49988         bound with "UL".
49989         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49990         Specify type.
49991         [C99-based standards] (LLONG_MAX): Likewise.
49992         [C99-based standards] (ULLONG_MAX): Likewise.
49993         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49994         == 0.
49995         [ISO11] (max_align_t): Require type.
49996         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49998         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49999         from $CFLAGS, without defining away __attribute__ calls.
50000         (checknamespace): Use $CFLAGS_namespace.
50002         * conform/conformtest.pl (@keywords): Only include C99 keywords
50003         for standards based on C99 or C11.
50005         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50006         Disable tests.
50007         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50008         UNIX98]: Likewise.
50010         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50011         usability of symbols in #if.
50013         * conform/conformtest.pl: If macro or constant types start
50014         "promoted:", expect the symbol to be of the following type
50015         promoted by the integer promotions.
50017         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50018         in one place.  Also handle "macro-constant".
50020         * conform/conformtest.pl: Only accept expected macro values with
50021         "==".  Parse all "macro" lines in one place.
50022         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50024         * conform/conformtest.pl: Handle braced types on "constant" lines
50025         instead of handling "typed-constant".
50026         * conform/data/signal.h-data: Use "constant" instead of
50027         "typed-constant".
50029         * conform/conformtest.pl: Handle "optional-" at start of lines in
50030         one place rather than duplicating several cases.  Handle each
50031         format of "macro" line with initial "optional-".
50033         * conform/conformtest.pl: Only accept expected constant or
50034         optional-constant values with "==".  Parse all "constant" lines in
50035         one place.  Parse all "optional-constant" lines in one place.
50036         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50037         * conform/data/fmtmsg.h-data: Likewise.
50038         * conform/data/netinet/in.h-data: Likewise.
50039         * conform/data/tar.h-data: Likewise.
50040         * conform/data/limits.h-data: Use "==" form on "constant" and
50041         "optional-constant" lines.
50043         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50044         Use -std=c99 for XOPEN2K.
50045         (@knownproblems): Remove.
50046         (newtoken): Don't check %isknown.
50048         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50049         Do not expect macro.
50050         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50051         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50052         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50053         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50054         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50055         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50056         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50057         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50058         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50059         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50060         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50061         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50062         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50063         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50064         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50065         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50066         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50067         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50068         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50069         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50070         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50071         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50072         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50073         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50074         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50075         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50076         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50077         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50078         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50079         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50080         [XPG3] (acosh): Likewise.
50081         [XPG3] (asinh): Likewise.
50082         [XPG3] (atanh): Likewise.
50083         [XPG3] (cbrt): Likewise.
50084         [XPG3] (expm1): Likewise.
50085         [XPG3] (ilogb): Likewise.
50086         [XPG3] (log1p): Likewise.
50087         [XPG3] (logb): Likewise.
50088         [XPG3] (nextafter): Likewise.
50089         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50090         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50091         [XPG3] (remainder): Likewise.
50092         [XPG3] (rint): Likewise.
50093         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50094         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50095         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50096         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50097         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50098         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50099         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50100         [UNIX98 || XOPEN2K] (scalb): Expect.
50101         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50102         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50103         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50104         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50105         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50106         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50107         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50108         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50109         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50110         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50111         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50112         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50113         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50114         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50115         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50116         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50117         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50118         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50119         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50120         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50121         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50122         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50123         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50124         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50125         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50126         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50127         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50128         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50129         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50130         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50131         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50132         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50133         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50134         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50135         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50136         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50137         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50138         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50139         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50140         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50141         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50142         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50143         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50144         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50145         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50146         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50147         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50148         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50149         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50150         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50151         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50152         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50153         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50154         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50155         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50156         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50157         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50158         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50159         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50160         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50161         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50162         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50163         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50164         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50165         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50166         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50167         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50168         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50169         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50170         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50171         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50172         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50173         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50174         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50175         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50176         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50177         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50178         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50179         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50180         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50181         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50182         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50183         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50184         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50185         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50186         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50187         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50188         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50189         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50190         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50191         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50192         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50193         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50194         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50195         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50196         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50197         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50198         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50199         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50200         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50201         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50202         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50203         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50204         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50205         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50206         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50207         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50208         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50209         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50210         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50211         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50212         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50213         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50214         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50215         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50216         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50217         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50218         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50219         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50220         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50221         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50222         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50223         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50224         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50225         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50226         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50227         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50228         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50229         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50230         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50231         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50232         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50233         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50234         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50235         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50236         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50237         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50239         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50240         _XOPEN_SOURCE_EXTENDED for XPG4.
50242         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50244         * Makeconfig (localtime): Remove variable.
50245         (inst_localtime-file): Likewise.
50247 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50250         Update.
50251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50252         Update.
50253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50254         Update.
50255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50256         Update.
50257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50258         Update.
50259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50260         Update.
50261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50262         Update.
50263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50264         Update.
50265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50266         Update.
50268 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50270         [BZ #2550]
50271         [BZ #2570]
50272         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50273         comparisons to determine direction to adjust input.
50274         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50275         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50276         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50277         Likewise.
50278         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50279         Likewise.
50280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50281         Likewise.
50282         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50283         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50284         Likewise.
50285         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50286         Likewise.
50287         * math/libm-test.inc (nexttoward_test): Add more tests.
50289 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50291         [BZ #14040]
50292         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50293         in version GLIBC_2.1, not GLIBC_2.0.
50294         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50295         Likewise.
50297 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50299         [BZ #13942]
50300         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50301         (1 - x) * (1 + x).
50302         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50303         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50304         * math/libm-test.inc (acos_test): Add more tests.
50305         (asin_test): Likewise.
50306         * sysdeps/i386/fpu/libm-test-ulps: Update.
50307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50309         [BZ #14034]
50310         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50311         of square root.
50312         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50313         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50314         * math/libm-test.inc (acos_test_tonearest): New function.
50315         (acos_test_towardzero): Likewise.
50316         (acos_test_downward): Likewise.
50317         (acos_test_upward): Likewise.
50318         (asin_test_tonearest): Likewise.
50319         (asin_test_towardzero): Likewise.
50320         (asin_test_downward): Likewise.
50321         (asin_test_upward): Likewise.
50322         (main): Call the new functions.
50323         * sysdeps/i386/fpu/libm-test-ulps: Update.
50324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50326         [BZ #13884]
50327         [BZ #13924]
50328         * math/e_exp10.c: Include <float.h>.
50329         (__ieee754_exp10): Handle underflow here rather than multiplying
50330         large negative argument by M_LN10.
50331         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50332         of __ieee754_expf.
50333         * math/e_exp10l.c: Include <float.h>.
50334         (__ieee754_exp10l): Handle underflow here rather than multiplying
50335         large negative argument by M_LN10l.
50336         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50337         spurious overflow exception on underflow.
50339 2012-04-29  Marek Polacek  <polacek@redhat.com>
50341         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50342         (__fortify_function): New macro.
50343         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50344         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50345         __extern_always_inline.
50346         * libio/bits/stdio2.h: Likewise.
50347         * libio/bits/stdio.h: Likewise.
50348         * string/string.h: Likewise.
50349         * string/bits/string3.h: Likewise.
50350         * include/stdio.h: Likewise.
50351         * stdlib/bits/stdlib.h: Likewise.
50352         * stdlib/stdlib.h: Likewise.
50353         * rt/bits/mqueue2.h: Likewise.
50354         * rt/mqueue.h: Likewise.
50355         * posix/bits/unistd.h: Likewise.
50356         * posix/unistd.h: Likewise.
50357         * io/bits/poll2.h: Likewise.
50358         * io/bits/fcntl2.h: Likewise.
50359         * io/fcntl.h: Likewise.
50360         * io/sys/poll.h: Likewise.
50361         * misc/bits/syslog.h: Likewise.
50362         * misc/bits/syslog-ldbl.h: Likewise.
50363         * misc/sys/syslog.h: Likewise.
50364         * socket/bits/socket2.h: Likewise.
50365         * socket/sys/socket.h: Likewise.
50366         * debug/tst-chk1.c: Likewise.
50367         * wcsmbs/bits/wchar2.h: Likewise.
50368         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50369         * wcsmbs/wchar.h: Likewise.
50371 2012-04-29  Andreas Jaeger  <aj@suse.de>
50373         * Makerules (tests): Remove enable-check-abi protection.
50374         (check-abi-warn): Remove.
50375         (check-abi-%): Remove check-abi-warn usage.
50377         * configure.in: Remove check-abi configure option.
50378         * configure: Regenerated.
50379         * config.make.in (enable-check-abi): Remove.
50381 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50383         [BZ #14033]
50384         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50385         double functions to double *_finite functions.
50387         [BZ #13941]
50388         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50389         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50390         LDBL_MIN_EXP.
50391         * stdio-common/Makefile (tests): Add tst-sprintf3.
50392         * stdio-common/tst-sprintf3.c: New file.
50394         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50395         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50397 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50399         * conform/conformtest.pl: Remove duplicate typed-constant
50400         handling.
50402 2012-04-28  David S. Miller  <davem@davemloft.net>
50404         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50405         (check-abi-%): Remove AWK script prerequisite and explicit
50406         abilist directory.
50407         (check-abi): Rewrite to just diff the symlist with the abilist.
50408         (config-tls, config-abi-config): Delete, no longer used.
50409         (update-abi-%): Remove AWK script and explicit abilist directory.
50410         (update-abi): Rewrite to simply compare and conditionally copy the
50411         symlist and the sysdep abilist file.  Remove update-abi-config
50412         checks.
50413         * abilist/ld.abilist: Remove.
50414         * abilist/libBrokenLocale.abilist: Remove.
50415         * abilist/libanl.abilist: Remove.
50416         * abilist/libcrypt.abilist: Remove.
50417         * abilist/libdl.abilist: Remove.
50418         * abilist/librt.abilist: Remove.
50419         * abilist/libthread_db.abilist: Remove.
50420         * abilist/libutil.abilist: Remove.
50421         * scripts/extract-abilist.awk: Remove.
50422         * scripts/merge-abilist.awk: Remove.
50423         * sysdeps/generic/libcidn.abilist: New file.
50424         * sysdeps/generic/libnss_compat.abilist: New file.
50425         * sysdeps/generic/libnss_db.abilist: New file.
50426         * sysdeps/generic/libnss_dns.abilist: New file.
50427         * sysdeps/generic/libnss_files.abilist: New file.
50428         * sysdeps/generic/libnss_hesiod.abilist: New file.
50429         * sysdeps/generic/libnss_nis.abilist: New file.
50430         * sysdeps/generic/libnss_nisplus.abilist: New file.
50431         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50432         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50433         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50434         file.
50435         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50436         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50437         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50438         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50439         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50440         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50441         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50442         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50443         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50444         file.
50445         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50446         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50447         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50448         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50449         file.
50450         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50451         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50452         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50453         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50454         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50455         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50456         file.
50457         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50458         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50459         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50460         file.
50461         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50462         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50463         New file.
50464         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50465         New file.
50466         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50467         New file.
50468         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50469         New file.
50470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50471         New file.
50472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50473         New file.
50474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50475         New file.
50476         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50477         New file.
50478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50479         New file.
50480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50481         New file.
50482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50483         New file.
50484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50485         New file.
50486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50487         New file.
50488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50489         file.
50490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50491         New file.
50492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50493         New file.
50494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50495         file.
50496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50497         New file.
50498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50499         New file.
50500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50501         file.
50502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50503         New file.
50504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50505         New file.
50506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50507         New file.
50508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50509         New file.
50510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50511         New file.
50512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50513         New file.
50514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50516         file.
50517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50518         New file.
50519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50520         file.
50521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50522         file.
50523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50524         file.
50525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50526         file.
50527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50528         file.
50529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50530         New file.
50531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50532         file.
50533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50534         file.
50535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50536         New file.
50537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50538         file.
50539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50541         file.
50542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50543         New file.
50544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50545         file.
50546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50547         file.
50548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50549         file.
50550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50551         file.
50552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50553         file.
50554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50555         New file.
50556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50557         file.
50558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50559         file.
50560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50561         New file.
50562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50563         file.
50564         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50565         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50566         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50567         file.
50568         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50569         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50570         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50571         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50572         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50573         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50574         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50575         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50576         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50577         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50580         file.
50581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50582         New file.
50583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50584         file.
50585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50586         file.
50587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50588         file.
50589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50590         file.
50591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50592         file.
50593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50594         New file.
50595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50596         New file.
50597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50598         file.
50599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50600         New file.
50601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50602         file.
50603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50605         file.
50606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50607         New file.
50608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50609         file.
50610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50611         file.
50612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50613         file.
50614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50615         file.
50616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50617         file.
50618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50619         New file.
50620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50621         New file.
50622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50623         file.
50624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50625         New file.
50626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50627         file.
50629 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50631         * conform/conformtest.pl: Fix typo in handling typed-constant from
50632         allow-header.
50634 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50636         * README: Cut down references to pre-2.6 Linux kernels and
50637         Linuxthreads.  Update lists of configurations in libc and ports
50638         and sort alphabetically.  Say "or newer" with Linux kernel version
50639         requirements.
50641         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50643 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50645         [BZ #887]
50646         * math/libm-test.inc (logb_test_downward): New test to expose
50647         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50648         rounding mode.
50650 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50652         [BZ #14027]
50653         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50654         to be done.
50655         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50656         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50658 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50660         * sysdeps/unix/i386/brk.S: Remove file.
50661         * sysdeps/unix/i386/dl-brk.S: Likewise.
50662         * sysdeps/unix/i386/pipe.S: Likewise.
50663         * sysdeps/unix/i386/sigreturn.S: Likewise.
50664         * sysdeps/unix/i386/syscall.S: Likewise.
50665         * sysdeps/unix/i386/vfork.S: Likewise.
50666         * sysdeps/unix/i386/wait.S: Likewise.
50668         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50669         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50671         * configure.in (arm*-none*): Do not allow without
50672         --enable-hacker-mode.
50673         (netbsd*): Remove case setting base_os.
50674         (386bsd*): Likewise.
50675         (freebsd*): Likewise.
50676         (bsdi*): Likewise.
50677         (osf*): Likewise.
50678         (sunos*): Likewise.
50679         (ultrix*): Likewise.
50680         (newsos*): Likewise.
50681         (dynix*): Likewise.
50682         (*bsd*): Likewise.
50683         (sysv*): Likewise.
50684         (isc*): Likewise.
50685         (esix*): Likewise.
50686         (sco*): Likewise.
50687         (minix*): Likewise.
50688         (irix4*): Likewise.
50689         (irix6*): Likewise.
50690         (solaris[2-9]*): Likewise.
50691         (none): Likewise.
50692         * configure: Regenerated.
50694 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50696         [BZ #11521]
50697         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50698         overflow or cancellation in calculating denominator.
50699         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50700         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50701         down expression to avoid unexpected rounding in newer GCCs.
50702         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50704 2012-04-26  David S. Miller  <davem@davemloft.net>
50706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50707         long-double compat symbols.
50708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50722 2012-04-25  David S. Miller  <davem@davemloft.net>
50724         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50725         HWCAP_* values only after the memory barriers have been defined.
50726         (atomic_full_barrier): Define.
50727         (atomic_read_barrier): Define.
50728         (atomic_write_barrier): Define.
50730 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50732         * shlib-versions: Add libgcc_s version information.
50733         * sysdeps/generic/libgcc_s.h: Remove.
50734         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50735         libgcc_s.h.
50736         * sysdeps/gnu/unwind-resume.c: Likewise.
50737         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50739 2012-04-25  David S. Miller  <davem@davemloft.net>
50741         * sysdeps/unix/sparc/brk.S: Delete.
50742         * sysdeps/unix/sparc/dl-brk.S: Delete.
50743         * sysdeps/unix/sparc/pipe.S: Delete.
50744         * sysdeps/unix/sparc/sysdep.S: Delete.
50745         * sysdeps/unix/sparc/sysdep.h: Delete.
50746         * sysdeps/unix/sparc/vfork.S: Delete.
50747         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50748         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50749         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50750         (ret_ERRVAL, r0, r1, MOVE): Define.
50751         (JUMPTARGET): Remove.
50752         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50753         sysdeps/unix/sparc/sysdep.h
50754         (ENTRY, END): Remove.
50755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50757 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50759         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50760         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50761         -DIS_IN_build.
50763         * timezone/README: Update upstream location and email address for
50764         tzcode and tzdata.
50765         * timezone/zdump.c: Update from tzcode 2012b.
50766         * timezone/zic.c: Likewise.
50768         * configure.in (libc_cv_as_needed): Remove test.
50769         * configure: Regenerated.
50770         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50771         conditional definition.
50772         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50773         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50774         * config.make.in (have-as-needed): Remove variable.
50776 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50777             Paul Pluzhnikov  <ppluzhnikov@google.com>
50779         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50780         strings correctly.
50782 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50784         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50785         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50786         * sysdeps/sh/strlen.S: Likewise.
50788 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50790         * sysdeps/unix/fork.S: Remove file.
50791         * sysdeps/unix/i386/fork.S: Likewise.
50792         * sysdeps/unix/sparc/fork.S: Likewise.
50794         * sysdeps/unix/system.c: Remove file.
50795         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50797         * sysdeps/unix/getegid.S: Remove file.
50798         * sysdeps/unix/geteuid.S: Likewise.
50800 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50802         * scripts/check-localplt.awk: New file.
50803         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50804         of diff.
50805         * scripts/data/localplt-generic.data: Add a comment.
50807         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50808         NODE when __dir_mkfile failed.
50809         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50810         Reported by Ludovic Courtès <ludo@gnu.org>.
50812 2012-04-24  Andreas Jaeger  <aj@suse.de>
50814         * Makerules (common-clean): Also remove gen-as-const-headers
50815         files.
50817 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50819         * Makerules (native-compile): Do not change working directory for
50820         build.  Use $(OUTPUT_OPTION) in command.
50821         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50823 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50825         [BZ #13886]
50826         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50827         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50828         * math/libm-test.inc (floor_test): Add more tests.
50829         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50831 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50833         * sysdeps/unix/getdents.c: Remove file.
50834         * sysdeps/unix/sysv/getdents.c: Likewise.
50835         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50837         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50838         sysdeps/unix/mman/syscalls.list.
50839         (mmap): Likewise.
50840         (mprotect): Likewise.
50841         (msync): Likewise.
50842         (munmap): Likewise.
50843         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50844         * sysdeps/unix/mman/syscalls.list: Remove.
50845         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50847         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50848         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50849         * configure: Regenerated.
50850         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50851         $(libgcc_s_suffix).
50852         * config.make.in (libgcc_s_suffix): Remove variable.
50854 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50856         * sysdeps/unix/sysv/gethostname.c: Move to ...
50857         * sysdeps/posix/gethostname.c: ... here.
50859         * sysdeps/unix/execve.S: Remove file.
50861         * sysdeps/unix/_exit.S: Remove file.
50863 2012-04-23  Andreas Jaeger  <aj@suse.de>
50865         [BZ #13739]
50866         * manual/Makefile: Remove make dist support, there's no
50867         need for a stand-alone documentation tar ball.
50868         (TEXI2DVI): Define always, it's not in Makeconfig.
50869         (dist): Removed.
50870         (tar-it): Removed.
50871         (edition): Removed.
50872         (glibc-doc-$(edition).tar): Removed
50873         (%.Z): Removed.
50874         (%.gz): Removed.
50875         (%.uu): Removed.
50876         (ETAGS): Remove, it's in Makeconfig.
50877         (move-if-change): Remove, it's in Makeconfig.
50879 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50881         [BZ #13970]
50882         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50883         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50884         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50885         (strtod_l, strtof_l, strtold_l): Remove __wur.
50886         It is not necessarily an error to ignore strtol's return value.
50887         One can reliably look at the stored endptr to decide whether
50888         the number had valid syntax.
50890 2012-04-21  Andreas Jaeger  <aj@suse.de>
50892         [BZ #13739]
50893         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50895 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50897         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50898         * sysdeps/unix/sysv/Versions: Remove file.
50900 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50902         [BZ #13927]
50903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50905 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50907         [BZ #7064]
50908         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50909         version from __vm86.
50911 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50913         * sysdeps/unix/common/lxstat.c: Remove file.
50914         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50916         * sysdeps/unix/sysv/Makefile: Remove file.
50918         * sysdeps/unix/sysv/direct.h: Remove file.
50920         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50921         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50922         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50923         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50924         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50925         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50926         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50928         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50930         * sysdeps/unix/xmknod.c: Remove file.
50931         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50933         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50935         * sysdeps/unix/sysv/i386/time.S: Remove file.
50937         * sysdeps/unix/fxstat.c: Remove file.
50938         * sysdeps/unix/xstat.c: Likewise.
50939         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50941         * sysdeps/unix/sysv/sigaction.c: Remove file.
50943         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50944         (sysdep_headers): Remove variable.
50945         [termio.h not in sysdep_headers] (generated): Likewise.
50946         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50947         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50948         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50949         * sysdeps/unix/sysv/tcflow.c: Likewise.
50950         * sysdeps/unix/sysv/tcflush.c: Likewise.
50951         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50952         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50953         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50954         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50955         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50957         * sysdeps/unix/siglist.c: Remove file.
50959         * sysdeps/unix/getppid.S: Remove file.
50961         * sysdeps/unix/mkdir.c: Remove file.
50962         * sysdeps/unix/rmdir.c: Likewise.
50964 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50966         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50967         ERR_MAX value.
50968         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50969         errlist-compat value.
50971 2012-04-18  David S. Miller  <davem@davemloft.net>
50973         * sysdeps/generic/memcopy.h (reg_char): Delete.
50974         * debug/strcat_chk.c: Use char, not reg_char.
50975         * debug/strcpy_chk.c: Likewise.
50976         * debug/strncat_chk.c: Likewise.
50977         * debug/strncpy_chk.c: Likewise.
50978         * string/memchr.c: Likewise.
50979         * string/memrchr.c: Likewise.
50980         * string/rawmemchr.c: Likewise.
50981         * string/strcat.c: Likewise.
50982         * string/strchr.c: Likewise.
50983         * string/strchrnul.c: Likewise.
50984         * string/strcmp.c: Likewise.
50985         * string/strcpy.c: Likewise.
50986         * string/strncat.c: Likewise.
50987         * string/strncmp.c: Likewise.
50988         * string/strncpy.c: Likewise.
50990 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50992         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50993         __builtin_memcopy is called when src and dest ranges are known to not
50994         overlap.
50996 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50998         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50999         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51000         fwd_align_merge macro call.
51001         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51002         bwd_align_merge macro call.
51003         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51005 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51007         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51008         bwd_align_merge macros.
51009         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51010         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51011         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51013 2012-04-18  David S. Miller  <davem@davemloft.net>
51015         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51017 2012-04-18  Andreas Jaeger  <aj@suse.de>
51019         [BZ# 6794]
51020         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51021         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51022         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51024         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51025         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51026         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51028         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51029         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51030         Adjust for changed ldbl-128 files.
51032         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51033         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51034         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51036 2012-04-17  David S. Miller  <davem@davemloft.net>
51038         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51040 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51042         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51043         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51044         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51045         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51046         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51047         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51049 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51051         [BZ #6794]
51052         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51053         * math/libm-test.inc: Add ilogb errno and exception tests.
51054         * math/w_ilogb.c: New file: ilogb wrapper.
51055         * math/w_ilogbf.c: New file: ilogbf wrapper.
51056         * math/w_ilogbl.c: New file: ilogbl wrapper.
51057         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51058         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51059         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51060         exception being thrown with 0.0 as argument.
51061         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51062         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51063         exception being thrown with 0.0 as argument.
51064         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51065         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51066         exception being thrown with 0.0 as argument.
51067         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51068         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51069         exception being thrown with 0.0 as argument.
51070         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51071         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51072         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51073         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51074         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51075         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51076         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51077         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51078         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51080 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51082         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51083         with altivec.
51085 2012-04-16  Marek Polacek  <polacek@redhat.com>
51087         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51089 2012-04-16  Marek Polacek  <polacek@redhat.com>
51091         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51092         operands of fdivp instruction.
51094 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51096         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51097         * elf/tst-auditmod3b.c: Likewise.
51098         * elf/tst-auditmod4b.c: Likewise.
51099         * elf/tst-auditmod5b.c: Likewise.
51100         * elf/tst-auditmod6b.c: Likewise.
51101         * elf/tst-auditmod6c.c: Likewise.
51102         * elf/tst-auditmod7b.c: Likewise.
51103         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51104         * sysdeps/x86_64/preconfigure.in: Likewise.
51105         * sysdeps/x86_64/preconfigure: Regenerated.
51107 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51109         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51110         __ILP32__.
51112 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51114         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51115         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51117 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51119         [BZ #13973]
51120         * locale/iso-639.def: Fix gl language name. Spotted by
51121         Yaron Shahrabani.
51123 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51125         [BZ #2074]
51126         * libio/libio.h (__io_write_fn): Update comment.
51128 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51130         [BZ #2074]
51131         * stdio.texi (Hook Functions): The user provided writer function
51132         is not allowed to return -1.
51134 2012-04-11  David S. Miller  <davem@davemloft.net>
51136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51138 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51140         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51141         Add a leading slash to rtkaio.
51143 2012-04-11  Jim Meyering  <meyering@redhat.com>
51145         [BZ #11959]
51146         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51147         It is not necessarily an error to ignore fwrite's return
51148         value.  One can reliably use ferror to test for errors after
51149         the fact.
51151 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51153         * bits/types.h (__snseconds_t): New type.
51154         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51156         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51157         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51158         (__SNSECONDS_T_TYPE): Likewise.
51159         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51160         (__SNSECONDS_T_TYPE): Likewise.
51161         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51162         (__SNSECONDS_T_TYPE): Likewise.
51164 2012-04-10  Andreas Jaeger  <aj@suse.de>
51166         [BZ #2636]
51167         * manual/time.texi (Processor Time): Return type of times is
51168         elapsed real time since an arbitrary point in the past.
51169         (CPU Time): Move CLK_TCK from here...
51170         (Processor Time): ...to here.  Correct description.
51171         * manual/conf.texi (Constants for Sysconf): Correct description of
51172         _SC_CLK_TCK.
51174 2012-04-10  David S. Miller  <davem@davemloft.net>
51176         [BZ #13967]
51177         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51178         where the is a gap between DT_REL(A) and DT_JMPREL.
51180 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51182         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51183         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51184         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51186 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51188         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51189         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51190         (dl_main): Handle --inhibit-cache.
51191         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51192         _dl_inhibit_cache.
51193         * elf/dl-load.c (_dl_map_object): Use it.
51194         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51196 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51198         [BZ #13872]
51199         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51200         (__ieee754_powl): Saturate large exponents rather than testing for
51201         overflow of y*log2(x).
51202         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51203         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51204         exceptions.
51206         [BZ #11521]
51207         * math/s_ctan.c: Include <float.h>.
51208         (__ctan): Avoid internal overflow or cancellation in calculating
51209         denominator.
51210         * math/s_ctanf.c: Likewise.
51211         * math/s_ctanl.c: Likewise.
51212         * math/s_ctanh.c: Likewise.
51213         * math/s_ctanhf.c: Likewise.
51214         * math/s_ctanhl.c: Likewise.
51215         * math/libm-test.inc (ctan_test): Add more tests.
51216         (ctanh_test): Likewise.
51217         * sysdeps/i386/fpu/libm-test-ulps: Update.
51218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51220 2012-04-09  Andreas Jaeger  <aj@suse.de>
51222         [BZ #6894]
51223         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51224         is an optional BSD extension.
51226         [BZ #10254]
51227         * manual/stdio.texi (Opening Streams): Document additional fopen
51228         parameters.
51230 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51232         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51233         %eax without telling the compiler.
51235 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51237         [BZ # 13963]
51238         * manual/install.texi: Use sourceware.org.
51240 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51242         [BZ #13873]
51243         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51244         (__ieee754_pow): Generate overflow and underflow using huge*huge
51245         and tiny*tiny rather than just returning constant infinity or zero
51246         for large exponents.
51247         * math/libm-test.inc (pow_test): Require overflow exceptions for
51248         applicable cases of large exponents.
51250         [BZ #706]
51251         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51252         (__ieee754_pow): Use iterative multiplication algorithm only for
51253         integer exponents with absolute value below 1024.  Check for odd
51254         integer exponents when using algorithm for real exponents.
51255         * math/libm-test.inc (pow_test): Add more tests.
51256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51258 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51260         [BZ #13705]
51261         * math/libm-test.inc (exp_test): Do not allow overflow exception
51262         on underflow test.
51264 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51266         [BZ #13705]
51267         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51268         instead of __kernel_standard_f.
51270 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51272         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51273         * sysdeps/x86_64/memset_chk.S: Likewise.
51275 2012-04-08  Andreas Jaeger  <aj@suse.de>
51277         [BZ #10153]
51278         * manual/startup.texi (Environment Access): Describe return value
51279         for putenv and setenv.
51281         [BZ #6895]
51282         * manual/filesys.texi (Directory Entries): Add description for
51283         DT_LNK.
51285         [BZ #6890]
51286         * manual/filesys.texi (Directory Entries): Clarify that it's file
51287         system not operating system in the description of DT_UNKNOWN.
51289         [BZ #6578]
51290         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51292 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51294         [BZ #6649]
51295         * manual/llio.texi (Opening and Closing Files): Add cross
51296         reference to explain mode argument.
51298 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51300         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51301         * sysdeps/x86_64/memset_chk.S: Likewise.
51303 2012-04-07  David S. Miller  <davem@davemloft.net>
51305         * elf/elf.h (R_SPARC_WDISP10): Define.
51306         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51307         R_SPARC_SIZE32.
51308         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51309         R_SPARC_SIZE64 and R_SPARC_H34.
51311 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51313         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51314         conditions and remove no longer applicable assertion.
51316 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51318         * bits/byteswap.h: Include <features.h>.
51319         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51320         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51322 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51324         * bits/byteswap.h (__bswap_16): Removed.
51325         Include <bits/byteswap-16.h> to get __bswap_16.
51326         * sysdeps/i386/bits/byteswap.h: Likewise.
51327         * sysdeps/s390/bits/byteswap.h: Likewise.
51328         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51329         * bits/byteswap-16.h: New file.
51330         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51331         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51332         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51333         * string/Makefile (headers): Add bits/byteswap-16.h.
51335 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51337         [BZ #13895]
51338         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51339         extra indirection.
51340         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51341         * nss/tst-nss-static.c: New.
51343 2012-04-06  Robert Millan  <rmh@gnu.org>
51345         [BZ #6486]
51346         * manual/llio.texi (File Position Primitive): lseek
51347         refers to WHENCE when it really means OFFSET.
51349 2012-04-06  Andreas Jaeger  <aj@suse.de>
51351         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51352         strncmp declarations.
51354         * abilist/libc.abilist: Add __poll and __ppoll.
51356 2012-04-05  David S. Miller  <davem@davemloft.net>
51358         * scripts/check-local-headers.sh: Accept a host triplet in the
51359         path matched by the exclude regexp.
51361         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51362         definition.
51363         * sysdeps/powerpc/powerpc32/dl-machine.h
51364         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51365         * sysdeps/s390/s390-32/dl-machine.h
51366         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51367         * sysdeps/sparc/sparc32/dl-machine.h
51368         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51369         * sysdeps/sparc/sparc64/dl-machine.h
51370         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51372         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51373         lazy binding.
51374         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51375         undefined symbol errors.
51377         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51378         DT_NEEDED entries.
51380 2012-04-05  Michael Matz  <matz@suse.de>
51382         [BZ #13592]
51383         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51385 2012-04-05  Andreas Jaeger  <aj@suse.de>
51387         [BZ #13908]
51388         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51389         comment.
51391 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51393         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51394         which ROUND is no valid rounding mode.
51396 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51398         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51399         read again.
51400         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51402 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51404         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51405         an exception using FPU order intentionally.
51407 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51409         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51410         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51411         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51412         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51414 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51416         [BZ #12340]
51417         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51418         EINVAL when BUFLEN is too smal.
51420 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51422         [BZ #13553]
51423         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51424         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51426 2012-04-03  Andreas Jaeger  <aj@suse.de>
51428         [BZ #13938]
51429         * manual/setjmp.texi (System V contexts): Fix sentence.
51431         [BZ #13926]
51432         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51433         New macro for this case.
51434         [!__GNUC__] (__bswap_64): New inline function for this case.
51435         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51436         * bits/byteswap.h: Likewise.
51437         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51438         ull, guard with __GLIBC_HAVE_LONG_LONG.
51440         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51441         __GLIBC_HAVE_LONG_LONG.
51443         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51444         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51446 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51448         [BZ #13691]
51449         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51450         inptr and inend, rather than using last_ch.
51452 2012-04-02  David S. Miller  <davem@davemloft.net>
51454         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51455         * stdio-common/printf-parse.h (read_int): Change return type to
51456         'int', return -1 on INT_MAX overflow.
51457         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51458         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51459         overflows INT_MAX.  Check for overflow of in-format-string precision
51460         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51461         SIZE_MAX not INT_MAX for integer overflow test.
51462         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51463         skip the construct in the format string but do not record anything.
51464         * stdio-common/bug22.c: Adjust to test both width/prevision
51465         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51466         explicitly for proper errno values.
51468 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51470         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51471         CHAR_MAX.
51472         * string/test-strcmp.c [! WIDE]: Likewise.
51473         * time/tst-mktime2.c: Likewise for INT_MAX.
51474         * string/test-string.h: #include <sys/param.h> for MIN.
51476         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51477         * sysdeps/i386/init-first.c (init): Likewise.
51478         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51479         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51480         * sysdeps/sh/init-first.c (init): Likewise.
51482 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51484         * po/ru.po: Update from translation team.
51485         * po/vi.po: Likewise.
51487 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51489         * resolv/nss_dns/dns-host.c: Merge copyright years.
51491 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51493         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51494         Optimize memcpy with prefetch if
51495         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51496         src, dst pointers have unequal 16 byte alignments.
51498 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51500         [BZ #13928]
51501         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51502         from a CNAME entry and return the minimum ttl for the query.
51503         (gaih_getanswer_slice): Likewise.
51505 2012-03-30  Jeff Law  <law@redhat.com>
51507         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51508         due to long keys.
51509         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51510         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51512         * resolv/nss_dns/dns-host.c: Update copyright year.
51514 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51516         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51517         requests to save a system call.  Fix check that all bytes are sent.
51519         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51520         comments for sendmmsg.
51522 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51524         [BZ #13691]
51525         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51526         with only 1 character between 0x0041 and 0x01b0.
51527         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51528         * wcsmbs/tst-mbsnrtowcs.c: New file.
51530 2012-03-29  David S. Miller  <davem@davemloft.net>
51532         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51533         small copies by hand.
51535 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51537         [BZ #13761]
51538         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51539         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51540         group memberships.
51542 2012-03-28  David S. Miller  <davem@davemloft.net>
51544         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51545         that branches into memcpy.
51546         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51547         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51549         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51551         bits.
51552         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51553         implementation too.
51554         * sysdeps/sparc/mempcpy.S: New file.
51556         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51557         the IFUNC routine in the libc case.
51558         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51560         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51561         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51562         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51563         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51564         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51565         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51566         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51567         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51569         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51570         loop to 256 bytes instead of 64 bytes and fix test signedness.
51572         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51573         * sysdeps/sparc/sparc32/Makefile: rather than here...
51574         * sysdeps/sparc/sparc64/Makefile: and here.
51576 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51578         * malloc/mallocbug.c: Avoid warnings about unused variables.
51580 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51582         [BZ #13760]
51583         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51584         in the right place. Discard and retry query if response is
51585         larger than input buffer size.
51587 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51589         [BZ #369]
51590         [BZ #2678]
51591         [BZ #3866]
51592         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51593         x for large integer exponent.
51594         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51595         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51596         sign of result as needed afterwards.
51597         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51598         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51599         result for underflowing pow the same as for overflow.
51600         (__kernel_standard_l): Handle powl overflow and underflow here
51601         rather than calling __kernel_standard.
51602         * math/libm-test.inc (pow_test): Add more tests.
51604         [BZ #3868]
51605         [BZ #13879]
51606         [BZ #13910]
51607         [BZ #13911]
51608         [BZ #13912]
51609         [BZ #13913]
51610         [BZ #13915]
51611         [BZ #13916]
51612         [BZ #13917]
51613         [BZ #13918]
51614         [BZ #13919]
51615         [BZ #13920]
51616         [BZ #13921]
51617         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51618         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51619         (__kernel_standard_l): New function.
51620         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51621         __kernel_standard.
51622         * math/w_acosl.c (__acosl): Likewise.
51623         * math/w_asinl.c (__asinl): Likewise.
51624         * math/w_atan2l.c (__atan2l): Likewise.
51625         * math/w_atanhl.c (__atanhl): Likewise.
51626         * math/w_coshl.c (__coshl): Likewise.
51627         * math/w_exp10l.c (__exp10l): Likewise.
51628         * math/w_exp2l.c (__exp2l): Likewise.
51629         * math/w_fmodl.c (__fmodl): Likewise.
51630         * math/w_hypotl.c (__hypotl): Likewise.
51631         * math/w_j0l.c (__j0l, __y0l): Likewise.
51632         * math/w_j1l.c (__j1l, __y1l): Likewise.
51633         * math/w_jnl.c (__jnl, __ynl): Likewise.
51634         * math/w_lgammal.c (__lgammal): Likewise.
51635         * math/w_log10l.c (__log10l): Likewise.
51636         * math/w_log2l.c (__log2l): Likewise.
51637         * math/w_logl.c (__logl): Likewise.
51638         * math/w_powl.c (__powl): Likewise.
51639         * math/w_remainderl.c (__remainderl): Likewise.
51640         * math/w_scalbl.c (sysv_scalbl): Likewise.
51641         * math/w_sinhl.c (__sinhl): Likewise.
51642         * math/w_sqrtl.c (__sqrtl): Likewise.
51643         * math/w_tgammal.c (__tgammal): Likewise.
51644         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51645         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51646         * math/libm-test.inc (acos_test): Add more tests.
51647         (acosh_test): Likewise.
51648         (asin_test): Likewise.
51649         (atanh_test): Likewise.
51650         (exp_test): Likewise.
51651         (exp10_test): Likewise.
51652         (exp2_test): Likewise.
51653         (expm1_test): Likewise.
51654         (lgamma_test): Likewise.
51655         (log_test): Likewise.
51656         (log10_test): Likewise.
51657         (log1p_test): Likewise.
51658         (log2_test): Likewise.
51659         (pow_test): Do not allow some spurious overflow exceptions.
51660         (sqrt_test): Add more tests.
51661         (tgamma_test): Likewise.
51662         (y0_test): Likewise.
51663         (y1_test): Likewise.
51664         (yn_test): Likewise.
51666 2012-03-27  Anton Blanchard  <anton@samba.org>
51668         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51669         MAP_HUGETLB.
51670         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51671         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51672         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51674 2012-03-27  David S. Miller  <davem@davemloft.net>
51676         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51678         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51679         have-as-vis3 check.
51681 2012-03-27  Andreas Jaeger  <aj@suse.de>
51683         * sysdeps/x86_64/elf/configure.in: Moved to ...
51684         * sysdeps/x86_64/configure.in: ... here.
51685         * sysdeps/x86_64/elf/start.S: Moved to ...
51686         * sysdeps/x86_64/start.S: ... here.
51687         * sysdeps/x86_64/elf/configure: Delete.
51689         * sysdeps/x86_64/configure.in: Merge contents from
51690         sysdeps/i386/configure.in (without i686 check).
51692         * sysdeps/i386/elf/Versions: Merge into ...
51693         * sysdeps/i386/Versions: ... this.
51694         * sysdeps/i386/elf/Versions: Delete file.
51695         * sysdeps/i386/elf/start.S: Moved to ...
51696         * sysdeps/i386/start.S: ...here.
51697         * sysdeps/i386/elf/configure.in: Merge into...
51698         * sysdeps/i386/configure.in: ...here.
51699         * sysdeps/i386/elf/configure.in: Delete file.
51700         * sysdeps/i386/elf/configure: Delete file.
51702         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51703         * debug/backtracesyms.c: ... here.
51704         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51705         * debug/backtracesymsfd.c: ... here.
51706         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51707         * sysdeps/generic/ifunc-sel.h: ... here.
51709         * sysdeps/unix/i386/start.c: Delete file.
51710         * sysdeps/unix/sparc/start.c: Delete file.
51711         * sysdeps/unix/start.c: Delete file.
51713         * sysdeps/sh/elf/configure.in: Moved to ...
51714         * sysdeps/sh/configure.in: ... here.
51715         * sysdeps/sh/elf/start.S: Moved to ...
51716         * sysdeps/sh/start.S: ... here.
51717         * sysdeps/sh/elf/configure: Delete file.
51719         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51720         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51721         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51722         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51723         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51724         * sysdeps/powerpc/powerpc64/start.S: here.
51725         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51726         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51727         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51728         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51729         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51731         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51732         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51733         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51734         * sysdeps/powerpc/powerpc32/start.S: ... here.
51735         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51736         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51737         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51739         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51740         * sysdeps/powerpc/ifunc-sel.h: ... here.
51741         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51742         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51744         * sysdeps/sparc/elf/configure.in: Moved to ...
51745         * sysdeps/sparc/configure.in: ... here.
51746         * sysdeps/sparc/elf/configure: Delete file.
51747         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51748         * sysdeps/sparc/sparc32/start.S: ... here.
51749         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51750         * sysdeps/sparc/sparc64/start.S: ... here.
51751         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51752         * sysdeps/sparc/sparc32/Makefile: ... this.
51753         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51754         * sysdeps/sparc/sparc64/Makefile: ... this.
51756         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51757         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51758         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51759         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51760         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51761         * sysdeps/s390/s390-32/setjmp.S: ... here.
51762         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51763         * sysdeps/s390/s390-32/configure.in: ... here.
51764         * sysdeps/s390/s390-32/elf/configure: Delete file.
51765         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51766         * sysdeps/s390/s390-32/start.S: ... here.
51768         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51769         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51770         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51771         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51772         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51773         * sysdeps/s390/s390-64/setjmp.S: ... here.
51774         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51775         * sysdeps/s390/s390-64/configure.in: ... here
51776         * sysdeps/s390/s390-64/elf/configure: Delete file.
51777         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51778         * sysdeps/s390/s390-64/start.S: ... here.
51779         * sysdeps/s390/s390-64/elf/configure: Delete.
51781         * configure.in: Remove support for elf directories in sysdeps.
51783         * configure: Regenerated.
51784         * sysdeps/i386/configure: Regenerated.
51785         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51786         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51787         * sysdeps/s390/s390-32/configure: Regenerated.
51788         * sysdeps/s390/s390-64/configure: Regenerated.
51789         * sysdeps/sh/configure: Regenerated.
51790         * sysdeps/sparc/configure: Regenerated.
51791         * sysdeps/x86_64/configure: Regenerated.
51793 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51797         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51798         denormal result into account.
51800 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51802         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51803         Reported by Allan McRae <allan@archlinux.org>.
51805 2012-03-23  Jeff Law  <law@redhat.com>
51807         * nss/getnssent.c (__nss_getent): Fix typo.
51809 2012-03-23  David S. Miller  <davem@davemloft.net>
51811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51813 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51815         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51816         to pad to uint64_t for each field.
51817         (dl_tls_index): Replace unsigned long with uint64_t.
51819 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51820         Paul Pluzhnikov  <ppluzhnikov@google.com>
51822         [BZ #6528]
51823         * grp/Makefile (otherlibs): Don't set it.
51824         * inet/Makefile (otherlibs): Likewise.
51825         * login/Makefile (otherlibs): Likewise.
51826         * nscd/Makefile (otherlibs): Likewise.
51827         * posix/Makefile (otherlibs): Likewise.
51828         * pwd/Makefile (otherlibs): Likewise.
51829         * rt/Makefile (otherlibs): Likewise.
51830         * sunrpc/Makefile (otherlibs): Likewise.
51831         * nss/Makefile (otherlibs): Likewise.
51832         Add libnss_files to routines and static-only-routines.
51833         ($(objpfx)getent): Remove rule.
51834         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51835         static-only-routines.
51837 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51839         [BZ #13892]
51840         * math/s_cexp.c: Include <float.h>.
51841         (__cexp): Handle exp result overflowing not necessarily
51842         overflowing both real and imaginary parts of result.
51843         * math/s_cexpf.c: Likewise.
51844         * math/s_cexpl.c: Likewise.
51845         * math/libm-test.inc (cexp_test): Add more tests.
51846         * sysdeps/i386/fpu/libm-test-ulps: Update.
51847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51849 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51851         * include/link.h (ELFW): New macro.
51852         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51853         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51855 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51857         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51858         with uint64_t.
51860 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51862         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51863         declaration.
51864         (struct La_x32_retval): Likewise.
51866 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51868         * sysdeps/x86_64/preconfigure.in: New file.
51869         * sysdeps/x86_64/preconfigure: New generated file.
51871 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51873         [BZ #13824]
51874         * math/e_exp2l.c: Include <float.h>.
51875         (__ieee754_exp2l): Handle overflow and underflow cases
51876         separately.  Only pass fractional part of argument to
51877         __ieee754_expl.
51878         * math/libm-test.inc (exp2_test): Add more tests.
51880         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51881         negating x to take absolute value.
51882         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51883         Likewise.
51884         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51885         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51886         Likewise.
51887         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51888         computing low part if x was negated.
51889         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51891 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51893         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51894         la_x32_gnu_pltexit.
51895         (pltexit): Cast int_retval to ptrdiff_t.
51896         * elf/tst-auditmod3b.c: Likewise.
51897         * elf/tst-auditmod4b.c: Likewise.
51898         * elf/tst-auditmod5b.c: Likewise.
51899         * elf/tst-auditmod6b.c: Likewise.
51900         * elf/tst-auditmod6c.c: Likewise.
51901         * elf/tst-auditmod7b.c: Likewise.
51903         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51904         and x32_gnu_pltexit.
51906         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51907         __ELF_NATIVE_CLASS.
51908         (La_x32_regs): New macro.
51909         (La_x32_retval): Likewise.
51910         (la_x32_gnu_pltenter): New function prototype.
51911         (la_x32_gnu_pltexit): Likewise.
51913 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51915         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51916         exponent.
51918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51920         * configure.in (libc_cv_cc_nofma): Check for option to disable
51921         generation of FMA instructions.
51922         * configure: Regenerate.
51923         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51924         * sysdeps/ieee754/dbl-64/Makefile: New file.
51925         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51926         Remove brandred-fma4.
51927         (CFLAGS-brandred-fma4.c): Remove.
51928         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51929         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51930         define.
51931         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51932         define.
51934 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51936         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51937         LLONG_MAX != LONG_MAX.
51938         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51939         (_fitoa_word): Likewise.
51940         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51941         LLONG_MAX != LONG_MAX.
51942         * stdio-common/_itowa.h: Include <_itoa.h>.
51943         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51944         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51945         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51946         only if not defined.
51947         (_ITOA_WORD_TYPE): Likewise.
51948         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51949         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51951 2012-03-21  David S. Miller  <davem@davemloft.net>
51953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51955 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51957         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51958         of x86_64 when setting libc_cv_slibdir, libdir and
51959         libc_cv_localedir.
51960         * sysdeps/unix/sysv/linux/configure: Regenerated.
51962 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51964         * manual/lang.texi (Old Varargs): Remove section.
51965         (How Variadic): Update menu.
51966         (va_start): Do not mention varargs.h.
51968 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51969             Joseph Myers  <joseph@codesourcery.com>
51971         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51972         link test.
51973         * configure: Regenerated.
51975 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51977         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51978         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51979         conformtest.pl
51981 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51983         * NOTES: Remove.
51984         * Makefile (files-for-dist): Remove NOTES.
51985         (NOTES): Remove rule.
51986         * README: Don't refer to NOTES.
51987         * manual/creature.texi: Don't include macros.texi.
51988         * manual/intro.texi (creature.texi): Remove comment referring to
51989         NOTES.
51991         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51992         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51993         * configure: Regenerated.
51994         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51995         LIBC_TRY_CC_OPTION.
51996         (libc_cv_as_i686): Likewise.
51997         (libc_cv_cc_avx): Likewise.
51998         (libc_cv_cc_sse2avx): Likewise.
51999         (libc_cv_cc_fma4): Likewise.
52000         (libc_cv_cc_novzeroupper): Likewise.
52001         * sysdeps/i386/configure: Regenerated.
52003         [BZ #13883]
52004         * sysdeps/i386/fpu/s_cexp.S: Remove.
52005         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52006         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52007         * math/libm-test.inc (cexp_test): Add more tests.
52008         * sysdeps/i386/fpu/libm-test-ulps: Update.
52009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52011 2012-03-21  Allan McRae  <allan@archlinux.org>
52013         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52015 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52017         [BZ #13871]
52018         * math/w_exp2.c: Do not include <float.h>.
52019         (o_threshold, u_threshold): Remove.
52020         (__exp2): Calculate result before checking finiteness and calling
52021         __kernel_standard.
52022         * math/w_exp2f.c: Likewise.
52023         * math/w_exp2l.c: Likewise.
52024         * math/libm-test.inc (exp2_test): Require overflow exception for
52025         1e6 input.
52027         [BZ #3866]
52028         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52029         range of signed 64-bit integers before using fistpll.  Remove
52030         checks for whether integers fit in mantissa bits.
52031         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52032         the range of signed 32-bit integers before using fistpl.  Remove
52033         checks for whether integers fit in mantissa bits.
52034         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52035         (__ieee754_powl): Test for y outside the range of signed 64-bit
52036         integers before using fistpll.  Reduce 64-bit values to 63-bit
52037         ones as needed.
52038         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52039         divide-by-zero is raised for zero to large negative powers.
52040         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52041         (__ieee754_powl): Test for y outside the range of signed 64-bit
52042         integers before using fistpll.  Reduce 64-bit values to 63-bit
52043         ones as needed.
52044         * math/libm-test.inc (pow_test): Add more tests.
52046 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52048         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52049         <stdio-common/_itoa.h>.
52050         * debug/segfault.c: Likewise.
52051         * elf/dl-cache.c: Likewise.
52052         * elf/dl-minimal.c: Likewise.
52053         * elf/dl-misc.c: Likewise.
52054         * elf/dl-sysdep.c: Likewise.
52055         * elf/dl-version.c: Likewise.
52056         * elf/rtld.c: Likewise.
52057         * hurd/hurdsock.c: Likewise.
52058         * hurd/lookup-retry.c: Likewise.
52059         * malloc/malloc.c: Likewise.
52060         * malloc/mtrace.c: Likewise.
52061         * nscd/nscd_getgr_r.c: Likewise.
52062         * nscd/nscd_getpw_r.c: Likewise.
52063         * nscd/nscd_getserv_r.c: Likewise.
52064         * posix/getopt_init.c: Likewise.
52065         * posix/wordexp.c: Likewise.
52066         * stdio-common/_itoa.c: Likewise.
52067         * stdio-common/printf_fphex.c: Likewise.
52068         * stdio-common/vfprintf.c: Likewise.
52069         * string/_strerror.c: Likewise.
52070         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52071         * sysdeps/i386/i686/hp-timing.h: Likewise.
52072         * sysdeps/mach/_strerror.c: Likewise.
52073         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52074         * sysdeps/mach/hurd/sethostid.c: Likewise.
52075         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52076         * sysdeps/mach/xpg-strerror.c: Likewise.
52077         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52078         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52079         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52080         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52081         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52082         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52083         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52084         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52085         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52086         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52087         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52088         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52089         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52090         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52091         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52092         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52093         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52094         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52095         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52096         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52097         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52099         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52101         * stdio-common/_itoa.h: Moved to ...
52102         * sysdeps/generic/_itoa.h: Here.
52104         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52106         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52107         instead of "_itoa.h" and "_itowa.h".
52108         * stdio-common/vfprintf.: Likewise.
52110 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52112         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52113         <bits/wordsize.h>.
52114         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52115         (__signbit): Likwise.
52116         (llrintf): Likwise.
52117         (llrint): Likwise.
52119 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52121         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52122         __WORDSIZE != 64.
52124 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52126         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52127         OVERFLOW_EXCEPTION_OK.
52128         * math/libm-test.inc ("Philosophy"): Update comment about
52129         exception testing.
52130         (OVERFLOW_EXCEPTION): Define.
52131         (OVERFLOW_EXCEPTION_OK): Likewise.
52132         (INVALID_EXCEPTION_OK): Renumber.
52133         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52134         (IGNORE_ZERO_INF_SIGN): Likewise.
52135         (test_exceptions): Handle FE_OVERFLOW.
52136         (exp10_test): Expect overflow exceptions.
52137         (exp2_test): Likewise.
52138         (expm1_test): Likewise.
52139         (nextafter_test): Likewise.
52140         (pow_test): Likewise.
52141         (scalbn_test): Likewise.
52142         (scalbln_test): Likewise.
52144 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52146         * sysdeps/x86_64/bits/atomic.h
52147         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52148         64bit integer.
52149         (atomic_exchange_acq): Likewise.
52150         (__arch_exchange_and_add_body): Likewise.
52151         (__arch_add_body): Likewise.
52152         (atomic_add_negative): Likewise.
52153         (atomic_add_zero): Likewise.
52155 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52157         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52158         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52160 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52162         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52163         Check __x86_64__ instead of __WORDSIZE.
52165 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52167         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52169 2012-03-19  David S. Miller  <davem@davemloft.net>
52171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52173         * sysdeps/sparc/fpu/fenv_private.h: New file.
52174         * sysdeps/sparc/fpu/math_private.h: Use it.
52175         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52176         Remove.
52177         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52178         (libc_feholdexcept_setroundl): Remove.
52179         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52180         Remove.
52181         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52182         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52184 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52186         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52187         int64_t instead of long int.
52188         (INSERT_WORDS64): Likwise.
52190 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52192         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52193         _Unwind_GetCFA return to _Unwind_Ptr first.
52195 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52197         [BZ #13629]
52198         * math/s_clog.c: Include <float.h>.
52199         (__clog): Scale large or subnormal inputs.
52200         * math/s_clogf.c: Likewise.
52201         * math/s_clogl.c: Likewise.
52202         * math/s_clog10.c: Include <float.h>.
52203         (M_LOG10_2): Define.
52204         (__clog10): Scale large or subnormal inputs.
52205         * math/s_clog10f.c: Likewise.
52206         * math/s_clog10l.c: Likewise.
52207         * math/libm-test.inc (clog_test): Add more tests.
52208         (clog10_test): Likewise.
52209         * sysdeps/i386/fpu/libm-test-ulps: Update.
52210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52212         [BZ #11451]
52213         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52214         x and y.
52215         * math/libm-test.inc (atan2_test): Add another test.
52217         * Makerules (common-objdir-compile): Remove.
52218         * sysdeps/unix/Makefile (config-generated): Do not add
52219         $(unix-generated) to variable.
52220         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52221         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52222         Remove rule.
52223         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52224         Likewise.
52225         [generic bits/local_lim.h] (before-compile): Do not append to
52226         variable.
52227         [generic bits/local_lim.h] (common-generated): Likewise.
52228         [generic sys/param.h] (before-compile): Do not append to variable.
52229         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52230         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52231         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52232         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52233         include.
52234         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52235         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52236         [generic sys/param.h] ($(addprefix
52237         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52238         [generic sys/param.h] (common-generated): Do not append to
52239         variable.
52240         [generic sys/param.h] (sysdep_headers): Likewise.
52241         [generic bits/errno.h] (before-compile): Do not append to
52242         variable.
52243         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52244         rule.
52245         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52246         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52247         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52248         [generic bits/errno.h] (common-generated): Do not append to
52249         variable.
52250         [generic bits/ioctls.h] (before-compile): Do not append to
52251         variable.
52252         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52253         rule.
52254         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52255         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52256         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52257         rule.
52258         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52259         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52260         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52261         [generic bits/ioctls.h] (common-generated): Do not append to
52262         variable.
52263         [generic sys/syscall.h] (syscall.h): Remove variable.
52264         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52265         rule.
52266         [generic sys/syscall.h] (before-compile): Do not append to
52267         variable.
52268         [generic sys/syscall.h] (common-generated): Likewise.
52269         * sysdeps/unix/errnos-tmpl.c: Remove file.
52270         * sysdeps/unix/errnos.awk: Likewise.
52271         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52272         * sysdeps/unix/ioctls.awk: Likewise.
52273         * sysdeps/unix/mk-local_lim.c: Likewise.
52274         * sysdeps/unix/snarf-ioctls: Likewise.
52276 2012-03-19  Richard Henderson  <rth@twiddle.net>
52278         * sysdeps/i386/fpu/fenv_private.h: New file.
52279         * sysdeps/i386/fpu/math_private.h: Use it.
52280         (math_opt_barrier, math_force_eval): Remove.
52281         (libc_feholdexcept_setround_53bit): Remove.
52282         (libc_feupdateenv_53bit): Remove.
52283         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52284         (math_opt_barrier, math_force_eval): Remove.
52285         (libc_feholdexcept): Remove.
52286         (libc_feholdexcept_setround): Remove.
52287         (libc_fetestexcept, libc_fesetenv): Remove.
52288         (libc_feupdateenv_test): Remove.
52289         (libc_feupdateenv, libc_feholdsetround): Remove.
52290         (libc_feresetround): Remove.
52292         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52293         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52295         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52296         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52297         (libc_feupdateenv_testl): New.
52298         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52299         (libc_feupdateenv_testf): New.
52300         (libc_feupdateenv): Use libc_feupdateenv_test.
52301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52302         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52304         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52305         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52306         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52307         (libc_feresetround_noex): New.
52308         (libc_feresetround_noexf): New.
52309         (libc_feresetround_noexl): New.
52310         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52311         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52312         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52313         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52314         SET_RESTORE_ROUND.
52315         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52317         (__cos): Likewise.
52318         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52319         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52320         SET_RESTORE_ROUND_NOEX.
52321         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52322         SET_RESTORE_ROUND_NOEXF.
52323         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52324         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52325         (libc_feholdsetroundf): New.
52326         (libc_feresetround, libc_feresetroundf): New.
52328         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52329         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52330         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52332         * sysdeps/generic/math_private.h: Include <fenv.h>.
52333         (default_libc_feholdexcept): New.
52334         (default_libc_feholdexcept_setround): New.
52335         (default_libc_fesetenv, default_libc_feupdateenv): New.
52336         (libc_feholdexcept): Only define if undefined.
52337         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52338         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52339         (libc_feholdexcept_setroundl): Likewise.
52340         (libc_feholdexcept_setround_53bit): Likewise.
52341         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52342         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52343         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52344         (libc_feupdateenv_53bit): Likewise.
52345         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52346         (libc_feholdexcept): Convert from macro to inline function.
52347         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52348         (libc_fesetenv, libc_feupdateenv): Likewise.
52350         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52351         not previously defined.
52352         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52353         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52354         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52355         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52356         * sysdeps/ieee754/flt-32/math_private.h: New file.
52357         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52358         math_private.h below SET_FLOAT_WORD.
52359         (__isnan, __isinf_ns, __finite): Remove.
52360         (__isnanf, __isinf_nsf, __finitef): Remove.
52362 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52366 2012-03-17  David S. Miller  <davem@davemloft.net>
52368         [BZ #6471]
52369         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52370         for 2.16.
52372 2012-03-16  David S. Miller  <davem@davemloft.net>
52374         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52375         warnings.
52377         [BZ #6471]
52378         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52379         properly.
52380         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52381         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52382         sysdep_routines when subdir is sysvipc.
52383         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52384         __getshmlba helper.
52386         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52388 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52390         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52391         [__LP64__].
52393 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52395         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52396         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52397         (__lround): Renamed to ...
52398         (__llround): This.  Replace long int with long long int.
52399         Define lround functions as aliases of llround functions.
52400         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52402 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52404         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52405         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52406         adresses to uintptr_t.  Replace "long int" and "unsigned long
52407         int" with "greg_t" on va_arg.
52409 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52411         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52412         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52414         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52415         Move e_machine check before EI_CLASS check.  Handle x32
52416         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52417         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52418         SKIP_EM_IA_64 and include
52419         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52421         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52422         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52423         (add_system_dir): New macro.
52425         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52426         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52428 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52430         [BZ #2551]
52431         [BZ #2552]
52432         [BZ #2553]
52433         [BZ #2554]
52434         [BZ #2562]
52435         [BZ #2563]
52436         [BZ #2565]
52437         [BZ #2566]
52438         [BZ #2576]
52439         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52440         (y0): Likewise.
52441         * math/w_j0f.c (j0f): Likewise.
52442         (y0f): Likewise.
52443         * math/w_j0l.c (__j0l): Likewise.
52444         (__y0l): Likewise.
52445         * math/w_j1.c (j1): Likewise.
52446         (y1): Likewise.
52447         * math/w_j1f.c (j1f): Likewise.
52448         (y1f): Likewise.
52449         * math/w_j1l.c (__j1l): Likewise.
52450         (__y1l): Likewise.
52451         * math/w_jn.c (jn): Likewise.
52452         (yn): Likewise.
52453         * math/w_jnf.c (jnf): Likewise.
52454         (ynf): Likewise.
52455         * math/w_jnl.c (__jnl): Likewise.
52456         (__ynl): Likewise.
52457         * math/libm-test.inc (j0_test): Add more tests.
52458         (j1_test): Likewise.
52459         (jn_test): Likewise.  Add trailing semicolon to existing test.
52460         (y0_test): Likewise.
52461         (y1_test): Likewise.
52462         * sysdeps/i386/fpu/libm-test-ulps: Update.
52463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52465         [BZ #13851]
52466         [BZ #13854]
52467         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52468         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52469         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52470         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52471         (__tanl): Set errno for infinite argument.
52472         * sysdeps/i386/fpu/mptan.c: Remove.
52473         * sysdeps/i386/fpu/s_tan.S: Likewise.
52474         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52475         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52476         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52477         * math/libm-test.inc (tan_test): Add more tests and enable more
52478         tests for double and long double.
52479         * sysdeps/i386/fpu/libm-test-ulps: Update.
52480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52482 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52484         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52485         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52487 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52489         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52490         * configure.in: Use it for both main tree and add-ons.
52491         * configure: Regenerated.
52493 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52495         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52497 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52499         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52500         in comment.
52502         [BZ #13851]
52503         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52504         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52505         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52506         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52507         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52508         infinite argument.
52509         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52510         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52511         != 0 for prec == 2.
52512         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52513         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52514         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52515         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52516         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52517         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52518         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52519         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52520         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52521         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52522         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52523         * math/libm-test.inc (cos_test): Add more tests and enable more
52524         tests for long double.
52525         (sin_test): Likewise.
52526         (sincos_test): Likewise.
52527         * sysdeps/i386/fpu/libm-test-ulps: Update.
52528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52530 2012-03-16  David S. Miller  <davem@davemloft.net>
52532         * sysdeps/sparc/fpu/math_private.h: New file.
52534 2012-03-15  David S. Miller  <davem@davemloft.net>
52536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52537         file.
52538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52540         file.
52541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52546         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52547         sysdep routines.
52548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52550         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52551         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52553         * sysdeps/sparc/sparc-ifunc.h: New file.
52554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52555         sparc-ifunc.h
52556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52558         Likewise.
52559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52560         Likewise.
52561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52565         Likewise.
52566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52571         Likewise.
52572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52573         Likewise.
52574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52578         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52580         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52581         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52588         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52589         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52591         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52592         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52593         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52594         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52595         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52596         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52597         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52599 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52601         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52602         scaling.
52603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52605 2012-03-15  Andreas Jaeger  <aj@suse.de>
52607         [BZ #13852]
52608         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52609         ieee754/flt-32 implementation for sin, cos and sincos.
52610         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52611         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52612         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52613         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52614         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52615         ieee754/flt-32 implementation for tan.
52617         * math/libm-test.inc (cos_test): Enable some large input tests for
52618         float as well
52619         (sin_test): Likewise.
52620         (sincos_test): Likewise.
52621         (tan_test): Add tests for large input.
52623         * sysdeps/i386/fpu/libm-test-ulps: Update.
52625 2012-03-15  Andreas Jaeger  <aj@suse.de>
52627         [BZ #13658]
52628         * math/libm-test.inc (cos_test): Add more test cases.
52629         (sin_test): Likewise.
52630         (sincos_test): Likewise.
52632 2012-03-15  Andreas Jaeger  <aj@suse.de>
52634         [BZ #13837]
52635         * math/libm-test.inc (cos_test): Add a test case for large input
52636         value.
52637         (sin_test): Likewise.
52638         (sincos_test): Likewise.
52640 2012-03-15  Andreas Jaeger  <aj@suse.de>
52641             Joseph Myers  <joseph@codesourcery.com>
52643         [BZ #13658]
52644         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52645         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52646         * sysdeps/i386/fpu/branred.c: Likewise.
52647         * sysdeps/i386/fpu/dosincos.c: Likewise.
52648         * sysdeps/i386/fpu/mpa.c: Likewise.
52649         * sysdeps/i386/fpu/s_cos.S: Likewise.
52650         * sysdeps/i386/fpu/s_sin.S: Likewise.
52651         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52652         * sysdeps/i386/fpu/sincos32.c: Likewise.
52654         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52655         Define.
52656         (libc_feupdateenv_53bit): Define.
52657         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52658         Define.
52659         (libc_feupdateenv_53bit): Define.
52661         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52662         53 bit (without extend i386 double precision).
52664         * math/libm-test.inc (sincos_test): Add tests for large input.
52665         (sin): Likewise.
52666         (cos): Likewise.
52668         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52670 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52674 2012-03-15  David S. Miller  <davem@davemloft.net>
52676         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52677         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52678         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52679         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52687         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52688         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52689         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52692         file.
52693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52695         file.
52696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52698         file.
52699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52701         file.
52702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52704         fmin/fmax sysdep routines.
52705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52707 2012-03-14  David S. Miller  <davem@davemloft.net>
52709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52711         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52712         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52713         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52714         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52715         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52716         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52717         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52718         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52721         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52722         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52723         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52724         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52725         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52726         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52727         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52728         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52729         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52730         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52731         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52732         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52733         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52734         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52735         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52736         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52737         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52738         routines.
52739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52740         file.
52741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52743         file.
52744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52746         file.
52747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52749         file.
52750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52752         file.
52753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52755         file.
52756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52757         file.
52758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52759         file.
52760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52761         file.
52762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52763         New file.
52764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52765         file.
52766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52767         file.
52768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52770         file.
52771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52773         file.
52774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52776         file.
52777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52779         VIS3 routines.
52781         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52782         New file.
52784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52786         * sysdeps/sparc/configure.in: New file.
52787         * sysdeps/sparc/configure: Generate.
52788         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52789         * configure: Regenerate.
52790         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52791         * config.make.in (have-as-vis3): New.
52792         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52793         available use -Av9d instead of -Av9a.
52794         * sysdeps/sparc/sparc64/Makefile: Likewise.
52795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52797         New file.
52798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52799         file.
52800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52801         New file.
52802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52803         file.
52804         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52805         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52806         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52807         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52808         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52810         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52811         fzeros/fnegs to load 0x80000000 into a float register instead of
52812         using the stack.
52813         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52815 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52818         bits/syscall.h.
52819         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52820         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52821         ($(inst_includedir)/bits/syscall.h): Remove rule.
52822         ($(objpfx)bits/syscall.d): Include instead of
52823         $(objpfx)syscall-list.d.
52824         (generated): Change syscall-list.h and syscall-list.d to
52825         bits/syscall.h and bits/syscall.d.
52827 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52829         [BZ #13846]
52830         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52832 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52834         [BZ #13841]
52835         * math/s_csqrt.c: Include <float.h>.
52836         (__csqrt): Scale large or subnormal inputs.
52837         * math/s_csqrtf.c: Likewise.
52838         * math/s_csqrtl.c: Likewise.
52839         * math/libm-test.inc (csqrt_test): Add more tests.
52840         * sysdeps/i386/fpu/libm-test-ulps: Update.
52841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52843         [BZ #13840]
52844         * math/libm-test.inc (hypot_test): Add more tests.
52846 2012-03-13  David S. Miller  <davem@davemloft.net>
52848         [BZ #13840]
52849         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52850         double-precision for the calculation instead of scaling.
52852 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52854         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52855         manipulate bits before adding and subtracting TWO52[sx].
52856         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52857         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52858         Likewise.
52859         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52861 2012-03-13  David S. Miller  <davem@davemloft.net>
52863         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52864         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52865         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52866         rtld-global-offsets.h
52867         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52869         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52870         large parameters.
52872         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52874         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52875         'err' in the ifdef scope in which it is actually used.
52877         * nss/nss_db/db-init.c: Include string.h
52879 2012-03-12  David S. Miller  <davem@davemloft.net>
52881         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52882         masking out of the most significant byte of random value used.
52883         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52884         Fix coding style in previous change.
52886         * sysdeps/unix/sysv/linux/kernel-features.h
52887         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52888         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52889         expression.
52890         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52891         later.
52893 2012-03-11  David S. Miller  <davem@davemloft.net>
52895         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52896         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52897         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52898         for 'resultvar' otherwise things get truncated on 64-bit.
52900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52901         Fix masking out of the most significant byte of random value used.
52903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52905 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52909 2012-03-09  David S. Miller  <davem@davemloft.net>
52911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52912         variables with appropriate CPP guards.
52913         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52914         from the frame pointer, not the stack pointer.  Correct layout
52915         comments.  Fix test on resulting framesize and the management of
52916         the outregs buffer for pltexit.  Preserve floating point return
52917         values across _dl_call_pltexit call.
52918         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52919         framesize and the management of the outregs buffer for pltexit.
52920         Preserve floating point return values across _dl_call_pltexit
52921         call.
52922         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52923         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52924         (la_sparc64_gnu_pltexit): New functions.
52925         (print_exit): Fix format string for return register value.
52927 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52929         * sunrpc/Makefile (others): Add rpcgen.
52930         ($(objpfx)rpcgen): Remove special build rule and dependency on
52931         libc.
52932         * sunrpc/rpcgen.c: New file.
52934 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52936         [BZ #13673]
52937         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52938         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52939         * sysdeps/i386/crti.S: Likewise.
52940         * sysdeps/i386/crtn.S: Likewise.
52941         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52942         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52943         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52944         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52945         * sysdeps/sh/crti.S: Likewise.
52946         * sysdeps/sh/crtn.S: Likewise.
52947         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52949         [BZ #13673]
52950         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52951         with URL.
52952         * locale/programs/locfile-kw.gperf: Likewise.
52953         * locale/programs/charmap-kw.h: Regenerated.
52954         * locale/programs/locfile-kw.h: Likewise.
52956         [BZ #13673]
52957         * intl/plural.y: Replace FSF snail mail address with URL.
52958         * intl/plural.c: Regenerated.
52960 2012-03-09  Richard Henderson  <rth@twiddle.net>
52962         * include/math_private.h: Remove file.
52963         * math/math_private.h: Move file ...
52964         * sysdeps/generic/math_private.h: ... here.
52966         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52967         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52968         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52970         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52971         and <math_private.h>.
52972         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52973         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52974         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52975         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52976         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52977         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52978         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52979         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52980         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52981         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52982         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52983         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52984         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52985         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52986         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52987         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52988         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52989         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52990         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52991         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52993         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52994         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52995         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52996         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52997         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52998         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52999         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53001         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53002         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53003         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53004         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53005         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53006         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53007         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53008         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53009         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53010         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53011         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53012         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53013         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53014         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53015         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53016         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53017         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53018         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53019         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53020         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53021         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53022         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53023         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53024         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53025         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53026         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53027         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53028         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53029         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53030         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53031         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53032         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53033         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53034         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53035         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53036         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53037         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53038         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53039         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53040         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53041         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53042         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53043         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53044         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53045         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53046         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53047         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53048         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53049         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53050         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53051         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53052         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53053         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53054         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53055         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53056         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53057         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53058         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53059         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53060         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53061         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53062         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53063         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53064         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53065         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53066         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53067         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53068         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53069         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53070         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53071         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53072         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53073         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53074         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53075         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53076         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53077         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53078         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53079         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53080         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53081         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53082         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53083         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53084         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53085         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53086         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53087         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53088         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53089         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53090         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53091         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53092         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53093         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53094         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53095         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53096         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53097         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53098         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53099         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53100         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53101         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53102         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53103         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53104         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53105         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53106         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53107         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53108         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53109         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53110         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53111         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53112         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53113         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53114         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53115         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53116         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53117         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53118         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53119         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53120         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53121         * sysdeps/ieee754/k_standard.c: Likewise.
53122         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53123         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53124         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53125         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53126         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53127         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53128         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53129         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53130         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53131         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53133         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53134         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53135         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53136         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53137         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53138         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53139         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53140         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53141         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53142         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53143         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53144         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53145         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53146         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53147         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53148         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53149         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53150         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53151         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53152         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53153         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53154         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53155         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53156         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53157         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53158         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53159         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53160         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53161         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53162         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53163         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53164         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53165         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53166         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53167         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53168         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53169         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53170         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53171         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53172         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53173         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53174         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53175         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53176         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53177         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53178         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53179         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53180         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53181         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53182         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53183         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53184         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53185         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53187         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53190         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53191         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53192         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53193         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53194         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53195         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53196         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53197         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53198         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53199         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53200         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53201         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53202         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53203         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53204         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53205         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53206         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53208         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53209         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53210         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53211         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53212         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53213         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53214         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53215         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53216         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53217         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53218         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53219         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53220         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53221         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53222         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53223         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53224         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53225         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53226         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53227         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53228         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53229         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53230         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53231         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53232         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53233         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53234         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53235         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53236         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53237         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53238         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53239         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53240         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53241         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53242         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53243         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53244         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53245         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53246         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53247         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53248         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53249         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53250         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53252         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53253         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53254         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53255         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53256         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53257         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53258         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53259         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53260         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53261         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53262         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53263         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53264         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53265         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53266         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53267         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53268         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53269         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53270         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53271         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53272         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53273         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53275         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53276         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53277         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53278         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53279         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53280         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53281         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53282         * sysdeps/ieee754/s_lib_version.c: Likewise.
53283         * sysdeps/ieee754/s_matherr.c: Likewise.
53284         * sysdeps/ieee754/s_signgam.c: Likewise.
53285         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53286         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53287         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53288         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53289         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53290         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53291         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53292         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53293         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53294         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53295         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53296         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53297         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53298         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53299         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53300         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53301         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53302         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53303         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53304         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53305         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53307 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53309         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53310         * sunrpc/rpc_main.c: Likewise.
53311         * sunrpc/rpc_svcout.c: Likewise.
53313 2012-03-09  David S. Miller  <davem@davemloft.net>
53315         * include/math_private.h: New file.
53317 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53319         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53320         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53321         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53322         from <bits/socket_type.h>.
53323         (enum __socket_type): Don't define here.
53324         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53326         bits/socket_type.h.
53328         [BZ #13566]
53329         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53330         checking __USE_GNU.
53332         * Makerules ($(inst_includedir)/%.h): New rule.
53333         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53334         (install-others): Remove variable setting.
53335         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53337 2012-03-08  Richard Henderson  <rth@twiddle.net>
53339         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53340         from macro to inline function; merge with the
53341         !__LIBC_INTERNAL_MATH_INLINES version.
53342         (__ieee754_sqrtf): Likewise.
53344         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53345         to inline function.
53346         (__rintf, __floor, __floorf): Likewise.
53348         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53349         macro to inline function.
53350         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53352         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53353         not <math/math_private.h>.
53355 2012-03-08  David S. Miller  <davem@davemloft.net>
53357         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53358         copyright year.
53359         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53361 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53363         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53364         normalization.
53365         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53366         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53368 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53370         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53371         be defined individually, they must be defined as a block.  Define
53372         S for printing a string instead of hidint the different by using a
53373         macro for adding the 'l'.
53374         * stdio-common/tst-fphex-wide.c: Adjust.
53376 2012-03-07  Marek Polacek  <polacek@redhat.com>
53378         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53380 2012-03-08  Marek Polacek  <polacek@redhat.com>
53382         [BZ #13806]
53383         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53384         * stdio-common/tst-fphex.c: Define a few macros to make the
53385         test reusable.  Use them.
53386         * stdio-common/tst-fphex-wide.c: New file.
53388 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53390         [BZ #6911]
53391         * manual/macros.texi (gnusystems): New macro.
53392         (nongnusystems): Likewise.
53393         (gnulinuxhurdsystems): Likewise.
53394         (gnuhurdsystems): Likewise..
53395         (gnulinuxsystems): Likewise.
53396         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53397         variants of the GNU system, not "GNU system".
53398         * manual/conf.texi: Likewise.
53399         * manual/errno.texi: Likewise.  Update example of errno macro
53400         expansion.
53401         * manual/filesys.texi: Likewise.
53402         (getumask): Document as specific to GNU/Hurd.
53403         * manual/install.texi: Likewise.  Reword some references to
53404         GNU/Linux.
53405         * manual/intro.texi: Likewise.
53406         * manual/io.texi: Likewise.
53407         (File Name Portability): Detail which constraints are inapplicable
53408         to all GNU systems and which are only inapplicable to GNU/Hurd.
53409         * manual/job.texi: Likewise.
53410         * manual/llio.texi: Likewise.
53411         (O_NOCTTY): Document as present on GNU/Linux.
53412         * manual/maint.texi: Likewise.
53413         * manual/memory.texi: Likewise.
53414         * manual/pattern.texi: Likewise.
53415         * manual/pipe.texi: Likewise.
53416         * manual/process.texi: Likewise.
53417         * manual/resource.texi: Likewise.
53418         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53419         child on GNU/Hurd.
53420         * manual/setjmp.texi: Likewise.
53421         * manual/signal.texi: Likewise.
53422         * manual/startup.texi: Likewise.
53423         * manual/stdio.texi: Likewise.
53424         * manual/terminal.texi: Likewise.
53425         (ONLCR): Document as POSIX.
53426         (OXTABS): Document availability on GNU/Linux as XTABS.
53427         (ONOEOT): Document availability separately from other bits.
53428         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53429         * manual/time.texi: Likewise.
53430         * manual/users.texi: Likewise.
53431         * INSTALL: Regenerated.
53432         * sysdeps/gnu/errlist.c: Regenerated.
53434         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53435         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53436         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53437         puts.
53438         * configure: Regenerated.
53440 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53442         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53443         default includes instead of AC_HEADER_CHECK.
53444         * sysdeps/i386/configure: Regenerated.
53446         [BZ #10716]
53447         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53448         * math/s_cacoshf.c (__cacoshf): Likewise.
53449         * math/s_cacoshl.c (__cacoshl): Likewise.
53450         * math/s_casinh.c (__casinh): Set signs of result from argument.
53451         * math/s_casinhf.c (__casinhf): Likewise.
53452         * math/s_casinhl.c (__casinhl): Likewise.
53453         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53454         (casinh_test): Add more tests.
53455         * sysdeps/i386/fpu/libm-test-ulps: Update.
53456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53458 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53460         * po/zh_TW.po: Update from translation team.
53462         * login/Makefile (distribute): Remove variable.
53463         * catgets/Makefile: Likewise.
53464         * mach/Makefile: Likewise.
53465         * malloc/Makefile: Likewise.
53466         * misc/Makefile: Likewise.
53467         * iconv/Makefile: Likewise.
53468         * nscd/Makefile: Likewise.
53469         * hurd/Makefile: Likewise.
53470         * manual/Makefile: Likewise.
53471         * locale/Makefile: Likewise.
53472         * intl/Makefile: Likewise.
53473         * conform/Makefile: Likewise.
53474         * nss/Makefile: Likewise.
53475         * time/Makefile: Likewise.
53476         * soft-fp/Makefile: Likewise.
53477         * dirent/Makefile: Likewise.
53478         * gmon/Makefile: Likewise.
53479         * po/Makefile: Likewise.
53480         * rt/Makefile: Likewise.
53481         * socket/Makefile: Likewise.
53482         * math/Makefile: Likewise.
53483         * signal/Makefile: Likewise.
53484         * debug/Makefile: Likewise.
53485         * elf/Makefile: Likewise.
53486         * timezone/Makefile: Likewise.
53487         * stdlib/Makefile: Likewise.
53488         * iconvdata/Makefile: Likewise.
53489         * sunrpc/Makefile: Likewise.
53490         * io/Makefile: Likewise.
53491         * argp/Makefile: Likewise.
53492         * inet/Makefile: Likewise.
53493         * hesiod/Makefile: Likewise.
53494         * grp/Makefile: Likewise.
53495         * csu/Makefile: Likewise.
53496         * wctype/Makefile: Likewise.
53497         * crypt/Makefile: Likewise.
53498         * libio/Makefile: Likewise.
53499         * string/Makefile: Likewise.
53500         * nis/Makefile: Likewise.
53501         * resolv/Makefile: Likewise.
53502         * stdio-common/Makefile: Likewise.
53503         * wcsmbs/Makefile: Likewise.
53504         * dlfcn/Makefile: Likewise.
53505         * posix/Makefile: Likewise.
53507         [BZ #6959]
53508         * timezone/Makefile: Don't install timezone files, just the programs
53509         and scripts.
53511 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53513         * nss/databases.def: Add missing gshadow entry.
53515         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53517 2012-03-06  Marek Polacek  <polacek@redhat.com>
53519         [BZ #13726]
53520         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53521         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53522         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53523         * stdio-common/tst-long-dbl-fphex.c: New file.
53525 2012-03-06  David S. Miller  <davem@davemloft.net>
53527         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53528         (set_obp_int): New function.
53529         (get_obp_int): New function.
53530         (__get_clockfreq_via_dev_openprom): Likewise.
53531         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53532         Avoid unused variable warnings on 'val' and use builtin_expect.
53533         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53534         __builtin_expect.
53535         (INLINE_CLONE_SYSCALL): Likewise.
53537 2012-03-05  David S. Miller  <davem@davemloft.net>
53539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53541 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53545         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53546         only for |x| >= 40.
53547         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53549 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53551         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53552         Replace gettimeofday with __vdso_gettimeofday.
53554         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53555         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53556         __vdso_clock_gettime and __vdso_getcpu.
53558         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53559         time with __vdso_time.
53561 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53563         * manual/lang.texi (size_t): Note types to which size_t may be
53564         equivalent with the GNU C Library, but do not describe when
53565         differences between them are significant.
53567 2012-03-05  Andreas Jaeger  <aj@suse.de>
53569         * sysdeps/i386/fpu/libm-test-ulps: Update.
53571 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53573         [BZ #3976]
53574         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53575         (__ieee754_pow): Save and restore rounding mode and use
53576         round-to-nearest for main computations.
53577         * math/libm-test.inc (pow_test_tonearest): New function.
53578         (pow_test_towardzero): Likewise.
53579         (pow_test_downward): Likewise.
53580         (pow_test_upward): Likewise.
53581         (main): Call the new functions.
53582         * sysdeps/i386/fpu/libm-test-ulps: Update.
53583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53585         [BZ #3976]
53586         * math/libm-test.inc (cosh_test_tonearest): New function.
53587         (cosh_test_towardzero): Likewise.
53588         (cosh_test_downward): Likewise.
53589         (cosh_test_upward): Likewise.
53590         (sinh_test_tonearest): Likewise.
53591         (sinh_test_towardzero): Likewise.
53592         (sinh_test_downward): Likewise.
53593         (sinh_test_upward): Likewise.
53594         (main): Call the new functions.
53595         * sysdeps/i386/fpu/libm-test-ulps: Update.
53596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53598 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53600         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53601         default stack guard is set in last bytes.
53602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53604 2012-03-05  Kees Cook  <keescook@chromium.org>
53606         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53608         [BZ #13656]
53609         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53610         possibly allocate from heap instead of stack.
53611         * stdio-common/bug-vfprintf-nargs.c: New file.
53612         * stdio-common/Makefile (tests): Add nargs overflow test.
53614 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53618 2012-03-03  Marek Polacek  <polacek@redhat.com>
53620         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53621         * math/math_private.h: Likewise.
53622         * stdlib/tst-strtod.c: Likewise.
53623         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53624         * sysdeps/x86_64/bits/atomic.h: Likewise.
53626 2012-03-02  David S. Miller  <davem@davemloft.net>
53628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53632         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53633         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53634         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53635         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53637 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53639         [BZ #13792]
53640         * manual/examples/README: New file, says the example source files
53641         can be used under GPL>=2.
53642         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53643         line containing just "*/".
53644         * manual/examples/add.c: Add copyright header (GPL>=2).
53645         * manual/examples/argp-ex1.c: Likewise.
53646         * manual/examples/argp-ex2.c: Likewise.
53647         * manual/examples/argp-ex3.c: Likewise.
53648         * manual/examples/argp-ex4.c: Likewise.
53649         * manual/examples/atexit.c: Likewise.
53650         * manual/examples/db.c: Likewise.
53651         * manual/examples/dir.c: Likewise.
53652         * manual/examples/dir2.c: Likewise.
53653         * manual/examples/execinfo.c: Likewise.
53654         * manual/examples/filecli.c: Likewise.
53655         * manual/examples/filesrv.c: Likewise.
53656         * manual/examples/fmtmsgexpl.c: Likewise.
53657         * manual/examples/genpass.c: Likewise.
53658         * manual/examples/inetcli.c: Likewise.
53659         * manual/examples/inetsrv.c: Likewise.
53660         * manual/examples/isockad.c: Likewise.
53661         * manual/examples/longopt.c: Likewise.
53662         * manual/examples/memopen.c: Likewise.
53663         * manual/examples/memstrm.c: Likewise.
53664         * manual/examples/mkfsock.c: Likewise.
53665         * manual/examples/mkisock.c: Likewise.
53666         * manual/examples/mygetpass.c: Likewise.
53667         * manual/examples/pipe.c: Likewise.
53668         * manual/examples/popen.c: Likewise.
53669         * manual/examples/rprintf.c: Likewise.
53670         * manual/examples/search.c: Likewise.
53671         * manual/examples/select.c: Likewise.
53672         * manual/examples/setjmp.c: Likewise.
53673         * manual/examples/sigh1.c: Likewise.
53674         * manual/examples/sigusr.c: Likewise.
53675         * manual/examples/stpcpy.c: Likewise.
53676         * manual/examples/strdupa.c: Likewise.
53677         * manual/examples/strftim.c: Likewise.
53678         * manual/examples/strncat.c: Likewise.
53679         * manual/examples/subopt.c: Likewise.
53680         * manual/examples/swapcontext.c: Likewise.
53681         * manual/examples/termios.c: Likewise.
53682         * manual/examples/testopt.c: Likewise.
53683         * manual/examples/testpass.c: Likewise.
53684         * manual/examples/timeval_subtract.c: Likewise.
53686         [BZ #13792]
53687         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53688         function to ...
53689         * manual/timeval_subtract.c.texi: ... here, new file.
53691 2012-03-02  David S. Miller  <davem@davemloft.net>
53693         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53695 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53697         [BZ #3976]
53698         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53699         (__sin): Save and restore rounding mode and use round-to-nearest
53700         for all computations.
53701         (__cos): Save and restore rounding mode and use round-to-nearest
53702         for all computations.
53703         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53704         <fenv.h>.
53705         (tan): Save and restore rounding mode and use round-to-nearest for
53706         all computations.
53707         * math/libm-test.inc (cos_test_tonearest): New function.
53708         (cos_test_towardzero): Likewise.
53709         (cos_test_downward): Likewise.
53710         (cos_test_upward): Likewise.
53711         (sin_test_tonearest): Likewise.
53712         (sin_test_towardzero): Likewise.
53713         (sin_test_downward): Likewise.
53714         (sin_test_upward): Likewise.
53715         (tan_test_tonearest): Likewise.
53716         (tan_test_towardzero): Likewise.
53717         (tan_test_downward): Likewise.
53718         (tan_test_upward): Likewise.
53719         (main): Call the new functions.
53720         * sysdeps/i386/fpu/libm-test-ulps: Update.
53721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53723         [BZ #10135]
53724         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53725         small n, then large n, before computing and testing k+n.
53726         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53727         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53728         Likewise.
53729         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53730         Likewise.
53731         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53732         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53733         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53734         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53735         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53736         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53737         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53738         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53739         * math/libm-test.inc (scalbn_test): Add more tests.
53740         (scalbln_test): Likewise.
53742         * manual/filesys.texi (mode_t): Describe constraints on size and
53743         signedness, not exact equivalence to a particular type.
53744         (ino_t): Likewise.
53745         (ino64_t): Likewise.
53746         (dev_t): Likewise.
53747         (nlink_t): Likewise.
53748         (blkcnt_t): Likewise.
53749         (blkcnt64_t): Likewise.
53750         * manual/llio.texi (off_t): Likewise.
53752         [BZ #3976]
53753         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53754         (__ieee754_exp): Save and restore rounding mode and use
53755         round-to-nearest for all computations.
53756         * math/libm-test.inc (exp_test_tonearest): New function.
53757         (exp_test_towardzero): Likewise.
53758         (exp_test_downward): Likewise.
53759         (exp_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 2012-03-01  Chris Demetriou  <cgd@google.com>
53766         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53767         have predictable order.
53769 2012-03-01  David S. Miller  <davem@davemloft.net>
53771         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53773         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53774         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53775         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53776         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53778         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53779         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53780         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53782         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53783         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53784         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53785         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53786         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53790         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53791         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53792         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53794         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53795         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53796         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53797         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53798         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53799         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53800         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53801         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53802         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53803         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53804         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53805         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53807         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53808         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53810         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53811         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53812         * sysdeps/sparc/elf/configure: Regenerated.
53814 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53816         * configure.in (AS, LD): Require binutils 2.20 or later.
53817         * configure: Regenerated.
53818         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53819         as required minimum version.
53820         * INSTALL: Regenerated.
53822         [BZ #2541]
53823         [BZ #4108]
53824         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53825         before squaring exponent.
53826         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53827         bottom long double and 27 bits of top long double before squaring
53828         exponent.
53829         * math/libm-test.inc (erfc_test): Add more tests.
53830         * sysdeps/i386/fpu/libm-test-ulps: Update.
53831         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53834 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53836         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53837         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53838         containing bit-fields.
53839         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53840         * soft-fp/single.h (_FP_UNION_S): Likewise.
53841         * soft-fp/double.h (_FP_UNION_D): Likewise.
53843 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53845         [BZ #13786]
53846         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53847         not include ../strcmp.S.
53848         [USE_AS_STRNCASECMP_L]: Likewise.
53849         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53850         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53851         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53852         (__strncasecmp_l_ia32): Define as alias to
53853         __strncasecmp_l_nonascii.
53855         [BZ #5794]
53856         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53857         * sysdeps/i386/fpu/libm-test-ulps: Update.
53858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53860         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53863 2012-02-29  Jeff Law  <law@redhat.com>
53865         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53866         out of bounds read.
53868 2012-02-29  Marek Polacek  <polacek@redhat.com>
53870         [BZ #13706]
53871         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53872         * elf/Makefile: Add rules to run tst-unused-dep.out.
53874 2012-02-28  David S. Miller  <davem@davemloft.net>
53876         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53877         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53878         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53879         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53880         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53881         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53883 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53885         * math/libm-test.inc (llround_test): Move one test from
53886         lround_test.  Use TEST_f_L in moved test.
53887         (lround_test): Move misplaced test to llround_test.  Add testcase
53888         from bug 2561.
53890 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53892         * sysdeps/x86_64/fpu/e_expf.S: New file.
53893         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53895 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53897         [BZ #13637]
53898         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53899         of remain_len that may cause incomplete multi-byte character and
53900         false match.
53901         * posix/bug-regex33.c: New file.
53902         * posix/Makefile (tests): Add bug-regex33.
53904 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53906         * manual/macros.texi: New file.
53907         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53908         * manual/libc.texinfo: Include macros.texi.
53909         * manual/creatute.texi: Likewise.
53910         * manual/install.texi: Likewise.
53911         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53912         @glibcadj{} in references to the GNU C Library.
53913         * manual/charset.texi: Likewise.
53914         * manual/conf.texi: Likewise.
53915         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53916         when not using those macros.
53917         * manual/creature.texi: Likewise.
53918         * manual/crypt.texi: Likewise.
53919         * manual/errno.texi: Likewise.
53920         * manual/filesys.texi: Likewise.
53921         * manual/header.texi: Likewise.
53922         * manual/install.texi: Likewise.
53923         * manual/intro.texi: Likewise.
53924         * manual/io.texi: Likewise.
53925         * manual/job.texi: Likewise.
53926         * manual/lang.texi: Likewise.
53927         * manual/libc.texiinfo: Likewise.
53928         * manual/llio.texi: Likewise.
53929         * manual/locale.texi: Likewise.
53930         * manual/maint.texi: Likewise.
53931         * manual/math.texi: Likewise.
53932         * manual/memory.texi: Likewise.
53933         * manual/message.texi: Likewise.
53934         * manual/nss.texi: Likewise.
53935         * manual/pattern.texi: Likewise.
53936         * manual/process.texi: Likewise.
53937         * manual/resource.texi: Likewise.
53938         * manual/search.texi: Likewise.
53939         * manual/setjmp.texi: Likewise.
53940         * manual/signal.texi: Likewise.
53941         * manual/socket.texi: Likewise.
53942         * manual/startup.texi: Likewise.
53943         * manual/stdio.texi: Likewise.
53944         * manual/string.texi: Likewise.
53945         * manual/sysinfo.texi: Likewise.
53946         * manual/syslog.texi: Likewise.
53947         * manual/terminal.texi: Likewise.
53948         * manual/time.texi: Likewise.
53949         * manual/users.texi: Likewise.
53950         * INSTALL: Regenerated.
53951         * NOTES: Regenerated.
53952         * sysdeps/gnu/errlist.c: Regenerated.
53954 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53956         * include/dirent.h: Include <dirstream.h> before
53957         <dirent/dirent.h>.
53959 2012-02-28  David S. Miller  <davem@davemloft.net>
53961         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53962         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53963         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53964         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53966 2012-02-27  David S. Miller  <davem@davemloft.net>
53968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53970         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53971         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53974         frame pointer instead of stack pointer relative arg slot.
53975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53976         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53977         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53979 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53981         [BZ #3992]
53982         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53984 2012-02-27  David S. Miller  <davem@davemloft.net>
53986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53990         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53991         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53992         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53993         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53995 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53997         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53998         later.  Allow versions 5-9.
53999         * configure: Regenerated.
54000         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54001         required minimum version and 4.6 as recommended version.  Do not
54002         mention bugs in GCC 2.7 and 2.8.
54003         * INSTALL: Regenerated.
54005 2012-02-27  David S. Miller  <davem@davemloft.net>
54007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54011         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54012         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54013         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54014         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54016         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54017         manipulate bits before adding and subtracting TWO112[sx].
54018         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54020 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54022         [BZ #13775]
54023         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54024         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54025         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54026         being in POSIX, because they are in 1003.1-2008.
54028         * rt/tst-aio.c: Include <fcntl.h>.
54029         * rt/tst-aio7.c: Likewise.
54030         * rt/tst-aio64.c: Likewise.
54032         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54034 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54036         * manual/install.texi (--with-headers): Describe headers as
54037         interface headers, not private headers.
54038         (Specific advice for GNU/Linux systems): Describe use of headers
54039         from "make headers_install", not private headers from older
54040         kernels.
54041         * INSTALL: Regenerated.
54042         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54043         Change to 2.6.19.
54044         * sysdeps/unix/sysv/linux/configure: Regenerated.
54046         * manual/llio.texi (fclean): Remove documentation.
54048         * manual/Makefile (libc-texi-generated): New variable.  Include
54049         version.texi.
54050         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54051         $(libc-texi-generated), not duplicated list of files.
54052         (version.texi, stamp-version): New rules.
54053         (realclean): Remove $(libc-texi-generated), not individual files
54054         from that list.  Do not remove dir-add.texinfo.
54055         * manual/libc.texinfo: Comment out uses of edition numbers and
54056         references to printed manual.  Remove last-updated dates.
54057         (EDITION): Comment out.
54058         (ISBN): Likewise.
54059         (VERSION, UPDATED): Remove.
54060         (version.texi): Include.
54062 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54064         * sysdeps/posix/spawni.c: Include <signal.h>.
54065         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54066         * sysdeps/pthread/aio_fsync.c: Likewise.
54068 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54070         * conform/Makefile (tests): Run only when not cross-compiling and
54071         when fast-check is not defined.
54073         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54074         * conform/data/limits.h-data: Fixes for POSIX2008.
54075         * conform/run-conformtest.sh: Run all tests.
54076         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54077         headers.
54078         * include/bits/dlfcn.h: Likewise.
54079         * include/langinfo.h: Likewise.
54080         * include/monetary.h: Likewise.
54081         * include/sys/poll.h: Likewise.
54083         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54084         for __USE_GNU.
54085         * posix/spawn.h: Define __need_sigset_t.
54086         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54087         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54088         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54089         to get sigevent_t only.
54090         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54091         only for __USE_GNU.
54092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54093         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54094         process_vm_writev only for __USE_GNU.
54095         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54097         * conform/Makefile: For now ignore errors from run-conformtest.
54098         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54099         POSIX to avoid namespace pollution.  Don't prepend headers.
54100         * conform/data/aio.h-data: Fixes for POSIX testing.
54101         * conform/data/fcntl.h-data: Likewise.
54102         * conform/data/glob.h-data: Likewise.
54103         * conform/data/grp.h-data: Likewise.
54104         * conform/data/pthread.h-data: Likewise.
54105         * conform/data/pwd.h-data: Likewise.
54106         * conform/data/signal.h-data: Likewise.
54107         * conform/data/spawn.h-data: Likewise.
54108         * conform/data/stdio.h-data: Likewise.
54109         * conform/data/stdlib.h-data: Likewise.
54110         * conform/data/stropts.h-data: Likewise.
54111         * conform/data/sys/mman.h-data: Likewise.
54112         * conform/data/sys/stat.h-data: Likewise.
54113         * conform/data/sys/types.h-data: Likewise.
54114         * conform/data/sys/wait.h-data: Likewise.
54115         * conform/data/time.h-data: Likewise.
54116         * conform/data/unistd.h-data: Likewise.
54117         * conform/data/utime.h-data: Likewise.
54119         * io/sys/stat.h: fchmod was always in POSIX.
54120         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54121         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54122         * rt/aio.h: Define __need_timespec before including <time.h>.
54123         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54124         struct.  Add forward declaration of pthread_attr_t and use it in
54125         sigevent.
54126         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54127         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54128         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54129         always remove CLK_TCK definition.
54131 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54133         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54135 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54137         * conform/run-conformtest.sh: New file.
54138         * conform/Makefile: Run run-conformtest for tests.
54139         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54140         support.
54142         * conform/data/uchar.h-data: New file.
54143         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54144         * conform/data/arpa/inet.h-data: Likewise.
54145         * conform/data/assert.h-data: Likewise.
54146         * conform/data/complex.h-data: Likewise.
54147         * conform/data/cpio.h-data: Likewise.
54148         * conform/data/ctype.h-data: Likewise.
54149         * conform/data/dirent.h-data: Likewise.
54150         * conform/data/dlfcn.h-data: Likewise.
54151         * conform/data/errno.h-data: Likewise.
54152         * conform/data/fcntl.h-data: Likewise.
54153         * conform/data/float.h-data: Likewise.
54154         * conform/data/fmtmsg.h-data: Likewise.
54155         * conform/data/fnmatch.h-data: Likewise.
54156         * conform/data/ftw.h-data: Likewise.
54157         * conform/data/glob.h-data: Likewise.
54158         * conform/data/grp.h-data: Likewise.
54159         * conform/data/iconv.h-data: Likewise.
54160         * conform/data/inttypes.h-data: Likewise.
54161         * conform/data/langinfo.h-data: Likewise.
54162         * conform/data/libgen.h-data: Likewise.
54163         * conform/data/limits.h-data: Likewise.
54164         * conform/data/locale.h-data: Likewise.
54165         * conform/data/math.h-data: Likewise.
54166         * conform/data/monetary.h-data: Likewise.
54167         * conform/data/mqueue.h-data: Likewise.
54168         * conform/data/ndbm.h-data: Likewise.
54169         * conform/data/net/if.h-data: Likewise.
54170         * conform/data/netdb.h-data: Likewise.
54171         * conform/data/netinet/in.h-data: Likewise.
54172         * conform/data/nl_types.h-data: Likewise.
54173         * conform/data/poll.h-data: Likewise.
54174         * conform/data/pthread.h-data: Likewise.
54175         * conform/data/pwd.h-data: Likewise.
54176         * conform/data/regex.h-data: Likewise.
54177         * conform/data/sched.h-data: Likewise.
54178         * conform/data/search.h-data: Likewise.
54179         * conform/data/semaphore.h-data: Likewise.
54180         * conform/data/setjmp.h-data: Likewise.
54181         * conform/data/signal.h-data: Likewise.
54182         * conform/data/spawn.h-data: Likewise.
54183         * conform/data/stdarg.h-data: Likewise.
54184         * conform/data/stdio.h-data: Likewise.
54185         * conform/data/stdlib.h-data: Likewise.
54186         * conform/data/string.h-data: Likewise.
54187         * conform/data/strings.h-data: Likewise.
54188         * conform/data/stropts.h-data: Likewise.
54189         * conform/data/sys/ipc.h-data: Likewise.
54190         * conform/data/sys/mman.h-data: Likewise.
54191         * conform/data/sys/msg.h-data: Likewise.
54192         * conform/data/sys/resource.h-data: Likewise.
54193         * conform/data/sys/select.h-data: Likewise.
54194         * conform/data/sys/sem.h-data: Likewise.
54195         * conform/data/sys/shm.h-data: Likewise.
54196         * conform/data/sys/socket.h-data: Likewise.
54197         * conform/data/sys/stat.h-data: Likewise.
54198         * conform/data/sys/statvfs.h-data: Likewise.
54199         * conform/data/sys/time.h-data: Likewise.
54200         * conform/data/sys/timeb.h-data: Likewise.
54201         * conform/data/sys/times.h-data: Likewise.
54202         * conform/data/sys/types.h-data: Likewise.
54203         * conform/data/sys/uio.h-data: Likewise.
54204         * conform/data/sys/un.h-data: Likewise.
54205         * conform/data/sys/utsname.h-data: Likewise.
54206         * conform/data/sys/wait.h-data: Likewise.
54207         * conform/data/syslog.h-data: Likewise.
54208         * conform/data/tar.h-data: Likewise.
54209         * conform/data/termios.h-data: Likewise.
54210         * conform/data/utime.h-data: Likewise.
54211         * conform/data/utmpx.h-data: Likewise.
54212         * conform/data/varargs.h-data: Likewise.
54213         * conform/data/wchar.h-data: Likewise.
54214         * conform/data/wctype.h-data: Likewise.
54215         * conform/data/wordexp.h-data: Likewise.
54217         * include/stropts.h: New file.
54218         * include/uchar.h: New file.
54219         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54220         * include/assert.h: Likewise.
54221         * include/ctype.h: Likewise.
54222         * include/dirent.h: Likewise.
54223         * include/dlfcn.h: Likewise.
54224         * include/fcntl.h: Likewise.
54225         * include/fnmatch.h: Likewise.
54226         * include/glob.h: Likewise.
54227         * include/grp.h: Likewise.
54228         * include/libio.h: Likewise.
54229         * include/locale.h: Likewise.
54230         * include/math.h: Likewise.
54231         * include/net/if.h: Likewise.
54232         * include/netdb.h: Likewise.
54233         * include/netinet/in.h: Likewise.
54234         * include/pthread.h: Likewise.
54235         * include/pwd.h: Likewise.
54236         * include/regex.h: Likewise.
54237         * include/sched.h: Likewise.
54238         * include/search.h: Likewise.
54239         * include/setjmp.h: Likewise.
54240         * include/signal.h: Likewise.
54241         * include/stdio.h: Likewise.
54242         * include/stdlib.h: Likewise.
54243         * include/string.h: Likewise.
54244         * include/sys/cdefs.h: Likewise.
54245         * include/sys/mman.h: Likewise.
54246         * include/sys/msg.h: Likewise.
54247         * include/sys/resource.h: Likewise.
54248         * include/sys/select.h: Likewise.
54249         * include/sys/socket.h: Likewise.
54250         * include/sys/stat.h: Likewise.
54251         * include/sys/statvfs.h: Likewise.
54252         * include/sys/time.h: Likewise.
54253         * include/sys/times.h: Likewise.
54254         * include/sys/uio.h: Likewise.
54255         * include/sys/utsname.h: Likewise.
54256         * include/sys/wait.h: Likewise.
54257         * include/termios.h: Likewise.
54258         * include/time.h: Likewise.
54259         * include/ulimit.h: Likewise.
54260         * include/unistd.h: Likewise.
54261         * include/utime.h: Likewise.
54262         * include/wchar.h: Likewise.
54263         * include/wctype.h: Likewise.
54264         * include/wordexp.h: Likewise.
54266         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54268         * time/time.h: TIME_UTC must be a macro.
54269         Make timespec_get available for ISO C11 only as well.
54271 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54273         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54274         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54276 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54278         * configure.in: Use -o not -a in test for unsupported multi-arch.
54280 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54282         * manual/texinfo.tex: Update to version 2012-01-19.16.
54284 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54286         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54288 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54290         [BZ #13738]
54291         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54292         * manual/fdl-1.3.texi: New file.
54293         * manual/fdl-1.1.texi: File removed.
54295         [BZ #13738]
54296         * manual/libc.texinfo (FDL_VERSION): New @set.
54297         Use it for mention of FDL in cover text.
54298         (Documentation License): Use it in @include file name.
54300 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54301             Roland McGrath  <roland@hack.frob.com>
54303         [BZ #5461]
54304         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54305         (not LONG_LONG_MAX and LONG_LONG_MIN.
54306         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54307         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54308         name.
54309         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54311 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54313         [BZ #2547]
54314         [BZ #11365]
54315         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54316         manipulate bits before adding and subtracting TWO23[sx].
54317         * math/libm-test.inc (nearbyint_test): Add more tests.
54319 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54321         [BZ #2548]
54322         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54323         bits before adding and subtracting TWO23[sx].
54324         * math/libm-test.inc (rint_test): Add more tests.
54325         (rint_test_tonearest): Likewise.
54326         (rint_test_towardzero): Likewise.
54327         (rint_test_downward): Likewise.
54328         (rint_test_upward: Likewise.
54330 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54332         [BZ #10110]
54333         * include/stdc-predef.h: New file.  Extracted from features.h.
54334         * include/features.h: Include stdc-predef.h.
54335         * Makefile (headers): Add stdc-predef.h.
54336         * CONFORMANCE (Compiler limitations): Update.
54338 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54340         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54342 2012-02-21  David S. Miller  <davem@davemloft.net>
54344         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54345         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54347 2012-02-20  David S. Miller  <davem@davemloft.net>
54349         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54350         using a normal save/restore sequence, rather than allocating a
54351         dummy stack frame just to store a frame pointer and restore.
54352         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54354 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54356         * manual/install.texi: Fix stray word in line-wrapped comment.
54358 2012-02-20  David S. Miller  <davem@davemloft.net>
54360         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54361         both binutils and gcc support GOTDATA.
54363         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54364         "rd %pc" in the PIC register setup sequences.
54366         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54367         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54368         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54369         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54370         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54372         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54373         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54375         (SYSCALL_ERROR_HANDLER): Likewise.
54376         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54377         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54378         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54379         (SYSCALL_ERROR_HANDLER): Likewise.
54381         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54382         (HAVE_GCC_GOTDATA): New.
54383         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54384         relocation support in both binutils and gcc.
54385         * sysdeps/sparc/elf/configure: Regenerate.
54387         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54388         * sysdeps/sparc/sparc32/elf/configure: Delete.
54389         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54390         * sysdeps/sparc/sparc64/elf/configure: Delete.
54391         * sysdeps/sparc/elf/configure.in: New file.
54392         * sysdeps/sparc/elf/configure: Generate.
54394         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54395         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54396         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54397         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54398         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54400 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54402         * manual/install.texi: Do not mention specific glibc version
54403         numbers.
54404         * manual/libc.texinfo (VERSION, UPDATED): Update.
54405         (@copying): Use @copyright{} and range of years.
54407 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54409         [BZ #13695]
54410         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54411         [crti.S not in sysdirs] (generated): Do not append.
54412         [crti.S not in sysdirs] (omit-deps): Likewise.
54413         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54414         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54415         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54416         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54417         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54418         Likewise.
54419         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54420         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54421         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54422         * csu/defs.awk: Remove file.
54423         * sysdeps/generic/initfini.c: Likewise.
54424         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54425         variable.
54426         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54427         Likewise.
54429 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54431         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54432         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54433         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54434         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54435         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54436         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54437         <bits/epoll.h>.
54438         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54439         (__EPOLL_PACKED): Define to empty if not defined by
54440         <bits/epoll.h>.
54441         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54443         bits/epoll.h.
54445 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54447         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54448         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54449         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54450         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54451         <bits/timerfd.h>.
54452         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54454         bits/timerfd.h.
54456 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54458         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54459         in C locale.
54460         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54461         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54462         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54465 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54467         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54468         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54470 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54472         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54473         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54474         defined.
54475         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54476         Likewise.
54477         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54478         entry for 2.16.
54480 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54482         * math/w_acos.c: Use non-signaling floating-point comparisons.
54483         * math/w_acosf.c: Likewise.
54484         * math/w_acosh.c: Likewise.
54485         * math/w_acoshf.c: Likewise.
54486         * math/w_acoshl.c: Likewise.
54487         * math/w_acosl.c: Likewise.
54488         * math/w_asin.c: Likewise.
54489         * math/w_asinf.c: Likewise.
54490         * math/w_asinl.c: Likewise.
54491         * math/w_atanh.c: Likewise.
54492         * math/w_atanhf.c: Likewise.
54493         * math/w_atanhl.c: Likewise.
54494         * math/w_exp2.c: Likewise.
54495         * math/w_exp2f.c: Likewise.
54496         * math/w_exp2l.c: Likewise.
54497         * math/w_j0.c: Likewise.
54498         * math/w_j0f.c: Likewise.
54499         * math/w_j0l.c: Likewise.
54500         * math/w_j1.c: Likewise.
54501         * math/w_j1f.c: Likewise.
54502         * math/w_j1l.c: Likewise.
54503         * math/w_jn.c: Likewise.
54504         * math/w_jnf.c: Likewise.
54505         * math/w_log.c: Likewise.
54506         * math/w_log10.c: Likewise.
54507         * math/w_log10f.c: Likewise.
54508         * math/w_log10l.c: Likewise.
54509         * math/w_log2.c: Likewise.
54510         * math/w_log2f.c: Likewise.
54511         * math/w_log2l.c: Likewise.
54512         * math/w_logf.c: Likewise.
54513         * math/w_logl.c: Likewise.
54514         * math/w_sqrt.c: Likewise.
54515         * math/w_sqrtf.c: Likewise.
54516         * math/w_sqrtl.c: Likewise.
54517         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54518         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54519         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54520         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54521         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54523 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54525         [BZ #9739]
54526         * manual/string.texi (strnlen): Use correct parameter name in
54527         equivalent expression.
54529 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54531         [BZ #11174]
54532         * manual/users.texi (seteuid): Consistently use neweuid for
54533         argument name.
54535 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54537         [BZ #13704]
54538         * manual/nss.texi (Services in the NSS configuration): Correct
54539         list of services in example configuration file.
54541 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54543         [BZ #11322]
54544         * manual/arith.texi: Remove statements about negative zero
54545         behaving identically to zero.
54547 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54549         [BZ #5993]
54550         * manual/install.texi: Do not document upgrading from libc5.
54552 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54554         [BZ #4596]
54555         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54557 2012-02-18  David S. Miller  <davem@davemloft.net>
54559         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54560         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54561         %o7 across the call.
54562         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54563         instead.
54564         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54565         SETUP_PIC_REG_LEAF.
54566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54567         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54568         * sysdeps/sparc/crtn.S: Likewise.
54570 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54572         * aout/Makefile: Remove.
54574 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54576         [BZ #13058]
54577         * manual/examples/argp-ex1.c (main): Format definition in GNU
54578         style.
54579         * manual/examples/argp-ex2.c (main): Likewise.
54580         * manual/examples/argp-ex3.c (main): Likewise.
54581         * manual/examples/argp-ex4.c (main): Likewise.
54582         * manual/examples/longopt.c (main): Use new-style prototype
54583         definition.
54584         * manual/examples/strncat.c (main): Specify return type and use
54585         (void) for arguments.
54586         * manual/examples/subopt.c (main): Use char **argv argument.
54588 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54590         [BZ #5077]
54591         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54592         rounding modes.
54594 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54596         [BZ #6907]
54597         * manual/string.texi (strchr): Change when strchrnul is
54598         recommended.
54600 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54602         [BZ #174]
54603         * manual/locale.texi (setlocale): Document LOCPATH.
54605 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54607         [BZ #10210]
54608         * manual/process.texi (execle): Move @dots{} before last argument.
54610 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54612         [BZ #12047]
54613         * manual/charset.texi (Generic Charset Conversion): Fix typo
54614         (LC_TYPE -> LC_CTYPE).
54616 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54618         [BZ #5805]
54619         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54620         (scalbnf): Likewise.
54621         (scalbnl): Likewise.
54622         (scalbln): Likewise.
54623         (scalblnf): Likewise.
54624         (scalblnl): Likewise.
54625         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54626         (vwarnx): Likewise.
54627         (verr): Likewise.
54628         (verrx): Likewise.
54629         * manual/filesys.texi (telldir): Use braces around return type.
54630         * manual/llio.texi (mmap): Add space after comma.
54631         (mmap64): Likewise.
54632         * manual/math.texi (jn): Use @var{} on parameter names.
54633         (jnf): Likewise.
54634         (jnl): Likewise.
54635         (yn): Likewise.
54636         (ynf): Likewise.
54637         (ynl): Likewise.
54638         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54639         line.
54640         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54641         "...".
54642         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54643         (sched_get_priority_max): Likewise.
54644         * manual/signal.texi (sigvec): Add space after comma.
54645         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54646         names.
54647         (if_indextoname): Likewise.
54648         (if_freenameindex): Likewise.
54649         (sendto): Use ',' instead of '.' in prototype.
54650         * manual/startup.texi (syscall): Use @dots{} instead of literal
54651         "...".
54652         * manual/stdio.texi (__fpending): Separate initial words of
54653         paragraph from @deftypefun line.
54654         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54655         "...".
54656         (vsyslog): Use @var{} on parameter names.
54657         * manual/terminal.texi (stty): Use @var{} on parameter names.
54658         * manual/users.texi (getutmp): Use @var{} on parameter names.
54659         (getutmpx): Likewise.
54661 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54663         [BZ #6884]
54664         * manual/stdio.texi (fopen): Fix typos in description of
54665         ",ccs=STRING".
54667 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54669         [BZ #4026]
54670         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54671         get clock_id definition.
54673 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54675         [BZ #4822]
54676         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54677         (madvise): Cast every argument to void on its own.
54679 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54681         [BZ #9902]
54682         * manual/startup.texi (Exit Status): Fix typo.
54684 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54686         [BZ #10140]
54687         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54688         * manual/examples/argp-ex2.c: Likewise.
54689         * manual/examples/argp-ex3.c: Likewise.
54691 2012-02-16  Richard Henderson  <rth@redhat.com>
54693         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54694         * sysdeps/s390/s390-32/initfini.c: Remove.
54695         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54696         * sysdeps/s390/s390-64/initfini.c: Remove.
54698 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54700         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54701         compiler output for sysdeps/generic/initfini.c.
54702         * sysdeps/sh/elf/initfini.c: Remove file.
54704 2012-02-16  David S. Miller  <davem@davemloft.net>
54706         [BZ #11494]
54707         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54709         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54710         * sysdeps/sparc/crti.S: New file.
54711         * sysdeps/sparc/crtn.S: New file.
54712         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54713         * sysdeps/sparc/sparc64/Makefile: Likewise.
54715 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54717         [BZ #3335]
54718         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54720 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54722         [BZ #4822]
54723         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54725         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54726         (write, read, close): Likewise.
54727         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54729 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54731         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54732         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54733         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54734         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54735         <bits/signalfd.h>.
54736         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54738         bits/signalfd.h.
54740 2012-02-14  Marek Polacek  <polacek@redhat.com>
54742         * sysdeps/x86_64/crti.S: New file.
54743         * sysdeps/x86_64/crtn.S: New file.
54744         * sysdeps/x86_64/elf/initfini.c: Remove file.
54746 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54748         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54749         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54750         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54751         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54752         <bits/inotify.h>.
54753         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54755         bits/inotify.h.
54757 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54759         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54760         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54761         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54762         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54763         <bits/eventfd.h>.
54764         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54766         bits/eventfd.h.
54768 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54770         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54771         __feraiseexcept instead of feraiseexcept.
54773         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54774         nanosleep invocations.
54775         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54776         strings, and add error checking for a nanosleep invocations.
54778 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54780         Replace FSF snail mail address with URLs, as per GNU coding standards.
54781         Most of the snail mail addresses were wrong anyway, and omitting
54782         them makes the source code easier to maintain.  Almost all of the
54783         changes are to license notices and to locale LC_IDENTIFICATION
54784         addresses, except for this one:
54785         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54786         not its snail mail address.
54788 2012-02-09  Richard Henderson  <rth@twiddle.net>
54790         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54791         of kernel-features.h.
54793         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54795 2012-02-08  Marek Polacek  <polacek@redhat.com>
54797         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54798         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54799         * sysdeps/gnu/_G_config.h: Likewise.
54800         * sysdeps/generic/_G_config.h: Likewise.
54802 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54804         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54805         tests.
54806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54808         * sysdeps/powerpc/powerpc32/crti.S: New file.
54809         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54810         * sysdeps/powerpc/powerpc64/crti.S: New file.
54811         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54813         * Makeconfig (have-initfini): Don't set.
54814         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54815         * configure.in (nopic_initfini): Don't substitute.
54816         * config.h.in (HAVE_INITFINI): Don't #undef.
54817         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54818         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54820 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54822         Support crti.S and crtn.S provided directly by architectures.
54823         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54824         [crti.S in sysdirs] (omit-deps): Likewise.
54825         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54826         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54827         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54828         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54829         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54830         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54831         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54832         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54833         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54834         compiler output for sysdeps/generic/initfini.c.
54835         * sysdeps/i386/elf/Makefile: Remove file.
54836         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54838 2012-02-07  Marek Polacek  <polacek@redhat.com>
54840         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54841         * sysdeps/gnu/_G_config.h: Likewise.
54842         * sysdeps/mach/hurd/_G_config.h: Likewise.
54844 2012-02-07  Marek Polacek  <polacek@redhat.com>
54846         * math/Makefile (tests): Add tst-CMPLX2.
54847         * math/tst-CMPLX2.c: New file.
54849 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54851         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54853         * math/libm-test.inc (jn_test): Add missing L suffix.
54855 2012-02-06  Marek Polacek  <polacek@redhat.com>
54857         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54858         * sysdeps/i386/fpu/e_powf.S: Likewise.
54859         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54860         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54861         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54862         * sysdeps/i386/fpu/e_pow.S: Likewise.
54863         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54864         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54865         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54866         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54867         * sysdeps/i386/fpu/e_log2.S: Likewise.
54868         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54869         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54870         * sysdeps/i386/fpu/e_powl.S: Likewise.
54871         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54872         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54873         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54874         * sysdeps/i386/fpu/e_logl.S: Likewise.
54875         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54876         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54877         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54878         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54879         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54880         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54881         * sysdeps/i386/fpu/e_log.S: Likewise.
54882         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54883         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54884         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54885         * sysdeps/i386/fpu/e_logf.S: Likewise.
54886         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54887         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54888         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54889         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54890         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54891         * sysdeps/i386/fpu/e_log10.S: Likewise.
54892         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54893         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54894         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54895         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54896         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54897         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54898         * sysdeps/i386/asm-syntax.h: Likewise.
54899         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54900         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54901         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54902         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54903         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54904         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54905         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54906         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54907         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54908         * sysdeps/powerpc/sysdep.h: Likewise.
54909         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54910         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54912 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54914         [BZ #411]
54915         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54917 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54919         * sysdeps/i386/sysdep.h: Include <features.h>.
54920         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54921         version.
54923 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54925         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54926         Define.
54927         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54928         LOAD_PIC_REG_STR.
54930 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54932         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54933         (SETUP_PIC_REG): Use GET_PC_THUNK.
54934         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54935         macro.
54937 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54939         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54940         for non-PIC compilation.
54941         (SETUP_PIC_REG): Add .p2align directive.
54942         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54943         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54944         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54945         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54946         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54947         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54948         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54949         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54950         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54951         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54952         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54953         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54954         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54955         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54956         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54957         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54958         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54959         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54960         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54961         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54962         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54963         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54964         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54965         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54966         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54967         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54968         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54969         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54970         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54971         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54972         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54973         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54974         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54975         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54976         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54977         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54978         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54979         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54980         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54981         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54982         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54984 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54986         * math/tst-CMPLX.c: Include <stdio.h>.
54988 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54990         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54991         float.
54992         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54993         * sysdeps/sparc/bits/mathdef.h: Likewise.
54995 2012-01-31  Marek Polacek  <polacek@redhat.com>
54997         * libio/libio.h: Don't define _PARAMS.
54998         * locale/programs/config.h: Don't define PARAMS.
54999         * stdlib/strtol_l.c: Likewise.
55000         (__strtol_l): Remove PARAMS from the prototype.
55002 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55004         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55005         names.  Just use the correct names.  Remove unnecessary wrapper
55006         functions.
55007         * malloc/arena.c: Likewise.
55008         * malloc/hooks.c: Likewise.
55010         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55011         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55012         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55014 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55016         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55017         into tail calls.
55018         (update_get_addr): New function.
55019         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55020         GET_ADDR_MODULE parameter.
55022 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55024         * crypt/cert.c: Remove __STDC__ conditionals.
55025         * crypt/crypt-entry.c: Likewise.
55026         * crypt/crypt_util.c: Likewise.
55027         * libio/filedoalloc.c: Likewise.
55028         * libio/fileops.c: Likewise.
55029         * libio/genops.c: Likewise.
55030         * libio/iofclose.c: Likewise.
55031         * libio/iofdopen.c: Likewise.
55032         * libio/iofopen.c: Likewise.
55033         * libio/iofopen64.c: Likewise.
55034         * libio/iogetdelim.c: Likewise.
55035         * libio/iopopen.c: Likewise.
55036         * libio/obprintf.c: Likewise.
55037         * libio/oldfileops.c: Likewise.
55038         * libio/oldiofclose.c: Likewise.
55039         * libio/oldiofdopen.c: Likewise.
55040         * libio/oldiofopen.c: Likewise.
55041         * libio/oldiopopen.c: Likewise.
55042         * libio/wfiledoalloc.c: Likewise.
55043         * libio/wgenops.c: Likewise.
55044         * locale/programs/xmalloc.c: Likewise.
55045         * misc/syslog.c: Likewise.
55046         * stdio-common/xbug.c: Likewise.
55047         * string/memchr.c: Likewise.
55048         * string/memcmp.c: Likewise.
55049         * string/memrchr.c: Likewise.
55050         * string/rawmemchr.c: Likewise.
55051         * sysdeps/posix/getcwd.c: Likewise.
55052         * time/strftime_l.c: Likewise.
55054 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55056         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55057         * config.make.in (config-cflags-sse2avx): Define.
55058         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55059         Fix typo.
55061 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55063         * scripts/config.guess: Update from upstream config git repository.
55064         * scripts/config.sub: Likewise.
55066 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55068         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55069         (EM_NUM): Update.
55070         (R_TILEPRO_*, R_TILEGX_*): New macros.
55072         * scripts/firstversions.awk: Fix bug in version range handling.
55074         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55076         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55078         * include/sys/epoll.h: New file.
55079         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55080         libc_hidden_def.
55082 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55084         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55085         Avoid unnecessary __WORDSIZE == 64 test.
55086         (fmaxf): Use VEX format if possible.
55087         (fmax): Likewise.
55088         (fminf): Likewise.
55089         (fmin): Likewise.
55091         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55092         * math/math_private.h: Remove libc_fegetround* and
55093         libc_fesetround*.
55094         * sysdeps/i386/configure.in: Check for -msse2avx.
55095         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55096         also if SSE2AVX is defined.
55097         Remove libc_fegetround* and libc_fesetround*.
55098         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55099         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55100         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55101         of HAS_YMM_USABLE.
55102         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55103         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55104         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55105         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55106         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55108         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55110 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55112         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55113         size is not set.
55114         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55116 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55118         [BZ #13618]
55119         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55120         relocation.
55121         * Makeconfig (libm): Define.
55122         * elf/Makefile: Add rules to build and run tst-relsort1.
55123         * elf/tst-relsort1.c: New file.
55124         * elf/tst-relsort1mod1.c: New file.
55125         * elf/tst-relsort1mod2.c: New file.
55127 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55129         * math/s_ldexp.c: Remove __STDC__ conditionals.
55130         * math/s_ldexpf.c: Likewise.
55131         * math/s_ldexpl.c: Likewise.
55132         * math/s_nextafter.c: Likewise.
55133         * math/s_nexttowardf.c: Likewise.
55134         * math/s_significand.c: Likewise.
55135         * math/s_significandf.c: Likewise.
55136         * math/s_significandl.c: Likewise.
55137         * math/w_jnl.c: Likewise.
55138         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55139         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55140         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55141         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55142         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55143         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55144         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55145         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55146         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55147         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55148         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55149         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55150         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55151         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55152         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55153         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55154         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55155         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55156         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55157         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55158         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55159         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55160         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55161         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55162         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55163         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55164         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55165         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55166         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55167         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55168         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55169         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55170         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55171         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55172         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55173         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55174         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55175         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55176         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55177         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55178         * sysdeps/ieee754/k_standard.c: Likewise.
55179         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55180         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55181         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55182         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55183         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55184         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55185         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55186         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55187         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55188         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55189         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55190         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55191         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55192         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55193         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55194         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55195         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55196         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55197         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55198         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55199         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55200         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55201         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55202         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55203         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55204         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55205         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55206         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55207         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55208         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55209         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55210         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55211         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55212         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55214         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55215         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55216         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55217         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55218         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55219         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55220         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55221         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55222         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55223         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55224         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55225         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55226         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55227         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55228         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55229         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55230         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55231         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55232         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55233         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55234         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55235         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55236         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55237         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55238         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55239         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55240         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55241         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55242         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55243         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55244         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55245         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55246         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55247         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55248         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55249         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55250         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55251         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55252         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55253         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55254         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55255         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55256         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55257         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55258         * sysdeps/ieee754/s_matherr.c: Likewise.
55259         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55260         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55261         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55262         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55264 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55266         * crypt/md5.h: Remove __STDC__ conditionals.
55267         * libio/libioP.h: Likewise.
55268         * locale/programs/config.h: Likewise.
55269         * sysdeps/generic/sysdep.h: Likewise.
55270         * sysdeps/i386/asm-syntax.h: Likewise.
55271         * sysdeps/s390/asm-syntax.h: Likewise.
55272         * sysdeps/unix/sysdep.h: Likewise.
55273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55276 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55278         * libio/libio.h: Remove __STDC__ conditionals.
55279         * malloc/obstack.h: Likewise.
55280         * math/complex.h: Likewise.
55281         * math/math.h: Likewise.
55282         * sysdeps/generic/_G_config.h: Likewise.
55283         * sysdeps/gnu/_G_config.h: Likewise.
55284         * sysdeps/mach/hurd/_G_config.h: Likewise.
55285         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55286         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55287         * sysdeps/sparc/bits/mathdef.h: Likewise.
55289 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55291         [BZ #13583]
55292         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55293         Clean up HAS_* macros.
55294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55295         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55296         possible.
55297         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55298         HAS_AVX.
55299         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55300         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55301         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55302         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55303         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55305 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55307         * elf/tst-unique3.cc (gets): Remove declaration.
55308         * elf/tst-unique3lib.cc (gets): Likewise.
55309         * elf/tst-unique3lib2.cc (gets): Likewise.
55310         * elf/tst-unique4.cc (gets): Likewise.
55312 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55314         * include/stdio.h: Add C++ protection.  Add gets declarations and
55315         definitions.
55316         * debug/tst-chk1.c: Don't declare gets here.
55317         * stdio-common/tst-gets.c: Likewise.
55319 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55321         * posix/glob: Remove directory.
55323 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55325         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55327 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55329         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55330         of the non-standard EPFNOSUPPORT.
55332 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55334         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55335         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55336         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55338 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55340         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55342 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55344         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55345         transient errors.
55346         * nscd/grpcache.c (cache_addgr): Likewise.
55347         * nscd/hstcache.c (cache_addhst): Likewise.
55348         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55349         * nscd/pwdcache.c (cache_addpw): Likewise.
55350         * nscd/servicescache.c (cache_addserv): Likewise.
55352 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55354         * malloc/malloc.c: Various cleanups.
55355         * malloc/hooks.c: Likewise.
55357         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55358         * stdlib/bug-fmtmsg1.c: New file.
55360         * stdlib/fmtmsg.c (init): Add missing unlock.
55361         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55363 2012-01-12  Marek Polacek  <polacek@redhat.com>
55365         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55366         and _GNU_SOURCE.
55368 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55370         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55371         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55372         macro to ensure uniqueness of label name.
55373         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55374         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55376 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55378         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55380         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55381         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55382         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55383         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55385 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55387         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55389         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55390         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55391         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55393         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55395         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55396         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55397         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55398         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55400         * math/bits/math-finite.h: Add ldexp support.
55402 2012-01-10  Marek Polacek  <polacek@redhat.com>
55404         * locale/programs/localedef.h (show_archive_content): Add noreturn
55405         attribute.
55407 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55409         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55411 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55413         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55415         * io/Makefile (headers): Add bits/poll2.h.
55417 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55420         typo #include statement.
55422 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55424         * include/sys/cdefs.h: Define __attribute_alloc_size.
55425         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55426         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55427         * elf/pldd.c: Likewise.
55428         * iconv/iconv_charmap.c: Likewise.
55429         * iconv/iconvconfig.c: Likewise.
55430         * iconv/strtab.c: Likewise.
55431         * locale/programs/locale.c: Likewise.
55432         * locale/programs/localedef.h: Likewise.
55433         * locale/programs/simple-hash.c: Likewise.
55434         * nscd/nscd.h: Likewise.
55435         * nss/makedb.c: Likewise.
55436         * sysdeps/generic/ldconfig.h: Likewise.
55437         * locale/programs/localedef.c: Remove xmalloc prototype.
55438         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55440 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55442         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55443         appropriate.
55445 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55447         * math/Makefile (tests): Add tst-CMPLX.
55448         * math/tst-CMPLX.c: New file.
55450         * math/complex.h (CMPLXL): Fix typo.
55452         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55453         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55454         GLIBC_2.16.
55455         * debug/tst-chk1.c: Add poll and ppoll tests.
55456         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55457         * include/sys/poll.h: Add hidden proto for ppoll.
55458         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55459         * sysdeps/mach/hurd/ppoll.c: Likewise.
55460         * io/ppoll.c: Likewise.
55461         * debug/poll_chk.c: New file.
55462         * debug/ppoll_chk.c: New file.
55463         * include/bits/poll2.h: New file.
55464         * io/bits/poll2.h: New file.
55466         [BZ #1350]
55467         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55469         * configure.in: static is always set to yes.  Remove.
55470         * config.make.in: Don't set build-static.
55471         * Makeconfig: Remove use of build-static.
55472         * dlfcn/Makefile: Likewise.
55473         * elf/Makefile: Likewise.
55474         * math/Makefile: Likewise.
55475         * misc/Makefile: Likewise.
55476         * nptl/Makefile: Likewise.
55477         * sysdeps/mach/hurd/Makefile: Likewise.
55479         * configure.in: PWD_P is not used anymore.
55480         * config.make.in: Remove PWD_P entry.
55482         * configure.in: Remove last remnants of RANLIB.
55483         No need to check for signed size_t anymore.
55484         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55485         and IA-64.
55486         Remove __builtin_expect test because we require at least gcc 3.4.
55487         * aclocal.m4: Likewise.
55489         * wcsmbs/mbrtoc16.c: Implement using towc function.
55490         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55491         * wcsmbs/wcsmbsload.c: Likewise.
55492         * iconv/gconv_simple.c: Likewise.
55493         * iconv/gconv_int.h: Likewise.
55494         * iconv/gconv_builtin.h: Likewise.
55495         * iconv/iconv_prog.c: Remove CHAR16 handling.
55497         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55499         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55501         * configure.in: Remove --with-elf and --enable-bounded options.
55502         Dont set base_machine for ia64.  More non-ELF conditions removed.
55503         Remove testing and setting of leading underscore information.
55504         * config.make.in (build-bounded): Set to no.
55505         * config.h.in: Remove NO_UNDERSCORES entry.
55506         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55507         them.
55508         * csu/start.c: Remove !NO_UNDERSCORE code.
55509         * locale/localeinfo.h: Likewise.
55510         * sysdeps/generic/machine-gmon.h: Likewise.
55511         * sysdeps/generic/sysdep.h: Likewise.
55512         * sysdeps/i386/sysdep.h: Likewise.
55513         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55514         * sysdeps/mach/sysdep.h: Likewise.
55515         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55516         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55517         * sysdeps/sh/sysdep.h: Likewise.
55518         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55519         * sysdeps/unix/i386/sysdep.S: Likewise.
55520         * sysdeps/unix/sparc/start.c: Likewise.
55521         * sysdeps/unix/sparc/sysdep.S: Likewise.
55522         * sysdeps/unix/sparc/sysdep.h: Likewise.
55523         * sysdeps/unix/start.c: Likewise.
55524         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55525         * sysdeps/x86_64/sysdep.h: Likewise.
55527 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55529         [BZ #13553]
55530         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55531         for non-gcc.
55532         * argp/argp-fmtstream.h: Use const instead __const.
55533         * argp/argp.h: Likewise.
55534         * assert/assert.h: Likewise.
55535         * bits/fenv.h: Likewise.
55536         * bits/sched.h: Likewise.
55537         * bits/sigset.h: Likewise.
55538         * bits/sigthread.h: Likewise.
55539         * catgets/nl_types.h: Likewise.
55540         * conform/data/pthread.h-data: Likewise.
55541         * crypt/crypt-private.h: Likewise.
55542         * crypt/crypt.h: Likewise.
55543         * crypt/crypt_util.c: Likewise.
55544         * ctype/ctype.h: Likewise.
55545         * debug/execinfo.h: Likewise.
55546         * debug/mbsnrtowcs_chk.c: Likewise.
55547         * debug/mbsrtowcs_chk.c: Likewise.
55548         * debug/wcsnrtombs_chk.c: Likewise.
55549         * debug/wcsrtombs_chk.c: Likewise.
55550         * debug/wcstombs_chk.c: Likewise.
55551         * dirent/dirent.h: Likewise.
55552         * dlfcn/dlfcn.h: Likewise.
55553         * elf/neededtest4.c: Likewise.
55554         * grp/grp.h: Likewise.
55555         * gshadow/gshadow.h: Likewise.
55556         * iconv/gconv.h: Likewise.
55557         * iconv/gconv_int.h: Likewise.
55558         * iconv/gconv_simple.c: Likewise.
55559         * iconv/iconv.h: Likewise.
55560         * iconv/loop.c: Likewise.
55561         * iconv/skeleton.c: Likewise.
55562         * include/aio.h: Likewise.
55563         * include/aliases.h: Likewise.
55564         * include/argz.h: Likewise.
55565         * include/arpa/inet.h: Likewise.
55566         * include/assert.h: Likewise.
55567         * include/dirent.h: Likewise.
55568         * include/dlfcn.h: Likewise.
55569         * include/execinfo.h: Likewise.
55570         * include/fcntl.h: Likewise.
55571         * include/fenv.h: Likewise.
55572         * include/glob.h: Likewise.
55573         * include/grp.h: Likewise.
55574         * include/libintl.h: Likewise.
55575         * include/mntent.h: Likewise.
55576         * include/netdb.h: Likewise.
55577         * include/pwd.h: Likewise.
55578         * include/rpc/netdb.h: Likewise.
55579         * include/sched.h: Likewise.
55580         * include/search.h: Likewise.
55581         * include/shadow.h: Likewise.
55582         * include/signal.h: Likewise.
55583         * include/stdio.h: Likewise.
55584         * include/stdlib.h: Likewise.
55585         * include/string.h: Likewise.
55586         * include/sys/socket.h: Likewise.
55587         * include/sys/stat.h: Likewise.
55588         * include/sys/statfs.h: Likewise.
55589         * include/sys/statvfs.h: Likewise.
55590         * include/sys/syslog.h: Likewise.
55591         * include/sys/time.h: Likewise.
55592         * include/sys/uio.h: Likewise.
55593         * include/time.h: Likewise.
55594         * include/unistd.h: Likewise.
55595         * include/utmp.h: Likewise.
55596         * include/wchar.h: Likewise.
55597         * include/wctype.h: Likewise.
55598         * inet/aliases.h: Likewise.
55599         * inet/arpa/inet.h: Likewise.
55600         * inet/netinet/ether.h: Likewise.
55601         * inet/netinet/in.h: Likewise.
55602         * intl/libintl.h: Likewise.
55603         * io/bits/fcntl2.h: Likewise.
55604         * io/fcntl.h: Likewise.
55605         * io/ftw.h: Likewise.
55606         * io/sys/poll.h: Likewise.
55607         * io/sys/stat.h: Likewise.
55608         * io/sys/statfs.h: Likewise.
55609         * io/sys/statvfs.h: Likewise.
55610         * io/utime.h: Likewise.
55611         * libio/bits/stdio.h: Likewise.
55612         * libio/bits/stdio2.h: Likewise.
55613         * libio/libio.h: Likewise.
55614         * libio/libioP.h: Likewise.
55615         * libio/stdio.h: Likewise.
55616         * locale/lc-ctype.c: Likewise.
55617         * locale/locale.h: Likewise.
55618         * login/utmp.h: Likewise.
55619         * malloc/arena.c: Likewise.
55620         * malloc/malloc.c: Likewise.
55621         * malloc/malloc.h: Likewise.
55622         * malloc/mcheck.c: Likewise.
55623         * malloc/mtrace.c: Likewise.
55624         * math/bits/mathcalls.h: Likewise.
55625         * math/fenv.h: Likewise.
55626         * math/math_private.h: Likewise.
55627         * misc/bits/error.h: Likewise.
55628         * misc/bits/syslog.h: Likewise.
55629         * misc/err.h: Likewise.
55630         * misc/error.h: Likewise.
55631         * misc/fstab.h: Likewise.
55632         * misc/mntent.h: Likewise.
55633         * misc/regexp.h: Likewise.
55634         * misc/search.h: Likewise.
55635         * misc/sgtty.h: Likewise.
55636         * misc/sys/mman.h: Likewise.
55637         * misc/sys/syslog.h: Likewise.
55638         * misc/sys/uio.h: Likewise.
55639         * misc/sys/xattr.h: Likewise.
55640         * misc/ttyent.h: Likewise.
55641         * nis/rpcsvc/ypclnt.h: Likewise.
55642         * nss/nss.h: Likewise.
55643         * posix/bits/unistd.h: Likewise.
55644         * posix/fnmatch.h: Likewise.
55645         * posix/glob.h: Likewise.
55646         * posix/sched.h: Likewise.
55647         * posix/spawn.h: Likewise.
55648         * posix/sys/wait.h: Likewise.
55649         * posix/unistd.h: Likewise.
55650         * posix/wordexp.h: Likewise.
55651         * pwd/pwd.h: Likewise.
55652         * resolv/netdb.h: Likewise.
55653         * resource/sys/resource.h: Likewise.
55654         * rt/aio.h: Likewise.
55655         * rt/bits/mqueue2.h: Likewise.
55656         * rt/mqueue.h: Likewise.
55657         * shadow/shadow.h: Likewise.
55658         * signal/signal.h: Likewise.
55659         * socket/send.c: Likewise.
55660         * socket/sendto.c: Likewise.
55661         * socket/sys/socket.h: Likewise.
55662         * stdio-common/printf.h: Likewise.
55663         * stdlib/bits/stdlib.h: Likewise.
55664         * stdlib/fmtmsg.h: Likewise.
55665         * stdlib/monetary.h: Likewise.
55666         * stdlib/stdlib.h: Likewise.
55667         * stdlib/ucontext.h: Likewise.
55668         * streams/stropts.h: Likewise.
55669         * string/argz.h: Likewise.
55670         * string/bits/string2.h: Likewise.
55671         * string/string.h: Likewise.
55672         * string/strings.h: Likewise.
55673         * sunrpc/rpc/auth.h: Likewise.
55674         * sunrpc/rpc/auth_des.h: Likewise.
55675         * sunrpc/rpc/clnt.h: Likewise.
55676         * sunrpc/rpc/netdb.h: Likewise.
55677         * sunrpc/rpc/pmap_clnt.h: Likewise.
55678         * sunrpc/rpc/xdr.h: Likewise.
55679         * sysdeps/generic/inttypes.h: Likewise.
55680         * sysdeps/generic/net/if.h: Likewise.
55681         * sysdeps/generic/sys/swap.h: Likewise.
55682         * sysdeps/gnu/net/if.h: Likewise.
55683         * sysdeps/gnu/utmpx.h: Likewise.
55684         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55685         * sysdeps/i386/i486/bits/string.h: Likewise.
55686         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55687         * sysdeps/s390/bits/string.h: Likewise.
55688         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55689         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55690         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55691         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55692         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55693         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55694         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55695         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55696         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55697         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55698         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55699         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55700         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55701         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55702         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55703         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55704         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55706         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55707         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55708         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55709         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55710         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55711         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55712         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55713         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55714         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55715         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55716         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55717         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55718         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55719         * sysvipc/sys/ipc.h: Likewise.
55720         * sysvipc/sys/msg.h: Likewise.
55721         * sysvipc/sys/sem.h: Likewise.
55722         * sysvipc/sys/shm.h: Likewise.
55723         * termios/termios.h: Likewise.
55724         * time/sys/time.h: Likewise.
55725         * time/time.h: Likewise.
55726         * wcsmbs/bits/wchar2.h: Likewise.
55727         * wcsmbs/uchar.h: Likewise.
55728         * wcsmbs/wchar.h: Likewise.
55729         * wctype/wctype.h: Likewise.
55731         [BZ #13551]
55732         * Makeconfig: Remove all but ELF support including AIX support.
55733         * Makerules: Likewise.
55734         * config.h.in: Likewise.
55735         * config.make.in: Likewise.
55736         * configure: Likewise.
55737         * configure.in: Likewise.
55738         * csu/Makefile: Likewise.
55739         * csu/version.c: Likewise.
55740         * debug/Makefile: Likewise.
55741         * dlfcn/Makefile: Likewise.
55742         * elf/Makefile: Likewise.
55743         * extra-lib.mk: Likewise.
55744         * iconv/Makefile: Likewise.
55745         * include/libc-symbols.h: Likewise.
55746         * include/shlib-compat.h: Likewise.
55747         * resolv/Makefile: Likewise.
55748         * resolv/res_libc.c: Likewise.
55749         * rt/Makefile: Likewise.
55750         * sysdeps/i386/asm-syntax.h: Likewise.
55751         * sysdeps/i386/sysdep.h: Likewise.
55752         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55753         * sysdeps/mach/sysdep.h: Likewise.
55754         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55755         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55756         * sysdeps/s390/asm-syntax.h: Likewise.
55757         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55758         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55759         * sysdeps/sh/sysdep.h: Likewise.
55760         * sysdeps/unix/sparc/sysdep.h: Likewise.
55761         * sysdeps/wordsize-32/divdi3.c: Likewise.
55762         * sysdeps/x86_64/sysdep.h: Likewise.
55764         * argp/Versions: Remove _argp_unlock_xxx.
55766         [BZ #13559]
55767         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55768         * abilist/libBrokenLocale.abilist: Likewise.
55769         * abilist/libanl.abilist: Likewise.
55770         * abilist/libc.abilist: Likewise.
55771         * abilist/libcrypt.abilist: Likewise.
55772         * abilist/libdl.abilist: Likewise.
55773         * abilist/libm.abilist: Likewise.
55774         * abilist/libnsl.abilist: Likewise.
55775         * abilist/libpthread.abilist: Likewise.
55776         * abilist/libresolv.abilist: Likewise.
55777         * abilist/librt.abilist: Likewise.
55778         * abilist/libthread_db.abilist: Likewise.
55779         * abilist/libutil.abilist: Likewise.
55780         * abilist/libnss_db.abilist: New file.
55782         * scripts/abilist.awk: Add support for indirect functions.
55784         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55786         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55788         * shlib-versions: Remove entries for ports architectures.
55790         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55791         files in ports.
55792         * elf/stackguard-macros.h: Remove support for IA-64.
55793         * elf/tst-auditmod1.c: Likewise.
55794         * sysdeps/generic/ldsodefs.h: Likewise.
55796         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55797         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55798         configure files.
55800         [BZ #13552]
55801         * configure.in: Remove --enable-omitfp support.
55802         * FAQ.in: Adjust.
55803         * config.make.in: Likewise.
55804         * Makeconfig: Likewise.
55805         * manual/install.texi: Likewise.
55807         In case anyone cares, the IA-64 architecture could move to ports.
55808         * sysdeps/ia64/*: Removed.
55809         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55810         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55812         [BZ #13555]
55813         * configure.in: Remove entries for unsupported architectures.
55815         [BZ #13533]
55816         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55817         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55818         routines.
55819         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55820         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55821         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55822         fall back to using wcrtomb.
55823         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55824         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55825         renaming.
55826         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55827         * wcsmbs/tst-c16c32-1.c: New file.
55829         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55830         local variable.
55832         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55834         * elf/tst-unique3.cc: Add explicit declaration of gets.
55835         * elf/tst-unique3lib.cc: Likewise.
55836         * elf/tst-unique3lib2.cc: Likewise.
55837         * elf/tst-unique4.cc: Likewise.
55839         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55841 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55843         [BZ #13566]
55844         * assert/assert.h (static_assert): Don't define for C++.
55845         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55846         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55848 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55850         * iconv/loop.c (single loop): Fix assertion in storing of
55851         remaining bytes.
55853         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55855 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55857         * posix/getconf.c: Update copyright year.
55858         * nss/getent.c: Likewise.
55859         * nss/makedb.c: Likewise.
55860         * iconv/iconvconfig.c: Likewise.
55861         * iconv/iconv_prog.c: Likewise.
55862         * elf/ldconfig.c: Likewise.
55863         * elf/pldd.c: Likewise.
55864         * elf/sotruss.ksh: Likewise.
55865         * catgets/gencat.c: Likewise.
55866         * csu/version.c: Likewise.
55867         * elf/ldd.bash.in: Likewise.
55868         * elf/sprof.c (print_version): Likewise.
55869         * locale/programs/locale.c: Likewise.
55870         * locale/programs/localedef.c: Likewise.
55871         * login/programs/pt_chown.c: Likewise.
55872         * nscd/nscd.c (print_version): Likewise.
55873         * debug/xtrace.sh: Likewise.
55874         * malloc/memusage.sh: Likewise.
55875         * malloc/mtrace.pl: Likewise.
55876         * debug/catchsegv.sh: Likewise.
55878 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55880         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55881         pure attribute.
55883 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55885         [BZ #13533]
55886         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55887         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55888         transformations.
55889         * iconv/gconv_int.h: Likewise.
55890         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55891         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55892         from libc for GLIBC_2.16.
55893         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55894         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55895         * wcsmbs/uchar.h: Really define mbstate_t.
55896         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55897         * wcsmbs/c16rtomb.c: New file.
55898         * wcsmbs/mbrtoc16.c: New file.
55899         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55900         for C/POSIX locale.
55901         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55902         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55904         * wcsmbs/wchar.h: Add missing __restrict.
55906 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55908         [BZ #13532]
55909         * time/Makefile (routines): Add timespec_get.
55910         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55911         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55912         timespec for ISO C11.
55913         * time/timespec_get.c: New file.
55914         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55915         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55917         [BZ #13531]
55918         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55919         * stdlib/stdlib.h: Declare aligned_alloc.
55920         * Versions.def: Add GLIBC_2.16 for libc.
55921         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55923         [BZ 13527]
55924         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55925         ISO C11.
55927         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55928         code.
55930         [BZ #13528]
55931         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55933         [BZ #13529]
55934         * assert/assert.h (static_assert): Define.
55936         * version.h: Update for 2.16 development version.
55938         [BZ #13526]
55939         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55940         _ISOC11_SOURCE.
55942         * version.h (RELEASE): Bump for 2.15 release.
55943         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55945         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55946         Patch by Marek Polacek <mpolacek@redhat.com>.
55948         * bits/byteswap.h: Protect long long constants with __extension__.
55949         * sysdeps/i386/bits/byteswap.h: Likewise.
55950         * sysdeps/ia64/bits/byteswap.h: Likewise.
55951         * sysdeps/s390/bits/byteswap.h: Likewise.
55952         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55954 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55956         [BZ #13540]
55957         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55958         destination buffer.
55959         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55961 2011-12-23  Marek Polacek  <polacek@redhat.com>
55963         * elf/dl-addr.c (determine_info): Add inline keyword.
55964         * elf/tst-auditmod4b.c (check_avx): Likewise.
55965         * elf/tst-auditmod6b.c (check_avx): Likewise.
55966         * elf/tst-auditmod6c.c (check_avx): Likewise.
55967         * elf/tst-auditmod7b.c (check_avx): Likewise.
55969 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55971         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55972         !__SSE_MATH__.
55974 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55976         [BZ #13540]
55977         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55978         processing for last bytes.
55980 2011-08-06  Bruno Haible  <bruno@clisp.org>
55982         [BZ #13061]
55983         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55984         U+0385, not to U+1FEE.
55986         [BZ #13062]
55987         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55988         entry for U+00A5 U+0301.
55990 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55992         [BZ #13166]
55993         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55994         buffer for the output is too small.
55996         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55997         optimization.
55999         [BZ #13185]
56000         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56001         SSE flags if possible.
56003 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56005         [BZ #13540]
56006         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56007         processing for last bytes.
56009 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56011         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56012         (syscall-list-default-options, syscall-list-default-condition)
56013         (syscall-list-includes): Define.
56014         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56015         list of ABIs and options and #if conditions for each ABI.  Do not
56016         handle common syscalls between ABIs specially.
56017         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56018         Remove.
56019         (syscall-list-variants, syscall-list-32bit-options)
56020         (syscall-list-32bit-condition, syscall-list-64bit-options)
56021         (syscall-list-64bit-condition): Define.
56022         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56023         (syscall-list-variants, syscall-list-32bit-options)
56024         (syscall-list-32bit-condition, syscall-list-64bit-options)
56025         (syscall-list-64bit-condition): Define.
56026         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56027         Remove.
56028         (syscall-list-variants, syscall-list-32bit-options)
56029         (syscall-list-32bit-condition, syscall-list-64bit-options)
56030         (syscall-list-64bit-condition): Define.
56031         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56032         Remove.
56033         (syscall-list-variants, syscall-list-32bit-options)
56034         (syscall-list-32bit-condition, syscall-list-64bit-options)
56035         (syscall-list-64bit-condition): Define.
56037 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56039         * locale/iso-639.def: Add brx entry.
56041         [BZ #13328]
56042         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56043         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56045         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56046         __feraiseexcept_renamed.
56048 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56050         [BZ #13538]
56051         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56052         EPOLLET with unsigned values.
56053         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56054         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56056         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56057         to large cancellation.
56058         * math/s_cacoshf.c: Likewise.
56059         * math/s_cacoshl.c: Likewise.
56061 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56063         [BZ #13305]
56064         [BZ #12786]
56065         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56066         * math/s_cacoshf.c: Likewise.
56067         * math/s_cacoshl.c: Likewise.
56069 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56071         [BZ #13439]
56072         * iconv/gconv.h: Define __GCONV_SWAP.
56073         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56074         * iconvdata/utf-16.c: Likewise.
56075         * iconvdata/utf-32.c: Likewise.
56077 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56079         [BZ #13524]
56080         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56081         numerator after shifting it by one limb.
56083 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56085         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56086         under [__USE_EXTERN_INLINES].
56088 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56090         [BZ #13446]
56091         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56093 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56095         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56096         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56097         optimized code.
56098         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56099         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56100         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56101         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56102         for strncasecmp/strncasecmp_l compilation.
56103         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56104         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56106 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56108         [BZ #13484]
56109         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56110         of __asm__.
56112 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56114         [BZ #13506]
56115         * time/tzfile.c (__tzfile_read): Check values from file header.
56117 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56119         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56120         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56121         * powerpc/powerpc32/dl-start.S: Likewise.
56122         * powerpc/powerpc32/elf/start.S: Likewise.
56123         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56124         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56125         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56126         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56127         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56128         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56129         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56130         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56131         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56132         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56133         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56134         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56135         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56136         * powerpc/powerpc32/memset.S: Likewise.
56137         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56138         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56139         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56140         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56141         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56142         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56143         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56144         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56145         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56146         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56147         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56148         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56149         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56151 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56153         * math/libm-test.inc: Added more nearbyint tests.
56154         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56155         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56156         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56157         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56159 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56161         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56162         FD_CLOEXEC.
56164 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56166         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56167         Add wcscpy-ssse3 wcscpy-c.
56168         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56169         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56170         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56171         * sysdeps/x86_64/wcschr.S: New file.
56172         * sysdeps/x86_64/wcsrchr.S: New file.
56173         * string/test-strcmp.c: Remove checking of wcscmp function for
56174         wrong alignments.
56175         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56176         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56177         wcsrchr-sse2 wcsrchr-c.
56178         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56179         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56180         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56181         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56182         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56183         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56184         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56185         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56186         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56187         * wcsmbc/wcschr.c (WCSCHR): New macro.
56189 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56191         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56192         * wcsmbs/test-wcsrchr.c: New file.
56193         * string/test-strrchr.c: Add wcsrchr support.
56194         (WIDE): New macro.
56195         * wcsmbs/test-wcscpy.c: New file.
56196         * string/test-strcpy.c: Add wcscpy support.
56197         (WIDE): New macro.
56199 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56201         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56202         the inner loop.
56204 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56206         [BZ #13472]
56207         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56209 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56211         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56212         Minor optimizations.
56214         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56215         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56216         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56218 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56220         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56221         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56222         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56223         for gcc to avoid warnings.
56224         * inet/Makefile (tests): Add tst-checks.
56225         * inet/tst-checks.c: New file.
56227         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56228         warning.
56230         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56231         __wmemcmp_sse2.
56233         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56234         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56236         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56238 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56240         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56241         problem.
56243         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56245 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56247         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56248         conditional on GCC version.
56249         (__arch_compare_and_exchange_val_8_acq)
56250         (__arch_compare_and_exchange_val_16_acq)
56251         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56252         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56253         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56255 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56257         * sysdeps/sh/backtrace.c: New file.
56259 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56261         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56262         parenthesis.
56264 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56266         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56267         falling back to utime.
56269 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56271         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56272         expectations for float.
56274 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56276         * locale/weight.h (findidx): Add parameter len.
56277         * locale/weightwc.h (findidx): Likewise.
56278         * posix/fnmatch_loop.c (FCT): Adjust caller.
56279         * posix/regcomp.c (build_equiv_class): Likewise.
56280         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56281         * posix/regexec.c (check_node_accept_bytes): Likewise.
56282         * string/strcoll_l.c (STRCOLL): Likewise.
56283         * string/strxfrm_l.c (STRXFRM): Likewise.
56285 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56287         * Makefile.in: Remove CVSOPT handling.
56288         * configure.in: Remove use of AC_REVISION.
56289         * iconvdata/Makefile (distribute): No need to filter out CVS.
56290         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56291         handling.
56293 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56295         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56296         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56297         [USE_AS_STRNCASECMP_L]: Likewise.
56298         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56299         NO_TLS_DIRECT_SEG_REFS.
56300         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56301         Fix argument offsets for non-PIC.
56302         [USE_AS_STRNCASECMP_L]: Likewise.
56303         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56304         NO_TLS_DIRECT_SEG_REFS.
56306 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56308         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56309         O_CLOEXEC.
56310         * locale/loadlocale.c (_nl_load_locale): Likewise.
56312 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56314         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56315         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56316         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56317         (SYSCALL_GETTIME): Set errno on error.
56319         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56320         count references to noai6ai_cached.
56322 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56324         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56326         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56327         FD_CLOEXEC for /proc/self/maps.
56329         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56330         FD_CLOEXEC for /proc/meminfo.
56332         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56333         gai.conf.
56335         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56336         FD_CLOEXEC for given file.
56338         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56340         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56341         FD_CLOEXEC for /etc/hosts.
56342         (_gethtent): Likewise.
56344         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56346         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56347         cancellation and set FD_CLOEXEC for /etc/netgroup.
56349         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56350         reading /etc/publickey.
56352         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56353         allow cancellation when reading /etc/group.
56355         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56356         cancellation.
56357         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56359         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56360         when using data file.
56362         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56364         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56365         (write_nis_obj): Use "c" and "e" in fopen.
56367         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56369         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56371         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56373         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56375         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56376         locale.alias.
56378         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56380         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56382         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56384         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56385         file parsing and set FD_CLOEXEC.
56387 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56389         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56391 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56393         * malloc/arena.c (arena_get2): Don't call reused_arena when
56394         _int_new_arena failed.
56396 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56398         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56399         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56400         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56401         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56402         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56403         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56404         to compile strcasecmp and strncasecmp.
56405         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56406         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56408         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56410 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56412         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56413         locale-defines.sym to gen-as-const-headers.
56414         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56415         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56416         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56417         to compile strcasecmp and strncasecmp.
56418         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56419         strcasecmp_l and strncasecmp_l.
56420         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56421         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56422         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56423         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56424         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56425         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56426         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56427         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56428         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56429         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56430         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56432 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56434         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56435         result of SYSDEP_GETTIME_CPU to retval.
56436         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56437         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56439         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56440         variable.
56442         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56443         mantissa words.
56444         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56446         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56447         from unused variable.
56449         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56450         DWARF definitions.
56451         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56452         for assembling.
56454         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56455         over namespaces.
56457         * sunrpc/rpc_prot.c (rejected): Fix case value.
56459         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56460         unsigned long long int to avoid warnings in shift.
56462         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56463         of use of trans.
56464         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56465         variable tmp.
56467         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56468         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56469         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56471         * nis/nis_table.c (nis_list): Use variable of correct type for
56472         result of __follow_path call.
56474 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56476         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56477         of math functions ceil, trunc, floor, round, and sqrt, when
56478         avaliable on the platform.
56479         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56480         name clash.
56481         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56482         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56483         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56485 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56487         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56488         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56490 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56492         * include/unistd.h: Fix __readlink return type.
56493         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56495 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56497         * stdlib/ucontext.h: Undo last change for makecontext.
56499 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56501         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56503         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56504         * setjmp/setjmp.h: Mark functions as non-leaf.
56505         * setjmp/bits/setjmp2.h: Likewise.
56506         * stdlib/ucontext.h: Likewise.
56508 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56510         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56511         (reused_arena): Don't check arena limit.
56512         (arena_get2): Atomically check arena limit.
56514 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56516         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56517         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56519         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56520         instructions.
56522 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56524         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56525         handler when locking.
56527         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56528         Fix size of allocated buffer.
56530 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56532         [BZ #10103]
56533         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56534         declarations for long double functions.
56535         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56537         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56539 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56541         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56542         installed.
56544         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56545         is disabled.
56547 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56549         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56551 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56553         * include/alloca.h (stackinfo_alloca_round): Define.
56554         (extend_alloca): Use it.
56555         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56556         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56557         here.
56559         * scripts/check-local-headers.sh: Ignore libaudit.h.
56561         * nscd/Makefile (extra-objs): Make recursively expanded.
56563 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56565         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56566         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56568         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56569         * posix/tst-rfc3484-2.c: Likewise.
56570         * posix/tst-rfc3484-3.c: Likewise.
56572         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56573         process_vm_writev.
56574         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56575         process_vm_writev.
56576         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56577         process_vm_writev from libc using GLIBC_2.15 version.
56579         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56581 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56583         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56584         stack usage.
56586 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56588         [BZ #13367]
56589         * nss/getent.c (initgroups_keys): Show error message in case no group
56590         names are given.
56592         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56593         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56594         __bump_nl_timestamp.
56595         * nscd/connections (nscd_init): When host database is served open
56596         netlink socket and request notification about configuration changes.
56597         (main_loop_poll): Track netlink file descriptor and bump timestamp
56598         in case data becomes available.
56599         (main_loop_epoll): Likewise.
56600         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56601         (database_pers_head): Add extra_data fileds.
56602         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56603         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56604         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56605         Adjust caller.
56606         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56607         in6ai data, call __free_in6ai.
56608         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56609         Add -DHAVE_NETLINK.
56610         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56611         interface information.  Reuse previous data if netlink timestamp
56612         is not changed.
56613         (__bump_nl_timestamp): New function.
56614         (__free_in6ai): New function.
56616 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56618         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56619         close_not_cancel_no_status here.
56620         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56622 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56624         [BZ #13276]
56625         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56626         return value.
56628         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56629         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56630         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56632 2011-07-03  Andreas Jaeger  <aj@suse.de>
56634         [BZ #10709]
56635         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56636         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56637         * math/libm-test.inc (sin_test): Add test case.
56639 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56641         [BZ #13337]
56642         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56643         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56645         * elf/chroot_canon.c (chroot_canon): Cleanups.
56647         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56649         [BZ #13335]
56650         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56651         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56653         * string/test-strchr.c: Make usable for strchrnul testing.
56654         * string/test-strchrnul.c: New file.
56655         * string/Makefile (strop-tests): Add strchrnul.
56657         * po/it.po: Update from translation team.
56658         * po/es.po: Likewise.
56660 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56662         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56663         the three constants needed as parameters.  Drop the others.
56664         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56665         __m128i_strloadu_tolower.
56666         Create and initialize variable zero and use it in all the places
56667         where _mm_setzero_si128 was used.
56669         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56670         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56671         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56672         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56673         anymore.
56674         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56675         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56676         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56677         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56678         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56679         __mpranred, __mptan.
56680         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56681         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56682         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56683         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56684         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56685         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56686         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56687         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56688         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56690 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56692         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56693         redefine if SHARED.
56694         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56696         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56697         wide char related routines to wcsmbs subdir.
56699 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56701         [BZ #13344]
56702         * misc/sys/cdefs.h (__THROWNL): Define.
56703         * posix/unistd.h: Use __THREADNL instead of __THREAD
56704         for memory synchronization functions.
56706 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56708         [BZ #13349]
56709         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56710         doesn't exist.
56711         * manual/stdio.texi (Obstack Streams): Node removed.
56713 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56715         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56716         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56717         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56719         * math/math_private.h (math_force_eval): Allow non-addressable
56720         arguments.
56721         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56723 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56725         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56726         file is not needed.
56728         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56729         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56730         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56731         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56732         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56733         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56734         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56735         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56736         Add AVX variants.
56737         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56738         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56739         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56740         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56741         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56742         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56743         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56744         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56745         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56746         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56747         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56748         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56749         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56750         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56751         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56752         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56753         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56754         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56755         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56757         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56758         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56760         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56761         place.  Use VEX encoding when compiling for AVX.
56763 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56765         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56766         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56768         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56770 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56772         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56773         useless if() expression.
56774         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56775         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56776         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56777         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56778         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56779         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56780         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56781         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56782         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56783         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56784         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56785         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56786         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56787         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56788         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56789         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56790         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56791         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56792         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56794         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56796 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56798         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56799         condition.
56800         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56802 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56804         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56805         .text section.  Avoid duplicate constants.
56806         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56807         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56808         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56809         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56810         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56814         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56815         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56816         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56817         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56818         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56819         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56820         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56821         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56822         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56823         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56824         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56825         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56826         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56827         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56828         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56829         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56830         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56831         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56832         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56833         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56834         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56835         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56836         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56837         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56838         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56839         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56840         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56841         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56842         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56843         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56844         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56845         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56846         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56847         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56848         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56849         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56850         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56852 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56854         * sysdeps/x86_64/dla.h: Move to ...
56855         * sysdeps/x86_64/fpu/dla.h: ...here.
56856         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56857         situations.  Use __builtin_fma only for gcc 4.6 and up.
56859         * config.make.in: Add have-mfma4 entry.
56860         * configure.in: Substitute libc_cv_cc_fma4.
56861         * math/Makefile (dbl-only-routines): Add sincostab.
56862         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56863         Use __sincostab not sincos.
56864         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56865         name is a macro.
56866         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56868         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56870         using __copysign.
56871         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56872         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56873         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56874         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56875         and __inv.
56876         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56877         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56878         __copysign.
56879         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56880         define aliases when function name is a macro.
56881         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56882         sysdeps/ieee754/dbl-64/sincos.tbl.
56883         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56884         fma4-enabled routines.
56885         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56886         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56887         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56888         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56889         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56890         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56892         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56893         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56894         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56895         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56896         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56897         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56898         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56899         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56900         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56901         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56902         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56903         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56904         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56905         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56906         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56907         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56908         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56909         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56910         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56911         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56912         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56913         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56914         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56916         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56917         rename.
56918         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56919         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56920         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56921         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56924         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56927 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56929         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56931 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56933         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56935         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56936         prediction.
56937         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56939         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56940         Remove unused variable magic_bits.
56941         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56943         * string/strnlen.c: Define and use STRNLEN macro.
56944         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56945         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56946         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56947         * wcsmbs/wcslen.c: Define and use WCSLEN.
56948         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56949         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56950         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56951         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56952         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56953         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56954         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56956 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56959         strnlen-sse2-no-bsf.
56960         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56961         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56962         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56963         Add strnlen support.
56964         (USE_AS_STRNLEN): New macro.
56965         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56966         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56967         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56968         * sysdeps/x86_64/wcslen.S: New file.
56970 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56972         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56973         XMM-moves are used for copying on small sizes.
56975 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56977         * wcsmbs/Makefile (strop-tests): Add wcschr.
56978         * wcsmbs/test-wcschr.c: New file.
56979         * string/test-strchr.c: Update.
56980         Add wcschr support.
56981         (WIDE): New macro.
56983 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56985         * wcsmbs/Makefile (strop-tests): Add wcslen.
56986         * wcsmbs/test-wcslen.c: New file.
56987         * string/test-strlen.c: Update.
56988         Add wcslen support.
56989         (WIDE): New macro.
56991 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56993         * po/it.po: Update from translation team.
56995 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56997         * sysdeps/x86_64/wcscmp.S: Update.
56998         Fix wrong comparison semantics.
56999         wcscmp shall use signed comparison not unsigned.
57000         Don't use substraction to avoid overflow bug.
57001         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57002         * wcsmbc/wcscmp.c: Likewise.
57003         * string/test-strcmp.c: Likewise.
57004         Add new tests to check cases with negative values.
57006 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57008         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57009         * sysdeps/x86_64/dla.h: ...here.  New file.
57010         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57015         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57017         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57018         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57020 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57022         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57023         __ynl_finite aliases.
57025 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57029         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57030         define DLA_FMA.
57031         [DLA_FMA] (EMULV): Use DLA_FMA.
57032         [DLA_FMA] (MUL12): Use EMULV.
57033         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57034         that are not needed.
57035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57037         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57038         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57039         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57040         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57041         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57043 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57045         * math/s_nan.c: Undef __nan.
57046         * math/s_nanf.c: Undef __nanf.
57047         * math/s_nanl.c: Undef __nanl.
57048         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57049         "math_private.h".
57051 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57053         * math/s_catan.c: Add branch predictions.
57054         * math/s_catanf.c: Likewise.
57055         * math/s_catanh.c: Likewise.
57056         * math/s_catanhf.c: Likewise.
57057         * math/s_catanhl.c: Likewise.
57058         * math/s_catanl.c: Likewise.
57059         * math/s_cexp.c: Likewise.
57060         * math/s_cexpf.c: Likewise.
57061         * math/s_cexpl.c: Likewise.
57062         * math/s_clog.c: Likewise.
57063         * math/s_clog10.c: Likewise.
57064         * math/s_clog10f.c: Likewise.
57065         * math/s_clog10l.c: Likewise.
57066         * math/s_clogf.c: Likewise.
57067         * math/s_clogl.c: Likewise.
57068         * math/s_csqrt.c: Likewise.
57069         * math/s_csqrtf.c: Likewise.
57070         * math/s_csqrtl.c: Likewise.
57071         * math/s_ctanf.c: Likewise.
57072         * math/s_ctanh.c: Likewise.
57073         * math/s_ctanhf.c: Likewise.
57074         * math/s_ctanhl.c: Likewise.
57075         * math/s_ctanl.c: Likewise.
57077         * math/math_private.h: Define __nan, __nanf, __nanl.
57078         * math/s_cacosh.c: Include <math_private.h>.
57079         * math/s_cacoshl.c: Likewise.
57080         * math/s_casinh.c: Likewise.
57081         * math/s_casinhf.c: Likewise.
57082         * math/s_casinhl.c: Likewise.
57083         * math/s_ccos.c: Rely entire on ccosh.
57084         * math/s_ccosf.c: Rely entire on ccoshf.
57085         * math/s_ccosl.c: Rely entirely on ccoshl.
57086         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57087         Remove tests for FE_INVALID.
57088         * math/s_ccoshf.c: Likewise.
57089         * math/s_ccoshl.c: Likewise.
57090         * math/s_csin.c: Likewise.
57091         * math/s_csinf.c: Likewise.
57092         * math/s_csinh.c Likewise.
57093         * math/s_csinhf.c: Likewise.
57094         * math/s_csinhl.c: Likewise.
57095         * math/s_csinl.c: Likewise.
57096         * math/s_ctan.c: Likewise.
57097         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57098         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57099         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57101 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57104         compilation problems.
57106         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57107         __builtin_expect.
57109 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57111         * sysdeps/i386/configure.in: Test for -mfma4 option.
57112         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57113         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57114         COMMON_CPUID_INDEX_80000001.
57115         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57116         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57117         use it if FMA3 is not supported.
57118         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57120         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57121         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57123 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57125         [BZ #12892]
57126         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57127         it would create a cycle with a link time dependency.
57129 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57131         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57132         instruction.
57133         * string/Makefile (strop-tests): Add rawmemchr.
57134         * string/test-rawmemchr.c: New file.
57136         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57137         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57138         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57139         when compiling str{,n}casecmp and when AVX is available.  Hook up
57140         new optimized code in initializers.
57142 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57144         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57145         __feraiseexcept instead of feraiseexcept.
57147 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57149         * math/math_private.h: Define defaults for libc_fetestexcept and
57150         libc_feupdateenv.
57151         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57152         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57153         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57154         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57155         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57156         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57157         libc_fetestexcept and libc_feupdateenv.
57159         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57160         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57161         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57162         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57163         libc_feholdexcept_setround.
57165         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57166         Add s_nearbyint-c and s_nearbyintf-c.
57167         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57168         nearbyintf inlines.
57169         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57170         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57171         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57172         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57174         * math/math_private.h: Define defaults for libc_fegetround,
57175         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57176         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57177         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57178         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57179         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57180         standard functions.
57181         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57182         Remove comments and hacks for old compiler versions.
57183         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57184         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57185         libc_feholdexceptl.
57187 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57189         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57190         (__feraiseexcept_renamed): Add __NTH.
57191         (feraiseexcept): Add __NTH.  Rename local variables to fix
57192         namespace violations.
57194 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57196         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57198         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57200         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57201         recently added interfaces.
57202         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57204         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57205         about macro parameter expansion.
57207         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57208         __NO_MATH_INLINES is defined.  Cleanups.
57210         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57211         and __floorf is target has SSE4.1.
57212         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57213         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57214         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57215         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57217         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57218         name.
57219         (floorf): Likewise.
57221         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57223 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57225         * misc/sys/cdefs.h: Fix last change.
57227         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57228         database lookup.
57230 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57232         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57234         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57235         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57236         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57237         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57238         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57239         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57240         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57241         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57242         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57243         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57244         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57245         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57246         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57247         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57248         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57249         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57250         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57251         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57252         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57253         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57254         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57255         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57257         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57258         ceil, ceilf, floor, floorf.
57260         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57261         Perform IRELATIVE relocations last.
57263         * elf/do-rel.h: Add another parameter nrelative, replacing the
57264         local variable with the same name.  Change name of the function
57265         to end in Rel or Rela (uppercase).
57266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57267         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57268         elf_dynamic_do_##reloc function.
57270 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57272         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57273         is sufficient, at least on modern CPUs.
57275         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57277         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57278         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57280         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57281         __expl_finite.
57282         * math/bits/math-finite.h: Add entries for exp.
57283         * math/e_expl.c: Add __*_finite alias.
57284         * sysdeps/i386/fpu/e_exp.S: Likewise.
57285         * sysdeps/i386/fpu/e_expf.S: Likewise.
57286         * sysdeps/i386/fpu/e_expl.c: Likewise.
57287         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57288         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57289         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57290         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57291         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57292         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57293         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57295         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57296         is sufficient, at least on modern CPUs.
57298         * ctype/ctype-info.c (__ctype_init): Define.
57299         * include/ctype.h (__ctype_init): Declare.
57300         (__ctype_b_loc): The variable is always initialized.
57301         (__ctype_toupper_loc): Likewise.
57302         (__ctype_tolower_loc): Likewise.
57303         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57304         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57306 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57308         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57310         * configure.in: Also look in $cxxmachine/include for C++ system
57311         headers.
57313 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57315         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57316         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57317         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57318         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57319         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57320         (USE_AS_WMEMCMP): New macro.
57321         Fixing indents.
57322         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57323         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57324         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57325         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57326         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57327         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57328         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57329         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57330         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57331         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57332         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57333         (USE_AS_WMEMCMP): New macro.
57334         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57335         * sysdeps/string/test-memcmp.c: Update.
57336         Fix simple_wmemcmp.
57337         Add new tests.
57338         * wcsmbs/wmemcmp.c: Update.
57339         (WMEMCMP): New macro.
57340         Fix overflow bug.
57342 2011-10-12  Andreas Jaeger  <aj@suse.de>
57344         [BZ #13268]
57345         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57347 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57349         * libio/iofwide.c (do_length): Avoid warning.
57351         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57353 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57355         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57357         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57358         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57359         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57360         * sysdeps/i386/i686/fpu/e_log.S: New file.
57361         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57362         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57364         * ctype/ctype.h: Add support for inlined isXXX functions when
57365         compiling C++ code.
57367 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57369         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57371         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57373 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57375         [BZ #13291]
57376         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57378 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57380         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57381         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57382         feraiseexcept.
57384         * sysdeps/x86_64/memrchr.S: Check for zero size.
57386         * string/stratcliff.c: Add memrchr tests.
57388 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57390         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57391         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57392         rawmemchr-sse2 rawmemchr-sse2-bsf.
57393         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57394         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57395         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57396         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57397         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57398         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57399         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57400         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57401         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57402         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57403         * string/memrchr.c (MEMRCHR): New macro.
57405 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57407         Add integration with gcc's -ffinite-math-only and optimize wrapper
57408         functions in libm.
57409         * Versions.def: Define GLIBC_2.15 version for libm.
57410         * math/Makefile (headers): Add bits/math-finite.h.
57411         * math/bits/math-finite.h: New file.
57412         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57413         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57414         * math/e_acoshl.c: Add __*_finite alias.
57415         * math/e_acosl.c: Likewise.
57416         * math/e_asinl.c: Likewise.
57417         * math/e_atan2l.c: Likewise.
57418         * math/e_atanhl.c: Likewise.
57419         * math/e_coshl.c: Likewise.
57420         * math/e_exp10.c: Likewise.
57421         * math/e_exp10f.c: Likewise.
57422         * math/e_exp10l.c: Likewise.
57423         * math/e_exp2l.c: Likewise.
57424         * math/e_fmodl.c: Likewise.
57425         * math/e_gammal_r.c: Likewise.
57426         * math/e_hypotl.c: Likewise.
57427         * math/e_j0l.c: Likewise.
57428         * math/e_j1l.c: Likewise.
57429         * math/e_jnl.c: Likewise.
57430         * math/e_lgammal_r.c: Likewise.
57431         * math/e_log10l.c: Likewise.
57432         * math/e_log2l.c: Likewise.
57433         * math/e_logl.c: Likewise.
57434         * math/e_powl.c: Likewise.
57435         * math/e_sinhl.c: Likewise.
57436         * math/e_sqrtl.c: Likewise.
57437         * math/e_scalb.c: Completely rewritten and optimized.
57438         * math/e_scalbf.c: Likewise.
57439         * math/e_scalbl.c: Likewise.
57440         * math/w_acos.c: Likewise.
57441         * math/w_acosf.c: Likewise.
57442         * math/w_acosl.c: Likewise.
57443         * math/w_acosh.c: Likewise.
57444         * math/w_acoshf.c: Likewise.
57445         * math/w_acoshl.c: Likewise.
57446         * math/w_asin.c: Likewise.
57447         * math/w_asinf.c: Likewise.
57448         * math/w_asinl.c: Likewise.
57449         * math/w_atan2.c: Likewise.
57450         * math/w_atan2f.c: Likewise.
57451         * math/w_atan2l.c: Likewise.
57452         * math/w_atanh.c: Likewise.
57453         * math/w_atanhf.c: Likewise.
57454         * math/w_atanhl.c: Likewise.
57455         * math/w_exp10.c: Likewise.
57456         * math/w_exp10f.c: Likewise.
57457         * math/w_exp10l.c: Likewise.
57458         * math/w_fmod.c: Likewise.
57459         * math/w_fmodf.c: Likewise.
57460         * math/w_fmodl.c: Likewise.
57461         * math/w_j0.c: Likewise.
57462         * math/w_j0f.c: Likewise.
57463         * math/w_j0l.c: Likewise.
57464         * math/w_j1.c: Likewise.
57465         * math/w_j1f.c: Likewise.
57466         * math/w_j1l.c: Likewise.
57467         * math/w_jn.c: Likewise.
57468         * math/w_jnf.c: Likewise.
57469         * math/w_log.c: Likewise.
57470         * math/w_logf.c: Likewise.
57471         * math/w_logl.c: Likewise.
57472         * math/w_log10.c: Likewise.
57473         * math/w_log10f.c: Likewise.
57474         * math/w_log10l.c: Likewise.
57475         * math/w_log2.c: Likewise.
57476         * math/w_log2f.c: Likewise.
57477         * math/w_log2l.c: Likewise.
57478         * math/w_pow.c: Likewise.
57479         * math/w_powf.c: Likewise.
57480         * math/w_powl.c: Likewise.
57481         * math/w_remainder.c: Likewise.
57482         * math/w_remainderf.c: Likewise.
57483         * math/w_remainderl.c: Likewise.
57484         * math/w_scalb.c: Likewise.
57485         * math/w_scalbf.c: Likewise.
57486         * math/w_scalbl.c: Likewise.
57487         * math/w_sqrt.c: Likewise.
57488         * math/w_sqrtf.c: Likewise.
57489         * math/w_sqrtl.c: Likewise.
57490         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57491         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57492         used.
57493         * math/math_private.h: Declare __kernel_standard_f.
57494         * math/w_cosh.c: Remove cruft and optimize a bit.
57495         * math/w_coshf.c: Likewise.
57496         * math/w_coshl.c: Likewise.
57497         * math/w_exp2.c: Likewise.
57498         * math/w_exp2f.c: Likewise.
57499         * math/w_exp2l.c: Likewise.
57500         * math/w_hypot.c: Likewise.
57501         * math/w_hypotf.c: Likewise.
57502         * math/w_hypotl.c: Likewise.
57503         * math/w_lgamma.c: Likewise.
57504         * math/w_lgamma_r.c: Likewise.
57505         * math/w_lgammaf.c: Likewise.
57506         * math/w_lgammaf_r.c: Likewise.
57507         * math/w_lgammal.c: Likewise.
57508         * math/w_lgammal_r.c: Likewise.
57509         * math/w_sinh.c: Likewise.
57510         * math/w_sinhf.c: Likewise.
57511         * math/w_sinhl.c: Likewise.
57512         * math/w_tgamma.c: Likewise.
57513         * math/w_tgammaf.c: Likewise.
57514         * math/w_tgammal.c: Likewise.
57515         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57516         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57517         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57518         Minor optimizations.  Pretty printing.  Remove cruft.
57519         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57520         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57521         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57522         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57523         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57524         * sysdeps/i386/fpu/e_asin.S: Likewise.
57525         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57526         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57527         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57528         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57529         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57530         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57531         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57532         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57533         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57534         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57535         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57536         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57537         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57538         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57539         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57540         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57541         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57542         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57543         * sysdeps/i386/fpu/e_log.S: Likewise.
57544         * sysdeps/i386/fpu/e_log10.S: Likewise.
57545         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57546         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57547         * sysdeps/i386/fpu/e_log2.S: Likewise.
57548         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57549         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57550         * sysdeps/i386/fpu/e_logf.S: Likewise.
57551         * sysdeps/i386/fpu/e_logl.S: Likewise.
57552         * sysdeps/i386/fpu/e_pow.S: Likewise.
57553         * sysdeps/i386/fpu/e_powf.S: Likewise.
57554         * sysdeps/i386/fpu/e_powl.S: Likewise.
57555         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57556         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57557         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57558         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57559         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57560         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57561         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57562         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57563         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57564         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57565         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57567         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57568         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57569         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57570         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57571         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57573         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57574         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57575         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57577         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57578         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57580         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57581         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57582         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57583         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57584         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57585         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57586         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57587         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57588         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57589         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57590         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57591         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57592         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57593         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57594         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57595         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57596         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57597         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57598         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57599         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57600         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57601         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57602         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57603         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57604         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57605         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57606         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57607         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57608         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57609         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57610         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57611         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57612         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57613         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57614         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57615         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57616         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57617         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57618         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57619         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57620         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57621         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57622         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57623         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57624         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57625         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57627         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57628         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57629         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57630         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57631         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57632         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57634         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57635         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57636         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57637         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57638         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57639         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57640         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57641         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57642         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57643         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57644         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57645         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57646         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57647         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57648         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57649         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57650         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57651         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57652         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57653         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57654         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57655         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57656         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57657         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57658         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57659         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57660         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57661         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57662         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57663         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57664         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57665         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57666         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57667         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57668         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57669         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57670         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57671         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57672         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57673         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57674         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57675         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57676         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57677         (__isnanf): Likewise.
57678         (__isinf_ns): Likewise.
57679         (__isinf_nsf): Likewise.
57680         (__finite): Likewise.
57681         (__finitef): Likewise.
57682         (__ieee754_sqrt): Define as macro.
57683         (__ieee754_sqrtf): Define as macro.
57684         (__ieee754_sqrtl): Define as macro.
57685         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57686         inlined copy.
57687         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57688         __FINITE_MATH_ONLY__ consistent.
57689         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57691 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57693         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57694         of rawmemchr.
57696         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57698 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57700         * po/ja.po: Update from translation team.
57702 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57704         * locale/programs/locarchive.c (prepare_address_space): New function.
57705         (create_archive, enlarge_archive, open_archive): Use it.
57707         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57708         inside [SHARED], where it is used.
57710         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57712         * nss/getent.c (netgroup_keys): Remove unused variable.
57713         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57715 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57717         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57718         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57719         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57720         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57721         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57722         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57723         * math/Makefile (libm-calls): Add s_isinf_ns.
57724         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57725         * math/multc3.c: Likewise.
57726         * math/s_casin.c: Likewise.
57727         * math/s_casinf.c: Likewise.
57728         * math/s_casinl.c: Likewise.
57729         * math/s_ccos.c: Likewise.
57730         * math/s_ccosf.c: Likewise.
57731         * math/s_ccosl.c: Likewise.
57732         * math/s_ctan.c: Likewise.
57733         * math/s_ctanf.c: Likewise.
57734         * math/s_ctanh.c: Likewise.
57735         * math/s_ctanhf.c: Likewise.
57736         * math/s_ctanhl.c: Likewise.
57737         * math/s_ctanl.c: Likewise.
57738         * math/w_fmod.c: Likewise.
57739         * math/w_fmodf.c: Likewise.
57740         * math/w_fmodl.c: Likewise.
57741         * math/w_remainder.c: Likewise.
57742         * math/w_remainderf.c: Likewise.
57743         * math/w_remainderl.c: Likewise.
57744         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57745         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57746         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57747         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57748         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57749         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57750         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57751         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57753         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57754         of the number.
57755         * stdio-common/printf_fphex.c: Likewise.
57756         * stdio-common/printf_size.c: Likewise.
57758         * math/e_exp10.c: Include math_private.h using <...> not "...".
57759         * math/e_exp10f.c: Likewise.
57760         * math/e_exp10l.c: Likewise.
57761         * math/e_exp2l.c: Likewise.
57762         * math/e_j0l.c: Likewise.
57763         * math/e_j1l.c: Likewise.
57764         * math/e_jnl.c: Likewise.
57765         * math/e_lgammal_r.c: Likewise.
57766         * math/e_rem_pio2l.c: Likewise.
57767         * math/e_scalb.c: Likewise.
57768         * math/e_scalbf.c: Likewise.
57769         * math/e_scalbl.c: Likewise.
57770         * math/k_cosl.c: Likewise.
57771         * math/k_sinl.c: Likewise.
57772         * math/k_tanl.c: Likewise.
57773         * math/s_cacoshf.c: Likewise.
57774         * math/s_catan.c: Likewise.
57775         * math/s_catanf.c: Likewise.
57776         * math/s_catanh.c: Likewise.
57777         * math/s_catanhf.c: Likewise.
57778         * math/s_catanhl.c: Likewise.
57779         * math/s_catanl.c: Likewise.
57780         * math/s_ccosh.c: Likewise.
57781         * math/s_ccoshf.c: Likewise.
57782         * math/s_ccoshl.c: Likewise.
57783         * math/s_cexp.c: Likewise.
57784         * math/s_cexpf.c: Likewise.
57785         * math/s_cexpl.c: Likewise.
57786         * math/s_clog.c: Likewise.
57787         * math/s_clog10.c: Likewise.
57788         * math/s_clog10f.c: Likewise.
57789         * math/s_clog10l.c: Likewise.
57790         * math/s_clogf.c: Likewise.
57791         * math/s_clogl.c: Likewise.
57792         * math/s_csin.c: Likewise.
57793         * math/s_csinf.c: Likewise.
57794         * math/s_csinh.c: Likewise.
57795         * math/s_csinhf.c: Likewise.
57796         * math/s_csinhl.c: Likewise.
57797         * math/s_csinl.c: Likewise.
57798         * math/s_csqrt.c: Likewise.
57799         * math/s_csqrtf.c: Likewise.
57800         * math/s_csqrtl.c: Likewise.
57801         * math/s_ctan.c: Likewise.
57802         * math/s_ctanf.c: Likewise.
57803         * math/s_ctanh.c: Likewise.
57804         * math/s_ctanhf.c: Likewise.
57805         * math/s_ctanhl.c: Likewise.
57806         * math/s_ctanl.c: Likewise.
57807         * math/s_ldexp.c: Likewise.
57808         * math/s_ldexpf.c: Likewise.
57809         * math/s_ldexpl.c: Likewise.
57810         * math/s_significand.c: Likewise.
57811         * math/s_significandf.c: Likewise.
57812         * math/s_significandl.c: Likewise.
57813         * math/w_acos.c: Likewise.
57814         * math/w_acosf.c: Likewise.
57815         * math/w_acosh.c: Likewise.
57816         * math/w_acoshf.c: Likewise.
57817         * math/w_acoshl.c: Likewise.
57818         * math/w_acosl.c: Likewise.
57819         * math/w_asin.c: Likewise.
57820         * math/w_asinf.c: Likewise.
57821         * math/w_asinl.c: Likewise.
57822         * math/w_atan2.c: Likewise.
57823         * math/w_atan2f.c: Likewise.
57824         * math/w_atan2l.c: Likewise.
57825         * math/w_atanh.c: Likewise.
57826         * math/w_atanhf.c: Likewise.
57827         * math/w_atanhl.c: Likewise.
57828         * math/w_cosh.c: Likewise.
57829         * math/w_coshf.c: Likewise.
57830         * math/w_coshl.c: Likewise.
57831         * math/w_dremf.c: Likewise.
57832         * math/w_exp10.c: Likewise.
57833         * math/w_exp10f.c: Likewise.
57834         * math/w_exp10l.c: Likewise.
57835         * math/w_exp2.c: Likewise.
57836         * math/w_exp2f.c: Likewise.
57837         * math/w_fmod.c: Likewise.
57838         * math/w_fmodf.c: Likewise.
57839         * math/w_fmodl.c: Likewise.
57840         * math/w_hypot.c: Likewise.
57841         * math/w_hypotf.c: Likewise.
57842         * math/w_hypotl.c: Likewise.
57843         * math/w_j0.c: Likewise.
57844         * math/w_j0f.c: Likewise.
57845         * math/w_j0l.c: Likewise.
57846         * math/w_j1.c: Likewise.
57847         * math/w_j1f.c: Likewise.
57848         * math/w_j1l.c: Likewise.
57849         * math/w_jn.c: Likewise.
57850         * math/w_jnf.c: Likewise.
57851         * math/w_jnl.c: Likewise.
57852         * math/w_lgamma.c: Likewise.
57853         * math/w_lgamma_r.c: Likewise.
57854         * math/w_lgammaf.c: Likewise.
57855         * math/w_lgammaf_r.c: Likewise.
57856         * math/w_lgammal.c: Likewise.
57857         * math/w_lgammal_r.c: Likewise.
57858         * math/w_log.c: Likewise.
57859         * math/w_log10.c: Likewise.
57860         * math/w_log10f.c: Likewise.
57861         * math/w_log10l.c: Likewise.
57862         * math/w_log2.c: Likewise.
57863         * math/w_log2f.c: Likewise.
57864         * math/w_log2l.c: Likewise.
57865         * math/w_logf.c: Likewise.
57866         * math/w_logl.c: Likewise.
57867         * math/w_pow.c: Likewise.
57868         * math/w_powf.c: Likewise.
57869         * math/w_powl.c: Likewise.
57870         * math/w_remainder.c: Likewise.
57871         * math/w_remainderf.c: Likewise.
57872         * math/w_remainderl.c: Likewise.
57873         * math/w_scalb.c: Likewise.
57874         * math/w_scalbf.c: Likewise.
57875         * math/w_scalbl.c: Likewise.
57876         * math/w_sinh.c: Likewise.
57877         * math/w_sinhf.c: Likewise.
57878         * math/w_sinhl.c: Likewise.
57879         * math/w_sqrt.c: Likewise.
57880         * math/w_sqrtf.c: Likewise.
57881         * math/w_sqrtl.c: Likewise.
57882         * math/w_tgamma.c: Likewise.
57883         * math/w_tgammaf.c: Likewise.
57884         * math/w_tgammal.c: Likewise.
57886         * po/ja.po: Update from translation team.
57888 2011-09-29  Andreas Jaeger  <aj@suse.de>
57890         [BZ #13179]
57891         * sunrpc/netname.c (netname2host): Fix logic.
57893         [BZ #6779]
57894         [BZ #6783]
57895         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57896         correctly.
57897         * math/w_remainder.c (__remainder): Likewise.
57898         * math/w_remainderf.c (__remainderf): Likewise.
57899         * math/libm-test.inc (remainder_test): Add test cases.
57901 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57903         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57904         sdiv_qrnnd.
57906 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57908         * string/test-memcmp.c: Avoid unncessary #defines.
57909         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57911 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57913         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57914         Use new sse2 version for core i3 - i7 as it's faster
57915         than sse42 version.
57916         (bit_Prefer_PMINUB_for_stringop): New.
57917         * sysdeps/x86_64/rawmemchr.S: Update.
57918         Replace with faster SSE2 version.
57919         * sysdeps/x86_64/memrchr.S: New file.
57920         * sysdeps/x86_64/memchr.S: Update.
57921         Replace with faster SSE2 version.
57923 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57925         * elf/dl-load.c (lose): Add cast to avoid warning.
57927 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57929         * po/ca.po: Update from translation team.
57931         * inet/getnetgrent_r.c: Hook up nscd.
57932         * nscd/Makefile (routines): Add nscd_netgroup.
57933         (nscd-modules): Add netgroupcache.
57934         (CFLAGS-netgroupcache.c): Define.
57935         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57936         (cache_search): Add const to second parameter.
57937         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57938         INNETGR.
57939         (dbs): Add netgrdb entry.
57940         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57941         (verify_persistent_db): Handle netgrdb.
57942         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57943         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57944         GETFDNETGR.
57945         (netgroup_response_header): Define.
57946         (innetgroup_response_header): Define.
57947         (datahead): Add netgroup_response_header and innetgroup_response_header
57948         elements.
57949         * nscd/nscd.conf: Add entries for netgroup cache.
57950         * nscd/nscd.h (dbtype): Add netgrdb.
57951         (_PATH_NSCD_NETGROUP_DB): Define.
57952         (netgroup_iov_disabled): Declare.
57953         (xmalloc, xcalloc, xrealloc): Move declarations here.
57954         (cache_search): Adjust prototype.
57955         Add netgroup-related prototypes.
57956         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57957         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57958         (__nscd_innetgr): Declare.
57959         * nscd/selinux.c (perms): Use access_vector_t as element type and
57960         add netgroup-related initializers.
57961         * nscd/netgroupcache.c: New file.
57962         * nscd/nscd_netgroup.c: New file.
57963         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57964         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57965         For four parameters use innetgr.
57966         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57967         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57968         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57969         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57971         * nscd/connections.c (register_traced_file): Don't register file
57972         for disabled databases.
57974 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57976         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57978         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57979         from tree and freeing node.
57981 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57983         * nss/nsswitch.c (__nss_database_lookup): Handle
57984         nss_parse_service_list out of memory case.
57986 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57988         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57989         out of memory case.
57991 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57993         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57994         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57995         pass it down.
57996         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57997         elf_machine_rela, elf_machine_lazy_rel.
57998         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57999         (ELF_DYNAMIC_DO_REL): Likewise.
58000         (ELF_DYNAMIC_DO_RELA): Likewise.
58001         (ELF_DYNAMIC_RELOCATE): Likewise.
58002         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58003         to ELF_DYNAMIC_DO_REL.
58004         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58005         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58006         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58007         elf_machine_rela.
58008         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58009         skip_ifunc, don't call ifunc function if non-zero.
58010         (elf_machine_rela): Likewise.
58011         (elf_machine_lazy_rel): Likewise.
58012         (elf_machine_lazy_rela): Likewise.
58013         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58014         (elf_machine_lazy_rel): Likewise.
58015         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58016         Likewise.
58017         (elf_machine_lazy_rel): Likewise.
58018         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58019         Likewise.
58020         (elf_machine_lazy_rel): Likewise.
58021         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58022         (elf_machine_lazy_rel): Likewise.
58023         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58024         (elf_machine_lazy_rel): Likewise.
58025         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58026         (elf_machine_lazy_rel): Likewise.
58027         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58028         (elf_machine_lazy_rel): Likewise.
58029         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58030         (elf_machine_lazy_rel): Likewise.
58031         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58032         (elf_machine_lazy_rel): Likewise.
58034 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58036         * nss/nss_files/files-init.c (_nss_files_init): Use static
58037         initialization for all the *_traced_file variables.
58039 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58041         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58043 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58045         [BZ #13226]
58046         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58048 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58050         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58051         Reread the line before reparsing it.
58053 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58055         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58057 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58058             Maxim Kuvyrkov  <maxim@codesourcery.com>
58059             Joseph Myers  <joseph@codesourcery.com>
58061         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58062         if needed for __stack_chk_guard.
58064 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58066         * sysdeps/posix/spawni.c (script_execute): Always define it.
58067         It will be optimized away if unused.
58068         (maybe_script_execute): New function.
58069         (__spawni): Call it.
58071         * Makerules: Don't include tls.make.
58072         (config-tls): Always set to thread.
58073         * tls.make.c: File removed.
58075 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58077         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58078         * config.make.in (CPPFLAGS-config): New substituted variable.
58080 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58082         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58084         [BZ #13192]
58085         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58086         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58088 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58090         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58091         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58092         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58093         (CALL_FAIL): Likewise.
58094         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58095         (CALL_FAIL): Macro removed.
58096         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58098 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58100         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58101         for __FINITE_MATH_ONLY__ == 1.
58103 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58105         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58106         __ieee754_sqrt instead of sqrt.
58107         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58108         __ieee754_sqrtf instead of sqrtf.
58109         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58110         __floorf instead of floorf.
58111         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58112         __floorf, __truncf instead of floorf, truncf.
58114 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58116         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58118         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58119         __extern_always_inline.
58120         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58121         32-bit.
58123 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58125         * elf/rtld.c (dl_main): Also relocate in dependency order when
58126         doing symbol dependency testing.
58128 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58130         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58131         Always define `refsym'.
58133 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58135         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58136         (__FD_ELT): Renamed from __FDELT.
58137         * misc/bits/select2.h (__FD_ELT): Likewise.
58138         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58139         __FD_MASK instead of __FDELT, __FDMASK.
58140         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58141         Likewise.
58142         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58143         Likewise.
58145         * elf/Makefile (gen-ldd): Fix pattern.
58147         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58148         (init_tls): Likewise.
58150 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58152         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58154 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58156         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58157         `struct cmsghdr *' instead of `void *'.
58158         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58159         Likewise.
58161 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58163         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58164         if non-absolute.
58165         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58166         ldd_rewrite_script.
58168 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58170         * configure.in: Remove --with-tls option.
58171         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58172         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58173         out in case it is missing.
58174         * sysdeps/ia64/elf/configure.in: Likewise.
58175         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58176         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58177         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58178         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58179         * sysdeps/sh/elf/configure.in: Likewise.
58180         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58181         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58182         * sysdeps/x86_64/elf/configure.in: Likewise.
58183         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58184         * sysdeps/mach/hurd/tls.h: Likewise.
58186         [BZ #13067]
58187         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58189         [BZ #13090]
58190         * configure.in: Fix use of AC_INIT.
58192         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58194 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58196         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58197         __set_errno.
58198         * malloc/hooks.c: Likewise.
58200         [BZ #11929]
58201         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58202         variables statically.
58203         (narenas): Initialize.
58204         (list_lock): Initialize.
58205         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58206         initializtion of main_arena and list_lock.  Small cleanups.
58207         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58208         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58209         Add initializers to main_arena and mp_.
58210         (malloc_state): Remove pagesize member.  Change all users to use
58211         GLRO(dl_pagesize).
58213         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58214         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58215         is always initialized.
58217         * malloc/malloc.c: Removed unused configurations and dead code.
58218         * malloc/arena.c: Likewise.
58219         * malloc/hooks.c: Likewise.
58220         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58222         * include/tls.h: Removed.  USE___THREAD must always be defined.
58223         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58224         * elf/dl-libc.c: Likewise.
58225         * elf/dl-tsd.c: Likewise.
58226         * include/errno.h: Likewise.
58227         * include/netdb.h: Likewise.
58228         * include/resolv.h: Likewise.
58229         * inet/herrno-loc.c: Likewise.
58230         * inet/herrno.c: Likewise.
58231         * malloc/arena.c: Likewise.
58232         * malloc/hooks.c: Likewise.
58233         * malloc/malloc.c: Likewise.
58234         * resolv/res-state.c: Likewise.
58235         * resolv/res_libc.c: Likewise.
58236         * sysdeps/i386/dl-machine.h: Likewise.
58237         * sysdeps/ia64/dl-machine.h: Likewise.
58238         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58239         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58240         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58241         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58242         * sysdeps/sh/dl-machine.h: Likewise.
58243         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58244         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58245         * sysdeps/unix/i386/sysdep.S: Likewise.
58246         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58247         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58248         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58252         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58253         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58254         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58256         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58257         * sysdeps/x86_64/dl-machine.h: Likewise.
58258         * tls.make.c: Likewise.
58260         * configure.in: Remove --with-__thread option.  Make tests for
58261         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58262         tls_model attribute fail if no support is available.  Remove
58263         USE_IN_LIBIO.
58264         * Makeconfig: Adjust for dropped configure option.  All features are
58265         now mandatory.
58266         * Makerules: Likewise.
58267         * Versions.def: Likewise.
58268         * argp/argp-fmtstream.c: Likewise.
58269         * argp/argp-fmtstream.h: Likewise.
58270         * argp/argp-help.c: Likewise.
58271         * assert/assert.c: Likewise.
58272         * config.h.in: Likewise.
58273         * config.make.in: Likewise.
58274         * configure: Likewise.
58275         * configure.in: Likewise.
58276         * csu/Versions: Likewise.
58277         * csu/init.c: Likewise.
58278         * elf/tst-audit2.c: Likewise.
58279         * elf/tst-tls10.c: Likewise.
58280         * elf/tst-tls10.h: Likewise.
58281         * elf/tst-tls11.c: Likewise.
58282         * elf/tst-tls12.c: Likewise.
58283         * elf/tst-tls14.c: Likewise.
58284         * elf/tst-tlsmod11.c: Likewise.
58285         * elf/tst-tlsmod12.c: Likewise.
58286         * elf/tst-tlsmod13.c: Likewise.
58287         * elf/tst-tlsmod13a.c: Likewise.
58288         * elf/tst-tlsmod14a.c: Likewise.
58289         * elf/tst-tlsmod15b.c: Likewise.
58290         * elf/tst-tlsmod16a.c: Likewise.
58291         * elf/tst-tlsmod16b.c: Likewise.
58292         * elf/tst-tlsmod7.c: Likewise.
58293         * elf/tst-tlsmod8.c: Likewise.
58294         * elf/tst-tlsmod9.c: Likewise.
58295         * gmon/gmon.c: Likewise.
58296         * grp/fgetgrent_r.c: Likewise.
58297         * grp/putgrent.c: Likewise.
58298         * hurd/fopenport.c: Likewise.
58299         * include/libc-symbols.h: Likewise.
58300         * include/tls.h: Likewise.
58301         * intl/gettextP.h: Likewise.
58302         * intl/loadinfo.h: Likewise.
58303         * locale/global-locale.c: Likewise.
58304         * locale/localeinfo.h: Likewise.
58305         * mach/devstream.c: Likewise.
58306         * malloc/arena.c: Likewise.
58307         * malloc/set-freeres.c: Likewise.
58308         * misc/err.c: Likewise.
58309         * misc/getttyent.c: Likewise.
58310         * misc/mntent_r.c: Likewise.
58311         * posix/getopt.c: Likewise.
58312         * posix/wordexp.c: Likewise.
58313         * pwd/fgetpwent_r.c: Likewise.
58314         * resolv/Versions: Likewise.
58315         * resolv/res_hconf.c: Likewise.
58316         * shadow/fgetspent_r.c: Likewise.
58317         * shadow/putspent.c: Likewise.
58318         * stdio-common/printf_fphex.c: Likewise.
58319         * stdio-common/tmpfile.c: Likewise.
58320         * stdlib/abort.c: Likewise.
58321         * stdlib/fmtmsg.c: Likewise.
58322         * sunrpc/auth_unix.c: Likewise.
58323         * sunrpc/clnt_perr.c: Likewise.
58324         * sunrpc/clnt_tcp.c: Likewise.
58325         * sunrpc/clnt_udp.c: Likewise.
58326         * sunrpc/clnt_unix.c: Likewise.
58327         * sunrpc/openchild.c: Likewise.
58328         * sunrpc/svc_simple.c: Likewise.
58329         * sunrpc/svc_tcp.c: Likewise.
58330         * sunrpc/svc_udp.c: Likewise.
58331         * sunrpc/svc_unix.c: Likewise.
58332         * sunrpc/xdr.c: Likewise.
58333         * sunrpc/xdr_array.c: Likewise.
58334         * sunrpc/xdr_rec.c: Likewise.
58335         * sunrpc/xdr_ref.c: Likewise.
58336         * sunrpc/xdr_stdio.c: Likewise.
58338 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58340         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58342 2011-07-03  Andreas Jaeger  <aj@suse.de>
58344         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58345         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58346         regenerate with gen-libm-tests.pl.
58348 2010-05-12  Petr Baudis  <pasky@suse.cz>
58350         [BZ #11589]
58351         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58352         around j0() zero points by switching to j1().
58353         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58354         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58356         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58358 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58360         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58361         instead of 0.
58362         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58363         instead of 0.
58364         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58365         Patch in part by Pavel Roskin <proski@gnu.org>.
58367         [BZ #13138]
58368         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58369         realloc.
58370         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58371         Free memory block if necessary.
58373         [BZ #12847]
58374         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58375         be NULL.  Don't lock in this case.
58377 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58379         * elf/elf.h (ELFOSABI_GNU): New macro.
58380         (ELFOSABI_LINUX): Define to that.
58382 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58384         * string/strncat.c (strncat): Undef the symbol in case it has been
58385         defined in bits/string.h.
58387 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58389         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58391         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58392         link map.
58394 2011-08-17  Andreas Jaeger  <aj@suse.de>
58396         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58398 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58399             Ian Lance Taylor  <iant@google.com>
58401         * math/libm-test.inc (lround_test): New testcase.
58402         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58404 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58406         * Makefile: Remove support for automatic cvs check-ins.
58407         * Makerules: Likewise.
58408         * config.make.in: Likewise.
58409         * configure.in: Likewise.
58410         * intl/Makefile: Likewise.
58411         * locale/Makefile: Likewise.
58412         * po/Makefile: Likewise.
58413         * posix/Makefile: Likewise.
58414         * sysdeps/gnu/Makefile: Likewise.
58415         * sysdeps/mach/hurd/Makefile: Likewise.
58416         * sysdeps/sparc/sparc32/Makefile: Likewise.
58418         [BZ #13118]
58419         * posix/Makefile (bug-regex32-ENV): Define.
58420         Patch by John Stanley <jpsinthemix@verizon.net>.
58422         * misc/Makefile (headers): Add bits/select2.h.
58423         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58424         * misc/bits/select2.h: New file.
58425         * include/bits/select2.h: New file.
58426         * debug/Makefile (routines): Add fdelt_chk.
58427         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58428         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58429         FD_ISSET.
58430         * debug/fdelt_chk.c: New file.
58432         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58433         * wcsmbs/test-wmemcmp.c: Likewise.
58434         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58435         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58437 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58439         * string/Makefile (strop-tests): Add memcmp.
58440         * string/test-wmemcmp.c: New file.
58441         * string/test-memcmp.c: Add wmemcmp support.
58443 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58445         [BZ #13153]
58446         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58447         2011-07-19 change.
58449         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58450         garbage value in a __mach_port_mod_refs call in the cases of the
58451         task-self and thread-self ports.
58453 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58455         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58457 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58459         * elf/dl-load.c (lose): Check for non-null L.
58461 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58463         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58465         * elf/dl-libc.c (dlerror_run): Pass back error code from
58466         dl_catch_error.
58468         [BZ #13123]
58469         * elf/dl-load.c (lose): Free l_origin if it is valid.
58471         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58472         names.
58473         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58474         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58475         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58476         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58477         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58478         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58480 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58482         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58483         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58484         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58485         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58486         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58487         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58488         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58489         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58490         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58491         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58493 2011-08-15  Alan Modra  <amodra@gmail.com>
58495         [BZ #13092]
58496         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58497         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58498         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58499         ppc_mcount to static-only-routines.
58500         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58501         __mcount_internal.
58502         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58503         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58505 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58507         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58508         for finite and infinity parameters.
58510 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58512         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58513         and add nop instructions for throughput optimization.
58514         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58516 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58518         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58519         aligned copy for power7 with vector-scalar instructions.
58520         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58522 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58524         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58525         AVX check.
58527 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58529         [BZ #13144]
58530         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58531         last change.
58533 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58535         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58536         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58537         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58538         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58539         clock_gettime.
58541 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58543         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58544         Forgot to demangle the pointer.
58546         * sysdeps/i386/sysdep.h: Define atom_text_section.
58547         * sysdeps/x86_64/sysdep.h: Likewise.
58548         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58549         section with atom_text_section.
58550         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58551         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58552         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58553         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58554         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58556         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58557         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58558         already be defined.  Change to take two parameters and don't assign
58559         result to variable.  Adjust all users.
58560         Define INTERNAL_GETTIME if not already defined.
58561         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58562         call.
58563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58564         HAVE_CLOCK_GETTIME_VSYSCALL.
58565         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58567         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58568         gettimeofday vsyscall, just use time.
58570 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58572         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58573         <errno.h>.
58575 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58577         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58578         syscall on x86-64.
58579         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58580         syscall.
58581         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58582         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58583         syscall if possible.
58585 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58587         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58588         e_ident.  Don't pass to find_mapsXX.
58589         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58591 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58594         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58595         * sysdeps/x86_64/multiarch/strchr.S: Update.
58596         Check bit_slow_BSF bit.
58597         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58598         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58599         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58601 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58603         [BZ #13134]
58604         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58605         before glibc 2.15.
58606         (tryshell): Define.
58607         (__spawni): Change last parameter to be flag.  Test
58608         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58609         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58610         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58611         * posix/spawni.c: Likewise.
58612         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58613         * posix/spawnp.c: Likewise.  Change normal version to use
58614         SPAWN_XFLAGS_USE_PATH.
58615         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58616         SPAWN_XFLAGS_TRY_SHELL.
58618         [BZ #13150]
58619         * posix/glob.h: Remove gcc 1.x support.
58621         [BZ #13068]
58622         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58624 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58627         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58628         strrchr-sse2-bsf
58629         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58630         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58631         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58632         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58633         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58634         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58636 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58638         * sysdeps/x86_64/wcscmp.S: New file.
58640         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58641         wcscmp-c wcscmp-sse2
58642         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58643         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58644         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58645         * wcsmbs/wcscmp.c: Allow renaming.
58647 2011-09-05  David S. Miller  <davem@davemloft.net>
58649         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58650         stack slot, rather than the struct return pointer slot.
58651         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58652         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58654         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58656 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58658         * po/ja.po: Update from translation team.
58660         [BZ #13144]
58661         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58662         kernel in 64-bit binaries.
58664 2011-09-01  David S. Miller  <davem@davemloft.net>
58666         * elf/elf.h (HWCAP_SPARC_*): Move to..
58667         * sysdeps/sparc/sysdep.h: this new file and add new values.
58668         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58669         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58670         _DL_HWCAP_COUNT to 24.
58671         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58672         entries.
58673         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58674         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58675         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58676         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58677         instead of magic constants.
58678         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58680 2011-08-31  David S. Miller  <davem@davemloft.net>
58682         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58684         Reimplement to do errno handling inline.
58685         (SYSCALL_ERROR_HANDLER): New macro.
58686         (__SYSCALL_STRING): Do not do errno handling in asm.
58687         (__CLONE_SYSCALL_STRING): Delete.
58688         (__INTERNAL_SYSCALL_STRING): Delete.
58689         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58690         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58691         (PSEUDO): Reimplement to do errno handling inline.
58692         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58693         (SYSCALL_ERROR_HANDLER): New macro.
58694         (__SYSCALL_STRING): Do not do errno handling in asm.
58695         (__CLONE_SYSCALL_STRING): Delete.
58696         (__INTERNAL_SYSCALL_STRING): Delete.
58697         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58698         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58699         i386.
58700         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58701         (inline_syscall*): Add 'err' argument.
58702         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58703         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58704         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58705         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58707         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58708         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58710 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58712         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58714 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58716         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58717         directive.
58719 2011-08-24  David S. Miller  <davem@davemloft.net>
58721         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58723 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58725         * elf/Makefile: Add rules to build and run unload8 test.
58726         * elf/unload8.c: New file.
58727         * elf/unload8mod1.c: New file.
58728         * elf/unload8mod1x.c: New file.
58729         * elf/unload8mod2.c: New file.
58730         * elf/unload8mod3.c: New file.
58732         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58733         it wasn't used.
58735 2011-08-23  David S. Miller  <davem@davemloft.net>
58737         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58738         subtract stack bias.
58739         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58740         %sp not %fp in calculations.
58741         (_JMPBUF_UNWINDS_ADJ): Likewise.
58743         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58744         (aio_suspend): Call it to force an exception region around the
58745         AIO_MISC_WAIT() invocation.
58747 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58749         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58750         backslash.
58752 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58754         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58755         protection macro.
58756         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58757         and <dl-machine.h>.
58758         (Elf64_FuncDesc): Remove.
58760 2011-08-22  David S. Miller  <davem@davemloft.net>
58762         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58763         sigaltstack check, add missing cfi directives.
58764         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58765         missing cfi directives, and sigaltstack handling.
58767 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58769         [BZ #11724]
58770         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58771         object is seen twice.
58772         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58774         * elf/Makefile (distribute): Add tst-initorder2.c.
58775         (tests): Add tst-initorder2.
58776         (modules-names): Add tst-initorder2a tst-initorder2b
58777         tst-initorder2c tst-initorder2d.  Add rules to build them.
58778         ($(objpfx)tst-initorder2.out): New rule.
58779         * elf/tst-initorder2.c: New file.
58780         * elf/tst-initorder2.exp: New file.
58782 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58784         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58786         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58787         dependencies back to end of function.
58789         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58790         $(elfobjdir)/ld.so.
58792 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58794         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58795         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58796         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58797         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58798         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58799         of __vdso_gettimeofday.
58800         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58801         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58802         attribute_hidden.
58803         (_libc_vdso_platform_setup): Remove initialization of
58804         __vdso_gettimeofday and __vdso_time.
58806 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58808         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58809         and fgetc_unlocked.
58810         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58811         getc_unlocked.
58813         * elf/dl-open.c (add_to_global): Report additions to the global scope
58814         for LD_DEBUG=scopes.
58815         (dl_open_worker): Also print scope of newly loaded dependencies.
58816         (_dl_show_scope): Indicate if there is no scope.
58818         [BZ #13114]
58819         * stdio-common/Makefile (tests): Add bug24.
58820         * stdio-common/bug24.c: New file.
58822 2011-08-19  Andreas Jaeger  <aj@suse.de>
58824         [BZ #13114]
58825         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58826         non-existant file when using close-on-exec mode.
58828 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58831         the very first instruction.
58833         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58834         the CFI state in the end.
58835         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58836         inclusion of dl-trampoline.h.
58837         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58839 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58841         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58842         expectations for long double.
58844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58845         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58847 2011-08-14  David S. Miller  <davem@davemloft.net>
58849         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58850         artificual limit depends upon the system page size.
58852 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58854         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58855         * resolv/Makefile: Define CFLAGS-libresolv.
58857 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58859         * nss/makedb.c (compute_tables): Make variables used in nested
58860         function static.
58862 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58864         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58865         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58866         if buffer was too small.
58868         * elf/pldd.c (main): Attach to all threads in the process.
58869         Rewrite /proc handling to use *at functions.
58871 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58873         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58874         specifies first scope to show.
58875         (dl_open_worker): Update callers.  Move printing scope of new
58876         object to before the relocation.
58877         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58878         * sysdeps/generic/ldsodefs.h: Update declaration.
58880         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58881         string for the scope number.
58883 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58885         * nscd/servicescache.c (cache_addserv): Make sure written is always
58886         initialized.
58888 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58890         * sysdeps/i386/i486/bits/atomic.h
58891         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58892         statement expression, so as to suppress "set but not used" warning.
58893         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58895         * string/strncat.c (STRNCAT): Use prototype definition.
58897         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58898         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58899         -Iprograms here.
58900         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58901         (localedef-modules): Add localedef.
58902         (locale-modules): Add locale.
58904         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58905         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58906         to avoid a warning.
58908 2011-08-14  David S. Miller  <davem@davemloft.net>
58910         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58911         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58913 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58915         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58916         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58917         * elf/rtld.c (dl_main): Set l_name of vDSO.
58918         Call _dl_show_scope when DL_DEBUG_SCOPES.
58919         (process_dl_debug): Recognize scopes flag and also set it for all.
58920         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58921         Declare _dl_show_scope.
58923         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58924         (do_dlopen): Pass caller_dlopen to dl_open.
58925         (__libc_dlopen_mode): Initialize caller_dlopen.
58927         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58928         of libc.  Make tolower call locale-independent.  Optimize a bit by
58929         using isdigit instead of isalnum.
58930         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58932 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58934         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58935         was a dependency or dynamically loaded.
58937 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58939         * intl/l10nflist.c: Allow architecture-specific pop function.
58940         * sysdeps/x86_64/l10nflist.c: New file.
58942         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58943         classification.
58945 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58947         * include/dirent.h: Add libc_hidden_proto for scandirat and
58948         scandirat64.  Don't declare __scandirat64.
58949         * dirent/scandirat.c: Add libc_hidden_def.
58950         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58951         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58953 2011-08-10  David S. Miller  <davem@davemloft.net>
58955         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58956         enum.
58957         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58958         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58959         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58961 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58963         * Versions.def [libc]: Add GLIBC_2.15.
58964         * dirent/Makefile (routines): Add scandirat and scandirat64.
58965         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58966         GLIBC_2.15.
58967         * dirent/dirent.h: Declare scandirat and scandirat64.
58968         * dirent/scandirat.c: New file.
58969         * dirent/scandirat64.c: New file.
58970         * sysdeps/wordsize-64/scandirat.c: New file.
58971         * sysdeps/wordsize-64/scandirat64.c: New file.
58972         * dirent/opendir.c: Define opendirat.
58973         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58974         using scandirat.
58975         * dirent/scandir64.c: Adjust for scandir.c change.
58976         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58977         __scandirat64, and __scandir_cancel_handler.
58978         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58979         additional parameter and use openat instead of open (outside of ld.so).
58980         Add new __opendir as wrapper around __opendirat.
58981         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58982         here without requiring old scandirat implementation.
58984 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58986         * dirent/scandir.c (cancel_handler): Renamed to
58987         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58988         defined.  Adjust users.
58989         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58990         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58992 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58994         * string/test-string.h (IMPL): Use __STRING to expand name and then
58995         stringify it.
58997         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58998         of cleanups.
59000 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59002         * string/Makefile: Update.
59003         (strop-tests): Append strncat.
59004         * string/test-wcscmp.c: New file.
59005         New comprehensive test for wcscmp.
59006         * string/test-strcmp.c: Update.
59007         (WIDE): New define.
59009 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59011         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59012         line.
59014 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59017         encoding to ACE if AI_IDN.
59019 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59021         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59022         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59024 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59026         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59027         Fix overflow bug in strncat.
59028         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59030         * string/test-strncat.c: Update.
59031         Add new tests for checking overflow bugs.
59033 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59036         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59037         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59038         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59039         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59040         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59041         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59042         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59043         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59045         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59046         (USE_AS_STRCAT): Define.
59047         Add strcat and strncat support.
59048         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59050 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59052         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59053         __n bigger than INT_MAX+1.
59054         (__strncmp_g): Likewise.
59056 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59058         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59059         * libio/stido.h: Likewise.
59061         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59062         (AF_NFC): Define.
59063         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59064         (AF_NFC): Define.
59066         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59068         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59069         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59070         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59072         [BZ #13021]
59073         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59074         installed.
59076         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59077         typo.
59078         (_dl_x86_64_save_sse): Likewise.
59080 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59082         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59083         OSXSAVE.
59084         (_dl_x86_64_save_sse): Likewise.
59086         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59088         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59090 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59093         change.
59094         (_dl_x86_64_save_sse): Use correct AVX check.
59096 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59098         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59099         bug in strncpy/strncat.
59100         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59102 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59104         * string/tester.c (test_strcat): Add tests for different alignments
59105         of source and destination.
59106         (test_strncat): Likewise.
59108 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59110         [BZ #12852]
59111         * posix/glob.c (glob): Check passed in values before using them in
59112         expressions to avoid some overflows.
59113         (glob_in_dir): Likewise.
59115         [BZ #13007]
59116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59117         check for AVX enablement so that we don't crash with old kernels and
59118         new hardware.
59119         * elf/tst-audit4.c: Add same checks here.
59120         * elf/tst-audit6.c: Likewise.
59122         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59124 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59126         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59128 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59130         * po/cs.po: Update from translation team.
59131         * po/bg.po: Likewise.
59133 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59135         * misc/sys/cdefs.h: Add support for const attribute.
59136         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59137         to gnu_dev_{major,minor,makedev} functions.
59139 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59141         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59143 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59145         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59146         strlen results.
59148 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59150         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59151         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59152         register in order to avoid conflicts with the soft frame pointer
59153         being held in r11 when necessary.
59154         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59155         (INTERNAL_VSYSCALL_NCS): Likewise.
59157 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59159         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59160         * elf/dl-fini.c (_dl_fini): Adjust caller.
59161         * elf/dl-close.c (_dl_close_worker): Likewise.
59162         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59164 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59166         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59167         "aux_cache->nlibs < 0".
59169         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59170         in the reload-count case.
59172 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59175         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59176         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59177         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59178         * sysdeps/x86_64/multiarch/strcat.S: New file.
59179         * sysdeps/x86_64/multiarch/strncat.S: New file.
59180         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59181         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59182         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59183         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59184         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59185         (USE_AS_STRCAT): Define.
59186         Add strcat and strncat support.
59187         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59188         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59189         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59190         * string/strncat.c: Update.
59191         (USE_AS_STRNCAT): Define.
59192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59193         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59194         and i7.
59195         * sysdeps/x86_64/multiarch/init-arch.h
59196         (bit_Prefer_PMINUB_for_stringop): New.
59197         (index_Prefer_PMINUB_for_stringop): Likewise.
59198         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59199         bit_Prefer_PMINUB_for_stringop.
59201 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59203         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59204         buffer64.
59205         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59206         of casting of buffer.
59207         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59208         buffer32 and buffer64.
59209         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59210         writes instead of casting of buffer.
59211         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59212         buffer32.
59213         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59214         casting of buffer.
59216 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59218         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59220 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59222         * nscd/nscd.c (termination_handler): Don't do anything for a database
59223         if it has not yet been initialized.
59225 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59227         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59229 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59231         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59233 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59235         * po/nl.po: Update from translation team.
59236         * po/sv.po: Likewise.
59238 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59240         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59241         now disallowed by GCC.
59243         * configure.in (use-default-link): Default to yes if a test -shared
59244         link meets our qualifications.
59245         * configure: Regenerated.
59247         * config.make.in (output-format): New variable.
59248         * configure.in: Check for ld --print-output-format support.
59249         * configure: Regenerated.
59250         * Makerules ($(common-objpfx)format.lds)
59251         [$(output-format) != unknown]: Just use $(output-format),
59252         instead of the linker-script munging.
59254 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59256         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59257         of $(common-objpfx)shlib.lds.
59258         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59260         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59261         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59263         * configure.in (-z relro check): Adjust test code to add a large
59264         writable data section after it.
59265         * configure: Regenerated.
59267 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59269         * configure.in (-z relro check): Fix test code to make the variable
59270         truly const.
59271         * configure: Regenerated.
59273 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59275         * nscd/nscd.h (struct traced_file): Define.
59276         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59277         elements.  Add traced_files.
59278         (inotify_fd): Declare.
59279         (register_traced_file): Declare.
59280         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59281         (inotify_fd): Export.
59282         (resolv_conf_descr): Remove.
59283         (nscd_init): Move inotify descriptor creation to main.
59284         Don't register files for notification here.
59285         (register_traced_file): New function.
59286         (invalidate_cache): Don't use reset_res to determine whether to call
59287         res_init, go through the list of registered files.
59288         (main_loop_poll): The inotify descriptors are now stored in the
59289         structures for the traced files.
59290         (main_loop_epoll): Likewise
59291         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59292         to __nss_disable_nscd.
59293         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59294         for a database anymore.  Check the records for all the registered
59295         files instead.
59296         * nss/Makefile (libnss_files-routines): Add files-init.
59297         (libnss_db-routines): Add db-init.
59298         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59299         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59300         * nss/nss_db/db-init.c: New file.
59301         * nss/nss_files/files-init.c: New file.
59302         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59303         __nss_lookup_function.
59304         (__nss_lookup_function): Call nss_load_library.
59305         (nss_load_all_libraries): New function.
59306         (__nss_disable_nscd): Take parameter with callback function for files
59307         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59308         used for the cached services.
59309         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59310         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59311         options for features to all the files in nscd.
59313         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59315 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59317         * csu/elf-init.c (__libc_csu_init): Comment typo.
59319 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59321         * po/pl.po: Update from translation team.
59322         * po/ja.po: Likewise.
59323         * po/ru.po: Likewise.
59324         * po/ko.po: Likewise.
59325         * po/fr.po: Likewise.
59327 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59329         * configure.in (.ctors/.dtors header and trailer check):
59330         Use an empirical test on a built program.
59331         * configure: Regenerated.
59333         * configure.in (-z relro check): Use an empirical test on a built DSO.
59334         Detect, but do not require, on ia64.
59335         * configure: Regenerated.
59337         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59338         Update tests that use readelf to use $READELF instead.
59339         * configure: Regenerated.
59341 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59343         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59344         if the result is not used.
59346 2011-07-05  Andreas Jaeger  <aj@suse.de>
59348         [BZ#9696]
59349         * stdlib/tst-strtod.c: Add testcase.
59351 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59353         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59354         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59355         The latter has a higher limit.  Take additional parameter to pass to
59356         the new function.
59357         (__pathconf): Pass file to __statfs_link_max.
59358         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59359         __statfs_link_max.
59360         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59361         __statfs_link_max.
59363         [BZ #12868]
59364         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59365         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59366         Handle Lustre.
59367         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59368         (__statfs_filesize_max): Likewise.
59369         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59371 2011-07-05  Andreas Jaeger  <aj@suse.de>
59373         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59375 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59377         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59378         `status' variable.
59379         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59380         Likewise.
59382 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59384         * Makefile (strop-tests): Add strncat.
59385         * string/test-strncat.c: New file.
59387 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59389         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59391 2011-06-21  Andreas Jaeger  <aj@suse.de>
59393         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59394         Copy rule from iconvdata/Makefile.
59396 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59398         [BZ #12922]
59399         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59400         but no long options are defined, just return 'W'.
59402 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59404         [BZ #9696]
59405         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59407 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59409         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59410         netgroups to read.
59411         (innetgr): Likewise.
59413 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59415         * config.make.in (install_root): Default to $(DESTDIR).
59417 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59419         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59421 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59423         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59425         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59426         containing directory rather than embedding absolute directory names.
59428         * scripts/check-local-headers.sh: Rewritten using awk.
59429         Match by word, not by line.  Print error messages for matches.
59430         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59432         * Makerules [shlib-lds-flags empty]:
59433         ($(common-objpfx)libc_pic.opts): New target.
59434         ($(common-objpfx)libc_pic.os.clean): New target.
59435         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59437         * config.make.in (OBJCOPY): New variable.
59438         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59439         * configure: Regenerated.
59441         * config.make.in (use-default-link): New variable.
59442         * configure.in (use_default_link): Grok --with-default-link to set it.
59443         * configure: Regenerated.
59444         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59445         (shlib-lds, shlib-lds-flags): Define to empty.
59447         * Makerules (shlib-lds): New variable.
59448         (shlib-lds-flags): New variable.
59449         (build-shlib, build-moduile, build-module-asneeded): Use it.
59450         ($(common-objpfx)libc.so): Use $(shlib-lds).
59451         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59452         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59454         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59455         DT_FLAGS/DT_FLAGS_1 with zero flags.
59457         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59458         linker script munging.
59460 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59462         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59463         as 128-bit value.
59464         * crypt/sha512.c (sha512_process_block): Perform total addition using
59465         128-bit if possible.
59466         (__sha512_finish_ctx): Likewise.
59467         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59468         as 64-bit value.
59469         * crypt/sha256.c (SWAP64): Define.
59470         (sha256_process_block): Perform total addition using 64-bit if
59471         possible.
59472         (__sha256_finish_ctx): Likewise.
59474 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59476         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59478         * nscd/hstcache.c (cache_addhst): Likewise.
59479         * nscd/grpcache.c (cache_addgr): Likewise.
59480         * nscd/aicache.c (addhstaiX): Likewise
59481         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59483 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59485         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59486         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59487         * nscd/hstcache.c (cache_addhst): Likewise.
59488         * nscd/grpcache.c (cache_addgr): Likewise.
59489         * nscd/aicache.c (addhstaiX): Likewise
59491 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59493         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59494         domain only when needed.
59496 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59499         is always restored.
59501 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59503         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59504         are re-adding the entry.
59505         * nscd/servicescache.c (cache_addserv): Likewise.
59507 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59509         * sysdeps/generic/dl-irel.h: fix protection against multiple
59510         inclusions.
59511         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59513 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59515         [BZ #12935]
59516         * malloc/memusage.sh: Fix quoting in message.
59517         * debug/xtrace.sh: Likewise.
59519         * configure.in: Remove support for --experimental-malloc option, make
59520         it the default.
59521         * config.make.in: Likewise.
59522         * malloc/Makefile: Likewise.
59524 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59526         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59527         two-byte characters.
59529 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59531         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59532         AC_CACHE_CHECK invocation.
59533         * configure: Regenerated.
59535         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59537 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59539         [BZ #12350]
59540         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59541         bit from old_res_options.
59543         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59545         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59546         value type for setfct.
59548 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59550         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59551         __gettimeofday instead of gettimeofday.
59553 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59555         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59557 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59559         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59561         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59562         info.
59564 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59567         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59568         strcpy-sse2-unaligned strncpy-sse2-unaligned
59569         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59570         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59571         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59572         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59573         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59574         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59575         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59576         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59577         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59578         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59579         (STRCPY): Support SSE2 and SSSE3 versions.
59581 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59583         [BZ #12874]
59584         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59585         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59586         kernels which artificially limit size of requests.
59588 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59591         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59592         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59593         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59594         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59595         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59596         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59597         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59598         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59599         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59600         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59601         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59602         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59603         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59604         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59606         Enable unaligned load optimization for Intel Core i3, i5 and i7
59607         processors.
59608         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59609         Define.
59610         (index_Fast_Unaligned_Load): Define.
59611         (HAS_FAST_UNALIGNED_LOAD): Define.
59613 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59615         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59617 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59619         [BZ #12907]
59620         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59621         until it is clear that the information is realy needed.
59622         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59624 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59628 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59630         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59631         /sys/devices/system/cpu/online if it is usable.
59633         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59634         reading the information from the /proc filesystem to once a second.
59636 2011-06-21  Andreas Jaeger  <aj@suse.de>
59638         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59639         NULL after inclusion of kernel headers.
59641 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59643         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59644         calls to internal_setent.
59646         [BZ #12885]
59647         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59648         addresses using gethostbyname4_r ignore IPv4 addresses.
59650         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59651         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59653         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59655 2011-06-20  David S. Miller  <davem@davemloft.net>
59657         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59658         inclusions.
59659         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59661         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59662         (elf_irel): Use it.
59663         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59664         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59665         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59666         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59667         * sysdeps/x86_64/dl-irel.h: Likewise.
59669         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59670         * elf/dl-sym.c: Likewise.
59672 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59674         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59675         need to dereference resplen2.
59677 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59679         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59681 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59683         * Makeconfig: Define vardbdir and inst_vardbdir.
59684         * nss/Makefile: Add rules to install db-Makefile.
59686         * nss/nss_db/db-XXX.c: Cleanup.
59688         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59689         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59690         GLIBC_PRIVATE.
59691         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59692         * nss/makedb.c: Implement -g option to specify that value strings
59693         are generated and should not be added to table iterated over for
59694         get*ent calls.
59695         * nss/nss_db/db-initgroups.c: New file.
59697         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59698         interface.
59700         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59701         (internal_getgrouplist): Adjust to name change.
59702         Update use_initgroups_entry if this is not the first call.
59703         * nss/databases.def: Add initgroups entry.
59705         * nss/makedb.c (compute_tables): Check result of multiple hash table
59706         sizes to minimize maximum chain length.
59708 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59710         * Versions.def: Add entry for libnss_db.
59711         * shlib-versions: Likewise.
59712         * nss/Makefile: Add rules to build libnss_db.
59713         * nss/Versions: Add libnss_db information.  Organize libnss_files
59714         entries better.
59715         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59716         makedb progra.  Some minor improvements to generate smaller files.
59717         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59718         here from...
59719         * nss/makedb.c: ...here.
59720         Improve database format to be smaller and require less memory at
59721         runtime.
59722         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59723         db anymore.
59724         * nss/nss_db/db-netgrp.c: Likewise.
59725         * nss/nss_db/db-open.c: Likewise.
59726         * nss/nss_files/flies-XXX.x: Adjust comments.
59727         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59728         * nss/nss_files/files-grp.c: Likewise.
59729         * nss/nss_files/files-hosts.c: Likewise.
59730         * nss/nss_files/files-network.c: Likewise.
59731         * nss/nss_files/files-proto.c: Likewise.
59732         * nss/nss_files/files-pwd.c: Likewise.
59733         * nss/nss_files/files-rpc.c: Likewise.
59734         * nss/nss_files/files-service.c: Likewise.
59735         * nss/nss_files/files-sgrp.c: Likewise.
59736         * nss/nss_files/files-spwd.c: Likewise.
59737         * nss/nss_db/db-alias.c: Removed.
59738         * nss/nss_db/dummy-db.h: Removed.
59740 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59742         * nss/makedb.c: Rewritten to not use database library.
59743         * nss/Makefile: Update to build new makedb program.
59745 2011-06-14  Andreas Jaeger  <aj@suse.de>
59747         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59748         memset declaration.
59750 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59753         tmpbuf.
59755 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59757         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59758         * elf/Makefile ($(objpfx)ld.so): Likewise.
59760         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59761         Don't list ld.so twice in dependencies.
59763         * posix/bug-regex31.c: Include <stdlib.h>.
59765         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59767         * nis/nss_compat/compat-spwd.c
59768         (getspent_next_nss_netgr): Remove unused variable.
59769         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59771         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59772         nonmembers" output to use the right array.
59774         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59776         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59778         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59779         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59780         * catgets/gencat.c (read_input_file): Likewise.
59781         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59783         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59784         variable definition inside #if's controlling its use.
59786         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59788         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59790         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59792         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59793         unreachable code.
59795         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59797         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59798         * configure: Regenerated.
59800         * Makerules: Revert last change.
59801         * elf/Makefile: Likewise.
59803 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59805         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59806         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59807         (reloc-link): Likewise.
59809 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59811         * elf/Makefile: Add rules to build pldd.
59812         * elf/pldd.c: New file.
59813         * elf/pldd-xx.c: New file.
59815 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59817         * version.h: Update for 2.15 development version.
59819 2011-06-07  David S. Miller  <davem@davemloft.net>
59821         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59822         ifuncs.
59823         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59824         elf_machine_lazy_rel): Likewise.
59825         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59826         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59827         elf_machine_lazy_rel): Likewise.
59828         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59829         dl_hwcap via passed in argument.
59830         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59831         Likewise.
59833 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59835         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59837 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59839         [BZ #12849]
59840         * manual/fdl-1.1.texi: New file, verbatim from:
59841         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59842         * manual/lgpl-2.1.texi: New file, verbatim from:
59843         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59844         * manual/Makefile (licenses): New variable, list those new file names.
59845         (texis): Use it.
59846         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59848         * manual/fdl.texi: File removed.
59849         * manual/lesser.texi: File removed.
59850         * manual/libc.texinfo (Copying, Documentation License):
59851         Use new @include file names, put @appendix directive before @include.
59853 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59855         [BZ #12841]
59856         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59857         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59858         (mq_open): Add __NTH.
59860 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59863         Assume Intel Core i3/i5/i7 processor if AVX is available.
59865 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59867         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59868         typo.
59870 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59872         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59873         memory.  Use alloca_account.  Fix memory leak when retrying.
59875 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59877         * version.h (RELEASE): Bump for 2.14 release.
59878         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59880         * config.make.in (RANLIB): Remove entry.
59882 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59884         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59885         (libc.pot): Work around missing support for .ksh extension in xgettext.
59887         [BZ #12684]
59888         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59889         if both request failed.
59890         (send_dg): In case of server errors clear resplen or *resplen2.
59892         [BZ #12454]
59893         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59894         when there are multiple maps.
59895         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59896         (_dl_fini): Remove test here.
59898         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59900 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59902         [BZ #12350]
59903         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59904         bit from old_res_options.
59905         (gaih_inet): Likewise.
59907         [BZ #11099]
59908         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59909         as signed.
59911         * resolv/res_init.c (res_setoptions): Make the code more compact.
59913         [BZ #11558]
59914         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59915         set RES_USEVC.
59917         [BZ #11634]
59918         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59920         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59922         [BZ #11781]
59923         * malloc/malloc.h: Declare malloc hook variables as volatile.
59925         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59926         in last patch.
59928         [BZ #11799]
59929         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59930         raise in the comment.
59931         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59932         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59933         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59935 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59937         [BZ #12811]
59938         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59939         grow the buffers more if it already has to be sufficient.
59940         (build_wcs_upper_buffer): Likewise.
59941         * posix/regexec.c (check_matching): Likewise.
59942         (clean_state_log_if_needed): Likewise.
59943         (extend_buffers): Don't enlarge buffers beyond size of the input
59944         buffer.
59945         Patches mostly by Emil Wojak <emil@wojak.eu>.
59946         * posix/bug-regex32.c: New file.
59947         * posix/Makefile (tests): Add bug-regex32.
59949         * locale/findlocale.c (_nl_find_locale): Return right away if
59950         _nl_explode_name failed.
59951         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59953         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59955         * debug/xtrace.sh: Unify messages.
59956         * malloc/memusage.sh: Likewise.
59958         [BZ #12813]
59959         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59960         time symbol from vDSO.  Substitute with vsyscall if not available.
59961         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59962         __vdso_time.
59964         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59965         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59966         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59967         Add sendmmsg and internal_sendmmsg.
59968         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59969         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59970         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59972         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59973         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59974         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59976 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59978         [BZ #12813]
59979         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59980         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59981         available.
59982         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59983         __vdso_getcpu.
59985         [BZ #12814]
59986         * iconvdata/Makefile (tests): Add bug-iconv9.
59987         * iconvdata/bug-iconv9.c: New file.
59989 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59991         [BZ #12814]
59992         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59994 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59996         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59997         (struct user_regs_struct): Change intcs field back to cs.
59999 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60001         * po/ja.po: Update from translation team.
60003 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60005         [BZ #12795]
60006         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60007         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60009 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60011         * stdlib/longlong.h: Update from GCC.
60013 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60015         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60016         parameter name.
60017         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60018         Add parameter name.
60019         (__sysconf): Pass it down.
60021 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60023         [BZ #12671]
60024         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60025         some situations.
60026         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60027         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60028         add in in __libc_use_alloca calls.  Adjust callers.
60029         (glob): Use malloc in some situations.
60031         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60032         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60033         pltexit.
60035 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60037         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60038         and CLOCK_BOOTTIME_ALARM.
60040         [BZ #12782]
60041         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60042         is returned.
60044         * string/_strerror.c (__strerror_r): Print negative errors as signed
60045         numbers.
60047         [BZ #12777]
60048         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60049         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60050         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60052         * configure.in: Fix typo in redirection and correct removal of test
60053         files in two cases.
60055         [BZ #12788]
60056         * locale/setlocale.c (new_composite_name): Fix test to check for
60057         identical name of all categories.
60059         [BZ #12792]
60060         * libio/filedoalloc.c (local_isatty): New function.
60061         (_IO_file_doallocate): Use local_isatty.
60062         * stdio-common/perror.c (perror): In case a new stream is used
60063         forward the stream error.
60064         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60065         error flag.
60067 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60069         [BZ #11869]
60070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60071         alloca.
60072         * include/alloca.h (extend_alloca_account): Define.
60074         [BZ #11857]
60075         * posix/regex.h: Fix comments with documentation of user-accessible
60076         fields after compilation and describe correct free'ing of pattern
60077         after re_compile_pattern.
60078         Patch by Reuben Thomas <rrt@sc3d.org>.
60080 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60082         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60083         and -mno-altivec to prevent the compiler from using Altivec and/or
60084         VSX instructions when the corresponding registers are not available.
60086 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60088         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60090 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60092         * libio/freopen.c (freopen): Use __dup2, not dup2.
60093         * libio/freopen64.c (freopen64): Likewise.
60095 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60097         [BZ #12775]
60098         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60099         * math/Makefile (tests): Add test-powl.
60100         (CFLAGS-test-powl.c): Define.
60101         * math/test-powl.c: New file.
60103 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60105         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60107 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60109         [BZ #11837]
60110         * iconvdata/gb18030.c: Update to GB18020-2005.
60112 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60114         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60115         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60116         Patch by Aharon Robbins <arnold@skeeve.com>.
60118         [BZ #11892]
60119         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60120         on the stack.
60122         [BZ #11895]
60123         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60124         through underflows.
60126         [BZ #12766]
60127         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60128         point to strings before performing equality test for error_one_per_line
60129         mode.
60131         [BZ #11697]
60132         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60134         [BZ #11820]
60135         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60136         (struct user_fpregs_struct): Avoid __uint*_t types.
60138         [BZ #6420]
60139         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60140         symbol info.  Use it instead of calling _dl_addr locally.
60141         (lock_and_info): New function.
60142         (tr_freehook): Call lock_and_info and pass symbol info as additional
60143         parameter to tr_where.
60144         (tr_mallochook): Likewise.
60145         (tr_reallochook): Likewise.
60146         (tr_memalignhook): Likewise.
60148         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60149         used and couldn't be at all thread-safe.
60151 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60153         * libio/freopen.c (freopen): Don't close old file descriptor
60154         before the new one is opened.  Instead dup the new file descriptor
60155         to the old one after the new stream is created.
60156         * libio/freopen64.c (freopen64): Likewise.
60157         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60158         * libio/fileops.c (_IO_new_file_close_it): Handle new
60159         _IO_FLAGS2_NOCLOSE flag.
60160         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60161         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60162         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60163         _IO_FLAGS2_NOCLOSE flag.
60164         * include/unistd.h: Add hidden_proto for dup3.
60165         Define __have_dup3.
60166         * io/dup3.c: Define hidden symbol.
60167         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60169         [BZ #7101]
60170         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60171         when an incomplete long option is used.
60172         * posix/tst-getopt_long1.c: New file.
60173         * posix/Makefile (tests): Add tst-getopt_long1.
60175         [BZ #10138]
60176         * scripts/config.guess: Update from autoconf-2.68.
60177         * scripts/config.sub: Likewise.
60179         [BZ #10157]
60180         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60181         tests into ...
60182         (has_cpuclock): ...this.  New function.
60183         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60184         macro here based on has_cpuclock code.
60186         [BZ #10149]
60187         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60188         First byte (not low byte) is now always NUL.
60189         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60192         Use non-cancelable interfaces.
60194         [BZ #9809]
60195         * locale/iso-639.def: Add entry for Sorani.
60197         [BZ #11901]
60198         * include/stdlib.h: Move include protection to the right place.
60199         Define abort_msg_s.  Declare __abort_msg with it.
60200         * stdlib/abort.c (__abort_msg): Adjust type.
60201         * assert/assert.c (__assert_fail_base): New function.  Majority
60202         of code from __assert_fail.  Allocate memory for __abort_msg with
60203         mmap.
60204         (__assert_fail): Now call __assert_fail_base.
60205         * assert/assert-perr.c: Remove bulk of implementation.  Use
60206         __assert_fail_base.
60207         * include/assert.hL Declare __assert_fail_base.
60208         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60209         mmap.
60210         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60212 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60214         [BZ #11952]
60215         [BZ #12453]
60216         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60217         until all modules are registered in the DTV.
60218         * elf/Makefile: Add rules to build and run tst-tls19.
60219         * elf/tst-tls19.c: New file.
60220         * elf/tst-tls19mod1.c: New file.
60221         * elf/tst-tls19mod2.c: New file.
60222         * elf/tst-tls19mod3.c: New file.
60223         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60225         [BZ #12083]
60226         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60227         correctly.
60229         [BZ #12601]
60230         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60231         two-byte sequence errors.
60232         * iconvdata/Makefile (tests): Add bug-iconv8.
60233         * iconvdata/bug-iconv8.c: New file.
60235         [BZ #12626]
60236         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60237         buf2 definition.
60239         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60241         [BZ #12432]
60242         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60243         (dummy_getcfa): New function.
60244         (init): Get _Unwind_GetCFA address, use dummy if not found.
60245         (backtrace_helper): In recursion check, also check whether CFA changes.
60246         (__backtrace): Completely initialize arg.
60248         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60249         storing incomplete byte sequence in state object.  Avoid testing for
60250         guaranteed too small input if we know there is enough data available.
60252 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60254         * Makeconfig (+link-pie): Indent.
60255         * Rules (binaries-pie): Define if $(have-fpie) and
60256         $(build-shared).
60257         (binaries-shared): Also filter out $(binaries-pie).
60258         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60259         * nscd/Makefile (others-pie): Add nscd.
60260         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60261         ($(objpfx)nscd): Remove command override.
60262         * login/Makefile (others-pie): Add pt_chown.
60263         ($(objpfx)pt_chown): Remove command override.
60264         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60265         remove command overrides.
60267 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60269         * libio/tst_putwc.c: Fix error messages.
60271         [BZ #12724]
60272         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60273         currently writing and seek to current position when not.
60274         * libio/Makefile (tests): Add bug-fclose1.
60275         * libio/bug-fclose1.c: New file.
60277 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60279         [BZ #12511]
60280         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60281         don't set DF_1_NODELETE here.
60282         (do_lookup_x): When entering new entry test for copy relocation
60283         and if necessary set DF_1_NODELETE flag.
60284         * elf/tst-unique4.cc: New file.
60285         * elf/tst-unique4.h: New file.
60286         * elf/tst-unique4lib.cc: New file.
60287         * elf/Makefile: Add rules to build and run tst-unique4.
60288         Patch by Piotr Bury <pbury@goahead.com>.
60290 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60292         [BZ #12052]
60293         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60295         [BZ #12625]
60296         * misc/mntent_r.c (addmntent): Flush the stream after the output
60298         [BZ #12393]
60299         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60300         (is_trusted_path_normalize): Skip initial colon.  Append slash
60301         to empty buffer.  Duplicate is_trusted_path code but allow
60302         constructed patch to be prefix.
60303         (is_dst): Allow $ORIGIN followed by /.
60304         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60305         Correct testing of result of is_trusted_path_normalize
60306         (decompose_rpath): Fix warning.
60308 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60310         [BZ #11257]
60311         * grp/initgroups.c (internal_getgrouplist): When we found the service
60312         list through the initgroups entry in nsswitch.conf do not always
60313         continue on a successful lookup.  Don't always use the
60314         __nss_group_database value if it is set.
60315         * nss/nsswitch.conf (initgroups): Change action for successful db
60316         lookup to continue for compatibility.
60318 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60320         [BZ #11532]
60321         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60322         and CP774 modules.
60323         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60324         and CP774 modules.
60325         * iconvdata/tst-tables.sh: Likewise.
60326         * iconvdata/cp770.c: New file.
60327         * iconvdata/cp771.c: New file.
60328         * iconvdata/cp772.c: New file.
60329         * iconvdata/cp773.c: New file.
60330         * iconvdata/cp774.c: New file.
60331         * iconvdata/testdata/CP770: New file.
60332         * iconvdata/testdata/CP770..UTF8: New file.
60333         * iconvdata/testdata/CP771: New file.
60334         * iconvdata/testdata/CP771..UTF8: New file.
60335         * iconvdata/testdata/CP772: New file.
60336         * iconvdata/testdata/CP772..UTF8: New file.
60337         * iconvdata/testdata/CP773: New file.
60338         * iconvdata/testdata/CP773..UTF8: New file.
60339         * iconvdata/testdata/CP774: New file.
60340         * iconvdata/testdata/CP774..UTF8: New file.
60342         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60343         END CHARMAP line.
60344         * iconvdata/gen-8bit-gap.sh: Likewise.
60345         * iconvdata/gen-8bit.sh: Likewise.
60347         * locale/iso-639.def: Add ary entry.
60349         [BZ #11258]
60350         * locale/C-translit.h.in: Add U20A1 transliteration.
60352         [BZ #12178]
60353         * locale/iso-639.def: Add wae entry.
60354         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60356         [BZ #12545]
60357         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60358         for n.
60360         [BZ #12711]
60361         * locale/C-translit.h.in: Add entry for U20B9.
60362         Patch by pravin.d.s@gmail.com.
60364 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60366         [BZ #12713]
60367         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60368         ENAMETOOLONG use generic getcwd.
60369         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60370         in rtld.  Use *stat64.
60371         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60372         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60373         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60374         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60375         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60376         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60377         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60378         __fstatat64 macros.
60379         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60380         * dirent/rewinddir.c: Add libc_hidden_def.
60381         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60382         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60384         * include/dirent.h (__alloc_dir): Add flags parameter.
60385         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60386         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60387         __alloc_dir.
60388         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60389         from fdopendir if O_CLOEXEC is already set.
60391 2011-03-15  Alan Modra  <amodra@gmail.com>
60393         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60394         l_tls_firstbyte_offset non-zero.  Save padding offset in
60395         l_tls_firstbyte_offset for later use.
60396         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60397         freeing static tls block.
60399 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60401         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60402         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60403         being defined by the kernel headers.
60405 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60407         [BZ #12734]
60408         * resolv/resolv.h: Define RES_NOTLDQUERY.
60409         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60410         no-tld-query and set RES_NOTLDQUERY.
60411         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60412         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60413         modern BIND to search name as TLD unless forbidden.
60415 2011-05-07  Petr Baudis  <pasky@suse.cz>
60416             Ulrich Drepper  <drepper@gmail.com>
60418         [BZ #12393]
60419         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60420         (is_trusted_path): ...to here.
60421         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60422         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60423         using is_trusted_path_normalize() in setuid scripts.
60425 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60427         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60428         __BEGIN/__END_DECLS.
60430 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60432         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60433         NSS_STATUS_NOTFOUND if no record was found.
60435 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60437         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60438         (headers-not-in-tirpc): Remove rpc/netdb.h
60439         * resolv/netdb.h: Revert last change.
60441 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60443         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60444         circular dependency between libgcc.a and libc.a.
60446 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60448         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60449         * nis/Makefile: Don't install rpcsvc/*.
60450         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60451         instead of <rpc/types.h>.
60452         (MAXHOSTNAMELEN): Define.
60454 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60456         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60458 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60460         [BZ #12714]
60461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60462         gethostbyname4_r when IPv6 results are possible.
60464 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60466         [BZ #12723]
60467         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60468         _PC_PIPE_BUF handling.
60470 2011-04-30  Bruno Haible  <bruno@clisp.org>
60472         [BZ #12717]
60473         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60474         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60475         to 'int'.
60476         * inet/getnameinfo.c (getnameinfo): Likewise.
60478 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60480         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60481         to groups setting in database lookup.
60482         * nss/nsswitch.conf: Add initgroups entry.
60484 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60486         [BZ #12685]
60487         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60488         mode string.
60489         Patch by Eric Blake <eblake@redhat.com>.
60491 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60493         * sunrpc/Makefile (need-export-routines): Add svc_run.
60494         (routines): Remove svc_run.
60495         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60496         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60497         * sunrpc/svc_run.c (svc_run): Likewise.
60498         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60500 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60502         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60503         problem in reallocation in last patch.
60505 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60507         * sunrpc/Makefile: Move inclusion of Rules.
60509 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60511         * nss/nss_files/files-initgroups.c: New file.
60512         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60513         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60514         _nss_files_initgroups_dyn.
60516 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60518         * elf/elf.h (R_ARM_IRELATIVE): Define.
60520 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60522         * po/ru.po: Update from translation team.
60524 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60526         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60527         dependencies.
60529 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60531         [BZ #12653]
60532         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60533         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60534         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60535         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60536         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60538 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60540         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60541         differing bytes.
60542         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60543         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60544         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60546 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60548         [BZ #12420]
60549         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60550         storing it.
60551         * stdlib/bug-getcontext.c: New file.
60552         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60554 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60556         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60557         instructions into .machine "z9-109".
60558         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60559         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60561 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60563         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60564         between environment variables and auxiliary vector.
60566 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60568         * Makefile: Add rules to build linkobj/libc.so.
60569         * include/libc-symbols.h: Define libc_hidden_nolink.
60570         * include/rpc/auth.h: Mark functions which are to be hidden.
60571         * include/rpc/auth_des.h: Likewise.
60572         * include/rpc/auth_unix.h: Likewise.
60573         * include/rpc/clnt.h: Likewise.
60574         * include/rpc/des_crypt.h: Likewise.
60575         * include/rpc/key_prot.h: Likewise.
60576         * include/rpc/pmap_clnt.h: Likewise.
60577         * include/rpc/pmap_prot.h: Likewise.
60578         * include/rpc/pmap_rmt.h: Likewise.
60579         * include/rpc/rpc_msg.h: Likewise.
60580         * include/rpc/svc.h: Likewise.
60581         * include/rpc/svc_auth.h: Likewise.
60582         * include/rpc/xdr.h: Likewise.
60583         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60584         * nss/Makefile: Likewise.
60585         * sunrpc/Makefile: Don't install headers.  Build library with normal
60586         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60587         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60588         for the compat linking library.  Remove use of INTDEF/INTUSE.
60589         * sunrpc/auth_none.c: Likewise.
60590         * sunrpc/auth_unix.c: Likewise.
60591         * sunrpc/authdes_prot.c: Likewise.
60592         * sunrpc/authuxprot.c: Likewise.
60593         * sunrpc/clnt_gen.c: Likewise.
60594         * sunrpc/clnt_perr.c: Likewise.
60595         * sunrpc/clnt_raw.c: Likewise.
60596         * sunrpc/clnt_simp.c: Likewise.
60597         * sunrpc/clnt_tcp.c: Likewise.
60598         * sunrpc/clnt_udp.c: Likewise.
60599         * sunrpc/clnt_unix.c: Likewise.
60600         * sunrpc/des_crypt.c: Likewise.
60601         * sunrpc/des_soft.c: Likewise.
60602         * sunrpc/get_myaddr.c: Likewise.
60603         * sunrpc/key_call.c: Likewise.
60604         * sunrpc/key_prot.c: Likewise.
60605         * sunrpc/netname.c: Likewise.
60606         * sunrpc/pm_getmaps.c: Likewise.
60607         * sunrpc/pm_getport.c: Likewise.
60608         * sunrpc/pmap_clnt.c: Likewise.
60609         * sunrpc/pmap_prot.c: Likewise.
60610         * sunrpc/pmap_prot2.c: Likewise.
60611         * sunrpc/pmap_rmt.c: Likewise.
60612         * sunrpc/publickey.c: Likewise.
60613         * sunrpc/rpc_cmsg.c: Likewise.
60614         * sunrpc/rpc_common.c: Likewise.
60615         * sunrpc/rpc_dtable.c: Likewise.
60616         * sunrpc/rpc_prot.c: Likewise.
60617         * sunrpc/rpc_thread.c: Likewise.
60618         * sunrpc/rtime.c: Likewise.
60619         * sunrpc/svc.c: Likewise.
60620         * sunrpc/svc_auth.c: Likewise.
60621         * sunrpc/svc_authux.c: Likewise.
60622         * sunrpc/svc_raw.c: Likewise.
60623         * sunrpc/svc_run.c: Likewise.
60624         * sunrpc/svc_simple.c: Likewise.
60625         * sunrpc/svc_tcp.c: Likewise.
60626         * sunrpc/svc_udp.c: Likewise.
60627         * sunrpc/svc_unix.c: Likewise.
60628         * sunrpc/svcauth_des.c: Likewise.
60629         * sunrpc/xcrypt.c: Likewise.
60630         * sunrpc/xdr.c: Likewise.
60631         * sunrpc/xdr_array.c: Likewise.
60632         * sunrpc/xdr_float.c: Likewise.
60633         * sunrpc/xdr_intXX_t.c: Likewise.
60634         * sunrpc/xdr_mem.c: Likewise.
60635         * sunrpc/xdr_rec.c: Likewise.
60636         * sunrpc/xdr_ref.c: Likewise.
60637         * sunrpc/xdr_sizeof.c: Likewise.
60638         * sunrpc/xdr_stdio.c: Likewise.
60640 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60642         [BZ #12650]
60643         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60644         * sysdeps/ia64/dl-tls.h: Likewise.
60645         * sysdeps/powerpc/dl-tls.h: Likewise.
60646         * sysdeps/s390/dl-tls.h: Likewise.
60647         * sysdeps/sh/dl-tls.h: Likewise.
60648         * sysdeps/sparc/dl-tls.h: Likewise.
60649         * sysdeps/x86_64/dl-tls.h: Likewise.
60650         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60652 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60654         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60655         rpath element also skip the following colon.
60656         (expand_dynamic_string_token): Add is_path parameter and pass
60657         down to DL_DST_REQUIRED and _dl_dst_substitute.
60658         (decompose_rpath): Call expand_dynamic_string_token with
60659         non-zero is_path.  Ignore empty rpaths.
60660         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60661         with zero is_path.
60663 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60666         Make cancelable.
60668 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60670         [BZ #12655]
60671         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60672         Patch by Filipe David Manana <fdmanana@apache.org>.
60674 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60676         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60677         Maintain aligned stack.
60678         (CHECK_RSP): Remove unused macro.
60680 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60682         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60683         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60685 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60687         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60689         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60691 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60693         [BZ #12518]
60694         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60695         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60696         * sysdeps/x86_64/memmove.c: New file.
60697         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60698         (memcpy): Renamed to ...
60699         (__new_memcpy): This.
60700         (memcpy): Provide GLIBC_2_14 memcpy.
60701         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60702         (memcpy): Provide GLIBC_2_2_5 memcpy.
60704 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60706         [BZ #12631]
60707         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60709 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60711         * misc/syncfs.c: New file.
60712         * misc/Makefile (routines): Add syncfs.
60713         * posix/unistd.h: Declare syncfs.
60714         * sysdeps/unix/syscalls.list: Add syncfs.
60716 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60718         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60719         open_by_handle_at.
60720         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60721         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60723         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60724         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60725         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60726         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60728 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60730         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60731         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60732         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60733         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60734         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60735         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60736         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60738         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60739         sync_file_range.c with -fexceptions.
60740         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60741         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60742         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60743         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60744         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60745         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60746         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60747         sync_file_range as cancellation point
60748         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60749         now a wrapper around __call_sync_file_range with cancellation handling.
60750         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60751         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60752         function name to __call_sync_file_range.
60753         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60754         Add call_sync_file_range.
60756 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60759         bits/timex.h.
60761 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60763         * iconv/iconv.h: Fix typo in comment.
60764         * io/fcntl.h: Likewise.
60765         * libio/stdio.h: Likewise.
60766         * posix/spawn.h: Likewise.
60767         * posix/unistd.h: Likewise.
60768         * stdlib/stdlib.h: Likewise.
60769         * time/time.h: Likewise.
60770         * wcsmbs/wchar.h: Likewise.
60772         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60773         open_by_handle): Add.
60774         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60775         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60776         Augment a few comments.
60777         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60779         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60782         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60783         open_by_handle.
60785         * io/fcntl.h (AT_EMPTY_PATH): Define.
60787 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60789         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60790         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60791         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60792         to...
60793         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60794         * Versions.def: Add GLIBC_2.14.
60795         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60796         Export.
60798 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60800         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60801         round counter.
60802         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60804 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60806         [BZ #12597]
60807         * string/test-strncmp.c (do_page_test): New function.
60808         (check2): Likewise.
60809         (test_main): Call check2.
60810         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60812 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60814         [BZ #12587]
60815         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60816         Handle cache information in CPU leaf 4.
60817         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60819 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60821         [BZ #12583]
60822         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60823         character representation.
60824         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60826 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60828         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60829         END(__isnan) to END(__isnanf) to match function entry point/label
60830         EALIGN(__isnanf,...).
60832 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60834         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60836 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60838         [BZ #12510]
60839         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60840         copy from the symbol referenced in the relocation to initialize the
60841         used variable.
60842         Patch by Piotr Bury <pbury@goahead.com>.
60843         * elf/Makefile: Add rules to build and tst-unique3.
60844         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60845         * elf/tst-unique3.cc: New file.
60846         * elf/tst-unique3.h: New file.
60847         * elf/tst-unique3lib.cc: New file.
60848         * elf/tst-unique3lib2.cc: New file.
60850         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60852 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60854         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60855         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60856         to _start.
60858 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60860         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60861         to-be-loaded object along a path to loader is ld.so.
60863 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60864             Ulrich Drepper  <drepper@gmail.com>
60866         * sysdeps/x86_64/memset.S: After aligning destination, code
60867         branches to different locations depending on the value of
60868         misalignment, when multiarch is enabled. Fix this.
60870 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60872         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60873         Set _x86_64_preferred_memory_instruction for AMD processsors.
60874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60875         Set bit_Prefer_SSE_for_memop for AMD processors.
60877 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60879         * libio/fmemopen.c (fmemopen): Optimize a bit.
60881 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60883         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60885 2011-03-03  Roland McGrath  <roland@redhat.com>
60887         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60889 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60891         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60892         __bzero_ultra1 instead of __memset_ultra1.
60894 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60895             Ulrich Drepper  <drepper@gmail.com>
60897         [BZ #12509]
60898         * include/link.h (struct link_map): Add l_orig_initfini.
60899         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60900         returning unsuccessfully.
60901         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60902         close of a file loaded at startup, restore the original l_initfini
60903         list.
60904         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60905         list, store the pointer.
60906         * elf/Makefile ($(objpfx)noload-mem): New rule.
60907         (noload-ENV): Define.
60908         (tests): Add $(objpfx)noload-mem.
60909         * elf/noload.c: Include <memcheck.h>.
60910         (main): Call mtrace.  Close all opened handles.
60912 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60914         [BZ #12454]
60915         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60916         dependencies are missing.
60918 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60920         Fix __if_freereq crash: Unlike the generic version which uses free,
60921         Hurd needs munmap.
60922         * sysdeps/mach/hurd/ifreq.h: New file.
60924 2011-01-27  Petr Baudis  <pasky@suse.cz>
60925             Ulrich Drepper  <drepper@gmail.com>
60927         [BZ 12445]#
60928         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60929         to extend_alloca().
60930         * stdio-common/bug23.c: New file.
60931         * stdio-common/Makefile (tests): Add bug23.
60933 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60934             Ulrich Drepper  <drepper@gmail.com>
60936         [BZ #12489]
60937         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60938         before performing relro protection.  At old place add assertion
60939         to make sure nothing changed.
60941 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60942             Glauber de Oliveira Costa  <glommer@gmail.com>
60944         * elf/elf.h: Add new ARM TLS relocs.
60946 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60949         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60950         cast from r3.
60951         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60952         'tests' variable.
60953         * sysdeps/wordsize-64/tst-writev.c: New file.
60955 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60957         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60958         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60959         insns in _dl_start to prevent a TOC reference before relocs are
60960         resolved.
60962 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60964         [BZ #12469]
60965         * Makeconfig: Remove RANLIB definition.
60966         * Makerules: Don't use RANLIB.
60967         * aclocal.m4: Remove ranlib test.
60968         * configure.in: No need to check for ranlib.
60969         * elf/rtld-Rules: Don't use RANLIB.
60971 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60973         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60974         protection macro.
60975         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60976         inclusion protection macro.
60978         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60979         SIGRTMIN and SIGRTMAX and print information in that case only when
60980         SIGRTMIN is defined.
60982 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60984         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60985         arginfo fn returning -1.
60987         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60988         and thousands string is zero terminated.
60990 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60993         sysdeps/unix/sysv/linux/bits/socket.h.
60995 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60997         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60998         (__CPU_COUNT): Remove old macros.
60999         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61000         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61001         (__CPU_ALLOC, __CPU_FREE): Add macros.
61002         (__sched_cpualloc, __sched_cpufree): Add declarations.
61004 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61006         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61007         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61008         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61009         (readdhstai): Return value of addhstaiX call.
61010         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61011         (addgrbyX): Return value returned by cache_addgr.
61012         (readdgrbyname): Return value returned by addgrbyX.
61013         (readdgrbygid): Likewise.
61014         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61015         (addpwbyX): Return value returned by cache_addpw.
61016         (readdpwbyname): Return value returned by addhstbyX.
61017         (readdpwbyuid): Likewise.
61018         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61019         (addservbyX): Return value returned by cache_addserv.
61020         (readdservbyname): Return value returned by addservbyX:
61021         (readdservbyport): Likewise.
61022         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61023         (addhstbyX): Return value returned by cache_addhst.
61024         (readdhstbyname): Return value returned by addhstbyX.
61025         (readdhstbyaddr): Likewise.
61026         (readdhstbynamev6): Likewise.
61027         (readdhstbyaddrv6): Likewise.
61028         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61029         (readdinitgroups): Return value returned by addinitgroupsX.
61030         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61031         (prune_cache): Keep track of timeout value of re-added entries.
61032         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61033         * nscd/nscd.h: Adjust prototypes of readd* functions.
61035 2011-02-04  Roland McGrath  <roland@redhat.com>
61037         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61038         (nis_stats): Likewise.
61039         * nis/nis_modify.c (nis_modify): Likewise.
61040         * nis/nis_remove.c (nis_remove): Likewise.
61041         * nis/nis_add.c (nis_add): Likewise.
61043         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61045         * posix/fnmatch_loop.c: Add some consts.
61047         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61049 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61051         [BZ #12460]
61052         * config.make.in (config-cflags-novzeroupper): Define.
61053         * configure.in: Substitute libc_cv_cc_novzeroupper.
61054         * elf/Makefile (AVX-CFLAGS): Define.
61055         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61056         (CFLAGS-tst-auditmod4a.c): Likewise.
61057         (CFLAGS-tst-auditmod4b.c): Likewise.
61058         (CFLAGS-tst-auditmod6b.c): Likewise.
61059         (CFLAGS-tst-auditmod6c.c): Likewise.
61060         (CFLAGS-tst-auditmod7b.c): Likewise.
61061         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61063 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61065         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61066         function to the callback.
61067         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61069 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61071         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61072         of errno.
61074 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61076         [BZ #11724]
61077         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61078         of constructors.
61079         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61080         of destructors.
61081         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61083         [BZ #11724]
61084         * elf/Makefile: Add rules to build and run new test.
61085         * elf/tst-initorder.c: New file.
61086         * elf/tst-initorder.exp: New file.
61087         * elf/tst-initordera1.c: New file.
61088         * elf/tst-initordera2.c: New file.
61089         * elf/tst-initordera3.c: New file.
61090         * elf/tst-initordera4.c: New file.
61091         * elf/tst-initorderb1.c: New file.
61092         * elf/tst-initorderb2.c: New file.
61093         * elf/tst-order-a1.c: New file.
61094         * elf/tst-order-a2.c: New file.
61095         * elf/tst-order-a3.c: New file.
61096         * elf/tst-order-a4.c: New file.
61097         * elf/tst-order-b1.c: New file.
61098         * elf/tst-order-b2.c: New file.
61099         * elf/tst-order-main.c: New file.
61100         New test case by George Gensure <werkt0@gmail.com>.
61102 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61105         decoding ACE if AI_CANONIDN.
61107 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61109         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61111 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61113         * version.h (RELEASE): Bump for 2.13 release.
61114         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61116         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61118         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61119         MADV_NOHUGEPAGE.
61120         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61121         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61122         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61123         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61124         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61125         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61127         * posix/getconf.c: Update copyright year.
61128         * catgets/gencat.c: Likewise.
61129         * csu/version.c: Likewise.
61130         * debug/catchsegv.sh: Likewise.
61131         * debug/xtrace.sh: Likewise.
61132         * elf/ldconfig.c: Likewise.
61133         * elf/ldd.bash.in: Likewise.
61134         * elf/sprof.c (print_version): Likewise.
61135         * iconv/iconv_prog.c: Likewise.
61136         * iconv/iconvconfig.c: Likewise.
61137         * locale/programs/locale.c: Likewise.
61138         * locale/programs/localedef.c: Likewise.
61139         * malloc/memusage.sh: Likewise.
61140         * malloc/mtrace.pl: Likewise.
61141         * nscd/nscd.c (print_version): Likewise.
61142         * nss/getent.c: Likewise.
61144         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61145         PF_CAIF, and PF_ALG.
61146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61148 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61150         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61151         (modules-names): Use them.
61152         (ifunc-test-modules, ifunc-pie-tests): Define.
61153         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61154         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61155         (test-extras): Likewise.
61156         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61157         $(compile-command.c).
61158         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61159         (all-built-dso): Define.
61160         (check-textrel.out, check-execstack.out): Depend on it.
61162         * configure.in: Don't override --enable-multi-arch.
61164 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61166         [BZ #6812]
61167         * nscd/hstcache.c (tryagain): Define.
61168         (cache_addhst): Return tryagain not notfound for temporary errors.
61169         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61170         failed.
61172 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61174         [BZ #10563]
61175         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61176         to make the syscall.
61177         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61179         [BZ #12378]
61180         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61181         and fall back to matching as normal character if the string ends before
61182         the matching ']' is found.  This is what POSIX requires.
61183         * posix/testfnm.c: Adjust test result.
61184         * posix/globtest.sh: Adjust test result.  Add new test.
61185         * posix/tst-fnmatch.input: Likewise.
61186         * posix/tst-fnmatch2.c: Add new test.
61188 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61190         * elf/Makefile (check-execstack): Revert last change.  Depend on
61191         check-execstack.h.
61192         (check-execstack.h): New target.
61193         (generated): Add check-execstack.h.
61194         * elf/check-execstack.c: Include "check-execstack.h".
61195         (main): Revert last change.
61196         (handle_file): Return zero if GNU_STACK is absent and
61197         DEFAULT_STACK_PERMS doesn't include PF_X.
61199 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61201         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61202         in child fails because the descriptor is already closed.
61203         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61204         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61205         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61207         [BZ #12397]
61208         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61209         syscall.
61211         [BZ #10484]
61212         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61213         temporary buffer used to handle multi lookups locally.
61214         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61216 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61218         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61219         loader is ld.so.
61221 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61223         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61224         alignment for SSE2.
61226 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61228         [BZ #12394]
61229         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61230         characters.  When rounding increased number of integer digits recompute
61231         number of groups.
61232         * stdio-common/tst-grouping.c: New file.
61233         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61235 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61237         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61238         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61240         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61241         void.
61242         * bits/select.h: Likewise.
61244 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61246         * po/ja.po: Update from translation team.
61248 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61250         [BZ #11155]
61251         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61252         implementation just like for lxstat, fxstatat, et al.
61254 2010-12-27  Jim Meyering  <meyering@redhat.com>
61256         [BZ #12348]
61257         * posix/regexec.c (build_trtable): Return failure indication upon
61258         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61260 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61262         [BZ #12201]
61263         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61264         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61265         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61266         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61268         [BZ #12207]
61269         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61271         [BZ #12204]
61272         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61273         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61275 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61277         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61278         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61279         script has SORT_BY_INIT_PRIORITY.
61280         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61281         NO_CTORS_DTORS_SECTIONS is defined.
61282         * elf/soinit.c: Likewise.
61283         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61284         NO_CTORS_DTORS_SECTIONS is defined.
61285         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61286         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61287         * sysdeps/sh/init-first.c: Likewise.
61288         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61290 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61292         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61293         always use the slow path.
61295 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61297         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61298         similar rule which adds the sysdep directories to the header search in
61299         order to pick up the correct platform stackinfo.h.
61300         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61301         perform test if it is, otherwise return successfully without testing.
61302         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61303         DEFAULT_STACK_PERMS define in stackinfo.h.
61304         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61305         defined in stackinfo.h.
61306         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61307         DEFAULT_STACK_PERMS defined in stackinfo.h.
61308         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61309         * sysdeps/ia64/stackinfo.h: Likewise.
61310         * sysdeps/s390/stackinfo.h: Likewise.
61311         * sysdeps/sh/stackinfo.h: Likewise.
61312         * sysdeps/sparc/stackinfo.h: Likewise.
61313         * sysdeps/x86_64/stackinfo.h: Likewise.
61314         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61315         PF_X for powerpc64.  Retain PF_X for powerpc32.
61317 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61319         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61320         accurately.
61321         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61322         GETDENTS_64BIT_ALIGNED.
61324 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61326         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61328 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61330         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61331         _GNU_SOURCE.
61333         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61334         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61335         Remove __restrict.
61336         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61337         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61339 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61341         [BZ #11655]
61342         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61343         are initialized.
61345 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61347         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61349 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61351         * po/it.po: Update from translation team.
61353 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61356         unused codes.
61358 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61360         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61362 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61364         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61365         specially.
61366         (gaih_getanswer_slice): Likewise.
61368 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61370         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61372 2010-05-31  Petr Baudis  <pasky@suse.cz>
61374         [BZ #11149]
61375         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61376         silently even in the chroot mode.
61378 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61380         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61381         last patch a bit.  Pretty printing
61383 2010-05-31  Petr Baudis <pasky@suse.cz>
61385         [BZ #10085]
61386         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61387         initialization of skip_initgroups_dyn.
61389 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61391         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61392         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61394 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61396         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61398 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61400         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61401         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61402         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61403         ($(objpfx)tst-fnmatch-mem): New rule.
61404         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61405         * posix/tst-fnmatch.c (main): Call mtrace.
61407 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61410         Support Intel processor model 6 and model 0x2c.
61412 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61414         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61415           signed comparison.
61417 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61419         [BZ #12205]
61420         * string/test-strncasecmp.c (check_result): New function.
61421         (do_one_test): Use it.
61422         (check1): New function.
61423         (test_main): Use it.
61424         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61425         Support strcasecmp and strncasecmp.
61427 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61429         [BZ #12194]
61430         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61431         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61433 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61435         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61436         IFUNC support.
61437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61438         memset-x86-64.
61439         * sysdeps/x86_64/multiarch/bzero.S: New file.
61440         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61441         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61442         * sysdeps/x86_64/multiarch/memset.S: New file.
61443         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61445         Set bit_Prefer_SSE_for_memop for Intel processors.
61446         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61447         Define.
61448         (index_Prefer_SSE_for_memop): Define.
61449         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61451 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61453         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61454         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61456 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61458         [BZ #12191]
61459         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61460         (__x86_64_raw_data_cache_size_half): Likewise.
61461         (__x86_64_raw_shared_cache_size): Likewise.
61462         (__x86_64_raw_shared_cache_size_half): Likewise.
61464         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61465         (__x86_64_raw_data_cache_size_half): Likewise.
61466         (__x86_64_raw_shared_cache_size): Likewise.
61467         (__x86_64_raw_shared_cache_size_half): Likewise.
61468         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61469         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61470         and __x86_64_raw_shared_cache_size_half.  Round
61471         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61472         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61473         to multiple of 256 bytes.
61475 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61477         [BZ #12167]
61478         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61479         of inacessible symlinks.  Verify result of symlink before returning it.
61480         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61481         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61483 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61485         * math/math.h (isinf): Fix typo in comment.
61487 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61489         * po/da.po: Update from translation team.
61491 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61493         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61494         is added to the list.
61496 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61497             Ulrich Drepper  <drepper@gmail.com>
61499         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61500         the global list here.  Move code to...
61501         (_dl_add_to_namespace_list): ...here.  New function.
61502         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61503         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61504         * elf/dl-load.c (lose): Don't remove the element from the list.
61505         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61506         (_dl_map_object): Likewise.
61508 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61510         [BZ #12159]
61511         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61512         into all bytes of SSE register.
61513         Patch by Richard Li <richardpku@gmail.com>.
61515 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61517         [BZ #12140]
61518         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61519         perturbing.
61521 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61523         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61524         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61525         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61526         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61528         submachine.
61529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61531 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61533         * include/dlfcn.h (__RTLD_SECURE): Define.
61534         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61535         mode & __RTLD_SECURE instead.
61536         (open_path): Rename preloaded parameter to secure.
61537         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61538         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61539         * elf/dl-deps.c (openaux): Likewise.
61540         * elf/rtld.c (struct map_args): Remove is_preloaded.
61541         (map_doit): Don't use it.
61542         (dl_main): Likewise.
61543         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61544         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61546 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61548         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61549         (sysd-rules-targets): Remove duplicates.
61550         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61551         rtld-%.$o dependency.
61553 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61555         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61556         _dl_map_object do it.
61558 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61560         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61561         fast fma builtins, define the macros in the C99 standard.
61562         (FP_FAST_FMAF): Likewise.
61563         (FP_FAST_FMAL): Likewise.
61564         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61566         * bits/mathdef.h: Update copyright year.
61567         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61569 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61571         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61572         builtins, define the macros in the C99 standard.
61573         (FP_FAST_FMAF): Likewise.
61574         (FP_FAST_FMAL): Likewise.
61575         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61576         multiply/add.
61577         (FP_FAST_FMAF): Likewise.
61579 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61581         [BZ #3268]
61582         * math/libm-test.inc (fma_test): Some new testcases.
61583         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61584         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61585         y and infinite z.  Do multiplication by C already in long double.
61586         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61588         y and infinite z.  Do bitwise or of inexact bit into u.d.
61589         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61590         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61591         * sysdeps/i386/fpu/s_fma.S: Removed.
61592         * sysdeps/i386/fpu/s_fmal.S: Removed.
61594 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61596         [BZ #3268]
61597         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61599         computation is not scheduled after fetestexcept.  Fix value
61600         of minimum denormal long double.
61602 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61604         [BZ #3268]
61605         * math/libm-test.inc (fma_test): Add some more tests.
61606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61607         correctly.
61609 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61611         * scripts/data/localplt-s390-linux-gnu.data: New file.
61612         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61614 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61616         [BZ #3268]
61617         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61618         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61619         instead of dbl-64.
61620         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61621         inlines.
61622         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61624         if one of x and y is very large and the other is subnormal.
61625         * sysdeps/s390/fpu/s_fmaf.c: New file.
61626         * sysdeps/s390/fpu/s_fma.c: New file.
61627         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61628         * sysdeps/powerpc/fpu/s_fma.S: New file.
61629         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61630         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61631         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61633 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61635         [BZ #3268]
61636         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61637         fma tests.
61638         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61639         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61640         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61641         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61642         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61643         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61644         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61646 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61648         [BZ #12078]
61649         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61650         * posix/bug-regex31.input: Add test case.
61652 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61654         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61655         * posix/bug-regex31.input: New file.
61657         [BZ #12078]
61658         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61659         (parse_sub_exp): Fix last change, use postorder.
61661         * posix/bug-regex31.c: New file.
61662         * posix/Makefile: Add rules to build and run bug-regex31.
61664         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61666         [BZ #12078]
61667         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61669         [BZ #12108]
61670         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61671         to have entries in sys_siglist.
61673         [BZ #12093]
61674         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61675         be NULL.
61677 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61679         [BZ #3268]
61680         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61681         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61682         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61683         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61684         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61685         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61686         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61687         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61688         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61689         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61690         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61691         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61692         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61693         * math/ftestexcept.c (fetestexcept): Likewise.
61694         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61695         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61696         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61697         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61698         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61699         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61700         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61702 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61704         [BZ #12107]
61705         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61706         newline.
61708 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61710         * string/bug-strstr1.c: New file.
61711         * string/Makefile: Add rules to build and run bug-strstr1.
61713 2010-10-05  Eric Blake  <eblake@redhat.com>
61715         [BZ #12092]
61716         * string/str-two-way.h (two_way_long_needle): Always clear memory
61717         when skipping input due to the shift table.
61719 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61721         [BZ #12005]
61722         * malloc/mcheck.c: Handle large requests.
61724         [BZ #12077]
61725         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61726         for strncmp and strncasecmp.
61727         * string/stratcliff.c: Add tests for strcmp and strncmp.
61728         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61730 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61732         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61733         __set_fpscr.
61735 2010-09-30  Andreas Jaeger  <aj@suse.de>
61737         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61738         (CGROUP_SUPER_MAGIC): Define.
61739         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61740         Handle btrfs and cgroup file systems.
61741         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61742         Likewise.
61744 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61746         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61747         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61749 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61751         [BZ #12067]
61752         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61753         trying to locate the ELF header.
61755 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61757         [BZ #11611]
61758         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61759         Mask out sign-bit copies when constructing f_fsid.
61761 2010-09-24  Petr Baudis <pasky@suse.cz>
61763         * debug/stack_chk_fail_local.c: Add missing licence exception.
61764         * debug/warning-nop.c: Likewise.
61766 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61768         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61769         implementing getdents64 using getdents syscall, set d_type if
61770         __ASSUME_GETDENTS32_D_TYPE.
61772 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61774         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61775         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61777 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61779         [BZ #12037]
61780         * posix/unistd.h: Undo change of feature selection for ftruncate from
61781         2010-01-11.
61783 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61785         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61786         detection.
61788 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61790         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61791         fanotify_mark.
61792         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61794 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61796         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61797         variables after CHECK_SP call.
61798         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61800 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61801             Ulrich Drepper  <drepper@redhat.com>
61803         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61804         re-relocationg ld.so.
61805         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61806         _dl_init_paths call.
61807         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61808         here anymore.
61810 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61812         * resolv/res_init.c (__res_vinit): Count the default server we added.
61814 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61815             Ulrich Drepper  <drepper@redhat.com>
61817         [BZ #11968]
61818         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61819         (____longjmp_chk): Use %ebx for saving value across system call.
61820         Add unwind info.
61822 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61824         * manual/Makefile: Don't mix pattern rules with normal rules.
61826 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61828         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61829         operation.
61830         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61831         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61832         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61833         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61834         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61835         Likewise.
61837 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61839         [BZ #11979]
61840         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61841         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61843 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61845         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61846         * sysdeps/x86_64/addmul_1.S: Likewise.
61847         * sysdeps/x86_64/lshift.S: Likewise.
61848         * sysdeps/x86_64/mul_1.S: Likewise.
61849         * sysdeps/x86_64/rshift.S: Likewise.
61850         * sysdeps/x86_64/sub_n.S: Likewise.
61851         * sysdeps/x86_64/submul_1.S: Likewise.
61853 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61855         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61856         Define __sched_param instead of SCHED_* and sched_param when
61857         <bits/sched.h> is included with __need_schedparam defined.
61858         * bits/sched.h [__need_schedparam]
61859         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61860         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61861         (__defined_schedparam): Define to 1.
61862         (__sched_param): New structure, identical to sched_param.
61863         (__need_schedparam): Undefine.
61865 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61867         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61868         (epoll_create1): Declare.
61870         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61872 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61874         [BZ #7066]
61875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61876         shifting retval into place.
61878 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61880         * nis/rpcsvc/nis.h: Update copyright notice.
61881         * nis/rpcsvc/nis.x: Likewise.
61882         * nis/rpcsvc/nis_callback.h: Likewise.
61883         * nis/rpcsvc/nis_callback.x: Likewise.
61884         * nis/rpcsvc/nis_object.x: Likewise.
61885         * nis/rpcsvc/nis_tags.h: Likewise.
61886         * nis/rpcsvc/yp.h: Likewise.
61887         * nis/rpcsvc/yp.x: Likewise.
61888         * nis/rpcsvc/ypupd.h: Likewise.
61889         * nis/yp_xdr.c: Likewise.
61890         * nis/ypupdate_xdr.c: Likewise.
61892         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61893         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61894         (pmap_getport): Use __libc_rpc_getport.
61895         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61896         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61897         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61899 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61902         fanotify_mark.
61904 2010-08-27  Roland McGrath  <roland@redhat.com>
61906         * sysdeps/i386/i686/multiarch/Makefile
61907         (CFLAGS-varshift.c): New variable.
61909 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61911         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61912         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61914         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61916         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61918 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61920         * sysdeps/x86_64/strlen.S: Unroll the loop.
61921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61922         strlen-sse2 strlen-sse2-bsf.
61923         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61924         __strlen_no_bsf if bit_Slow_BSF is set.
61925         (__strlen_sse42): Removed.
61926         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61927         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61929 2010-08-25  Roland McGrath  <roland@redhat.com>
61931         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61932         * sysdeps/x86_64/multiarch/varshift.c: New file.
61933         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61934         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61935         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61936         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61938 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61940         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61941         strlen-sse2 strlen-sse2-bsf.
61942         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61943         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61944         (__strlen_sse2): Removed.
61945         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61946         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61948         bit_Slow_BSF for Atom.
61949         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61950         (index_Slow_BSF): Define.
61951         (HAS_SLOW_BSF): Define.
61953 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61955         [BZ #10851]
61956         * resolv/res_init.c (__res_vinit): When no server address at all
61957         is given default to loopback.
61959 2010-08-24  Roland McGrath  <roland@redhat.com>
61961         * configure.in: Remove config-name.h generation.
61962         * configure: Regenerated.
61963         * config-name.in: File removed.
61964         * scripts/config-uname.sh: New file.
61965         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61966         ($(objdir)config-name.h): New target.
61968         * sunrpc/rpc_parse.h: Avoid nested comment.
61970 2010-08-24  Richard Henderson  <rth@redhat.com>
61971             Ulrich Drepper  <drepper@redhat.com>
61972             H.J. Lu  <hongjiu.lu@intel.com>
61974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61976         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61977         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61978         _mm_alignr_epi8 with _mm_loadu_si128.
61979         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61980         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61981         (__m128i_shift_right): Removed.
61982         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61983         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61984         * sysdeps/x86_64/multiarch/varshift.h: New file.
61985         * sysdeps/x86_64/multiarch/varshift.S: New file.
61987 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61989         * configure.in: Move assembler checks to before sysdep dir checking.
61991 2010-08-20  Petr Baudis  <pasky@suse.cz>
61993         * LICENSES: Sync the sunrpc license.
61995 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61997         * sunrpc/auth_des.c: Update copyright notice once again.
61998         * sunrpc/auth_none.c: Likewise.
61999         * sunrpc/auth_unix.c: Likewise.
62000         * sunrpc/authdes_prot.c: Likewise.
62001         * sunrpc/authuxprot.c: Likewise.
62002         * sunrpc/bindrsvprt.c: Likewise.
62003         * sunrpc/clnt_gen.c: Likewise.
62004         * sunrpc/clnt_perr.c: Likewise.
62005         * sunrpc/clnt_raw.c: Likewise.
62006         * sunrpc/clnt_simp.c: Likewise.
62007         * sunrpc/clnt_tcp.c: Likewise.
62008         * sunrpc/clnt_udp.c: Likewise.
62009         * sunrpc/clnt_unix.c: Likewise.
62010         * sunrpc/des_crypt.c: Likewise.
62011         * sunrpc/des_soft.c: Likewise.
62012         * sunrpc/get_myaddr.c: Likewise.
62013         * sunrpc/getrpcport.c: Likewise.
62014         * sunrpc/key_call.c: Likewise.
62015         * sunrpc/key_prot.c: Likewise.
62016         * sunrpc/openchild.c: Likewise.
62017         * sunrpc/pm_getmaps.c: Likewise.
62018         * sunrpc/pm_getport.c: Likewise.
62019         * sunrpc/pmap_clnt.c: Likewise.
62020         * sunrpc/pmap_prot.c: Likewise.
62021         * sunrpc/pmap_prot2.c: Likewise.
62022         * sunrpc/pmap_rmt.c: Likewise.
62023         * sunrpc/rpc/auth.h: Likewise.
62024         * sunrpc/rpc/auth_unix.h: Likewise.
62025         * sunrpc/rpc/clnt.h: Likewise.
62026         * sunrpc/rpc/des_crypt.h: Likewise.
62027         * sunrpc/rpc/key_prot.h: Likewise.
62028         * sunrpc/rpc/netdb.h: Likewise.
62029         * sunrpc/rpc/pmap_clnt.h: Likewise.
62030         * sunrpc/rpc/pmap_prot.h: Likewise.
62031         * sunrpc/rpc/pmap_rmt.h: Likewise.
62032         * sunrpc/rpc/rpc.h: Likewise.
62033         * sunrpc/rpc/rpc_des.h: Likewise.
62034         * sunrpc/rpc/rpc_msg.h: Likewise.
62035         * sunrpc/rpc/svc.h: Likewise.
62036         * sunrpc/rpc/svc_auth.h: Likewise.
62037         * sunrpc/rpc/types.h: Likewise.
62038         * sunrpc/rpc/xdr.h: Likewise.
62039         * sunrpc/rpc_clntout.c: Likewise.
62040         * sunrpc/rpc_cmsg.c: Likewise.
62041         * sunrpc/rpc_common.c: Likewise.
62042         * sunrpc/rpc_cout.c: Likewise.
62043         * sunrpc/rpc_dtable.c: Likewise.
62044         * sunrpc/rpc_hout.c: Likewise.
62045         * sunrpc/rpc_main.c: Likewise.
62046         * sunrpc/rpc_parse.c: Likewise.
62047         * sunrpc/rpc_parse.h: Likewise.
62048         * sunrpc/rpc_prot.c: Likewise.
62049         * sunrpc/rpc_sample.c: Likewise.
62050         * sunrpc/rpc_scan.c: Likewise.
62051         * sunrpc/rpc_scan.h: Likewise.
62052         * sunrpc/rpc_svcout.c: Likewise.
62053         * sunrpc/rpc_tblout.c: Likewise.
62054         * sunrpc/rpc_util.c: Likewise.
62055         * sunrpc/rpc_util.h: Likewise.
62056         * sunrpc/rpcinfo.c: Likewise.
62057         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62058         * sunrpc/rpcsvc/key_prot.x: Likewise.
62059         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62060         * sunrpc/rpcsvc/mount.x: Likewise.
62061         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62062         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62063         * sunrpc/rpcsvc/rex.x: Likewise.
62064         * sunrpc/rpcsvc/rstat.x: Likewise.
62065         * sunrpc/rpcsvc/rusers.x: Likewise.
62066         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62067         * sunrpc/rpcsvc/spray.x: Likewise.
62068         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62069         * sunrpc/rtime.c: Likewise.
62070         * sunrpc/svc.c: Likewise.
62071         * sunrpc/svc_auth.c: Likewise.
62072         * sunrpc/svc_authux.c: Likewise.
62073         * sunrpc/svc_raw.c: Likewise.
62074         * sunrpc/svc_run.c: Likewise.
62075         * sunrpc/svc_simple.c: Likewise.
62076         * sunrpc/svc_tcp.c: Likewise.
62077         * sunrpc/svc_udp.c: Likewise.
62078         * sunrpc/svc_unix.c: Likewise.
62079         * sunrpc/svcauth_des.c: Likewise.
62080         * sunrpc/xcrypt.c: Likewise.
62081         * sunrpc/xdr.c: Likewise.
62082         * sunrpc/xdr_array.c: Likewise.
62083         * sunrpc/xdr_float.c: Likewise.
62084         * sunrpc/xdr_mem.c: Likewise.
62085         * sunrpc/xdr_rec.c: Likewise.
62086         * sunrpc/xdr_ref.c: Likewise.
62087         * sunrpc/xdr_sizeof.c: Likewise.
62088         * sunrpc/xdr_stdio.c: Likewise.
62090         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62091         handling.
62093 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62095         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62097 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62099         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62100         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62101         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62102         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62103         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62104         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62105         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62106         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62107         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62108         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62109         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62110         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62111         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62112         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62114 2010-07-26  Anton Blanchard  <anton@samba.org>
62116         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62117         * malloc/arena.c (heap_trim): Likewise.
62119 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62121         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62122         here.  Not...
62123         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62124         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62126 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62128         * sysdeps/i386/elf/Makefile: New file.
62130 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62132         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62133         from fanotify_init.
62134         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62135         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62137 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62139         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62140         of strncasecmp_l.
62141         * sysdeps/multiarch/strcmp.S: Likewise.
62143 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62145         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62146         strncase_l-nonascii.
62147         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62148         Add strncase_l-ssse3.
62149         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62150         * sysdeps/x86_64/strcmp.S: Likewise.
62151         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62152         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62153         * sysdeps/x86_64/strncase.S: New file.
62154         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62155         * sysdeps/x86_64/strncase_l.S: New file.
62156         * string/Makefile (strop-tests): Add strncasecmp.
62157         * string/test-strncasecmp.c: New file.
62159         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62160         warning.
62162         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62163         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62165 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62167         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62169 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62171         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62172         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62173         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62175 2010-05-01  Alan Modra  <amodra@gmail.com>
62177         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62178         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62179         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62180         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62181         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62182         tidying.  Don't tail-call __sigjmp_save for static lib.
62183         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62184         save location.
62185         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62186         (CALL_MCOUNT): Add eh info, and nop after bl.
62187         (TAIL_CALL_SYSCALL_ERROR): New macro.
62188         (PSEUDO_RET): Use it.
62189         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62190         Correct save location of integer regs and cr.
62191         (_dl_profile_resolve): Correct cr save location.  Delete nops
62192         after bl when SHARED.  Reduce cfi size a little by better
62193         placement of cfi directives.
62194         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62195         make a stack frame.  Instead use parm save area as a temp.
62196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62197         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62199         Don't make a stack frame for parent, use parm save area.
62200         Increase child stack frame to 112 bytes.  Don't save unused reg,
62201         and adjust reg usage.  Set up cfi on error recovery and
62202         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62204         (__makecontext): Add dummy nop after jump to exit.
62205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62206         Use correct parm save area and cr save, reduce stack frame.
62207         Correct cfi for possible PSEUDO_RET frame setup.
62208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62209         Branch to local label emitted by PSEUDO_RET rather than
62210         __syscall_error.
62212 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62214         [BZ #11904]
62215         * locale/programs/locale.c (print_assignment): New function.
62216         (show_locale_vars): Use it.
62218 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62220         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62221         field.
62222         (struct statfs64): Likewise.
62223         (_STATFS_F_FLAGS): Define.
62224         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62225         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62226         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62227         (ST_VALID): Define locally.
62228         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62229         __statvfs_getflags, use the provided value.
62230         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62231         __ASSUME_STATFS_F_FLAGS.
62233         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62235         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62236         Add sys/fanotify.h.
62237         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62238         fanotify_mask for GLIBC_2.13.
62239         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62240         fanotify_init and fanotify_mark.
62241         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62242         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62244         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62245         Add prlimit.
62246         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62247         prlimit64 for GLIBC_2.13.
62248         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62249         prlimit64.
62250         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62251         syscall.
62252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62253         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62254         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62255         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62256         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62257         add prlimit alias.
62258         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62260         [BZ #11903]
62261         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62262         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62264         * nss/Makefile: Add rules to build and run tst-nss-test1.
62265         * shlib-versions: Add entry for libnss_test1.
62266         * nss/nss_test1.c: New file.
62267         * nss/tst-nss-test1.c: New file.
62269         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62270         (__nss_configure_lookup): Set appropriate entry in
62271         __nss_configure_lookup to true.
62272         * nss/nsswitch.h: Define enum with indeces of databases in
62273         databases and __nss_database_custom arrays.  Declare
62274         __nss_database_custom.
62275         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62276         to avoid using nscd when custom rules are installed.
62277         * nss/getXXbyYY_r.c: Likewise.
62278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62280         * nss/nss_files/files-parse.c: Whitespace fixes.
62282 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62284         [BZ #11883]
62285         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62286         * posix/fnmatch_loop.c: Likewise.
62288 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62290         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62291         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62292         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62293         * Versions.def [GLIBC_2.13]: Add.
62295 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62297         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62298         Also fail if tpwd after pwuid call is NULL.
62300 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62302         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62303         when converting to ms.
62305 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62307         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62308         EOPNOTSUPP errors with ENOTTY.
62309         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62310         EOPNOTSUPP errors with ENOTTY.
62312 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62314         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62315         Add strcasecmp_l-ssse3.
62316         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62317         strcasecmp.
62318         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62319         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62320         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62322 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62324         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62326         * string/Makefile (strop-tests): Add strcasecmp.
62327         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62328         strcasecmp_l-nonascii.
62329         (gen-as-const-headers): Add locale-defines.sym.
62330         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62331         * sysdeps/x86_64/strcasecmp.S: New file.
62332         * sysdeps/x86_64/strcasecmp_l.S: New file.
62333         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62334         * sysdeps/x86_64/locale-defines.sym: New file.
62335         * string/test-strcasecmp.c: New file.
62337         * string/test-strcasestr.c: Test both ends of the range of characters.
62338         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62340 2010-07-29  Roland McGrath  <roland@redhat.com>
62342         [BZ #11856]
62343         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62345 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62347         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62348         for ld.so.
62350 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62352         * manual/memory.texi (Malloc Tunable Parameters): Document
62353         M_PERTURB.
62355 2010-07-26  Roland McGrath  <roland@redhat.com>
62357         [BZ #11840]
62358         * configure.in (-fgnu89-inline check): Set and substitute
62359         gnu89_inline, not libc_cv_gnu89_inline.
62360         * configure: Regenerated.
62361         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62363 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62365         * string/test-strnlen.c: New file.
62366         * string/Makefile (strop-tests): Add strnlen.
62367         * string/tester.c (test_strnlen): Add a few more test cases.
62368         * string/tst-strlen.c: Better error reporting.
62370         * sysdeps/x86_64/strnlen.S: New file.
62372 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62374         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62375         lower-latency instructions.
62377 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62379         * string/test-strcasestr.c: New file.
62380         * string/test-strstr.c: New file.
62381         * string/Makefile (strop-tests): Add strstr and strcasestr.
62382         * string/str-two-way.h: Don't undefine MAX.
62383         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62385 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62387         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62388         strcasestr-nonascii.
62389         (CFLAGS-strcasestr-nonascii.c): Define.
62390         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62391         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62392         Remove unused attribute.
62394 2010-07-20  Roland McGrath  <roland@redhat.com>
62396         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62397         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62398         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62399         like LD_HWCAP_MASK can disable hwcaps.
62401 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62403         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62405 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62407         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62408         call in strcasestr.
62409         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62410         __strcasestr_sse42_nonascii.
62411         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62412         strcasestr-nonascii.c.
62413         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62415 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62417         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62418         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62419         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62420         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62422 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62424         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62425         fcntl.
62427 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62429         [BZ #11577]
62430         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62431         dl_signal_cerror.
62433 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62435         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62436         _PC_PIPE_BUF using F_GETPIPE_SZ.
62438 2010-07-05  Roland McGrath  <roland@redhat.com>
62440         * manual/arith.texi (Rounding Functions): Fix rint description
62441         implicit in round description.
62443 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62445         * elf/Makefile: Fix linking for a few tests to make recent linker
62446         happy.
62448 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62450         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62451         $(common-objpfx)libc_nonshared.a.
62453 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62455         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62456         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62457         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62458         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62459         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62460         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62461         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62462         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62477         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62478         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62479         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62480         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62481         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62482         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62483         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62484         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62485         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62486         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62487         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62488         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62504 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62506         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62507         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62508         * string/memmove.c (memmove): Renamed to ...
62509         (MEMMOVE): ...this.  Default to memmove.
62510         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62511         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62512         (END_CHK): Define.
62513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62514         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62515         mempcpy-ssse3-back memmove-ssse3-back.
62516         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62517         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62518         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62519         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62520         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62521         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62522         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62523         * sysdeps/x86_64/multiarch/memmove.c: New file.
62524         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62525         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62526         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62527         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62528         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62529         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62530         Define.
62531         (index_Fast_Copy_Backward): Define.
62532         (HAS_ARCH_FEATURE): Define.
62533         (HAS_FAST_REP_STRING): Define.
62534         (HAS_FAST_COPY_BACKWARD): Define.
62536 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62538         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62539         Restore proper fallback handling.
62541 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62543         [BZ #11701]
62544         * posix/group_member.c (__group_member): Correct checking loop.
62546         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62547         OOM in getpwuid_r correctly.  Return error number when the caller
62548         should return, otherwise -1.
62549         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62550         call returning > 0 value.
62551         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62553 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62555         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62556         libc_nonshared.a from targets in modules-names.
62558 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62560         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62561         requires it.
62563 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62565         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62566         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62567         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62568         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62570 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62572         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62574 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62576         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62577         and F_GETPIPE_SZ.
62578         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62580         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62581         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62582         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62583         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62585 2010-06-14  Roland McGrath  <roland@redhat.com>
62587         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62589 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62591         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62592         __REDIRECT followed by __THROW.
62593         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62594         * posix/getopt.h (getopt): Likewise.
62596 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62598         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62599         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62600         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62601         in AT_FLAGS.
62602         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62603         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62605 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62607         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62609 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62611         [BZ #11640]
62612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62613         Properly check family and model.
62615 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62617         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62619 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62621         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62623 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62625         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62626         symbol reference.
62628 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62630         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62631         symbol reference.
62633 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62635         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62636         and internal_recvmmsg.
62637         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62638         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62639         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62640         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62642         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62643         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62644         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62646 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62648         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62650 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62652         POWER7 optimizations.
62653         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62654         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62656 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62658         * version.h: Update for 2.13 development version.
62660 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62662         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62663         exceptions.  Return 0.
62665 2010-05-07  Roland McGrath  <roland@redhat.com>
62667         * elf/ldconfig.c (main): Add a const.
62669 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62671         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62672         (args_options): Add no-idn option.
62673         (ahosts_keys_int): Add idn_flags to ai_flags.
62674         (parse_option): Handle 'i' option to clear idn_flags.
62676         * malloc/malloc.c (_int_free): Possible race in the most recently
62677         added check.  Only act on the data if no current modification
62678         happened.
62680 See ChangeLog.17 for earlier changes.