Extend local PLT reference check
[glibc.git] / ChangeLog
blob6f393fd01e945fa547a608ed1f34962b76ddc293
1 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #18078]
4         * scripts/check-localplt.awk: Support alternate relocations.
5         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6         sections.
7         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8         malloc entries with + REL R_386_GLOB_DAT.
9         * sysdeps/x86_64/localplt.data: New file.
11 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13         [BZ #18731]
14         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25         directly in terms of __sync_fetch_and_add and delete (int) cast.
27 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30         the -D_ASM_IA64_CURRENT_H flag.
32 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34         [BZ #18641]
35         * pwd/pwd.h (putpwent): Delete __nonnull markings.
37 2015-07-27  Andreas Schwab  <schwab@suse.de>
39         * conform/conformtest.pl (checknamespace): Filter out string
40         literals while tokenizing.
42 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
44         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
45         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
46         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
48 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
50         * nptl/tst-join7mod.c: Add #include <string.h>.
52 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
54         * sysdeps/nios2/libm-test-ulps: Update.
56 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
58         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
59         Fix order of arguments to the rt_sigprocmask syscall.
60         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
61         Likewise.
63 2015-07-24  Roland McGrath  <roland@hack.frob.com>
65         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
67 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
69         [BZ #18457]
70         * nptl/Makefile (tests): New test case tst-join7.
71         (modules-names): New test case module tst-join7mod.
72         * nptl/tst-join7.c: New file.
73         * nptl/tst-join7mod.c: New file.
74         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
75         all translation units in libc.so, libpthread.so and rtld.
77 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
79         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
83         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
84         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
85         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
86         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
87         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
88         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
89         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
90         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
91         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
92         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
93         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
94         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
95         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
96         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
97         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
98         implementation.
100 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
102         [BZ #17711]
103         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
104         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
105         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
106         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
107         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
108         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
110 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
112         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
113         instead of just saying load lock in the comments.
115 2015-07-23  Roland McGrath  <roland@hack.frob.com>
117         * sysdeps/unix/Subdirs: Moved ...
118         * sysdeps/posix/Subdirs: ... here.
119         * login/pty.h (struct termios, struct winsize): Add forward decls.
120         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
121         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
122         * sysdeps/arm/nacl/libc.abilist: Updated.
123         * sysdeps/nacl/libutil.abilist: New file.
125         * bits/signum.h: Update comments to mention 1003.1-2013 too.
126         (SIGWINCH): New macro.
128         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
129         * sysdeps/arm/nacl/libc.abilist: Add it.
131 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
133         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
135 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
137         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
138         Swap __glibc_reserved0 and sa_flags order.
140 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
142         [BZ #18657]
143         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
144         are pending TLS destructor calls.
145         * include/link.h (struct link_map): Add concurrency note for
146         L_TLS_DTOR_COUNT.
147         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
148         Don't touch the link map flag.  Atomically increment
149         l_tls_dtor_count.
150         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
151         Avoid taking the load lock and don't touch the link map flag.
152         * stdlib/tst-tls-atexit-nodelete.c: New test case.
153         * stdlib/Makefile (tests): Use it.
154         * stdlib/tst-tls-atexit.c (do_test): dlopen
155         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
156         to allow tst-tls-atexit-nodelete test case to use it.
158 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
160         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
161         to bits/types.h.
162         (msgqnum_t): New typedef.
163         (msglen_t): Likewise.
164         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
165         and msg_qbytes type to msglen_t.
167 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
169         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
170         pad0 to __glibc_reserved0.
171         (struct stat64): Likewise.
173 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
175         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
176         Change sa_flags from a long to an int and add __glibc_reserved0 before
177         it for padding.
179 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
181         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
182         anonymous by deleting "siginfo" name.
184 2015-07-21  Roland McGrath  <roland@hack.frob.com>
186         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
187         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
188         rather than __nacl_irt_filename.
189         * sysdeps/nacl/xstat.c (__xstat): Likewise.
191         * NEWS: New item for arm-nacl port.
192         * sysdeps/arm/nacl/libc.abilist: New file.
193         * sysdeps/nacl/ld.abilist: New file.
194         * sysdeps/nacl/libBrokenLocale.abilist: New file.
195         * sysdeps/nacl/libanl.abilist: New file.
196         * sysdeps/nacl/libcrypt.abilist: New file.
197         * sysdeps/nacl/libdl.abilist: New file.
198         * sysdeps/nacl/libm.abilist: New file.
199         * sysdeps/nacl/libpthread.abilist: New file.
200         * sysdeps/nacl/libresolv.abilist: New file.
201         * sysdeps/nacl/librt.abilist: New file.
203 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
205         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
206         __startcontext to initialize the new context.
207         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
208         up CFI directive to forbid further backtracing.
210 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
212         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
213         reference.
214         * charmaps/ANSI_X3.4-1968: Likewise.
215         * charmaps/BS_4730: Likewise.
216         * charmaps/BS_VIEWDATA: Likewise.
217         * charmaps/CP1250: Likewise.
218         * charmaps/CP1251: Likewise.
219         * charmaps/CP1252: Likewise.
220         * charmaps/CP1253: Likewise.
221         * charmaps/CP1254: Likewise.
222         * charmaps/CP1255: Likewise.
223         * charmaps/CP1256: Likewise.
224         * charmaps/CSN_369103: Likewise.
225         * charmaps/EBCDIC-DK-NO: Likewise.
226         * charmaps/GB_1988-80: Likewise.
227         * charmaps/GREEK-CCITT: Likewise.
228         * charmaps/GREEK7: Likewise.
229         * charmaps/INIS-8: Likewise.
230         * charmaps/ISIRI-3342: Likewise.
231         * charmaps/ISO_2033-1983: Likewise.
232         * charmaps/ISO_5427-EXT: Likewise.
233         * locales/POSIX: Likewise.
234         * locales/ar_SA: Likewise.
235         * locales/be_BY: Likewise.
236         * locales/be_BY@latin: Likewise.
237         * locales/ca_ES: Likewise.
238         * locales/cs_CZ: Likewise.
239         * locales/da_DK: Likewise.
240         * locales/de_BE: Likewise.
241         * locales/de_CH: Likewise.
242         * locales/de_LU: Likewise.
243         * locales/en_AU: Likewise.
244         * locales/en_BW: Likewise.
245         * locales/en_CA: Likewise.
246         * locales/en_DK: Likewise.
247         * locales/en_GB: Likewise.
248         * locales/en_IE: Likewise.
249         * locales/en_NZ: Likewise.
250         * locales/en_ZA: Likewise.
251         * locales/en_ZW: Likewise.
252         * locales/es_AR: Likewise.
253         * locales/es_BO: Likewise.
254         * locales/es_CL: Likewise.
255         * locales/es_CO: Likewise.
256         * locales/es_DO: Likewise.
257         * locales/es_EC: Likewise.
258         * locales/es_ES: Likewise.
259         * locales/es_HN: Likewise.
260         * locales/es_MX: Likewise.
261         * locales/es_PA: Likewise.
262         * locales/es_PE: Likewise.
263         * locales/es_PY: Likewise.
264         * locales/es_SV: Likewise.
265         * locales/es_US: Likewise.
266         * locales/es_UY: Likewise.
267         * locales/es_VE: Likewise.
268         * locales/et_EE: Likewise.
269         * locales/fa_IR: Likewise.
270         * locales/fo_FO: Likewise.
271         * locales/fr_CA: Likewise.
272         * locales/fr_CH: Likewise.
273         * locales/gv_GB: Likewise.
274         * locales/he_IL: Likewise.
275         * locales/hr_HR: Likewise.
276         * locales/id_ID: Likewise.
277         * locales/is_IS: Likewise.
278         * locales/it_CH: Likewise.
279         * locales/iw_IL: Likewise.
280         * locales/kl_GL: Likewise.
281         * locales/ko_KR: Likewise.
282         * locales/kw_GB: Likewise.
283         * locales/lg_UG: Likewise.
284         * locales/lt_LT: Likewise.
285         * locales/lv_LV: Likewise.
286         * locales/mi_NZ: Likewise.
287         * locales/nhn_MX: Likewise.
288         * locales/nl_BE: Likewise.
289         * locales/pl_PL: Likewise.
290         * locales/sk_SK: Likewise.
291         * locales/sl_SI: Likewise.
292         * locales/sv_FI: Likewise.
293         * locales/tl_PH: Likewise.
294         * locales/tr_TR: Likewise.
295         * locales/vi_VN: Likewise.
297 2015-07-21  Khem Raj  <raj.khem@gmail.com>
299         [BZ #17475]
300         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
301         of tu_IN and bh_IN.
303 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
305         [BZ #18694]
306         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
307         bits/wordsize.h.
308         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
310 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
312         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
313         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
314         (spawn_thread): New function.
315         (load): Rename to reg_dtor_and_close.  Move dlopen to...
316         (do_test): ... here.  Use IS_LOADED to test for its
317         availability.
319 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
321         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
323 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
325         [BZ #18696]
326         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
327         si_addr_bnd.
328         (si_lower): New.
329         (si_upper): Likewise.
331 2015-07-16  David S. Miller  <davem@davemloft.net>
333         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
335 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
337         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
338         buffer.
339         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
340         fail output information.
342 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
345         and strstr-ppc64..
346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
347         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
348         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
349         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
350         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
352 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
354         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
355         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
356         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
357         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
359 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
361         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
362         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
363         rtld_hidden_proto.
364         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
366 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
368         * tst-nodelete-opened.c (do_test): Add comment to clarify how
369         the test can fail.
371         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
373         [BZ #18676]
374         * elf/tst-nodelete-opened.c: New test case.
375         * elf/tst-nodelete-opened-lib.c: New test case module.
376         * elf/Makefile (tests, modules-names): Use them.
377         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
378         early.
380 2015-07-15  David S. Miller  <davem@davemloft.net>
382         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
383         futex-intenal.h
384         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
385         * sysdeps/sparc/sparc64/Makefile: Likewise.
386         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
387         Remove space from macro define.
388         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
390 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
392         [BZ #17475]
393         * locale/iso-639.def: Update Bhili and Tulu language codes as
394         per iso639-3.
396 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
398         * elf/tst-leaks1.c (main): Converted to ...
399         (do_test): ... this.
400         (TEST_FUNCTION): New macro.
401         Include test-skeleton.c.
402         * localedata/tst-langinfo.c (main): Converted to ...
403         (do_test): ... this.
404         (TEST_FUNCTION): New macro.
405         Include test-skeleton.c.
406         * math/test-fpucw.c (main): Converted to ...
407         (do_test): ... this.
408         (TEST_FUNCTION): New macro.
409         Include test-skeleton.c.
410         * math/test-tgmath.c (main): Converted to ...
411         (do_test): ... this.
412         (TEST_FUNCTION): New macro.
413         Include test-skeleton.c.
414         * math/test-tgmath2.c (main): Converted to ...
415         (do_test): ... this.
416         (TEST_FUNCTION): New macro.
417         Include test-skeleton.c.
418         * setjmp/tst-setjmp.c (main): Converted to ...
419         (do_test): ... this.
420         (TEST_FUNCTION): New macro.
421         Include test-skeleton.c.
422         * stdio-common/tst-sscanf.c (main): Converted to ...
423         (do_test): ... this.
424         (TEST_FUNCTION): New macro.
425         Include test-skeleton.c.
426         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
427         (do_test): ... this.
428         (TEST_FUNCTION): New macro.
429         Include test-skeleton.c.
431         * elf/tst-audit9.c (main): Converted to ...
432         (do_test): ... this.
433         (TEST_FUNCTION): New macro.
434         Include test-skeleton.c.
436 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
438         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
440 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
442         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
443         New variable.
445 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
447         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
449 2015-07-14  Roland McGrath  <roland@hack.frob.com>
451         * sysdeps/generic/dl-fileid.h: New file.
452         * sysdeps/posix/dl-fileid.h: New file.
453         * sysdeps/nacl/dl-fileid.h: New file.
454         * include/link.h: Include <dl-fileid.h>.
455         (struct link_map): Replace l_dev and l_ino with l_file_id.
456         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
457         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
458         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
460 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
462         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
464 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
466         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
467         Add iff $CXX is set.
468         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
469         Likewise.
470         (tst-nodelete-zmodiff): Likewise.
471         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
473 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
475         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
477 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
479         * sysdeps/aarch64/fpu/math_private.h
480         (define math_opt_barrier): Add AArch64 version.
481         (math_force_eval): Likewise.
483 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
485         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
487 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
489         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
490         %ld with %jd and cast to intmax_t.
491         (do_test_length_zero): Likewise.
493 2015-07-10  Roland McGrath  <roland@hack.frob.com>
495         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
497 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
499         * sysdeps/tile/libm-test-ulps: Regenerated.
501         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
502         Comment out the whole function, not just its body.
504 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
506         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
507         locks.
509         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
511 2015-07-10  Torvald Riegel  <triegel@redhat.com>
513         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
514         (sem_assume_only_signals_cause_futex_EINTR): Remove.
516 2015-07-10  Torvald Riegel  <triegel@redhat.com>
518         * sysdeps/nptl/futex-internal.h: New file.
519         * sysdeps/nacl/futex-internal.h: New file.
520         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
521         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
522         error checking.
523         (setxid_unmark_thread): Likewise.
524         (__nptl_setxid): Likewise.
525         (__wait_lookup_done): Likewise.
526         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
527         * nptl/nptl-init.c (sighandler_setxid): Likewise.
528         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
529         * nptl/pthread_once.c (clear_once_control): Likewise.
530         (__pthread_once_slow): Likewise.
531         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
532         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
533         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
534         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
535         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
536         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
537         Likewise.
538         (__pthread_rwlock_rdlock): Likewise.
539         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
540         Likewise.
541         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
542         Likewise.
543         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
544         Likewise.
545         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
546         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
547         Likewise.
548         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
549         __ASSUME_PRIVATE_FUTEX check.
550         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
551         Check that shared futexes are supported.
552         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
553         wrappers with error checking.
554         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
555         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
556         * nptl/pthread_barrierattr_setpshared.c
557         (pthread_barrierattr_setpshared): Check that shared futexes are
558         supported.
559         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
560         Likewise.
561         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
562         Likewise.
563         * nptl/sem_init.c (futex_private_if_supported): Remove.
564         (__new_sem_init): Adapt and check that shared futexes are supported.
565         * nptl/sem_open.c (sem_open): Likewise.
566         * nptl/sem_post.c (futex_wake): Remove.
567         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
568         (do_futex_wait): Use futex wrappers with error checking.
569         * nptl/sem_wait.c: Include lowlevellock.h.
570         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
571         Use futex_supports_pshared.
572         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
573         Use futex wrappers with error checking.
574         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
575         Likewise.
576         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
577         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
578         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
579         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
580         (futex_wake): Likewise.
581         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
582         (do_futex_wait): Use futex wrappers with error checking.
583         (__new_sem_wait_slow): Update EINTR handling.
584         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
586 2015-07-09  Martin Sebor  <msebor@redhat.com>
588         [BZ #18435]
589         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
590         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
591         * nptl/Makefile (test-xfail-tst-once5): Define.
593 2015-07-09  Roland McGrath  <roland@hack.frob.com>
595         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
596         * elf/dl-minimal.c: For readability, reorder some definitions and
597         introduce more page breaks.  Include <stdio.h>.
598         (__libc_fatal): New function.
600         * include/unistd.h: Add rtld_hidden_proto for _exit.
601         * posix/_exit.c: Add rtld_hidden_def.
602         * sysdeps/mach/hurd/_exit.c: Likewise.
603         * sysdeps/nacl/_exit.c: Likewise.
604         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
605         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
607 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
609         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
610         bndmov encoding with zero displacement.
612 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
613             H.J. Lu  <hongjiu.lu@intel.com>
615         [BZ #18134]
616         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
617         * sysdeps/i386/configure: Regenerated.
618         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
619         (_dl_runtime_profile): Save and restore Intel MPX return bound
620         registers when calling _dl_call_pltexit.  Add
621         PRESERVE_BND_REGS_PREFIX before return.
622         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
623         (LRV_BND1_OFFSET): Likewise.
624         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
625         lrv_bnd1.
626         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
627         typo in bndmov encoding.
628         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
629         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
630         branch instructions to preserve bounds.
632 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
635         [GLIBC_2.22]: Add fmemopen.
637 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
639         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
640         returns an error, also try to use host port from __mach_host_self for
641         the __vm_wire call.
642         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
644 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
646         [BZ #18400]
647         [BZ #18648]
648         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
649         Fix pr_uid and pr_gid members.
650         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
651         definition to elf_greg_t.
653 2015-07-08  Roland McGrath  <roland@hack.frob.com>
655         [BZ #18383]
656         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
657         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
658         * sysdeps/arm/configure: Regenerated.
659         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
660         (test-xfail-tst-tlsalign-static): Variable removed.
662         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
663         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
664         rather than explicit 'ln -s'.
666         * resolv/rpc/netdb.h: New file.
667         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
669 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
671         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
672         length buffers.
673         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
674         test-skeleton.c.
676         [BZ #6544]
677         [BZ #11216]
678         [BZ #12836]
679         [BZ #13151]
680         [BZ #13152]
681         [BZ #14292]
682         * include/stdio.h (fmemopen): Remove hidden prototype.
683         (__fmemopen): Add new hidden prototype.
684         * libio/Makefile: Add oldfmemopen object.
685         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
686         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
687         compliance.
688         * libio/oldfmemopen.c: New file: old fmemopen implementation for
689         symbol compatibility.
690         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
691         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
692         fmemopen.
693         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
694         on append and read mode.
695         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
696         fmemopen.
697         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
698         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
699         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
700         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
701         Likewise.
702         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
703         [GLIBC_2.22]: Likewise.
704         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
705         Likewise.
706         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
707         Likewise.
708         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
709         [GLIBC_2.22]: Likewise.
710         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
711         [GLIBC_2.22]: Likewise.
712         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
713         [GLIBC_2.22]: Likewise.
714         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
715         [GLIBC_2.22]: Likewise.
716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
717         [GLIBC_2.22]: Likewise.
718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
719         [GLIBC_2.22]: Likewise.
720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
721         [GLIBC_2.22]: Likewise.
722         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
723         Likewise.
724         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
725         Likewise.
726         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
727         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
728         [GLIBC_2.22]: Likewise.
729         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
730         [GLIBC_2.22]: Likewise.
731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
732         [GLIBC_2.22]: Likewise.
733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
734         [GLIBC_2.22]: Likewise.
735         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
736         Likewise.
737         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
738         Likewise.
739         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
740         Likewise.
741         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
742         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
744 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
746         [BZ #18643]
747         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
748         IPV6_PATHMTU, and IPV6_DONTFRAG.
750 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
752         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
753         and _IO_UNBUFFERED.
754         * libio/oldfileops.c: Likewise.
755         * libio/wfileops.c: Likewise.
757 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
759         * nscd/selinux.c: Delete selinux/flask.h include.
761 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
763         [BZ #18641]
764         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
765         (putpwent): Likewise.
766         (getpwnam): Likewise.
767         (getpwent_r): Likewise.
768         (getpwuid_r): Likewise.
769         (getpwnam_r): Likewise.
770         (fgetpwent_r): Likewise.
772 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
774         [BZ #18557]
775         * inet/rcmd.c (__validuser2_sa): Check user first to
776         short-circuit host check.
778 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
779             Mikhail Ilin  <m.ilin@samsung.com>
781         [BZ #17833]
782         * elf/Makefile (tests): Add tst-nodelete.
783         (modules-names): Add tst-nodelete-uniquemod.
784         (tst-nodelete-uniquemod.so-no-z-defs): New.
785         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
786         (tst-nodelete-zmod.so-no-z-defs): Likewise.
787         ($(objpfx)tst-nodelete): Likewise.
788         ($(objpfx)tst-nodelete.out): Likewise.
789         (LDFLAGS-tst-nodelete): Likewise.
790         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
791         * elf/dl-close.c (_dl_close_worker): Add a parameter to
792         implement forced object deletion.
793         (_dl_close): Pass false to _dl_close_worker.
794         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
795         * elf/tst-nodelete.cc: New file.
796         * elf/tst-nodeletelib.cc: Likewise.
797         * elf/tst-znodeletelib.cc: Likewise.
798         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
800 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
802         [BZ #18508]
803         * stdlib/Makefile ($(objpfx)tst-makecontext3):
804         Depend on $(libdl).
805         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
806         is not called infinitely times.
807         (backtrace_helper): New function.
808         (trace_arg): New struct.
809         (st1): Enlarge stack size.
810         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
811         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
812         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
813         Likewise.
815 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
817         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
819 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
821         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
822         Include sys/types.h instead of bits/types.h.
823         Remove inclusion of bits/wordsize.h.
825 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
827         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
828         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
829         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
830         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
831         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
832         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
834 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
836         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
837         link-defines.sym.
838         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
839         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
840         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
841         and LR_SIZE.
842         * sysdeps/i386/link-defines.sym: New file.
844 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
846         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
847         (modules-names): Add tst-auditmod3a tst-auditmod3b.
848         ($(objpfx)tst-audit3): New rule.
849         ($(objpfx)tst-audit3.out): Likewise.
850         * sysdeps/i386/tst-audit3.c: New file.
851         * sysdeps/i386/tst-audit3.h: Likewise.
852         * sysdeps/i386/tst-auditmod3a.c: Likewise.
853         * sysdeps/i386/tst-auditmod3b.c: Likewise.
855 2015-07-07  Torvald Riegel  <triegel@redhat.com>
857         [BZ #18633]
858         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
859         pointer in C code.
860         (__strcat_c): Likewise.
861         (__strcat_g): Likewise.
863 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
865         [BZ #18592]
866         * misc/sbrk.c: Set errno to ENOMEM on overflow.
868 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
870         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
871         New function.  (__ieee754_sqrtf): New function.
872         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
873         New function.
874         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
875         New function.
877 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
879         * sysdeps/ieee754/support.c: Remove unused file.
881 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
883         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
884         registers instead of d ones so the layout is kernel abi compatible.
885         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
886         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
887         Likewise.
889 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
891         * sysdeps/aarch64/libm-test-ulps: Regenerated.
893 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
895         [BZ #18619]
896         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
897         and return argument in case of subnormal argument.
899 2015-07-01  Martin Sebor  <msebor@redhat.com>
901         [BZ #18435]
902         * nptl/Makefile: Add tst-once5.cc.
903         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
904         Remove macro redefinitions.
905         * nptl/tst-once5.cc: New test.
907 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
909         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
911         * sysdeps/arm/libm-test-ulps: Regenerated.
913         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
914         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
916 2015-06-30  Torvald Riegel  <triegel@redhat.com>
918         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
919         lll_lock_wait_private and lll_futex_wake probes.
921         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
922         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
923         Likewise.
924         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
925         atomic_spin_nop.
926         * sysdeps/x86_64/bits/atomic.h: Likewise.
927         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
928         to atomic_spin_nop and move ...
929         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
930         ... here and ...
931         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
932         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
933         atomic_spin_nop instead of BUSY_WAIT_NOP.
934         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
935         Likewise.
936         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
937         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
938         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
939         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
940         instead of atomic_delay.
942 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
944         [BZ #18613]
945         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
946         X_ADJ not X when adjusting exponent.
947         (__ieee754_gamma_r): Do intermediate computations in
948         round-to-nearest then adjust overflowing and underflowing results
949         as needed.
950         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
951         of X_ADJ not X when adjusting exponent.
952         (__ieee754_gammaf_r): Do intermediate computations in
953         round-to-nearest then adjust overflowing and underflowing results
954         as needed.
955         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
956         log 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         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
961         log of X_ADJ not X when adjusting exponent.
962         (__ieee754_gammal_r): Do intermediate computations in
963         round-to-nearest then adjust overflowing and underflowing results
964         as needed.  Use 1.0L not 1.0f as numerator of division.
965         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
966         of X_ADJ not X when adjusting exponent.
967         (__ieee754_gammal_r): Do intermediate computations in
968         round-to-nearest then adjust overflowing and underflowing results
969         as needed.  Use 1.0L not 1.0f as numerator of division.
970         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
971         to auto-libm-test-in.
972         (tgamma_test): Use ALL_RM_TEST.
973         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
974         tests of tgamma with spurious-overflow.
975         * math/auto-libm-test-out: Regenerated.
976         * math/gen-libm-have-vector-test.sh: Do not check for START.
977         * sysdeps/i386/fpu/libm-test-ulps: Update.
978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
980         [BZ #18612]
981         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
982         arguments, just return 0.5 times the argument, with underflow
983         forced as needed.
984         * math/auto-libm-test-in: Add more tests of j1.
985         * math/auto-libm-test-out: Regenerated.
987         [BZ #16559]
988         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
989         (__ieee754_j1): Force underflow exception for small results.
990         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
991         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
992         (__ieee754_j1f): Force underflow exception for small results.
993         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
994         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
996         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
997         (__ieee754_j1l): Force underflow exception for small results.
998         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
999         * math/auto-libm-test-in: Add more tests of j1 and jn.
1000         * math/auto-libm-test-out: Regenerated.
1002         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1003         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1004         (PF_MPLS): Likewise.
1005         (AF_IB): Likewise.
1006         (AF_MPLS): Likewise.
1007         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1008         value and macro.
1009         (MS_RMT_MASK): Include MS_LAZYTIME.
1011 2015-06-26  Mel Gorman  <mgorman@suse.de>
1013         [BZ #18502]
1014         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1015         already minimal.
1017 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1019         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1020         (DT_MIPS_NUM): Update.
1021         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1022         DT_MIPS_RLD_MAP_REL.
1024 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1026         [BZ #16559]
1027         [BZ #18602]
1028         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1029         round-to-nearest internally then recompute results that
1030         underflowed to zero in the original rounding mode.
1031         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1032         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1033         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1034         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1035         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1036         * sysdeps/i386/fpu/libm-test-ulps: Update.
1037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1039 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1041         * NEWS: Fixed description of link with vector math library.
1043 2015-06-25  Andreas Schwab  <schwab@suse.de>
1045         [BZ #18549]
1046         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1047         * libio/test-fmemopen.c (do_test): Add test for it.
1049 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1051         [BZ #17841]
1052         * Makeconfig (no-pie-ldflag): New.
1053         (+link): Set to $(+link-pie) if default to PIE.
1054         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1055         * config.make.in (build-pie-default): New.
1056         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1057         is default.  AC_SUBST.
1058         * configure: Regenerated.
1059         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1061 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1063         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1064         to 'unsigned int'.
1066         * resolv/gai_misc.h (struct waitlist): Change type of field
1067         counterp to 'volatile unsigned int *'.
1068         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1069         FUTEXADDR and OLDVAL.
1070         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1071         Give local variable TOTAL type 'volatile unsigned int'.
1072         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1073         * resolv/gai_suspend.c (gai_suspend):
1074         Give local variable CNTR type 'unsigned int'.
1076         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1077         counterp to 'volatile unsigned int *'.
1078         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1079         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1080         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1081         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1082         Give local variable TOTAL type 'volatile unsigned int'.
1083         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1085 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1087         [BZ #18383]
1088         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1089         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1090         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1091         comment for i386/x86-64.
1092         (test-xfail-tst-tlsalign-extern-static): Removed.
1094 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1096         * math/test-double.h: New file.
1097         * math/test-float.h: Likewise.
1098         * math/test-ldouble.h: Likewise.
1099         * math/test-math-inline.h: Likewise.
1100         * math/test-math-no-inline.h: Likewise.
1101         * math/test-math-scalar.h: Likewise.
1102         * math/test-math-vector.h: Likewise.
1103         * math/test-vec-loop.h: Remove file.  Contents moved into
1104         test-math-vector.h.
1105         * math/libm-test.inc (MATHCONST): Do not document macro.
1106         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1107         and test-math-scalar.h.
1108         (FUNC): Remove macro.
1109         (FUNC_TEST): Likewise.
1110         (FLOAT): Likewise.
1111         (MATHCONST): Likewise.
1112         (PRINTF_EXPR): Likewise.
1113         (PRINTF_XEXPR): Likewise.
1114         (PRINTF_NEXPR): Likewise.
1115         (TEST_DOUBLE): Likewise.
1116         (TEST_MATHVEC): Likewise.
1117         (__NO_MATH_INLINES): Likewise.
1118         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1119         and test-math-scalar.h.
1120         (FUNC): Remove macro.
1121         (FUNC_TEST): Likewise.
1122         (FLOAT): Likewise.
1123         (MATHCONST): Likewise.
1124         (PRINTF_EXPR): Likewise.
1125         (PRINTF_XEXPR): Likewise.
1126         (PRINTF_NEXPR): Likewise.
1127         (TEST_FLOAT): Likewise.
1128         (TEST_MATHVEC): Likewise.
1129         (__NO_MATH_INLINES): Likewise.
1130         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1131         and test-math-scalar.h.
1132         (FUNC): Remove macro.
1133         (FUNC_TEST): Likewise.
1134         (FLOAT): Likewise.
1135         (MATHCONST): Likewise.
1136         (PRINTF_EXPR): Likewise.
1137         (PRINTF_XEXPR): Likewise.
1138         (PRINTF_NEXPR): Likewise.
1139         (TEST_DOUBLE): Likewise.
1140         (TEST_MATHVEC): Likewise.
1141         (TEST_INLINE): Likewise.
1142         (__NO_MATH_INLINES): Likewise.
1143         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1144         test-math-scalar.h.
1145         (FUNC): Remove macro.
1146         (FUNC_TEST): Likewise.
1147         (FLOAT): Likewise.
1148         (MATHCONST): Likewise.
1149         (PRINTF_EXPR): Likewise.
1150         (PRINTF_XEXPR): Likewise.
1151         (PRINTF_NEXPR): Likewise.
1152         (TEST_FLOAT): Likewise.
1153         (TEST_MATHVEC): Likewise.
1154         (TEST_INLINE): Likewise.
1155         (__NO_MATH_INLINES): Likewise.
1156         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1157         and test-math-scalar.h.
1158         (FUNC): Remove macro.
1159         (FUNC_TEST): Likewise.
1160         (FLOAT): Likewise.
1161         (MATHCONST): Likewise.
1162         (PRINTF_EXPR): Likewise.
1163         (PRINTF_XEXPR): Likewise.
1164         (PRINTF_NEXPR): Likewise.
1165         (TEST_LDOUBLE): Likewise.
1166         (TEST_MATHVEC): Likewise.
1167         (TEST_INLINE): Likewise.
1168         (__NO_MATH_INLINES): Likewise.
1169         * math/test-ldouble.c: Include test-ldouble.h,
1170         test-math-no-inline.h and test-math-scalar.h.
1171         (FUNC): Remove macro.
1172         (FUNC_TEST): Likewise.
1173         (FLOAT): Likewise.
1174         (MATHCONST): Likewise.
1175         (PRINTF_EXPR): Likewise.
1176         (PRINTF_XEXPR): Likewise.
1177         (PRINTF_NEXPR): Likewise.
1178         (TEST_LDOUBLE): Likewise.
1179         (TEST_MATHVEC): Likewise.
1180         (__NO_MATH_INLINES): Likewise.
1181         * math/test-double-vlen2.h: Include test-double.h,
1182         test-math-no-inline.h and test-math-vector.h.
1183         (FLOAT): Remove macro.
1184         (FUNC): Likewise.
1185         (MATHCONST): Likewise.
1186         (PRINTF_EXPR): Likewise.
1187         (PRINTF_XEXPR): Likewise.
1188         (PRINTF_NEXPR): Likewise.
1189         (TEST_DOUBLE): Likewise.
1190         (TEST_MATHVEC): Likewise.
1191         (__NO_MATH_INLINES): Likewise.
1192         (CNCT): Likewise.
1193         (CONCAT): Likewise.
1194         (WRAPPER_NAME): Likewise.
1195         (WRAPPER_DECL): Likewise.
1196         (WRAPPER_DECL_ff): Likewise.
1197         (WRAPPER_DECL_fFF): Likewise.
1198         (VECTOR_WRAPPER): Likewise.
1199         (VECTOR_WRAPPER_ff): Likewise.
1200         (VECTOR_WRAPPER_fFF): Likewise.
1201         (VEC_LEN): New macro.
1202         * math/test-double-vlen4.h: Include test-double.h,
1203         test-math-no-inline.h and test-math-vector.h.
1204         (FLOAT): Remove macro.
1205         (FUNC): Likewise.
1206         (MATHCONST): Likewise.
1207         (PRINTF_EXPR): Likewise.
1208         (PRINTF_XEXPR): Likewise.
1209         (PRINTF_NEXPR): Likewise.
1210         (TEST_DOUBLE): Likewise.
1211         (TEST_MATHVEC): Likewise.
1212         (__NO_MATH_INLINES): Likewise.
1213         (CNCT): Likewise.
1214         (CONCAT): Likewise.
1215         (WRAPPER_NAME): Likewise.
1216         (WRAPPER_DECL): Likewise.
1217         (WRAPPER_DECL_ff): Likewise.
1218         (WRAPPER_DECL_fFF): Likewise.
1219         (VECTOR_WRAPPER): Likewise.
1220         (VECTOR_WRAPPER_ff): Likewise.
1221         (VECTOR_WRAPPER_fFF): Likewise.
1222         (VEC_LEN): New macro.
1223         * math/test-double-vlen8.h: Include test-double.h,
1224         test-math-no-inline.h and test-math-vector.h.
1225         (FLOAT): Remove macro.
1226         (FUNC): Likewise.
1227         (MATHCONST): Likewise.
1228         (PRINTF_EXPR): Likewise.
1229         (PRINTF_XEXPR): Likewise.
1230         (PRINTF_NEXPR): Likewise.
1231         (TEST_DOUBLE): Likewise.
1232         (TEST_MATHVEC): Likewise.
1233         (__NO_MATH_INLINES): Likewise.
1234         (CNCT): Likewise.
1235         (CONCAT): Likewise.
1236         (WRAPPER_NAME): Likewise.
1237         (WRAPPER_DECL): Likewise.
1238         (WRAPPER_DECL_ff): Likewise.
1239         (WRAPPER_DECL_fFF): Likewise.
1240         (VECTOR_WRAPPER): Likewise.
1241         (VECTOR_WRAPPER_ff): Likewise.
1242         (VECTOR_WRAPPER_fFF): Likewise.
1243         (VEC_LEN): New macro.
1244         * math/test-float-vlen4.h: Include test-float.h,
1245         test-math-no-inline.h and test-math-vector.h.
1246         (FLOAT): Remove macro.
1247         (FUNC): Likewise.
1248         (MATHCONST): Likewise.
1249         (PRINTF_EXPR): Likewise.
1250         (PRINTF_XEXPR): Likewise.
1251         (PRINTF_NEXPR): Likewise.
1252         (TEST_FLOAT): Likewise.
1253         (TEST_MATHVEC): Likewise.
1254         (__NO_MATH_INLINES): Likewise.
1255         (CNCT): Likewise.
1256         (CONCAT): Likewise.
1257         (WRAPPER_NAME): Likewise.
1258         (WRAPPER_DECL): Likewise.
1259         (WRAPPER_DECL_ff): Likewise.
1260         (WRAPPER_DECL_fFF): Likewise.
1261         (VECTOR_WRAPPER): Likewise.
1262         (VECTOR_WRAPPER_ff): Likewise.
1263         (VECTOR_WRAPPER_fFF): Likewise.
1264         (VEC_LEN): New macro.
1265         * math/test-float-vlen8.h: Include test-float.h,
1266         test-math-no-inline.h and test-math-vector.h.
1267         (FLOAT): Remove macro.
1268         (FUNC): Likewise.
1269         (MATHCONST): Likewise.
1270         (PRINTF_EXPR): Likewise.
1271         (PRINTF_XEXPR): Likewise.
1272         (PRINTF_NEXPR): Likewise.
1273         (TEST_FLOAT): Likewise.
1274         (TEST_MATHVEC): Likewise.
1275         (__NO_MATH_INLINES): Likewise.
1276         (CNCT): Likewise.
1277         (CONCAT): Likewise.
1278         (WRAPPER_NAME): Likewise.
1279         (WRAPPER_DECL): Likewise.
1280         (WRAPPER_DECL_ff): Likewise.
1281         (WRAPPER_DECL_fFF): Likewise.
1282         (VECTOR_WRAPPER): Likewise.
1283         (VECTOR_WRAPPER_ff): Likewise.
1284         (VECTOR_WRAPPER_fFF): Likewise.
1285         (VEC_LEN): New macro.
1286         * math/test-float-vlen16.h: Include test-float.h,
1287         test-math-no-inline.h and test-math-vector.h.
1288         (FLOAT): Remove macro.
1289         (FUNC): Likewise.
1290         (MATHCONST): Likewise.
1291         (PRINTF_EXPR): Likewise.
1292         (PRINTF_XEXPR): Likewise.
1293         (PRINTF_NEXPR): Likewise.
1294         (TEST_FLOAT): Likewise.
1295         (TEST_MATHVEC): Likewise.
1296         (__NO_MATH_INLINES): Likewise.
1297         (CNCT): Likewise.
1298         (CONCAT): Likewise.
1299         (WRAPPER_NAME): Likewise.
1300         (WRAPPER_DECL): Likewise.
1301         (WRAPPER_DECL_ff): Likewise.
1302         (WRAPPER_DECL_fFF): Likewise.
1303         (VECTOR_WRAPPER): Likewise.
1304         (VECTOR_WRAPPER_ff): Likewise.
1305         (VECTOR_WRAPPER_fFF): Likewise.
1306         (VEC_LEN): New macro.
1307         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1308         test-vec-loop.h.
1309         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1311         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1312         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1313         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1314         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1315         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1317 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1319         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1320         (__getlogin_r): ... this.
1322 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1324         [BZ #18594]
1325         * math/s_ccosh.c (__ccosh): Compare with least normal value
1326         instead of comparing class with FP_SUBNORMAL.
1327         * math/s_ccoshf.c (__ccoshf): Likewise.
1328         * math/s_ccoshl.c (__ccoshl): Likewise.
1329         * math/s_cexp.c (__cexp): Likewise.
1330         * math/s_cexpf.c (__cexpf): Likewise.
1331         * math/s_cexpl.c (__cexpl): Likewise.
1332         * math/s_csin.c (__csin): Likewise.
1333         * math/s_csinf.c (__csinf): Likewise.
1334         * math/s_csinh.c (__csinh): Likewise.
1335         * math/s_csinhf.c (__csinhf): Likewise.
1336         * math/s_csinhl.c (__csinhl): Likewise.
1337         * math/s_csinl.c (__csinl): Likewise.
1338         * math/s_ctan.c (__ctan): Likewise.
1339         * math/s_ctanf.c (__ctanf): Likewise.
1340         * math/s_ctanh.c (__ctanh): Likewise.
1341         * math/s_ctanhf.c (__ctanhf): Likewise.
1342         * math/s_ctanhl.c (__ctanhl): Likewise.
1343         * math/s_ctanl.c (__ctanl): Likewise.
1344         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1345         csin, csinh, ctan and ctanh.
1346         * math/auto-libm-test-out: Regenerated.
1347         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1348         * sysdeps/i386/fpu/libm-test-ulps: Update.
1349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1351 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1353         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1354         return value is wrong, print the expected value too.
1356 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1358         [BZ #18585]
1359         * elf/readlib.c (is_gdb_python_file): New.
1360         (process_file): Don't issue errors on filenames with -gdb.py
1361         suffix.
1363 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1365         * math/auto-libm-test-in: Add more tests of csin and csinh.
1366         * math/auto-libm-test-out: Regenerated.
1367         * math/libm-test.inc (csin_test_data): Remove tests moved to
1368         auto-libm-test-in.
1369         (csinh_test_data): Likewise.
1371         [BZ #18593]
1372         * math/s_csin.c (__csin): Negate before rather than after possibly
1373         overflowing multiplication.
1374         * math/s_csinf.c (__csinf): Likewise.
1375         * math/s_csinh.c (__csinh): Likewise.
1376         * math/s_csinhf.c (__csinhf): Likewise.
1377         * math/s_csinhl.c (__csinhl): Likewise.
1378         * math/s_csinl.c (__csinl): Likewise.
1379         * math/auto-libm-test-in: Add some tests of csin and csinh.
1380         * math/auto-libm-test-out: Regenerated.
1381         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1382         (csinh_test_data): Likewise.
1383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1385         [BZ #18586]
1386         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1387         underflow exception for small results.
1389 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1391         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1392         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1393         variable and included header.
1394         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1395         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1396         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1397         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1398         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1400         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1402         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1403         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1404         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1405         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1406         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1407         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1408         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1409         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1411 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1413         [BZ #16526]
1414         [BZ #16538]
1415         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1416         (__sin): Force underflow exception for arguments with small
1417         absolute value.
1418         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1419         (__kernel_sinf): Force underflow exception for arguments with
1420         small absolute value.
1421         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1422         (__kernel_sincosl): Force underflow exception for arguments with
1423         small absolute value.
1424         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1425         (__kernel_sinl): Force underflow exception for arguments with
1426         small absolute value.
1427         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1428         (__kernel_sincosl): Force underflow exception for arguments with
1429         small absolute value.
1430         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1431         (__kernel_sinl): Force underflow exception for arguments with
1432         small absolute value.
1433         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1434         (__kernel_sinl): Force underflow exception for arguments with
1435         small absolute value.
1436         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1437         (__kernel_sinf): Force underflow exception for arguments with
1438         small absolute value.
1439         * math/auto-libm-test-in: Add more tests of sin and sincos.
1440         * math/auto-libm-test-out: Regenerated.
1442         [BZ #18245]
1443         [BZ #18583]
1444         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1445         (__kernel_standard_l): Use feholdexcept and fesetenv around
1446         conversion to double instead of special-casing overflow and
1447         underflow.
1448         * math/libm-test.inc (fmod_test_data): Add more tests.
1449         (remainder_test_data): Likewise.
1450         (sqrt_test_data): Likewise.
1452 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1454         [BZ #17403]
1455         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1456         atomic_read_barrier, atomic_write_barrier): Define.
1457         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1458         atomic_read_barrier, atomic_write_barrier): Define.
1460 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1462         * math/Makefile [$(PERL) != no]
1463         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1464         dependency on libm-test.stmp below the inclusion of Rules.
1466 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1468         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1469         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1470         and included header.
1471         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1472         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1473         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1474         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1475         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1476         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1477         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1478         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1479         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1480         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1481         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1482         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1483         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1484         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1485         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1486         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1487         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1488         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1489         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1491 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1493         [BZ #18371]
1494         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1495         intermediate but not final result might underflow.
1496         * math/s_csqrtf.c (__csqrtf): Likewise.
1497         * math/s_csqrtl.c (__csqrtl): Likewise.
1498         * math/auto-libm-test-in: Add more tests of csqrt.
1499         * math/auto-libm-test-out: Regenerated.
1500         * sysdeps/i386/fpu/libm-test-ulps: Update.
1502         [BZ #18219]
1503         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1504         threshold on absolute value of exponent for which scaling is used.
1505         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1506         * math/auto-libm-test-in: Add more tests of exp2.
1507         * math/auto-libm-test-out: Regenerated.
1509 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1511         [BZ #17977]
1512         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1513         when initializing interface list, based on the bug analysis
1514         and the patch proposed by Eric Newton.
1515         * resolv/tst-res_hconf_reorder.c: New test.
1516         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1517         tst-res_hconf_reorder.
1518         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1519         and $(shared-thread-library).
1520         (tst-res_hconf_reorder-ENV): New variable.
1522         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1523         in comment.
1525 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1527         [BZ #16353]
1528         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1529         (__expm1): Force underflow exception for arguments with small
1530         absolute value.
1531         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1532         (__expm1f): Force underflow exception for arguments with small
1533         absolute value.
1534         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1535         (__expm1): Force underflow exception for arguments with small
1536         absolute value.
1537         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1538         (__expm1f): Force underflow exception for arguments with small
1539         absolute value.
1540         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1541         Check for small arguments before calling __expm1.
1542         * math/auto-libm-test-in: Do not mark underflow exceptions as
1543         possibly missing for bug 16353.
1544         * math/auto-libm-test-out: Regenerated.
1546 2015-06-22  Andreas Schwab  <schwab@suse.de>
1548         [BZ #18513]
1549         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1550         PTR queries.
1552 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1554         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1556         * string/strcoll_l.c: Remove unused struct element idxnow.
1558 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1560         [BZ #18569]
1561         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1562         underflow and return argument in case of subnormal argument.
1563         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1564         Likewise.
1565         * math/auto-libm-test-in: Add more tests of expm1.
1566         * math/auto-libm-test-out: Regenerated.
1568         [BZ #16361]
1569         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1570         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1571         tiny results.
1572         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1573         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1574         tiny results.
1575         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1576         mark underflow exceptions as possibly missing for bug 16361.
1577         * math/auto-libm-test-out: Regenerated.
1579 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1581         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1582         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1583         Remove variable.
1584         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1585         (test-xfail-XOPEN2K8/utmpx.h/conform).
1587         * conform/conformtest.pl ($xerrors): New variable.
1588         (note_error): New function.
1589         (compiletest): New argument $xfail.  Use not_error.
1590         (runtest): Likewise.
1591         (top level): Handle xfail- lines.  Update calls to compiletest and
1592         runtest.  Handle xfail- and optional- in headers listed with
1593         allow-header.
1594         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1595         (O_EXEC): Likewise.
1596         (O_SEARCH): Likewise.
1597         * conform/data/stropts.h-data (ioctl): Likewise.
1598         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1599         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1600         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1601         (msghdr.msg_controllen): Likewise.
1602         (cmsghdr.cmsg_len): Likewise.
1603         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1604         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1605         variable.
1606         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1607         (test-xfail-XPG4/stropts.h/conform): Likewise.
1608         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1609         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1610         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1611         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1612         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1613         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1614         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1615         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1616         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1617         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1618         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1619         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1620         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1621         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1622         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1623         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1624         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1625         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1626         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1628 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1630         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1631         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1632         definitions for proper unfolding of __MATHDECL_VEC.
1634 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1636         * benchtests/bench-strcoll.c:
1637         Include string.h.
1638         (main): Remove unused variable res.
1640 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1642         * timezone/Makefile (%/UTC %/Universal):
1643         Generate test-result files for UTC and Universal.
1645 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1647         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1649 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1651         [BZ #16350]
1652         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1653         for arguments with small absolute value.
1654         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1655         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1656         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1657         (__asinh): Force underflow exception for arguments with small
1658         absolute value.
1659         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1660         (__asinhf): Force underflow exception for arguments with small
1661         absolute value.
1662         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1663         (__asinhl): Force underflow exception for arguments with small
1664         absolute value.
1665         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1666         (__asinhl): Force underflow exception for arguments with small
1667         absolute value.
1668         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1669         (__asinhl): Force underflow exception for arguments with small
1670         absolute value.
1671         * math/auto-libm-test-in: Do not mark underflow exceptions as
1672         possibly missing for bug 16350.
1673         * math/auto-libm-test-out: Regenerated.
1675         * include/bits/ipc.h: Remove file.
1676         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1677         variable.
1678         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1679         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1680         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1681         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1682         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1683         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1684         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1685         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1686         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1688         * math/auto-libm-test-in: Remove spurious underflow allowance for
1689         tests of cexp.
1690         * math/auto-libm-test-out: Regenerated.
1692         [BZ #18558]
1693         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1694         unconditional definition.
1695         (MCAST_BLOCK_SOURCE): Likewise.
1696         (MCAST_UNBLOCK_SOURCE): Likewise.
1697         (MCAST_LEAVE_GROUP): Likewise.
1698         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1699         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1700         (MCAST_MSFILTER): Likewise.
1701         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1702         Remove variable.
1703         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1704         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1705         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1706         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1707         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1709 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1711         * NEWS: Mention addition of x86_64 vector sincosf.
1712         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1713         * math/test-float-vlen4.h: Likewise.
1714         * math/test-float-vlen8.h: Likewise.
1715         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1716         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1717         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1718         * sysdeps/x86_64/fpu/Versions: New versions added.
1719         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1720         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1721         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1722         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1724         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1727         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1728         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1729         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1730         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1731         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1732         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1733         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1734         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1735         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1736         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1737         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1738         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1739         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1740         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1741         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1742         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1744         * NEWS: Mention addition of x86_64 vector sincos.
1745         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1746         * math/math.h (__MATHDECL_VEC): New macro.
1747         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1748         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1749         declaration under condition.
1750         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1751         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1752         TEST_VEC_LOOP change.
1753         * math/test-double-vlen4.h: Likewise.
1754         * math/test-double-vlen8.h: Likewise.
1755         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1756         * math/test-float-vlen4.h: Likewise.
1757         * math/test-float-vlen8.h: Likewise.
1758         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1759         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1760         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1761         * sysdeps/x86_64/fpu/Versions: New versions added.
1762         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1763         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1764         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1765         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1766         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1767         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1768         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1769         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1770         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1771         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1772         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1773         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1774         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1775         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1776         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1777         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1778         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1779         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1780         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1781         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1782         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1783         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1784         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1785         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1787         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1788         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1789         redirections for powf.
1790         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1791         * sysdeps/x86_64/fpu/Versions: New versions added.
1792         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1793         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1794         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1795         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1796         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1797         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1798         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1800         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1801         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1802         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1803         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1804         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1805         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1806         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1807         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1808         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1809         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1810         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1811         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1812         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1813         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1814         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1815         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1816         * math/test-float-vlen16.h: Fixed 2 argument macro.
1817         * math/test-float-vlen4.h: Likewise.
1818         * math/test-float-vlen8.h: Likewise.
1819         * NEWS: Mention addition of x86_64 vector powf.
1821 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1823         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1824         and redefine.
1825         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1826         and redefine.
1827         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1828         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1829         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1831         [BZ #18553]
1832         * resource/getpriority.c (getpriority): Rename to __getpriority
1833         and define as weak alias of __getpriority.
1834         * resource/setpriority.c (setpriority): Rename to __setpriority
1835         and define as weak alias of __setpriority.
1836         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1837         __getpriority and define as weak alias of __getpriority.
1838         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1839         __setpriority and define as weak alias of __setpriority.
1840         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1841         strong name.
1842         (setpriority): Use __setpriority as strong name.
1843         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1844         __getpriority and define as weak alias of __getpriority.
1845         * include/sys/resource.h (__getpriority): Declare.  Use
1846         libc_hidden_proto.
1847         (__setpriority): Likewise.
1848         (getpriority): Don't use libc_hidden_proto.
1849         (setpriority): Likewise.
1850         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1851         getpriority.  Call __setpriority instead of setpriority.
1852         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1853         Remove variable.
1855         [BZ #18547]
1856         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1857         as weak alias of __getttynam.  Use prototype function definition.
1858         Call __setttyent, __getttyent and __endttyent instead of
1859         setttyent, getttyent and endttyent.
1860         (getttyent): Rename to __getttyent and define as weak alias of
1861         __getttyent.  Call __setttyent instead of setttyent.  Call
1862         __fgets_unlocked instead of fgets_unlocked.
1863         (setttyent): Rename to __setttyent and define as weak alias of
1864         __setttyent.
1865         (endttyent): Rename to __endttyent and define as weak alias of
1866         __endttyent.
1867         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1868         (__setttyent): Likewise.
1869         (__endttyent): Likewise.
1870         (getttyent): Don't use libc_hidden_proto.
1871         (setttyent): Likewise.
1872         (endttyent): Likewise.
1873         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1874         __endttyent instead of setttyent, getttyent and endttyent.
1875         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1876         Remove variable.
1878         [BZ #18546]
1879         * socket/recv.c (__recv): Use libc_hidden_def.
1880         * socket/socket.c (__socket): Likewise.
1881         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1882         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1883         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1884         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1885         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1886         libc_hidden_def.
1887         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1888         libc_hidden_weak.
1889         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1890         Use libc_hidden_proto.
1891         (__recv): Likewise.
1892         * socket/Versions (libc): Export __recv and __socket at version
1893         GLIBC_PRIVATE.
1894         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1895         instead of recv.
1896         (init_mq_netlink): Call __socket instead of socket.
1897         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1898         Remove variable.
1900         [BZ #18545]
1901         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1902         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1903         hidden_weak.
1904         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1905         define as alias of __mq_timedsend.  Use hidden_weak.
1906         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1907         __mq_timedsend as strong name.
1908         (mq_timedreceive): Use __mq_timedreceive as strong name.
1909         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1910         (__mq_timedreceive): Likewise.
1911         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1912         __mq_timedreceive instead of mq_timedreceive.
1913         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1914         instead of mq_timedsend.
1915         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1916         Remove variable.
1918         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1919         hidden_def and hidden_weak instead of libc_hidden_def and
1920         libc_hidden_weak.
1921         (top level): Refer to hidden_def in comment.
1922         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1923         macro.  Use it instead of libc_hidden_def.
1924         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1925         specify __GI_* name explicitly.
1926         (mq_timedreceive): Likewise.
1927         (mq_setattr): Likewise.
1929         [BZ #18544]
1930         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1931         __pthread_barrier_init and define as weak alias of
1932         __pthread_barrier_init.
1933         * sysdeps/sparc/nptl/pthread_barrier_init.c
1934         (pthread_barrier_init): Likewise.
1935         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1936         __pthread_barrier_wait and define as weak alias of
1937         __pthread_barrier_wait.
1938         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1939         (pthread_barrier_wait): Likewise.
1940         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1941         (pthread_barrier_wait): Likewise.
1942         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1943         (pthread_barrier_wait): Likewise.
1944         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1945         (pthread_barrier_wait): Likewise.
1946         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1947         __pthread_barrier_wait at version GLIBC_PRIVATE.
1948         * include/pthread.h (__pthread_barrier_init): Declare.
1949         (__pthread_barrier_wait): Likewise.
1950         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1951         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1952         (helper_thread): Likewise.
1953         (init_mq_netlink): Call __pthread_barrier_init instead of
1954         pthread_barrier_init.
1956         [BZ #18542]
1957         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1958         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1959         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1960         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1961         vswscanf.
1962         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1963         Remove variable.
1965         [BZ #18540]
1966         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1967         strong alias of _IO_fflush.  Use libc_hidden_def.
1968         * libio/iofflush_u.c (fflush_unlocked): Rename to
1969         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1970         Use libc_hidden_weak.
1971         * include/stdio.h (__fflush_unlocked): Declare.  Use
1972         libc_hidden_proto.
1973         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1974         fflush_unlocked.
1975         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1976         Remove variable.
1978         [BZ #18539]
1979         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1980         define as weak alias of __addseverity.
1981         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1982         Remove variable.
1983         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1984         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1985         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1987         [BZ #18536]
1988         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1989         (__tfind): Likewise.
1990         (__tdelete): Likewise.
1991         (__twalk): Likewise.
1992         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1993         __twalk to GLIBC_PRIVATE.
1994         * include/search.h (__tsearch): Use libc_hidden_proto.
1995         (__tfind): Likewise.
1996         (__tdelete): Likewise.
1997         (__twalk): Likewise.
1998         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1999         Call __tdelete instead of tdelete.
2000         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2001         tfind.  Call __tsearch instead of tsearch.
2002         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2003         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2004         Remove variable.
2005         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2007         [BZ #18534]
2008         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2009         (dprintf): Define as a weak alias of __dprintf, not a strong
2010         alias.
2011         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2012         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2013         dprintf.
2014         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2015         Remove variable.
2016         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2017         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2019         [BZ #18533]
2020         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2021         not a strong alias.
2022         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2023         Remove variable.
2025         [BZ #18532]
2026         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2027         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2028         (in6addr_loopback): Rename to __in6addr_loopback and define as
2029         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2030         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2031         libc_hidden_proto.
2032         (__in6addr_any): Likewise.
2033         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2034         in6addr_any.
2035         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2036         variable.
2037         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2039 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2041         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2042         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2043         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2044         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2045         redirections for pow.
2046         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2047         * sysdeps/x86_64/fpu/Versions: New versions added.
2048         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2049         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2050         build of SSE, AVX2 and AVX512 IFUNC versions.
2051         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2052         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2053         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2054         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2055         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2056         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2057         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2058         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2059         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2060         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2061         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2062         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2063         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2064         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2065         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2066         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2067         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2068         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2069         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2070         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2071         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2072         * NEWS: Mention addition of x86_64 vector pow.
2074         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2075         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2076         redirections for expf.
2077         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2078         * sysdeps/x86_64/fpu/Versions: New versions added.
2079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2080         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2081         build of SSE, AVX2 and AVX512 IFUNC versions.
2082         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2083         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2084         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2085         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2086         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2087         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2088         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2089         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2090         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2091         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2092         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2093         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2094         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2095         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2096         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2097         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2098         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2099         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2100         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2101         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2102         * NEWS: Mention addition of x86_64 vector expf.
2104         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2105         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2106         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2107         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2108         redirections for exp.
2109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2110         * sysdeps/x86_64/fpu/Versions: New versions added.
2111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2112         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2113         build of SSE, AVX2 and AVX512 IFUNC versions.
2114         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2115         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2116         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2117         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2118         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2119         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2120         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2121         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2122         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2123         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2124         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2125         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2126         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2127         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2128         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2129         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2130         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2131         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2132         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2133         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2134         * NEWS: Mention addition of x86_64 vector exp.
2136         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2137         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2138         redirections for logf.
2139         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2140         * sysdeps/x86_64/fpu/Versions: New versions added.
2141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2142         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2143         build of SSE, AVX2 and AVX512 IFUNC versions.
2144         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2145         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2146         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2147         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2148         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2149         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2150         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2151         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2152         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2153         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2154         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2155         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2156         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2157         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2158         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2159         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2160         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2162         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2163         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2164         * NEWS: Mention addition of x86_64 vector logf.
2166         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2167         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2168         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2169         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2170         redirections for log.
2171         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2172         * sysdeps/x86_64/fpu/Versions: New versions added.
2173         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2174         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2175         build of SSE, AVX2 and AVX512 IFUNC versions.
2176         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2177         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2178         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2179         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2180         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2181         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2182         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2183         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2184         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2185         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2186         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2187         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2188         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2189         test.
2190         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2193         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2194         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2195         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2196         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2197         * NEWS: Mention addition of x86_64 vector log.
2199 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2201         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2202         cfi_adjust_cfa_offset argument.
2203         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2204         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2206         [BZ #18034]
2207         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2208         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2209         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2210         ordering using ldar.
2211         (_dl_tlsdesc_dynamic): Likewise.
2212         (_dl_tlsdesc_return_lazy): Likewise.
2213         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2214         relaxed atomics instead of volatile and synchronize with release store.
2215         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2216         volatile.
2217         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2219 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2221         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2222         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2223         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2224         * sysdeps/x86_64/fpu/Versions: New versions added.
2225         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2226         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2227         build of SSE, AVX2 and AVX512 IFUNC versions.
2228         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2229         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2230         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2231         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2232         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2233         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2234         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2235         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2236         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2237         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2238         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2239         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2240         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2241         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2242         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2243         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2244         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2245         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2246         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2247         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2248         * NEWS: Mention addition of x86_64 vector sinf.
2250 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2252         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2253         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2254         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2255         Remove variable.
2256         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2257         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2259 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2261         [BZ #18530]
2262         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2263         strong alias of _IO_fputs.  Use libc_hidden_def.
2264         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2265         and define as weak alias of __fputs_unlocked.  Use
2266         libc_hidden_weak.
2267         * include/stdio.h (__fputs_unlocked): Declare.  Use
2268         libc_hidden_proto.
2269         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2270         fputs_unlocked.
2272         [BZ #18529]
2273         * resolv/netdb.h [__USE_POSIX]: Change condition to
2274         [__USE_XOPEN2K].
2275         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2276         not expect.
2277         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2278         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2279         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2280         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2281         [XPG4 || UNIX98] (AI_ALL): Likewise.
2282         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2283         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2284         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2285         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2286         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2287         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2288         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2289         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2290         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2291         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2292         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2293         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2294         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2295         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2296         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2297         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2298         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2299         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2300         [XPG4 || UNIX98] (gai_strerror): Likewise.
2301         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2302         [XPG4 || UNIX98] (getnameinfo): Likewise.
2304         [BZ #18528]
2305         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2306         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2307         __USE_XOPEN2K8].
2308         (getgrent): Likewise.
2309         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2310         expect.
2311         [XPG3 || POSIX2008] (endgrent): Likewise.
2312         [XPG3] (setgrent): Likewise.
2313         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2314         variable.
2315         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2317         [BZ #18527]
2318         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2319         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2320         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2321         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2322         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2323         * include/unistd.h (__getlogin_r): Declare.  Use
2324         libc_hidden_proto.
2325         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2326         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2327         variable.
2328         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2329         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2330         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2332 2015-06-12  Martin Sebor  <msebor@redhat.com>
2334         [BZ #18512]
2335         * Makerules (check-install-supported): New target.
2336         (install): Add check-install-supported as a dependency.
2337         * manual/install.texi (Installing the C Library): Document
2338         that overriding prefix and exec_prefix is not supported.
2339         Mention DESTDIR.
2340         * INSTALL: Regenerate from the above.
2342 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2344         [BZ #18519]
2345         * posix/Versions (libc): Export __libc_pread at version
2346         GLIBC_PRIVATE.
2347         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2348         instead of pread.
2349         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2350         variable.
2352         [BZ #18522]
2353         * misc/efgcvt_r.c
2354         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2355         (cvt_symbol): Use weak_alias instead of strong_alias.
2356         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2357         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2358         Remove variable.
2359         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2360         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2362         [BZ #18520]
2363         * inet/herrno.c (h_errno): Rename to __h_errno.
2364         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2365         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2366         to __h_errno instead of h_errno.
2367         * nptl/herrno.c (h_errno): Rename to __h_errno.
2368         (__h_errno_location): Refer to __h_errno not h_errno.
2369         * resolv/Versions (h_errno): Rename to __h_errno.
2370         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2371         Remove variable.
2372         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2374 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2376         * configure.ac: More strict check for AVX512 assembler support.
2377         * configure: Regenerated.
2379         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2380         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2381         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2382         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2383         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2384         * sysdeps/x86_64/fpu/Versions: New versions added.
2385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2386         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2387         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2388         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2389         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2390         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2391         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2392         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2393         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2394         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2395         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2396         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2397         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2398         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2399         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2400         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2401         test.
2402         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2403         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2404         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2405         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2406         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2407         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2408         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2409         * NEWS: Mention addition of x86_64 vector sin.
2411 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2413         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2414         comment.
2416 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2418         [BZ #18479]
2419         * nptl/pt-interp.c: New file.
2420         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2421         Add pt-interp.
2422         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2423         $(common-objpfx)runtime-linker.h.
2425 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2427         * Makeconfig (+interp): Remove unused variable.
2428         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2429         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2430         $(elf-objpfx)runtime-linker.h.
2431         ($(elf-objpfx)runtime-linker.h): Rename to
2432         $(common-objpfx)runtime-linker.h and move ...
2433         * Makerules [$(build-shared) = yes]: ... here.
2434         * elf/interp.c: Include <runtime-linker.h> instead of
2435         <elf/runtime-linker.h>.
2437 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2439         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2440         (__gettimeofday_syscall): Remove vsyscall fallback.
2441         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2442         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2443         Add syscall fallback function.
2444         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2445         if vDSO is not present.
2446         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2447         fallback function.
2448         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2449         present.
2450         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2451         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2453 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2455         [BZ #18497]
2456         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2457         of wcscmp.
2458         (wcscmp): Define as weak alias of WCSCMP.
2459         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2460         wcscoll.
2461         (USE_HIDDEN_DEF): Define.
2462         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2463         __wcscoll.  Don't use libc_hidden_weak.
2464         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2465         wcscmp.
2466         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2467         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2468         __GI_wcscmp.
2469         (weak_alias): Undefine and redefine.
2470         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2471         __wcscmp and define as weak alias of __wcscmp.
2472         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2473         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2474         (__wcscoll): Likewise.
2475         (wcscmp): Don't use libc_hidden_proto.
2476         (wcscoll): Likewise.
2477         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2478         wcscoll.
2479         * posix/regexec.c (check_node_accept_bytes): Likewise.
2480         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2481         variable.
2482         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2483         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2485         [BZ #18507]
2486         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2487         __fstatvfs and define as weak alias of __fstatvfs.  Use
2488         libc_hidden_weak.
2489         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2490         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2491         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2492         Define as alias of __fstatvfs, not fstatvfs.
2493         (fstatvfs64): Likewise.
2494         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2495         Define as alias of __statvfs, not statvfs.
2496         (statvfs64): Likewise.
2497         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2498         Remove variable.
2500 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2503         (HAVE_GETCPU_VSYSCALL): Define.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2505         (HAVE_GETCPU_VSYSCALL): Likewise.
2506         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2507         * sysdeps/unix/sysv/linux/sched_getcpu.c
2508         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2509         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2510         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2511         prototype.
2512         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2513         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2514         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2516         Define.
2517         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2518         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2519         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2520         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2522 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2524         * sysdeps/x86_64/fpu/Makefile: New file.
2525         * sysdeps/x86_64/fpu/Versions: New file.
2526         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2527         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2528         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2529         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2530         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2531         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2532         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2533         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2534         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2535         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2536         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2537         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2538         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2540         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2541         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2542         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2543         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2544         * sysdeps/x86_64/configure: Regenerated.
2545         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2546         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2547         * manual/install.texi (Configuring and compiling): Document
2548         --disable-mathvec.
2549         * INSTALL: Regenerated.
2550         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2552         * math/Makefile: Added rules for vector tests.
2553         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2554         declaration under condition.
2555         * math/test-double-vlen2.h: New file.
2556         * math/test-double-vlen4.h: New file.
2557         * math/test-double-vlen8.h: New file.
2558         * math/test-vec-loop.h: Added initialization macro.
2559         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2560         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2561         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2562         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2563         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2564         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2565         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2566         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2567         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2568         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2569         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2571         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2572         * sysdeps/x86_64/fpu/Versions: New versions added.
2573         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2574         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2575         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2576         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2577         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2578         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2580         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2581         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2582         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2583         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2584         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2585         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2586         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2587         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2588         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2589         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2590         * NEWS: Mention addition of x86_64 vector cosf.
2592         * math/Makefile: Added CFLAGS for new tests.
2593         * math/test-float-vlen16.h: New file.
2594         * math/test-float-vlen4.h: New file.
2595         * math/test-float-vlen8.h: New file.
2596         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2597         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2598         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2599         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2600         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2601         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2602         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2603         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2604         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2605         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2606         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2608 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2610         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2611         * locale/programs/ld-ctype.c: Likewise.
2613 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2615         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2616         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2617         bit_ZMM16_31_state): New macro.
2618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2619         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2621 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2623         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2625 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2627         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2629 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2631         [BZ #18498]
2632         * libio/memstream.c (open_memstream): Rename to __open_memstream
2633         and define as weak alias of __open_memstream.
2634         * include/stdio.h (__open_memstream): Declare.  Use
2635         libc_hidden_proto.
2636         (open_memstream): Don't use libc_hidden_proto.
2637         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2638         open_memstream.
2639         * posix/getopt.c (_getopt_internal_r): Likewise.
2640         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2641         variable.
2642         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2643         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2644         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2646         [BZ #18496]
2647         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2648         instead of wcrtomb.
2650         [BZ #18483]
2651         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2652         [__USE_XOPEN2K8].  Remove redundant #endif.
2653         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2654         Remove redundant #if.
2655         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2656         Remove variable.
2657         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2658         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2660         [BZ #18495]
2661         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2662         (__iswlower): Likewise.
2663         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2664         (__iswlower): Likewise.
2665         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2666         instead of towlower.
2667         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2668         instead of iswlower.  Call __towupper instead of towupper.
2669         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2670         instead of iswalnum.
2672 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2674         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2675         errors to stderr.
2677 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2679         [BZ #15661]
2680         [BZ #17322]
2681         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2682         Check for overflow properly.  Check for O_APPEND.  Ignore large
2683         file system block sizes.  Add comments about problems.
2684         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2685         * manual/filesys.texi (Storage Allocation): New node.
2687 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2689         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2690         cancellable syscalls.
2691         (SYS_ify): Add guard to no redefine it.
2692         (INLINE_SYSCALL): Likewise.
2693         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2694         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2695         SYSCALL_CANCEL instead.
2696         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2697         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2698         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2699         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2700         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2701         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2702         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2703         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2704         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2705         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2706         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2707         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2708         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2709         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2710         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2711         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2712         Likewise.
2713         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2714         (__libc_pread64): Likewise.
2715         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2716         (__libc_preadv): Likewise.
2717         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2718         (__libc_readv64): Likewise.
2719         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2720         (__libc_pwrite): Likewise.
2721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2722         (__libc_pwrite64): Likewise.
2723         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2724         (__libc_pwritev): Likewise.
2725         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2726         (__libc_pwritev64): Likewise.
2727         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2728         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2729         (sync_file_range): Likewise.
2730         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2731         Likewise.
2732         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2735         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2736         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2737         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2738         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2739         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2740         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2741         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2743         Likewise.
2744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2745         (__libc_read64): Likewise.
2746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2747         Likewise.
2748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2749         Likewise.
2750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2751         Likewise.
2752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2753         Likewise.
2754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2755         (__libc_pread64): Likewise.
2756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2757         Likewise.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2759         (__libc_pwrite64): Likewise.
2760         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2761         (sync_file_range): Likewise.
2762         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2763         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2764         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2765         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2766         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2767         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2768         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2769         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2770         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2771         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2772         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2773         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2774         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2775         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2776         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2777         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2778         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2779         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2780         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2781         Likewise.
2782         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2783         Likewise.
2784         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2785         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2786         Likewise.
2787         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2788         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2789         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2790         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2791         Likewise.
2792         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2793         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2794         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2795         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2796         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2798 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2800         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2801         Include dl-vdso.
2802         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2803         Use VDSO routines for gettimeofday, clock_gettime if
2804         available.
2805         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2806         Declare VDSO symbols.
2807         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2808         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2809         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2810         * sysdeps/unix/sysv/linux/arm/Versions: Add
2811         __vdso_clock_gettime.
2813 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2815         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2816         be an inline implementation regardless of library is built within.
2817         (open_not_cancel_2): Likewise.
2818         (__read_nocancel): Likewise.
2819         (__write_nocancel): Likewise.
2820         (openat_not_cancel): Likewise.
2821         (openat_not_cancel_3): Likewise.
2822         (openat64_not_cancel): Likewise.
2823         (openat64_not_cancel_3): Likewise.
2824         (__close_nocancel): Likewise.
2825         (pause_not_cancel): Likewise.
2826         (nanosleep_not_cancel): Likewise.
2827         (sigsuspend_not_cancel): Likewise.
2829 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2831         [BZ #14958]
2832         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2833         wake-up.
2834         (__pthread_rwlock_rdlock_slow): Likewise.
2835         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2836         Likewise.
2837         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2838         Likewise.
2839         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2840         * nptl/tst-rwlock16.c: New file.
2841         * nptl/Makefile (tests): Add new test.
2843 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2845         [BZ #18324]
2846         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2847         missing wake-up of readers.
2848         * nptl/tst-rwlock15.c: New file.
2849         * nptl/Makefile (tests): Add new test.
2851 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2853         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2854         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2855         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2856         and __nacl_supply_interface_rtld.
2857         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2858         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2859         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2860         Add __nacl_supply_interface_rtld.
2861         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2863 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2865         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2866         isfinite.
2867         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2868         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2870 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2872         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2873         __signbit* with standard C99 macros.
2874         * math/e_exp10l.c: Likewise.
2875         * math/e_exp2l.c: Likewise.
2876         * math/e_scalb.c: Likewise.
2877         * math/e_scalbf.c: Likewise.
2878         * math/e_scalbl.c: Likewise.
2879         * math/s_ldexp.c: Likewise.
2880         * math/s_ldexpf.c: Likewise.
2881         * math/s_ldexpl.c: Likewise.
2882         * math/w_atan2.c: Likewise.
2883         * math/w_atan2f.c: Likewise.
2884         * math/w_atan2l.c: Likewise.
2885         * math/w_cosh.c: Likewise.
2886         * math/w_coshf.c: Likewise.
2887         * math/w_coshl.c: Likewise.
2888         * math/w_exp10.c: Likewise.
2889         * math/w_exp10f.c: Likewise.
2890         * math/w_exp10l.c: Likewise.
2891         * math/w_exp2.c: Likewise.
2892         * math/w_exp2f.c: Likewise.
2893         * math/w_exp2l.c: Likewise.
2894         * math/w_fmod.c: Likewise.
2895         * math/w_fmodf.c: Likewise.
2896         * math/w_fmodl.c: Likewise.
2897         * math/w_hypot.c: Likewise.
2898         * math/w_hypotf.c: Likewise.
2899         * math/w_hypotl.c: Likewise.
2900         * math/w_jnl.c: Likewise.
2901         * math/w_lgamma.c: Likewise.
2902         * math/w_lgamma_r.c: Likewise.
2903         * math/w_lgammaf.c: Likewise.
2904         * math/w_lgammaf_r.c: Likewise.
2905         * math/w_lgammal.c: Likewise.
2906         * math/w_lgammal_r.c: Likewise.
2907         * math/w_pow.c: Likewise.
2908         * math/w_powf.c: Likewise.
2909         * math/w_powl.c: Likewise.
2910         * math/w_remainder.c: Likewise.
2911         * math/w_remainderf.c: Likewise.
2912         * math/w_remainderl.c: Likewise.
2913         * math/w_scalb.c: Likewise.
2914         * math/w_scalbf.c: Likewise.
2915         * math/w_scalbl.c: Likewise.
2916         * math/w_scalbln.c: Likewise.
2917         * math/w_scalblnf.c: Likewise.
2918         * math/w_scalblnl.c: Likewise.
2919         * math/w_sinh.c: Likewise.
2920         * math/w_sinhf.c: Likewise.
2921         * math/w_sinhl.c: Likewise.
2922         * math/w_tgamma.c: Likewise.
2923         * math/w_tgammaf.c: Likewise.
2924         * math/w_tgammal.c: Likewise.
2925         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2926         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2927         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2928         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2929         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2931         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2932         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2933         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2934         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2935         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2937         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2939         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2940         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2942         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2943         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2944         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2946         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2947         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2949         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2950         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2951         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2952         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2953         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2954         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2955         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2956         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2957         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2958         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2959         * stdio-common/printf_fp.c: Likewise.
2960         * stdio-common/printf_fphex.c: Likewise.
2961         * stdio-common/printf_size.c: Likewise.
2963 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2965         [BZ #18470]
2966         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2967         strnlen.
2968         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2969         Remove variable.
2970         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2971         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2972         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2973         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2974         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2975         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2976         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2977         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2978         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2979         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2981         [BZ #18468]
2982         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2983         weak alias of __wmemchr.  Use libc_hidden_weak.
2984         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2985         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2986         instead of wmemchr.
2988 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2990         [BZ #18383]
2991         * elf/tst-tlsalign-extern.c: New file.
2992         * elf/tst-tlsalign-extern-static.c: New file.
2993         * elf/tst-tlsalign-vars.c: New file.
2994         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2995         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2996         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2997         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2998         (test-xfail-tst-tlsalign-extern-static): New variable.
3000 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3002         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3003         Use variable name _sc_err instead of err.
3004         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3005         instead of ret.
3006         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3007         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3008         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3009         (INLINE_SYSCALL): Likewise.
3011         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3012         * include/string.h (__strnlen): Use libc_hidden_proto.
3013         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3014         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3015         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3016         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3017         (libc_hidden_def): Undefine and redefine.
3018         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3019         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3020         __GI_strnlen.
3021         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3022         libc_hidden_def.
3023         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3025         [BZ #18469]
3026         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3027         weak alias of __towlower.  Use libc_hidden_weak.
3028         (towupper): Rename to __towupper and define as weak alias of
3029         __towupper.  Use libc_hidden_weak.
3030         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3031         (__towupper): Likewise.
3032         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3033         __towlower instead of towlower.
3035 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3037         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3038         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3040 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3042         * sysdeps/aarch64/libm-test-ulps: Update.
3044 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3046         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3047         Define.
3048         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3050         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3051         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3052         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3053         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3054         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3056 2015-06-01  Martin Sebor  <msebor@redhat.com>
3058         [BZ #18116]
3059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3060         (__setcontext): Use extended four-operand version of mtsf whenever
3061         possible.
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3063         (__novec_swapcontext): Likewise.
3065 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3067         * benchtests/scripts/compare_bench.py: New file.
3068         * benchtests/scripts/import_bench.py (mean): New function.
3069         (split_list): Likewise.
3070         (do_for_all_timings): Likewise.
3071         (compress_timings): Likewise.
3073         * benchtests/scripts/import_bench.py: New file.
3074         * benchtests/scripts/validate_benchout.py: Import import_bench
3075         instead of jsonschema.
3076         (validate_bench): Remove function.
3077         (main): Use import_bench.
3079 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3081         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3082         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3084 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3088 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3090         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3091         set THREAD_SELF->tid to a magic value and futex-wake it.
3092         Pass its address to the thread_exit system call.
3093         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3094         bit is clear.
3095         * sysdeps/nacl/lowlevellock.h: New file.
3096         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3098         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3099         Add TIMEOUT to current time, don't subtract it.
3101 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3103         [BZ #2981]
3104         [BZ #18422]
3105         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3106         ($(objpfx)tst-audit2.out): Also depend on
3107         $(objpfx)tst-auditmod9b.so.
3108         * elf/tst-audit2.c: Include <dlfcn.h>.
3109         (calloc_called): New.
3110         (calloc): Allow to be called more than once.
3111         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3113 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3115         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3116         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3118 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3120         * stdlib/monetary.h: Fix comment.
3122 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3124         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3125         Avoid using variables in #defines that might cause shadowing.
3126         (INTERNAL_VSYSCALL_CALL): Likewise.
3128 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3130         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3132         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3133         * nptl/lll_timedlock_wait.c: ... to this new file.
3134         * nptl/Makefile (libpthread-routines): Add it.
3135         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3136         * nptl/lll_timedwait_tid.c: ... to this new file.
3137         * nptl/Makefile (libpthread-routines): Add it.
3138         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3139         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3140         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3141         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3142         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3143         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3144         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3145         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3146         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3147         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3149 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3151         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3152         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3153         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3155         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3157         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3159         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3160         * sysdeps/unix/sysv/linux/tile/sysdep.h
3161         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3162         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3163         using vDSO syscall macro.
3165 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3167         [BZ #17293]
3168         * uk_UA: Fix sorting order for Ukrainian locale
3170 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3172         * stdlib/monetary.h: Fix comment.
3174 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3176         [BZ #18234]
3177         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3178         st_mtim and st_ctim members.
3179         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3180         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3181         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3182         (struct stat64): Likewise.
3183         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3184         (struct stat64): Likewise.
3185         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3186         (struct stat64): Likewise.
3188 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3190         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3191         Define and include sysdep-vdso.h.
3192         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3193         Likewise.
3194         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3195         Likewise.
3196         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3197         Define with VDSO_SYMBOL and use PTR_MANGLE.
3198         (__vdso_clock_gettime): Likewise.
3199         (__vdso_clock_getres): Likewise.
3200         (_libc_vdso_platform_setup): Likewise.
3201         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3202         Likewise.
3203         (_libc_vdso_platform_setup): Likewise.
3204         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3205         Likewise.
3206         (__vdso_clock_gettime): Likewise.
3207         (__vdso_clock_getres): Likewise.
3208         (__vdso_get_tbfreq): Likewise.
3209         (__vdso_getcpu): Likewise.
3210         (__vdso_time): Likewise.
3211         (__vdso_sigtramp_rt64): Likewise.
3212         (__vdso_signtramp32): Likewise.
3213         (__vdso_sigtramp_rt32): Likewise.
3214         (_libc_vdso_platform_setup): Likewise.
3215         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3216         Likewise.
3217         (__vdso_clock_gettime): Likewise.
3218         (__vdso_clock_getres): Likewise.
3219         (_libc_vdso_platform_setup): Likewise.
3220         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3221         Likewise.
3222         (__vdso_clock_gettime): Likewise.
3223         (_libc_vdso_platform_setup): Likewise.
3224         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3225         Likewise.
3226         (__vdso_getcpu): Likewise.
3227         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3228         Use VDSO_SYMBOL macro to define.
3229         (__vdso_clock_gettime): Likewise.
3230         (__vdso_clock_getres): Likewise.
3231         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3232         Likewise.
3233         (__vdso_clock_gettime): Likewise.
3234         (__vdso_clock_getres): Likewise.
3235         (__vdso_get_tbfreq): Likewise.
3236         (__vdso_getcpu): Likewise.
3237         (__vdso_time): Likewise.
3238         (__vdso_sigtramp_rt64): Likewise.
3239         (__vdso_signtramp32): Likewise.
3240         (__vdso_sigtramp_rt32): Likewise.
3241         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3242         Likewise.
3243         (__vdso_clock_gettime): Likewise.
3244         (__vdso_clock_getres): Likewise.
3245         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3246         Likewise.
3247         (__vdso_clock_gettime): Likewise.
3248         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3249         Likewise.
3250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3251         macro.
3252         (INTERNAL_VSYSCALL): Likewise.
3253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3254         Remove macro.
3255         (INTERNAL_VSYSCALL): Likewise.
3256         (INTERNAL_VSYSCALL_NCS): Likewise.
3257         (INTERNAL_VSYSCALL_CALL): New macro.
3258         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3260         Likewise.
3261         (INTERNAL_VSYSCALL): Likewise.
3262         (INTERNAL_VSYSCALL_NCS): Likewise.
3263         (INTERNAL_VSYSCALL_CALL): New macro.
3264         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3266         (INLINE_VSYSCALL): Remove macro.
3267         (INTERNAL_VSYSCALL): Remove macro.
3268         (INTERNAL_VSYSCALL_NCS): Remove macro.
3269         (INTERNAL_VSYSCALL_CALL): New macro.
3270         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3271         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3272         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3273         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3274         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3276         (INLINE_VSYSCALL): Remove macro.
3277         (INTERNAL_VSYSCALL): Likewise.
3278         (INTERNAL_VSYSCALL_NCS): Likewise.
3279         (INTERNAL_VSYSCALL_CALL): New macro.
3280         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3281         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3282         PTR_DEMANGLE on vDSO pointer.
3283         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3284         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3285         macro.
3286         (INTERNAL_SYSCALL): Likewise.
3287         (INTERNAL_VSYSCALL_NCS): Remove macro.
3288         (INTERNAL_VSYSCALL_CALL): New macro.
3289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3290         Remove macro.
3291         (INTERNAL_VSYSCALL): Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3293         sysdep-vdso.h instead of libc-vdso.h.
3294         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3295         definition.
3296         (INLINE_VSYSCALL): Likewise.
3297         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3298         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3299         definition.
3300         (INLINE_VSYSCALL): Likewise.
3301         (INTERNAL_VSYSCALL): Likewise.
3302         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3303         * sysdeps/unix/sysv/linux/timespec_get.c
3304         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3305         (timespec_get): Use ANSI prototype.
3306         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3307         and definition for Linux.
3309 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3311         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3312         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3314 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3316         [BZ #2981]
3317         [BZ #18410]
3318         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3319         for missing DT_PLTRELSZ.
3321 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3323         Remove obsolete aliases that broke 'locale -a'
3324         [BZ #18412]
3325         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3326         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3327         breaking some applications that use 'locale -a' output.
3328         Change the encoding of this file from Latin-1 to ASCII to avoid
3329         other potential problems with people grepping this file.
3331 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3333         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3334         -fasynchronous-unwind-tables.
3335         (CFLAGS-sendto.c): Likewise.
3336         (CFLAGS-sendmsg.c): Likewise.
3337         (CFLAGS-connect.c): Likewise.
3338         (CFLAGS-recvmsg.c): Likewise.
3339         (CFLAGS-recvfrom.c): Likewise.
3340         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3341         (SOCKETCALL): New macro: non-cancellable socketcall.
3342         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3343         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3344         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3345         * sysdeps/unix/sysv/linux/accept.c: New file.
3346         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3347         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3348         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3349         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3350         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3351         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3352         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3353         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3354         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3355         * sysdeps/unix/sysv/linux/send.c: Likewise.
3356         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3357         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3358         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3359         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3360         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3361         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3362         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3363         prototype.
3364         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3365         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3366         instead of __internal_xxx function.
3367         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3368         prototype.
3369         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3370         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3371         instead of __internal_xxx function.
3372         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3373         prototype.
3374         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3375         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3376         instead of __internal_xxx function.
3377         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3378         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3379         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3380         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3381         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3382         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3383         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3384         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3385         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3386         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3387         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3388         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3389         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3390         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3391         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3392         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3393         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3394         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3395         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3396         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3399         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3400         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3401         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3402         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3403         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3404         * sysdeps/unix/sysv/linux/send.S: Likewise.
3405         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3406         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3407         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3408         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3409         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3410         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3411         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3412         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3413         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3414         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3415         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3416         socketcall is implemented in GLIBC.
3418 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3420         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3421         (__fma): Ignore uninitialized warnings around packing.
3422         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3423         (__fmaf): Ignore uninitialized warnings around packing.
3424         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3425         (__fmal): Ignore uninitialized warnings around packing.
3427         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3428         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3429         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3430         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3432         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3433         switch statement into default case.
3434         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3436         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3437         a conditional in forcing "inexact".
3438         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3439         Likewise.
3441 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3443         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3444         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3445         for each INTERNAL_SYSCALL use.
3447 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3449         [BZ #438]
3450         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3451         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3452         variable.
3454         [BZ #18444]
3455         * string/basename.c (basename): Rename to __basename and define as
3456         weak alias of __basename.  Use libc_hidden_weak.
3457         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3458         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3459         __basename instead of basename.
3460         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3461         Remove variable.
3462         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3464 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3466         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3467         (_IO_JUMPS_FILE_plus): New.
3468         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3469         _IO_CAST_FIELD_ACCESS.
3470         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3471         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3472         * libio/freopen.c (freopen): Likewise.
3473         * libio/freopen64.c (freopen64): Likewise.
3474         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3475         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3476         * libio/iofwide.c (_IO_fwide): Likewise.
3477         * libio/memstream.c (open_memstream): Likewise.
3478         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3479         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3480         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3482 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3484         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3485         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3486         NADJ.
3487         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3488         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3489         NADJ.
3490         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3491         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3492         NADJ.
3494         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3495         (p == 4) case.
3497         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3498         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3499         Remove variable.
3500         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3501         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3502         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3504 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3506         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3507         Adjust jump table label generation macros.
3509 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3511         * stdio-common/vfprintf.c (vfprintf): Move local variables
3512         args_malloced, specs, specs_malloced, and the code after
3513         do_positional to the printf_positional function.
3514         (printf_positional): New function.
3516 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3518         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3519         function.
3520         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3521         STEP4_TABLE, process_arg): Move macro definitions
3522         out of the vfprintf function.  (Cosmetic change only.)
3524 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3526         * benchtests/Makefile (stdio-common-bench): Define.
3527         (benchset): Add stdio-common-bench.
3528         * sprintf-inputs: New file.
3529         * sprintf-source.c: New file.
3531 2015-05-21  Andreas Schwab  <schwab@suse.de>
3533         [BZ #13028]
3534         [BZ #17053]
3535         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3536         of struct __res_state.
3537         * resolv/res_send.c (__libc_res_nsend): Likewise.
3538         (get_nsaddr): New function.
3539         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3540         statp directly.
3542 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3544         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3545         -D_POSIX_C_SOURCE=199506L.
3547         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3549         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3550         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3551         Do not mention otherwise.
3552         [POSIX] (_XOPEN_VERSION): Do not expect.
3553         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3554         [POSIX] (_POSIX2_C_BIND): Likewise.
3555         [POSIX] (_POSIX2_VERSION): Likewise.
3556         [POSIX] (_XOPEN_XPG2): Likewise.
3557         [POSIX] (_XOPEN_XPG3): Likewise.
3558         [POSIX] (_XOPEN_XPG4): Likewise.
3559         [POSIX] (_XOPEN_UNIX): Likewise.
3560         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3561         [POSIX] (_POSIX_BARRIERS): Likewise.
3562         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3563         [POSIX] (_POSIX_CPUTIME): Likewise.
3564         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3565         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3566         [POSIX] (_POSIX_SHELL): Likewise.
3567         [POSIX] (_POSIX_SPAWN): Likewise.
3568         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3569         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3570         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3571         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3572         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3573         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3574         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3575         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3576         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3577         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3578         [POSIX] (_POSIX2_PBS): Likewise.
3579         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3580         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3581         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3582         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3583         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3584         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3585         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3586         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3587         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3588         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3589         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3590         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3591         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3592         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3593         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3594         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3595         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3596         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3597         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3598         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3599         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3600         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3601         [POSIX] (_SC_2_C_BIND): Likewise.
3602         [POSIX] (_SC_2_C_VERSION): Likewise.
3603         [POSIX] (_SC_2_PBS): Likewise.
3604         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3605         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3606         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3607         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3608         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3609         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3610         [POSIX] (_SC_BARRIERS): Likewise.
3611         [POSIX] (_SC_BASE): Likewise.
3612         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3613         [POSIX] (_SC_DEVICE_IO): Likewise.
3614         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3615         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3616         [POSIX] (_SC_FD_MGMT): Likewise.
3617         [POSIX] (_SC_FIFO): Likewise.
3618         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3619         [POSIX] (_SC_FILE_LOCKING): Likewise.
3620         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3621         [POSIX] (_SC_IOV_MAX): Likewise.
3622         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3623         [POSIX] (_SC_NETWORKING): Likewise.
3624         [POSIX] (_SC_PAGE_SIZE): Likewise.
3625         [POSIX] (_SC_PASS_MAX): Likewise.
3626         [POSIX] (_SC_PIPE): Likewise.
3627         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3628         [POSIX] (_SC_REGEXP): Likewise.
3629         [POSIX] (_SC_SHELL): Likewise.
3630         [POSIX] (_SC_SIGNALS): Likewise.
3631         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3632         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3633         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3634         [POSIX] (_SC_USER_GROUPS): Likewise.
3635         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3636         [POSIX] (_SC_STREAMS): Likewise.
3637         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3638         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3639         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3640         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3641         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3642         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3643         [POSIX] (_PC_FILESIZEBITS): Likewise.
3644         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3645         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3646         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3647         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3648         [POSIX] (uid_t): Likewise.
3649         [POSIX] (gid_t): Likewise.
3650         [POSIX] (off_t): Likewise.
3651         [POSIX] (pid_t): Likewise.
3652         [POSIX] (cuserid): Allow.
3653         (_SC_2_CHAR_TERM): Require constant.
3654         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3655         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3656         variable.
3658 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3660         * sysdeps/nacl/pthread-pids.h: New file.
3661         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3662         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3664         * nptl/pthread-pids.h: New file.
3665         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3666         * nptl/nptl-init.c: Include <pthread-pids.h>.
3667         (__pthread_initialize_minimal_internal):
3668         Call __pthread_initialize_pids instead of set_tid_address syscall.
3670         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3671         * sysdeps/posix/usleep.c: ... here.
3673 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3675         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3676         call_pselect6 object.
3677         [$(subdir) = io]: Remove call_sync_file_range object.
3678         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3679         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3680         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3681         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3683 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3685         * math/s_cproj.c: Add include "math_private.h".
3686         * math/s_cprojf.c: Likewise.
3687         * math/s_cprojl.c: Likewise.
3689 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3691         [BZ #18244]
3692         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3693         high mantissa bit when testing whether P is a NaN.
3694         * math/libm-test.inc (remainder_test_data): Add more tests.
3695         (remquo_test_data): Likewise.
3697         [BZ #18049]
3698         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3699         below -32, return the argument, with underflow if subnormal.
3700         * math/auto-libm-test-in: Add more tests of atanh.
3701         * math/auto-libm-test-out: Regenerated.
3703 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3705         [BZ #18434]
3706         * nptl/tst-sem15.c: New file.
3707         * nptl/Makefile (tests): Add it.
3708         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3709         s/<</>>/ to fix typo in EOVERFLOW check.
3710         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3712 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3714         * manual/strings.texi (envz_remove): Fix typo in safety
3715         annotations.
3717 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3718             Steve Ellcey  <sellcey@imgtec.com>
3720         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3721         in order to avoid strict alias warnings.
3722         (iruserok_af): Ditto for ra.
3724 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3726         [BZ #17581]
3727         * malloc/hooks.c
3728         (magicbyte): Convert to a function and avoid returning 0x01.
3729         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3730         (mem2chunk_check): Fix unsigned comparisons to zero.
3731         Hoist defs of sz and magic.
3733 2015-05-19  Richard Henderson  <rth@redhat.com>
3735         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3737         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3739 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3741         [BZ #16159]
3742         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3743         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3744         (reused_arena): Find a non-corrupt arena.
3745         (heap_trim): Pass arena to unlink.
3746         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3747         malloc_printerr.
3748         (top_check): Likewise.
3749         (free_check): Likewise.
3750         (realloc_check): Likewise.
3751         * malloc/malloc.c (malloc_printerr): Add arena argument.
3752         (unlink): Likewise.
3753         (munmap_chunk): Adjust.
3754         (ARENA_CORRUPTION_BIT): New macro.
3755         (arena_is_corrupt): Likewise.
3756         (set_arena_corrupt): Likewise.
3757         (sysmalloc): Use mmap if there are no usable arenas.
3758         (_int_malloc): Likewise.
3759         (__libc_malloc): Don't fail if arena_get returns NULL.
3760         (_mid_memalign): Likewise.
3761         (__libc_calloc): Likewise.
3762         (__libc_realloc): Adjust for additional argument to
3763         malloc_printerr.
3764         (_int_free): Likewise.
3765         (malloc_consolidate): Likewise.
3766         (_int_realloc): Likewise.
3767         (_int_memalign): Don't touch corrupt arenas.
3768         * malloc/tst-malloc-backtrace.c: New test case.
3770         * Makefile (summarize-tests): Fix return value on success.
3772         * manual/string.texi (Envz Functions): Add envz_remove.
3774 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3776         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3777         (invalid_name): New function, broken out of ...
3778         (__opendirat): ... here.  Call it.
3779         (need_isdir_precheck): New function, broken out of ...
3780         (__opendirat): ... here.  Call it.
3781         Use __fxstatat64, not __xstatat64.
3782         (opendir_oflags): New function, broken out of ...
3783         (__opendirat): ... here.  Call it.
3784         (opendir_tail): New function, broken out of ...
3785         (__opendirat): ... here.  Call it.
3786         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3787         opendir_tail, rather than punting to __opendirat.
3788         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3790 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3792         * .gitignore: Ignore generated *.pyc.
3794 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3796         * include/stdio.h: Define __need_wint_t.
3797         * test-skeleton.c: Avoid `for' loop initial declaration.
3798         * nptl/tst-initializers1.c: Use test-skeleton.c.
3800 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3802         [BZ #18418]
3803         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3805 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3807         [BZ #16352]
3808         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3809         (__ieee754_atanh): Force underflow exception for results with
3810         small absolute value.
3811         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3812         (__ieee754_atanhf): Force underflow exception for results with
3813         small absolute value.
3814         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3815         (__ieee754_atanh): Force underflow exception for results with
3816         small absolute value.
3817         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3818         (__ieee754_atanhf): Force underflow exception for results with
3819         small absolute value.
3820         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3821         (__ieee754_atanhl): Force underflow exception for results with
3822         small absolute value.
3823         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3824         (__ieee754_atanhl): Force underflow exception for results with
3825         small absolute value.
3826         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3827         (__ieee754_atanhl): Force underflow exception for results with
3828         small absolute value.
3829         * math/auto-libm-test-in: Do not allow missing underflow
3830         exceptions from atanh.
3831         * math/auto-libm-test-out: Regenerated.
3833         [BZ #18221]
3834         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3835         2**-28 as threshold for returning x or +/- 1/x.
3836         * math/auto-libm-test-in: Add more tests of tan.
3837         * math/auto-libm-test-out: Regenerated.
3839         [BZ #18220]
3840         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3841         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3842         * math/auto-libm-test-in: Add another test of lgamma.
3843         * math/auto-libm-test-out: Regenerated.
3845 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3847         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3848         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3849         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3850         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3851         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3852         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3853         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3854         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3856         (log1): Use fabs.  (my_log2): Use fabs.
3857         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3858         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3859         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3860         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3861         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3862         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3863         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3864         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3865         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3866         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3867         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3869 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3871         [BZ #18217]
3872         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3873         as threshold for returning 1 - x.
3874         * math/auto-libm-test-in: Add more tests of erfc.
3875         * math/auto-libm-test-out: Regenerated.
3877 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3879         [BZ #18196]
3880         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3881         threshold for large arguments.
3882         * math/auto-libm-test-in: Add another test of atan.
3883         * math/auto-libm-test-out: Regenerated.
3885         [BZ #16339]
3886         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3887         (__log1p): Force underflow exception for results with small
3888         absolute value.
3889         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3890         (__log1pf): Force underflow exception for results with small
3891         absolute value.
3892         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3893         (__log1p): Force underflow exception for results with small
3894         absolute value.
3895         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3896         (__log1pf): Force underflow exception for results with small
3897         absolute value.
3898         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3899         (__log1pl): Force underflow exception for results with small
3900         absolute value.
3901         * math/auto-libm-test-in: Do not allow missing underflow
3902         exceptions from log1p.
3903         * math/auto-libm-test-out: Regenerated.
3905 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3906             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3908         [BZ #16704]
3909         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3911 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3913         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3914         (libmvec): New variable.
3915         * configure.ac: Added option for mathvec build.
3916         * configure: Regenerated.
3917         * mathvec/Depend: New file.
3918         * mathvec/Makefile: New file.
3919         * shlib-versions: Added libmvec.
3920         * math/Makefile: Added rule for libm.so installation.
3922         * bits/math-vector.h: New file.
3923         * bits/libm-simd-decl-stubs.h: New header.
3924         * math/Makefile (headers): Added new header
3925         libm-simd-decl-stubs.h.
3926         * math/math.h (__MATHCALL_VEC): New macro.
3928         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3929         for conditions in testing functions.
3930         * math/Makefile: Added call of libm-have-vector-test.sh.
3931         * math/libm-test.inc (HAVE_VECTOR): New macros.
3933         * math/libm-test.inc: START refactored.
3934         * math/test-double.c (TEST_MATHVEC): Add define.
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         * sysdeps/generic/math-tests-arch.h
3941         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3942         architecture check.
3944         * math/test-double.c (FUNC_TEST): New macro.
3945         * math/test-float.c: Likewise.
3946         * math/test-idouble.c: Likewise.
3947         * math/test-ifloat.c: Likewise.
3948         * math/test-ildoubl.c: Likewise.
3949         * math/test-ldouble.c: Likewise.
3950         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3952 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3954         * sysdeps/nacl/fdopendir.c: New file.
3956         * dirent/scandir-tail.c: New file.
3957         * dirent/scandir64-tail.c: New file.
3958         * dirent/Makefile (routines): Add them.
3959         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3960         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3961         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3962         [!SCANDIR] (SCANDIR_TAIL): New macro.
3963         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3964         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3965         (SCANDIRAT): Macro removed.
3966         (SCANDIR_TAIL): New macro.
3967         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3968         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3969         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3970         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3971         (READDIR): Macro removed.
3972         (SCANDIR_TAIL): New macro.
3973         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3974         (SCANDIR_TAIL): New macro.
3976         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3977         * dirent/scandir-cancel.c: ... to this new file.
3978         * dirent/Makefile (routines): Add it.
3979         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3980         * sysdeps/unix/sysv/linux/i386/scandir64.c
3981         (SKIP_SCANDIR_CANCEL): Macro removed.
3982         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3984         * dirent/tst-scandir.c: New file.
3985         * dirent/tst-scandir64.c: New file.
3986         * dirent/Makefile (tests): Add them.
3988 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3990         [BZ #18409]
3991         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3993 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3995         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3996         list.
3998 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4000         * benchtests/bench-strcoll.c: New benchmark.
4001         * benchtests/Makefile: Generate locales and run benchmark.
4002         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4003         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4004         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4005         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4006         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4007         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4008         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4009         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4010         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4011         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4012         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4013         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4014         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4015         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4016         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4017         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4018         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4019         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4020         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4021         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4022         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4023         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4024         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4025         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4027 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4029         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4030         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4032 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4034         * posix/uname-values.h: New file.
4035         * posix/uname.c: Include that instead of <config-name.h>.
4036         * sysdeps/nacl/uname-values.h: New file.
4037         * sysdeps/arm/nacl/uname-values.h: New file.
4039 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4041         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4042         splitting into fields.
4044 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4046         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4047         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4048         * locale/localeinfo.h: Add enum collation_encoding_type.
4049         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4050         * programs/ld-collate.c (collate_output): Add encoding type info.
4051         * string/strcoll_l.c (STRDIFF): New function.
4052         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4053         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4055 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4057         [BZ #18397]
4058         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4059         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4060         <fpu_control.h> instead of <math/fpu_control.c>.
4061         * sysdeps/mips/mips32/fpu/Makefile: New file.
4063 2015-05-11  Andreas Schwab  <schwab@suse.de>
4065         [BZ #18007]
4066         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4067         nss_endgrent.
4068         (_nss_compat_endgrent): Call nss_endgrent.
4069         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4070         nss_endpwent.
4071         (_nss_compat_endpwent): Call nss_endpwent.
4072         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4073         needent, call nss_setspent only if non-zero.
4074         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4075         (internal_endspent): Don't call nss_endspent.
4076         (_nss_compat_endspent): Call nss_endspent.
4077         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4078         Remove.  All uses removed.
4079         (internal_setent): Remove parameter stayopen, add parameter
4080         stream.  Use it instead of global variable.
4081         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4082         (internal_endent, internal_getent): Add parameter stream.  Use it
4083         instead of global variable.
4084         (CONCAT(_nss_files_end,ENTNAME))
4085         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4086         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4087         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4088         uses removed.
4089         (internal_setent, internal_endent): Add parameter stream.  Use it
4090         instead of global variable.
4091         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4092         stream.
4093         (get_next_alias): Add parameter stream.
4094         (_nss_files_getaliasent_r): Pass global stream.
4095         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4096         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4097         (_nss_files_gethostbyname4_r): Pass local stream to
4098         internal_setent, internal_getent and internal_endent.  Remove
4099         locking.
4101 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4103         * tst-strfmon1.c (tests): Update expected currency symbol.
4105 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4107         * sysdeps/nacl/gethostname.c: New file.
4109 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4111         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4112         and sinh.
4113         * math/auto-libm-test-out: Regenerated.
4114         * sysdeps/i386/fpu/libm-test-ulps: Update.
4115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4117 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4119         [BZ #18125]
4120         * stdlib/tst-setcontext3.c: New file.
4121         * stdlib/tst-setcontext3.sh: New file.
4122         * stdlib/Makefile (tests): Add tst-setcontext3.
4123         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4124         to verify test program created output file.
4125         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4126         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4127         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4128         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4130 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4132         [BZ #18383]
4133         * elf/tst-tlsalign.c: New file.
4134         * elf/tst-tlsalign-static.c: New file.
4135         * elf/tst-tlsalign-lib.c: New file.
4136         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4137         (tests-static): Add tst-tlsalign-static.
4138         (modules-names): Add tst-tlsalign-lib.
4139         (test-xfail-tst-tlsalign): New variable.
4140         (test-xfail-tst-tlsalign-static): New variable.
4142         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4143         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4145 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4147         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4148         csqrt, erfc, sin and sincos.
4149         * math/auto-libm-test-out: Regenerated.
4150         * sysdeps/i386/fpu/libm-test-ulps: Update.
4151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4153 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4155         * sysdeps/aarch64/libm-test-ulps: Update.
4157 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4159         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4160         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4161         * math/auto-libm-test-out: Regenerated.
4162         * sysdeps/i386/fpu/libm-test-ulps: Update.
4163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4165 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4167         [BZ #18265]
4168         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4169         (wcsncpy): Likewise.
4171 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4173         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4174         Assume __ASSUME_FALLOCATE is always true.
4175         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4176         (__posix_fallocate64_l64): Likweise.
4177         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4178         (posix_fallocate): Likewise.
4179         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4180         (__posix_fallocate64_l64): Likewise.
4181         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4182         [!__ASSUME_FALLOCATE]: Add comment.
4184 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4186         * sysdeps/unix/sysv/linux/i386/Makefile
4187         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4188         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4189         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4190         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4191         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4192         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4193         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4195 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4197         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4198         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4199         tgamma.
4200         * math/auto-libm-test-out: Regenerated.
4201         * sysdeps/i386/fpu/libm-test-ulps: Update.
4202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4204 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4206         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
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 more tests of tan.
4217         * math/auto-libm-test-out: Regenerated.
4218         * sysdeps/i386/fpu/libm-test-ulps: Update.
4219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4221         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4222         * math/auto-libm-test-out: Regenerated.
4223         * sysdeps/i386/fpu/libm-test-ulps: Update.
4224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4226         * math/auto-libm-test-in: Add another test of pow.
4227         * math/auto-libm-test-out: Regenerated.
4228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4230         * math/auto-libm-test-in: Add more tests of lgamma.
4231         * math/auto-libm-test-out: Regenerated.
4232         * sysdeps/i386/fpu/libm-test-ulps: Update.
4233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4235         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4236         log1p.
4237         * math/auto-libm-test-out: Regenerated.
4238         * sysdeps/i386/fpu/libm-test-ulps: Update.
4239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4241 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4243         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4244         Elf64_Chdr structs and ELFCOMPRESS constants.
4246 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4248         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4249         expm1.
4250         * math/auto-libm-test-out: Regenerated.
4251         * sysdeps/i386/fpu/libm-test-ulps: Update.
4252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4254         * math/auto-libm-test-in: Add more tests of erf and erfc.
4255         * math/auto-libm-test-out: Regenerated.
4256         * sysdeps/i386/fpu/libm-test-ulps: Update.
4257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4259 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4261         * config.h.in (HAVE_AARCH64_BE): Add.
4263 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4265         * math/auto-libm-test-in: Add more tests of csqrt.
4266         * math/auto-libm-test-out: Regenerated.
4267         * sysdeps/i386/fpu/libm-test-ulps: Update.
4268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4271         * math/auto-libm-test-out: Regenerated.
4272         * sysdeps/i386/fpu/libm-test-ulps: Update.
4273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4275         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4277 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4279         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4280         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4282         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4283         (euidaccess, eaccess): Define as weak aliases.
4285         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4286         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4287         but __suseconds_t is often 'long int' so some sources assume that
4288         type is being used (e.g. they use %ld to print tv_usec).
4290 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4292         [BZ #18007]
4293         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4294         (CVE-2014-8121)
4295         * nss/tst-nss-getpwent.c: New file.
4296         * nss/Makefile (tests): Add new test.
4298 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4300         [BZ #18346]
4301         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4302         exponents less than 48 as cases where high part of mantissa needs
4303         examining to determine whether argument is integral.
4304         * math/libm-test.inc (round_test_data): Add more tests.
4306 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4308         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4310 2015-04-27  David S. Miller  <davem@davemloft.net>
4312         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4313         __tls_get_addr.
4314         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4316 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4318         [BZ#18333]
4319         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4321 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4323         [BZ#18333]
4324         * time/tzset.c (parse_tzname): Return error on memory allocation
4325         failure.
4326         * test-skeleton.c (struct temp_name_list): Change type of name
4327         member to non-const.
4328         (add_temp_file): Create a copy of the file name.
4329         (delete_temp_files): Deallocate memory.
4330         (create_temp_file): Add comment.
4332 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4334         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4335         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4337 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4339         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4340         * sysdeps/arm/configure: Regenerated.
4342 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4344         [BZ #17715]
4345         * time/tzfile.c (__tzfile_read): Check for large values of
4346         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4347         * time/tzset.c (__tzstring_len): New function, based on the old
4348         __tzstring function.
4349         (__tzstring): Call __tzstring_len.
4350         (parse_tzname): New helper function extracted from
4351         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4352         the input string.
4353         (parse_offset): New helper function extracted from
4354         __tzset_parse_tz.  Replace switch with fallthrough with
4355         initialization before sscanf.
4356         (parse_rule): Likewise.
4357         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4358         new-style function definition.
4359         * timezone/Makefile (tests): Add tst-tzset.
4360         (tst-tzset.out): Dependencies on time zone files.
4361         (tst-tzset-ENV): Set TZDIR.
4362         (testdata/XT%): Copy crafted time zone files.
4363         * timezone/README: Mention crafted time zone files.
4364         * timezone/testdata/XT1, timezone/testdata/XT2,
4365         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4366         files.
4367         * timezone/tst-tzset.c: New test.
4369 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4371         * Makeconfig (+gccwarn): Remove -Winline.
4373 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4375         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4377 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4379         * NEWS: Mention sysconf() cache information support for s390.
4380         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4382 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4384         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4385         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4386         (__nearbyint): Likewise.
4387         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4388         (copysignl): Likewise.
4390 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4392         [BZ #18287]
4393         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4394         based on padding.  (CVE-2015-1781)
4396 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4398         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4399         libc-vdso.h.
4400         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4401         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4402         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4403         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4404         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4405         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4406         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4407         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4408         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4409         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4410         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4411         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4412         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4413         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4414         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4415         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4416         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4417         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4418         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4419         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4420         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4421         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4422         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4424 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4426         * stdlib/setenv.c (__add_to_environ):
4427         Dump core quickly if setenv (..., NULL, ...) is called.
4428         This time, do it the right way, and pacify GCC with a pragma.
4430 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4432         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4433         IMAP->l_prev cannot be null, and #if out the code for the contrary
4434         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4435         believe that NS (&_dl_ns[NSID]) could point outside the array.
4437         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4438         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4439         before using NSID as an index.
4441 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4443         [BZ #17825]
4444         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4445         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4446         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4448 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4450         Add preliminary port to Google Native Client on ARM.
4451         * abi-tags (.*-.*-nacl.*): New entry.
4452         * sysdeps/arm/nacl: New directory.
4453         * sysdeps/nacl: New directory.
4455 2015-04-16  David S. Miller  <davem@davemloft.net>
4457         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4458         lowlevellock-futex.h
4460 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4462         * sysdeps/tile/configure.ac: New file.
4463         * sysdeps/tile/configure: Regenerated.
4465 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4467         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4468         conditionals for weak_alias and libc_hidden_weak.
4469         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4470         libc_hidden_weak and weak_alias.
4471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4472         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4473         and weak_alias for static one.
4475 2015-04-15  David S. Miller  <davem@davemloft.net>
4477         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4479 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4481         [BZ #18206]
4482         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4483           Use signed comparision instead of substraction to avoid
4484           overflow bug.
4485         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4486           Take the sign of ret.
4487         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4488           Do not expect precise return values. Only the sign matters.
4489         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4490         * wcsmbs/test-wcsncmp.c: New File.
4491         * string/test-strncmp.c: Add wcsncmp support.
4493 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4495         [BZ #6792]
4496         * math/w_log1p.c: New file.
4497         * math/w_log1pf.c: Likewise.
4498         * math/w_log1pl.c: Likewise.
4499         * math/Makefile (libm-calls): Add w_log1p.
4500         * math/s_log1pl.c (log1pl): Remove weak_alias.
4501         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4502         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4503         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4504         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4505         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4506         [NO_LONG_DOUBLE] (log1pl): Likewise.
4507         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4508         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4509         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4510         (log1p): Remove long_double_symbol.
4511         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4512         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4513         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4514         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4515         remove weak_alias for corresponding log1p function.
4516         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4517         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4518         * sysdeps/ia64/fpu/w_log1p.c: New file.
4519         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4520         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4521         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4523 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4525         [BZ #18247]
4526         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4527         decimal exponent by 1.
4528         * stdlib/tst-strtod-round-data: Add more tests.
4529         * stdlib/tst-strtod-round.c (tests): Regenerated.
4531 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4533         * math/auto-libm-test-in: Add more tests of clog and clog10.
4534         * math/auto-libm-test-out: Regenerated.
4535         * sysdeps/i386/fpu/libm-test-ulps: Update.
4536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4538 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4540         * Makeconfig (module-cppflags): Exclude all .v.i files.
4541         (skip-module-cppflags): Variable removed.
4543         * configure.ac (libc_config_ok): Initialize before reading
4544         preconfigure scripts, not after.
4545         * configure: Regenerated.
4547         * test-skeleton.c (TIMEOUT): Move #define to top level.
4548         (main): Grok environment variable TEST_DIRECT.  If set, print
4549         test expectation details into that file and then behave as if
4550         given --direct.
4552 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4554         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4555         warning on 32-bit.
4557 2015-04-08  David S. Miller  <davem@davemloft.net>
4559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4561 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4563         * math/auto-libm-test-in: Add more tests of atanh.
4564         * math/auto-libm-test-out: Regenerated.
4565         * sysdeps/i386/fpu/libm-test-ulps: Update.
4566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4568         * math/auto-libm-test-in: Add more tests of atan.
4569         * math/auto-libm-test-out: Regenerated.
4570         * sysdeps/i386/fpu/libm-test-ulps: Update.
4571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4573 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4575         * elf/pldd.c (main): Rewrite to use struct
4576         scratch_buffer instead of extend_alloca.
4577         * elf/pldd-xx.c (find_maps): Likewise.
4578         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4579         <alloca.h>.
4580         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4581         scratch_buffer instead of extend_alloca.
4582         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4583         grp/compat-initgroups.c.
4584         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4585         Rewrite to use struct scratch_buffer instead of extend_alloca.
4586         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4587         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4589 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4591         * math/auto-libm-test-in: Add more tests of cbrt.
4592         * math/auto-libm-test-out: Regenerated.
4593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4595         * math/auto-libm-test-in: Add more tests of cabs.
4596         * math/auto-libm-test-out: Regenerated.
4597         * sysdeps/i386/fpu/libm-test-ulps: Update.
4598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4600         [BZ #18210]
4601         [BZ #18211]
4602         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4603         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4604         computations.
4605         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4606         clog10.
4607         * math/auto-libm-test-out: Regenerated.
4608         * sysdeps/i386/fpu/libm-test-ulps: Update.
4609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4611         [BZ #18197]
4612         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4613         (atan): Set FE_TONEAREST mode for internal computations.
4614         * math/auto-libm-test-in: Add more tests of atan.
4615         * math/auto-libm-test-out: Regenerated.
4617 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4619         [BZ #17930]
4620         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4622 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4624         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4626 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4628         * include/scratch_buffer.h: New file.
4629         * malloc/scratch_buffer_grow.c: Likewise.
4630         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4631         * malloc/scratch_buffer_set_array_size.c: Likewise.
4632         * malloc/tst-scratch_buffer.c: Likewise.
4633         * malloc/Makefile (routines): Add scratch_buffer_grow.
4634         (tests): Add test case.
4635         * malloc/Versions (GLIBC_PRIVATE): Export
4636         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4637         __libc_scratch_buffer_set_array_size.
4639 2015-04-06  Richard Henderson  <rth@redhat.com>
4641         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4642         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4644         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4645         unsigned int before printing.
4647 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4649         [BZ #17596]
4650         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4651         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4653 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4655         * include/libc-internal.h (libc_max_align_t): Define.
4657 2015-04-02  Andreas Schwab  <schwab@suse.de>
4659         [BZ #16850]
4660         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4662 2015-04-02  Mel Gorman  <mgorman@suse.de>
4664         [BZ #17195]
4665         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4666         as well as the main arena.
4668 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4670         [BZ #18185]
4671         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4672         sharing L2 cache to 2 for Silvermont/Knights Landing.
4674 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4676         [BZ #17711]
4677         * config.make.in (have-protected-data): New.
4678         * configure.ac: Check linker support for protected data symbol.
4679         * configure: Regenerated.
4680         * elf/Makefile (modules-names): Add tst-protected1moda and
4681         tst-protected1modb if $(have-protected-data) is yes.
4682         (tests): Add tst-protected1a and tst-protected1b if
4683         $(have-protected-data) is yes.
4684         ($(objpfx)tst-protected1a): New.
4685         ($(objpfx)tst-protected1b): Likewise.
4686         (tst-protected1modb.so-no-z-defs): Likewise.
4687         * elf/tst-protected1a.c: New file.
4688         * elf/tst-protected1b.c: Likewise.
4689         * elf/tst-protected1mod.h: Likewise.
4690         * elf/tst-protected1moda.c: Likewise.
4691         * elf/tst-protected1modb.c: Likewise.
4693 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4695         [BZ #17711]
4696         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4697         indicates it is called from do_lookup_x on relocation against
4698         protected data, skip the data definion in the executable from
4699         copy reloc.
4700         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4701         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4702         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4703         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4704         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4705         otherwise to 0.
4706         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4707         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4708         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4709         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4710         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4711         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4713 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4715         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4716         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4718 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4720         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4721         THREAD_SETMEM_NC.
4722         * sysdeps/x86_64/nptl/tls.h: Ditto.
4724 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4726         * dlfcn/tststatic.c (main): Converted to ...
4727         (do_test): ... this.
4728         (TEST_FUNCTION): New macro.
4729         Include test-skeleton.c.
4731 2015-03-26  Alan Modra  <amodra@gmail.com>
4733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4734         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4735         zero for undefined weak.
4736         (elf_machine_plt_conflict): Similarly.
4738 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4740         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4741         atanh.
4742         * math/auto-libm-test-out: Regenerated.
4743         * sysdeps/i386/fpu/libm-test-ulps: Update.
4744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746         * math/auto-libm-test-in: Add another test 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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4752         Remove macro.
4753         (LLL_EBX_REG): Likewise.
4754         (LLL_ENTER_KERNEL): Likewise.
4756         * math/auto-libm-test-in: Add more tests of asin.
4757         * math/auto-libm-test-out: Regenerated.
4758         * sysdeps/i386/fpu/libm-test-ulps: Update.
4759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4761         [BZ #18138]
4762         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4763         libc_do_syscall_args): New structure.
4764         (INTERNAL_SYSCALL_MAIN_0): New macro.
4765         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4766         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4767         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4768         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4769         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4770         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4771         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4772         Replace conditional definitions by conditional definitions of ....
4773         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4774         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4775         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4776         (libpthread-sysdep_routines): Add libc-do-syscall.
4777         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4778         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4779         to __NR_futex not 240.
4781 2015-03-25  Alan Modra  <amodra@gmail.com>
4783         * NEWS: Advertise TLS optimization.
4784         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4785         (DT_PPC_NUM): Increment.
4786         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4787         (CHECK_STATIC_TLS): Use here.
4788         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4789         TLS descriptors.
4790         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4791         * sysdeps/powerpc/dl-tls.c: New file.
4792         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4793         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4794         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4795         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4800 2015-03-25  Alan Modra  <amodra@gmail.com>
4802         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4803         for overlapping .opd entries" to "support...".
4804         * sysdeps/powerpc/powerpc64/configure: Regenerate
4806 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4808         * math/auto-libm-test-in: Add more tests of acos.
4809         * math/auto-libm-test-out: Regenerated.
4810         * sysdeps/i386/fpu/libm-test-ulps: Update.
4811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4813         * math/auto-libm-test-in: Add more tests of expm1.
4814         * math/auto-libm-test-out: Regenerated.
4815         * sysdeps/i386/fpu/libm-test-ulps: Update.
4816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4818 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4820         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4821         * math/auto-libm-test-out: Regenerated.
4822         * sysdeps/i386/fpu/libm-test-ulps: Update.
4823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4825         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4828         * math/auto-libm-test-in: Add more tests of log2.
4829         * math/auto-libm-test-out: Regenerated.
4830         * sysdeps/i386/fpu/libm-test-ulps: Update.
4831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4833 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4835         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4836         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4837         _IO_IS_APPENDING bit in READ_WRITE instead.
4839 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4841         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4842         (__determine_cpumask_size): Replace extend_alloca with a
4843         variable-length array.  Do not treat res == 0 as an error.
4845 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4847         [BZ #18100]
4848         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4849         and integer overflow.
4850         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4851         (main): Add integer overflow tests.
4852         * manual/pattern.texi (Calling Wordexp): Document additional use
4853         for WRDE_SYNTAX.
4855 2015-03-23  Alan Modra  <amodra@gmail.com>
4857         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4858         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4859         and false branch of conditional.
4860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4861         Likewise.
4863 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4865         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4866         libc-modules.h
4867         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4868         unused declaration of _hurd_intr_rpc_msg_in_trap.
4869         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4870         defined instead of whether it is non-zero.
4871         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4872         input constraint instead of both input and output constraint.  Use ecx
4873         clobber instead of %ecx.
4874         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4875         mutex_unlock): Use a statement expression instead of an expression list.
4876         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4877         type to vm_size_t instead of vm_address_t.
4878         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4879         defined instead of whether it is non-zero.
4880         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4881         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4882         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4883         comparisons with mapaddr.
4884         * nscd/nscd-client.h: Include <time.h>.
4885         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4886         9th parameter to __vm_region instead of int.
4887         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4888         * scripts/check-local-headers.sh (exclude): Add device/,
4889         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4890         cthreads.h.
4892 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4894         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4895         to account for alignment padding.
4896         * sysdeps/arm/memmove.S: Likewise.
4898 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4900         * sysdeps/unix/sysv/linux/generic/README: New file.
4902 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4904         [BZ #18138]
4905         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4906         (futex_abstimed_wait)
4907         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4908         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4909         of lll_futex_timed_wait.
4911 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4913         [BZ #17542]
4914         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4916 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4918         [BZ #17090]
4919         [BZ #17620]
4920         [BZ #17621]
4921         [BZ #17628]
4922         * NEWS: Update.
4923         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4924         entries with Static TLS too.  Skip entries past the end of the
4925         allocated DTV, from Alan Modra.
4926         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4927         Static TLS DTV entry set up from...
4928         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4929         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4930         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4931         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4932         for Static TLS.
4933         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4934         that the slot we find is associated with the given map before
4935         using its generation count.
4936         * nptl_db/db_info.c: Include ldsodefs.h.
4937         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4938         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4939         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4940         (link_map::l_tls_offset): New struct field.
4941         (dtv_t::counter): Likewise.
4942         (rtld_global): New struct.
4943         (_rtld_global): New rtld variable.
4944         (dl_tls_dtv_slotinfo_list): New rtld global field.
4945         (dtv_slotinfo_list): New struct.
4946         (dtv_slotinfo): Likewise.
4947         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4948         (td_lookup): Rename to...
4949         (td_mod_lookup): ... this.  Use new mod parameter instead of
4950         LIBPTHREAD_SO.
4951         * nptl_db/td_thr_tlsbase.c: Include link.h.
4952         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4953         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4954         addresses even if the DTV is out of date or missing them.
4955         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4956         index zero-length arrays.
4957         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4958         (td_lookup): Make it a macro implemented in terms of...
4959         (td_mod_lookup): ... this declaration.
4960         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4961         (DB_MAIN_VARIABLE): Likewise.
4963 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4965         [BZ #18134]
4966         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4968 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4970         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4972 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4974         [BZ #18128]
4975         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4976         (atomic_add, atomic_increment_and_test)
4977         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4979 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4981         * stdlib/setenv.c (__add_to_environ):
4982         Dump core quickly if setenv (..., NULL, ...) is called.
4984 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4986         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4987         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4988         all the necessary asm magic in one place.
4989         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4990         using those.
4992 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4994         [BZ #14906]
4995         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4996         traced file mtime. Use consistent log message.
4997         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4998         (register_traced_file): Call install_watches. Always set mtime.
4999         (invalidate_cache): Iterate over all trace files. Call install_watches.
5000         (inotify_check_files): Don't inline. Handle watching parent
5001         directories and configuration file movement in and out.
5002         (handle_inotify_events): New function.
5003         (main_loop_poll): Call handle_inotify_events.
5004         (main_loop_epoll): Likewise.
5005         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5006         (struct traced_file): Use array of inotify fds. Add parent directory,
5007         and basename.
5008         (struct database_dyn): Remove unused file_mtime.
5009         (init_traced_file): New inline function.
5010         (define_traced_file): New macro.
5011         * nss/nss_db/db-init.c: Use define_traced_file.
5012         (_nss_db_init): Use init_traced_file.
5013         * nss/nss_files/files-init.c: Use define_traced_file.
5014         (_nss_files_init): Use init_traced_file.
5016 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5018         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5019         [_LIBC]: Do not include <stdlib.h>.
5020         [!_LIBC] (abort): Remove declaration.
5021         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5022         _FP_STATIC_ASSERT instead of conditionally calling abort.
5023         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5024         (_FP_EXTEND_CNAN): Likewise.
5025         (FP_TRUNC): Likewise.
5026         (__FP_CLZ): Likewise.
5027         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5029 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5031         * manual/string.texi (XPG basename): Fix prototype.
5033 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5035         [BZ #18080]
5036         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5037         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5038         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5039         (__setcontext): Likewise.
5040         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5041         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5042         Call rt_sigprocmask syscall one time to set new signal mask
5043         and retrieve the current signal mask instead of two calls.
5044         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5045         (__swapcontext): Likewise.
5046         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5047         * stdlib/tst-setcontext2.c: New file.
5049 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5051         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5053 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5055         [BZ #18093]
5056         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5057         the wrong size.
5059 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5061         [BZ #18043]
5062         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5064 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5066         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5067         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5068         Remove define.
5069         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5070         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5071         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5072         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5073         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5074         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5075         define.
5076         * nptl_db/td_symbol_list.c (td_lookup): Remove
5077         HAVE_ASM_GLOBAL_DOT_NAME code.
5078         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5079         HAVE_ASM_GLOBAL_DOT_NAME check.
5080         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5081         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5082         (DOT_LABEL): Remove define.
5083         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5084         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5085         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5086         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5087         (__TLS_GET_ADDR): Likewise.
5088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5089         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5091 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5093         [BZ #18111]
5094         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5095         (_FPU_SETCW): Initialize cw from fpsr before storing.
5096         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5097         (fesetexceptflag): Rewrite using fpu_control.h.
5098         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5100 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5102         [BZ #18110]
5103         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5104         asms.
5105         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5107 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5109         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5110         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5111         abort.
5112         (_FP_FMA): Likewise.
5113         (_FP_DIV): Likewise.
5115 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5117         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5118         with 0 in that case.
5119         * Makefile (summarize-tests): New canned sequence, factored out of
5120         commands for targets tests and xtests.  Display summary lines that
5121         don't start with PASS: or XFAIL: rather than ones that do start with
5122         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5123         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5124         do start with ERROR: or FAIL:.
5125         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5126         (except for [$(build-shared) = yes]).
5127         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5128         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5129         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5130         * nptl/Makefile: Revert 2015-03-04 changes.
5131         [$(CXX) empty] (tests-unsupported): New variable.
5132         * debug/Makefile: Likewise.
5134         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5135         gnulib file.  Replace __attribute with __attribute__ throughout.
5137 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5139         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5141 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5143         [BZ #18104]
5144         * math/auto-libm-test-in: Add another test of pow.
5145         * math/auto-libm-test-out: Regenerated.
5147 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5149         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5150         $(config-cflags-nofma).
5152 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5154         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5155         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5156         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5157         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5158         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5159         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5160         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5161         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5162         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5163         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5164         Add comment on closing #endif.
5166 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5168         * posix/wordexp.c (CHAR_IN_SET): New macro.
5169         (parse_param): Use it.
5171 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5173         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5175 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5177         [BZ #18043]
5178         * posix/wordexp.c (parse_param): Fix buffer overflow.
5179         * posix/wordexp-test.c (test_case): Add test case.
5181 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5183         [BZ #18042]
5184         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5185         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5187 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5189         [BZ #18043]
5190         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5191         (do_bz18043): Delete.
5192         (at_page_end): New.
5193         (testit): Refactor to have words at the edge of unreadable page.
5195 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5197         [BZ #16734]
5198         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5199         Cleanup read-only streams as well.
5200         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5202 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5204         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5205         <bits/libc-lockP.h>
5207 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5209         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5210         on [__KERNEL__].
5211         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5212         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5213         * soft-fp/op-common.h (_FP_DECL): Likewise.
5215 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5217         * elf/ifuncdep2.c (global): Replace
5218         __attribute__((visibility("protected"))) with
5219         asm (".protected global").
5220         * elf/ifuncmod1.c (global): Likewise.
5221         * elf/ifuncmod5.c (global): Likewise.
5223 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5225         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5226         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5228 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5230         * manual/install.texi (Configuring and compiling):
5231         Document test-wrapper-env-only.
5232         * INSTALL: Regenerated.
5234 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5236         [BZ #18043]
5237         * posix/wordexp.c (parse_param): Fix buffer overflow.
5238         * posix/wordexp-test.c (do_bz18043): Add test case.
5240 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5242         * time/tst-strptime2.c (do_test): Ensure failing tests are
5243         reported correctly.
5244         * time/tst-strptime3.c (do_test): Likewise.
5246 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5248         Fix aio_error thread-safety.
5249         * sysdeps/pthread/aio_error.c: New file
5250         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5251         synchronization.
5253 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5255         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5256         (group_number, vfprintf): Use it.
5257         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5258         (JUMP, REF): Use it.
5259         (WORK_BUFFER_SIZE): New enum constant.
5260         (process_arg, vfprintf): Use it.
5262 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5264         * manual/errno.texi (Error Messages): Complete example function
5265         by adding missing #define.
5266         (program_invocation_name): Add statement indicating GNU
5267         extension and reference which header file declares the variable.
5268         (program_invocation_short_name): Likewise.
5270 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5272         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5273         compatibility note.
5275 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5277         * Makeconfig (test-wrapper-env-only): New variable.
5278         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5279         then use that with $(test-wrapper-env-only) rather than using
5280         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5282 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5284         [BZ #18082]
5285         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5286         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5287         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5288         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5289         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5290         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5291         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5292         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5293         Likewise.
5294         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5295         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5296         Likewise.
5297         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5298         Likewise.
5299         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5300         Likewise.
5301         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5302         Likewise.
5303         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5304         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5305         Likewise.
5306         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5307         Likewise.
5308         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5309         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5311 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5313         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5314         (ETH_ALEN): New macro.
5315         (struct ether_addr): Use it for length of ether_addr_octet.
5317         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5318         (setdb): Don't call __nss_configure_lookup for "rpc".
5319         (do_test): Don't call test_rpc.
5320         (output_rpcent, test_rpc): Functions moved ...
5321         * sunrpc/test-rpcent.c: ... to this new file.
5322         * sunrpc/Makefile (tests): Add it.
5324         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5325         __xpg_sigpause.
5326         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5327         * nptl/tst-signal6.c: Likewise.
5328         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5329         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5331         * configure.ac (libc_cv_cxx_link_ok): New check.
5332         Reset CXX to empty if it fails to link.
5333         * configure: Regenerated.
5334         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5335         bug-atexit3-lib only if $(CXX) is nonempty.
5336         * nptl/Makefile (tests): Likewise for tst-cancel24.
5337         (tests, tests-static): Likewise for tst-cancel24-static.
5338         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5339         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5340         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5341         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5343 2015-03-04  Andreas Schwab  <schwab@suse.de>
5345         [BZ #17631]
5346         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5347         for non-GCC compilers.
5348         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5349         Likewise.
5351 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5353         [BZ #17776]
5354         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5355         integer before bitwise and assembly operations.
5356         (feclearexcept): Likewise.
5357         * math/test-fenvinline.c: New file.
5358         * math/Makefile: Add test-fenvinline test.
5360 2015-03-03  Alan Modra  <amodra@gmail.com>
5362         [BZ #16512]
5363         * scripts/localplt.awk: Strip off symbol version.
5364         * NEWS: Mention bug fix.
5366 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5368         * sysdeps/pthread/timer_routines.c
5369         (timer_free_list, thread_free_list, thread_active_list): Make static.
5371 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5373         [BZ #17779]
5374         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5375         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5376         Undefine.
5377         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5378         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5379         Likewise.
5380         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5381         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5382         Likewise.
5384 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5386         [BZ #18036]
5387         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5388         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5390 2015-03-02  Andreas Schwab  <schwab@suse.de>
5392         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5393         variable name.
5395 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5397         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5398         Return error status.
5400 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5402         [BZ #15969]
5403         * locale/findlocale.c (_nl_find_locale): Introduce const
5404         version of loc_name and drop unsafe type casts.
5406 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5408         * dlfcn/tststatic2.c (main): Converted to ...
5409         (do_test): ... this.
5410         (TEST_FUNCTION): New macro.
5411         Include test-skeleton.c.
5413 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5415         [BZ #17711]
5416         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5417         (tests-pie): Add vismain.
5418         (CFLAGS-vismain.c): New.
5419         * elf/vismain.c: Add comments for PIE requirement.
5421 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5423         [BZ #18046]
5424         [BZ #18047]
5425         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5426         0x1p-56L as threshold for just returning the argument.
5427         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5428         0x1p-32L as threshold for just returning the argument.
5429         * math/auto-libm-test-in: Add more tests of atanh.
5430         * math/auto-libm-test-out: Regenerated.
5431         * sysdeps/i386/fpu/libm-test-ulps: Update.
5432         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5434 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5436         * string/bcopy.c (bcopy): Call memmove for performance.
5438 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5440         * string/bzero.c (__bzero): Call memset for performance.
5442 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5444         [BZ #18068]
5445         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5446         to 00100000.
5448 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5450         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5452 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5454         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5455         (__kernel_standard): Use CSTR macro when setting exc.name.
5456         * sysdeps/ieee754/Makefile [$(subdir) = math]
5457         (CFLAGS-k_standard.c): Remove variable.
5459         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5460         setting p and q from "else if" to "else".
5461         (qzero): Likewise.
5462         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5463         (qone): Likewise.
5464         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5465         (qzerof): Likewise.
5466         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5467         (qonef): Likewise.
5468         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5469         (qzero): Likewise.
5470         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5471         (qone): Likewise.
5473         [BZ #18038]
5474         [BZ #18039]
5475         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5476         return pi/2 for arguments below 0x1p-113L.
5477         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5478         return pi/2 for arguments below 0x1p-106L.
5479         * math/auto-libm-test-in: Add more tests of acos.
5480         * math/auto-libm-test-out: Regenerated.
5482         [BZ #16351]
5483         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5484         (MO): New macro.
5485         (__ieee754_asin): Force underflow exception for results with small
5486         absolute value.
5487         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5488         (MO): New macro.
5489         (__ieee754_asinf): Force underflow exception for results with
5490         small absolute value.
5491         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5492         (__ieee754_asin): Force underflow exception for results with small
5493         absolute value.
5494         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5495         (__ieee754_asinf): Force underflow exception for results with
5496         small absolute value.
5497         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5498         (__ieee754_asinl): Force underflow exception for results with
5499         small absolute value.
5500         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5501         (__ieee754_asinl): Force underflow exception for results with
5502         small absolute value.
5503         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5504         (__ieee754_asinl): Force underflow exception for results with
5505         small absolute value.
5506         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5507         Include <math.h>.
5508         * math/auto-libm-test-in: Do not mark underflow exceptions as
5509         possibly missing for bug 16351.
5510         * math/auto-libm-test-out: Regenerated.
5512         [BZ #18030]
5513         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5514         of power of 2 down when low part has opposite sign.
5515         * math/libm-test.inc (logb_test_data): Add more tests.
5517 2015-02-26  Andreas Schwab  <schwab@suse.de>
5519         [BZ #18032]
5520         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5521         over collating symbol inside a bracket expression.  Minor cleanup.
5522         * posix/tst-fnmatch3.c (do_test): Add test case.
5524 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5526         [BZ #18029]
5527         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5528         Adjust exponent of power of 2 down when low part has opposite
5529         sign.
5530         * math/libm-test.inc (ilogb_test_data): Add more tests.
5532 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5534         [BZ #15969]
5535         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5536         the previous change.
5538         [BZ #15969]
5539         * locale/findlocale.c (_nl_find_locale): Retry archive search
5540         after alias expansion.
5542 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5544         * iconv/tst-iconv3.c (main): Converted to ...
5545         (do_test): ... this.
5546         (TEST_FUNCTION): New macro.
5547         Include test-skeleton.c.
5549         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5550         (convert): Make function static.
5551         (test_unalign): Likewise.  Add const to argument pointee types.
5552         (main): Replace with static function do_test.
5553         Print "Succeeded." only if RET is zero.
5554         (TEST_FUNCTION): New macro.
5555         Include test-skeleton.c.
5557         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5558         returns a null pointer.
5560 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5562         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5563         to __memcpy_ppc only for static builds.
5565 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5567         [BZ #18020]
5568         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5569         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5570         * math/auto-libm-test-in: Add more tests of asinh.
5571         * math/auto-libm-test-out: Regenerated.
5572         * sysdeps/i386/fpu/libm-test-ulps: Update.
5573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5575 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5577         [BZ #15850]
5578         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5579         and ip6_mtuinfo definitions here.
5580         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5581         in this define too.  Update comment.
5583 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5585         * elf/sprof.c (load_shobj): Tweak error message to match others.
5587 2015-02-24  Kevin Easton  <kevin@guarana.org>
5589         [BZ #16145] (partial fix)
5590         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5591         to reduce lock contention.
5593 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5595         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5596         (struct timex): Update time comment.
5597         (ADJ_SETOFFSET): Define.
5599 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5601         [BZ #18019]
5602         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5603         2**56 not 2**28 as threshold for log (2x) formula.
5604         * math/auto-libm-test-in: Add more tests of acosh.
5605         * math/auto-libm-test-out: Regenerated.
5606         * sysdeps/i386/fpu/libm-test-ulps: Update.
5607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5609 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5611         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5612         parenthesis around the buf assignment.
5613         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5615 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5617         [BZ #16783]
5618         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5619         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5620         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5621         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5622         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5623         * math/libm-test.inc (scalb_test_data): Add more tests.
5625 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5627         [BZ #17916]
5628         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5629         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5631 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5633         [BZ #17523]
5634         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5635         * io/bits/fcntl2.h (open): Use it.
5636         (openat): Likewise.
5637         * io/open.c (__libc_open): Likewise.
5638         * io/open64.c (__libc_open64): Likewise.
5639         * io/open64_2.c (__open64_2): Likewise.
5640         * io/open_2.c (__open_2): Likewise.
5641         * io/openat.c (__openat): Likewise.
5642         * io/openat64.c (__openat64): Likewise.
5643         * io/openat64_2.c (__openat64_2): Likewise.
5644         * io/openat_2.c (__openat_2): Likewise.
5645         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5646         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5647         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5648         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5649         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5650         (__open_nocancel): Likewise.
5651         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5652         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5653         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5655 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5657         [BZ #14841]
5658         * resolv/gethnamaddr.c (getanswer): Skip logging if
5659         RES_USE_DNSSEC is set.
5660         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5662 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5664         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5666 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5668         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5669         201304L, for Unicode 7.
5671 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5673         [BZ #17836]
5674         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5675         shared library.  Add gmon-start.os otherwise.
5676         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5677         $(objpfx)gmon-start.os if builing shared library.
5678         ($(objpfx)g$(static-start-installed-name)): Likewise.
5680 2015-02-23  Andreas Schwab  <schwab@suse.de>
5682         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5684 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5686         [BZ #17269]
5687         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5688         (enlarge_userbuf): Likewise.
5690 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5692         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5693         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5694         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5695         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5697 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5699         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5700         expression inside statement expression.
5702 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5704         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5705         <sysdeps/nptl/lowlevellock.h> and remove macros and
5706         functions that are now defined there.
5707         (SYS_futex): Remove.
5708         (lll_compare_and_swap): Remove.
5709         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5711 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5713         [BZ #17999]
5714         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5715         instead of scandirat.
5716         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5717         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5718         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5719         __scandirat.
5720         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5721         (__scandirat): Declare.  Use libc_hidden_proto.
5722         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5723         Remove variable.
5724         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5726 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5728         [BZ #15319]
5729         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5730         (MO): New macro.
5731         (__ieee754_atan2): For results with small absolute value, force
5732         underflow exception and remove excess range and precision from
5733         return value.
5734         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5735         (MO): New macro.
5736         (__ieee754_atan2f): For results with small absolute value, force
5737         underflow exception and remove excess range and precision from
5738         return value.
5739         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5740         (MO): New macro.
5741         (__atan): For results with small absolute value, force underflow
5742         exception and remove excess range and precision from return value.
5743         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5744         (MO): New macro.
5745         (__atanf): For results with small absolute value, force underflow
5746         exception and remove excess range and precision from return value.
5747         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5748         <math.h>.
5749         (__ieee754_atan2): Force underflow exception for results with
5750         small absolute value.
5751         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5752         <math_private.h>.
5753         (atan): Force underflow exception for results with small absolute
5754         value.
5755         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5756         (__atanf): Force underflow exception for results with small
5757         absolute value.
5758         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5759         <math.h>.
5760         (__atanl): Force underflow exception for results with small
5761         absolute value.
5762         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5763         (__atanl): Force underflow exception for results with small
5764         absolute value.
5765         * sysdeps/x86/fpu/bits/mathinline.h
5766         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5767         (__ieee754_atan2): Only define inline for long double.
5768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5769         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5770         * math/auto-libm-test-in: Do not mark underflow exceptions as
5771         possibly missing for bug 15319.  Add more tests of atan2.
5772         * math/auto-libm-test-out: Regenerated.
5773         * math/libm-test.inc (casin_test_data): Do not mark underflow
5774         exceptions as possibly missing for bug 15319.
5775         (casinh_test_data): Likewise.
5776         * sysdeps/i386/fpu/libm-test-ulps: Update.
5778 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5780         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5781         * sysdeps/mips/bits/endian.h: Fix comments.
5783 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5785         [BZ #17996]
5786         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5787         (hdestroy_r): Likewise.
5788         (hsearch_r): Likewise.
5789         (__hcreate_r): Declare and use libc_hidden_proto.
5790         (__hdestroy_r): Likewise.
5791         (__hsearch_r): Likewise.
5792         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5793         (hcreate): Call __hcreate_r instead of hcreate_r.
5794         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5795         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5796         as weak alias of __hcreate_r.
5797         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5798         __hdestroy_r.
5799         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5800         __hsearch_r.
5801         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5802         Remove variable.
5803         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5804         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5805         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5806         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5808 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5810         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5811         arena_lock into a single arena_get.
5813 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5815         * dl-reloc.c: Inlucde libc-internal.h.
5816         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5817         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5818         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5819         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5820         (grow_heap): Likewise.
5821         * malloc/malloc.c: Include libc-internal.h.
5822         (do_check_malloc): Call powerof2.
5823         (sysmalloc): Use pagesize. Call ALIGN_UP.
5824         (systrim): Use pagesize.
5825         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5826         (__libc_valloc): Use pagesize.
5827         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5829 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5831         [BZ #17991]
5832         * include/sys/resource.h (__getrlimit64): Declare.  Use
5833         libc_hidden_proto.
5834         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5835         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5836         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5837         getrlimit64.
5838         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5839         __getrlimit64.
5840         [!getrlimit64] (getrlimit64): Define as weak alias of
5841         __getrlimit64.  Use libc_hidden_weak.
5842         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5843         using __getrlimit64 not __new_getrlimit64.
5844         (__GI_getrlimit64): Likewise.
5845         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5846         Likewise.
5847         (__GI_getrlimit64): Likewise.
5848         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5850         (getrlimit): Add __getrlimit64 alias.
5851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5852         Likewise.
5853         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5854         Remove variable.
5855         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5856         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5858 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5860         * libio/fileops.c: Add missing sys/mman.h
5861         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5863 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5865         * manual/math.texi (Errors in Math Functions): Clarify goals
5866         regarding inexact and underflow exceptions.
5868 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5870         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5871         * sysdeps/mips/memset.S: Ditto.
5873 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5875         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5877 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5879         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5880         (__v1longjmp): Remove versioned symbol.
5881         (__v1siglongjmp): Remove alias and versioned symbol.
5882         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5883         (__v2siglongjmp): Likewise.
5885 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5887         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5889 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5891         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5893 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5895         [BZ #17987]
5896         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5897         zero result does not depend on the sign resulting from
5898         subtraction.
5899         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5900         Likewise.
5901         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5902         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5903         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5904         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5905         * math/libm-test.inc (remquo_test_data): Add more tests.
5907 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5909         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5910         Problem reported by J William Piggott.
5912 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5914         [BZ #17978]
5915         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5916         products 4 * y and 2 * y where those would overflow.
5917         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5918         Likewise.
5919         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5920         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5921         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5922         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5923         * math/libm-test.inc (remquo_test_data): Add more tests.
5925         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5927         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5928         [defined _COMPILING_NEWLIB].
5929         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5930         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5932         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5933         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5935 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5937         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5938         acquired.
5940 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5942         [BZ #17792]
5943         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5944         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5945         HOST_STACK_END_ADDR): Likewise.
5947 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5949         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5950         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5951         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5953 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5955         * sysdeps/generic/c++-types.data: New file.
5956         * sysdeps/generic/ld.abilist: New file.
5957         * sysdeps/generic/libBrokenLocale.abilist: New file.
5958         * sysdeps/generic/libanl.abilist: New file.
5959         * sysdeps/generic/libc.abilist: New file.
5960         * sysdeps/generic/libcrypt.abilist: New file.
5961         * sysdeps/generic/libdl.abilist: New file.
5962         * sysdeps/generic/libm.abilist: New file.
5963         * sysdeps/generic/libpthread.abilist: New file.
5964         * sysdeps/generic/libresolv.abilist: New file.
5965         * sysdeps/generic/librt.abilist: New file.
5967 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5969         [BZ #17569]
5970         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5971         Compute absolute value of x as modified by fmod, not original
5972         value of x.
5973         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5974         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5975         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5976         RUN_TEST_ffI_f1_mod8.
5977         (remquo_test_data): Add more tests.
5979 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5981         * sysdeps/init_array/pt-crti.S: New file.
5983 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5985         [BZ #17967]
5986         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5987         __builtin_fmaf instead of relying on contraction of a * b + c.
5989 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5991         [BZ #17969]
5992         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5993         node.
5995 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5997         [BZ #17964]
5998         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5999         __builtin_fma instead of relying on contraction of a * b + c.
6001 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6003         * Makeconfig (ASFLAGS): Add -Werror=undef.
6004         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6005         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6006         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6008         * Makeconfig (after-link): New variable.
6009         (+link-pie, +link-pie-tests): Use it.
6010         (+link-static, +link-static-tests): Likewise.
6011         (+link, +link-tests): Likewise.
6012         * Makerules (build-module, build-module-asneeded): Likewise.
6013         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6014         Likewise.
6015         * elf/Makefile ($(objpfx)ld.so): Likewise.
6017 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6019         [BZ #17965]
6020         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6021         both struct timeval and struct timespec.
6023 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6025         [BZ #16560]
6026         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6027         and redefine.
6028         (__ieee754_exp2l): Do not multiply small fractional parts by
6029         M_LN2l.
6030         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6031         small argument.
6032         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6033         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6034         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6035         * math/auto-libm-test-in: Add more tests of exp2.
6036         * math/auto-libm-test-out: Regenerated.
6038 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6040         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6041         unaligned path.
6043 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6045         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6046         little endian.
6048 2015-02-12  Andreas Schwab  <schwab@suse.de>
6050         [BZ #15790]
6051         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6052         Filter out elision flags from value returned in kind.
6053         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6054         * nptl/tst-pthread-mutexattr.c: New file.
6056 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6058         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6059         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6060         into gnu-gnu, and update comment to refer to abi-tags.
6062 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6064         [BZ #15467]
6065         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6066         (__sincos): Set errno to EDOM for infinite argument.
6067         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6068         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6069         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6070         (__sincosl): Set errno to EDOM for infinite argument.
6071         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6072         (__sincosl): Set errno to EDOM for infinite argument.
6073         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6074         (__sincosl): Set errno to EDOM for infinite argument.
6075         * math/libm-test.inc (sincos_test_data): Test errno setting.
6077 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6079         * string/strxfrm_l.c: Remove #define STRCMP.
6080         * string/strcoll_l.c: Remove #define STRLEN.
6081         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6082         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6084 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6086         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6087         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6088         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6089         * sysdeps/mips/mips64/Makefile: ... here.
6090         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6091         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6092         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6093         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6094         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6095         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6096         * sysdeps/mips/mips64/n64/Implies: Likewise.
6098 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6100         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6101         <sys/time.h>, <string.h>, and <errno.h>.
6102         (dest_offset, dest_address, value, zero): Remove unused variables.
6103         (ldouble): Remove typedef.
6104         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6105         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6106         1).  Fix code style.
6107         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6108         (check): Function removed.
6109         (CHECK): New macro.
6110         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6111         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6112         Don't call set_sigaction_FP and remove_sigaction_FP here.
6113         (ldouble_test): Just use 'long double' as macro argument, no need for
6114         the 'ldouble' typedef.
6115         (do_test): Set up SIGFPE handler at start, using plain signal rather
6116         than sigaction.  Fix code style.
6118 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6120         [BZ #17949]
6121         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6122         jump label.
6124 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6126         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6127         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6129         * sysdeps/powerpc/configure.ac: Remove file.
6130         * sysdeps/powerpc/configure: Likewise.
6132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6133         [sysdep_routines]: Remove wordcopy-power6 object.
6134         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6135         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6136         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6137         (__memmove_ppc32): Likewise.
6138         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6139         file.
6140         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6141         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6142         Remove preprocessor.
6144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6145         [sysdep_routines]: Remove wide chars objects.
6146         [wcsmbs]: New rule for wide char objects.
6148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6149         Remove wordcopy-power6 obejct.
6150         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6151         Use local call for wordcopy and memcpy symbols.
6152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6154         implementation for loader.
6155         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6158         Remove wordcopy-power7 object.
6159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6161         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6162         (_wordcopy_fwd_dest_aligned): Likewise.
6163         (_wordcopy_bwd_aligned): Likewise.
6164         (_wordcopy_bwd_dest_aligned): Likewise.
6166         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6167         Rewrite to call __memmove_ppc instead of include default
6168         implementation.
6170         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6171         Remove wide chars objects.
6172         [wcsmbs]: New rule for wide char objects.
6174 2015-02-09  Andreas Schwab  <schwab@suse.de>
6176         [BZ #17912]
6177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6178         in terms of __O_DIRECTORY.
6180 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6182         * time/getdate.c: Include <stdbool.h>.
6183         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6184         call PTR_MANGLE.
6185         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6186         PTR_DEMANGLE.
6188 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6190         Add ersatz _Static_assert on older C hosts
6191         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6192         pre-C11 C platform that is not known to support _Static_assert.
6194 2015-02-07  Richard Braun  <rbraun@sceen.net>
6196         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6197         sigstate.
6198         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6200 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6202         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6203         priority against unexistent AIO_PRIO_DELTA_MAX.
6204         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6205         instead of int.
6206         * misc/fchflags.c (fchflags): Likewise.
6207         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6208         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6209         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6210         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6211         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6212         Declare macros.
6213         [__USE_MISC] (chflags, fchflags): Declare functions.
6214         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6215         EINVAL when nfds is greater than FD_SETSIZE.
6216         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6217         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6218         45.
6219         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6220         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6221         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6222         MACH_RCV_TIMED_OUT.
6223         * hurd/hurd/signal.h (_hurd_self_sigstate,
6224         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6225         Explicit casts from void *.
6226         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6227         * abi-tags: Rename gnu-gnu os into gnu.
6229         [BZ #4719]
6230         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6231         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6232         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6233         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6234         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6235         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6237         [BZ #17944]
6238         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6239         duplicates ADDR->sun_path with sockaddr LEN limitation.
6240         * sysdeps/mach/hurd/connect.c: Include <string.h>
6241         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6242         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6243         * sysdeps/mach/hurd/sendto.c: Likewise.
6244         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6245         implementing it by hand.
6247 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6249         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6250         Use sfi_breg on ldr.
6251         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6252         Likewise.
6254         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6255         it's defined.
6256         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6257         Test SIGSETXID only if it's defined.
6259         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6261         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6262         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6264         * nptl/tst-align2.c: Moved ...
6265         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6266         * nptl/Makefile (tests): Remove tst-align2.
6267         * sysdeps/unix/sysv/linux/Makefile
6268         [$(subdir) = nptl] (tests): Add tst-align-clone.
6269         * nptl/tst-getpid1.c: Moved ...
6270         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6271         * nptl/tst-getpid2.c: Moved ...
6272         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6273         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6274         * sysdeps/unix/sysv/linux/Makefile
6275         [$(subdir) = nptl] (tests): ... here.
6276         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6277         * sysdeps/unix/sysv/linux/Makefile
6278         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6280         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6281         Drop trailing \n from perror argument.  Use return rather than exit.
6283         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6284         on [SA_SIGINFO].
6285         * nptl/tst-cancel21.c (do_test): Likewise.
6286         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6287         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6288         [!SA_SIGINFO]: Make it a stub test.
6290         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6291         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6293         * posix/tst-getlogin.c: Move to ...
6294         * login/tst-getlogin.c: ... here.
6295         * posix/Makefile (tests): Move tst-getlogin to ...
6296         * login/Makefile (tests): ... here.
6298         * libio/tst-atime.c (do_test): Move local variables SV and E
6299         inside [ST_NOATIME] conditional.
6301         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6303         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6305         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6306         (wait_code): New function replaces macro.
6307         Call nanosleep rather than syscall.
6309         * nptl/pt-system.c: Rewritten.  Put everything under
6310         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6311         Use IFUNC to redirect when possible.
6313         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6314         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6315         Use IFUNC to redirect when possible.
6317         * nptl/pt-fork.c: Rewritten.  Put everything under
6318         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6319         Use IFUNC to redirect when possible.
6320         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6322         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6323         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6324         unconditionally nowadays.  This included the only reference to
6325         __vdso_clock_gettime that appears outside libc proper.
6326         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6327         Remove version set (containing only __vdso_clock_gettime).
6328         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6329         Add attribute_hidden.
6330         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6331         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6332         libc_hidden_data_def.
6333         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6334         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6336         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6337         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6338         setrpcent, and getrpcport to ...
6339         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6340         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6341         getrpcbynumber_r, and getrpcent_r to ...
6342         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6343         * inet/getrpcbyname.c: Moved ...
6344         * sunrpc/getrpcbyname.c: ... here.
6345         * inet/getrpcbyname_r.c: Moved ...
6346         * sunrpc/getrpcbyname_r.c: ... here.
6347         * inet/getrpcbynumber.c: Moved ...
6348         * sunrpc/getrpcbynumber.c: ... here.
6349         * inet/getrpcbynumber_r.c: Moved ...
6350         * sunrpc/getrpcbynumber_r.c: ... here.
6351         * inet/getrpcent.c: Moved ...
6352         * sunrpc/getrpcent.c: ... here.
6353         * inet/getrpcent_r.c: Moved ...
6354         * sunrpc/getrpcent_r.c: ... here.
6355         * inet/Makefile (routines): Move those to ...
6356         * sunrpc/Makefile (routines): ... here.
6357         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6358         the $(subdirs) list.
6359         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6360         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6361         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6362         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6364         * elf/Makefile (routines): Include $(all-dl-routines), not just
6365         $(dl-routines).
6366         (rtld-routines): Likewise.  Use = rather than :=.
6367         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6368         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6369         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6370         * sysdeps/arm/Makefile: Likewise.
6371         * sysdeps/i386/Makefile: Likewise.
6372         * sysdeps/x86_64/Makefile: Likewise.
6373         * sysdeps/hppa/Makefile [$(subdir) = elf]
6374         (sysdep_routines, sysdep-rtld-routines): Don't add
6375         $(sysdep-dl-routines) to these.
6376         * sysdeps/ia64/Makefile: Likewise.
6377         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6378         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6379         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6380         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6381         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6382         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6383         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6384         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6385         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6386         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6387         these; sysdep-dl-routines alone is enough.
6389 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6391         [BZ #17932]
6392         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6393         where multiplication results in zero and third argument is finite
6394         and nonzero.
6395         * math/auto-libm-test-in: Add more tests of fma.
6396         * math/auto-libm-test-out: Regenerated.
6398         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6399         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6400         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6401         (_FP_CMP_EQ): Likewise.
6402         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6404         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6405         extra argument CHECK_NAN.  Redefine as wrapper around
6406         _FP_EXTEND_CNAN.
6408 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6410         * version.h (RELEASE): Set to "stable".
6411         (VERSION): Set to "2.21"
6412         * include/features.h (__GLIBC_MINOR__): Set to 21.
6414         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6416 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6417             Paul Eggert  <eggert@cs.ucla.edu>
6419         [BZ #16618]
6420         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6421         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6422         size in bytes. Store needed elements in wpmax. Use needed size
6423         in bytes for extend_alloca.
6425 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6427         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6428         binutls 2.25, and texinfo 5.2.
6429         * INSTALL: Regenerate.
6430         * sysdeps/nios2/configure: Regenerate.
6431         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6432         * manual/contrib.texi: Update.
6433         * po/be.po: Update.
6434         * po/bg.po: Update.
6435         * po/ca.po: Update.
6436         * po/cs.po: Update.
6437         * po/da.po: Update.
6438         * po/de.po: Update.
6439         * po/el.po: Update.
6440         * po/eo.po: Update.
6441         * po/es.po: Update.
6442         * po/fi.po: Update.
6443         * po/fr.po: Update.
6444         * po/gl.po: Update.
6445         * po/hr.po: Update.
6446         * po/hu.po: Update.
6447         * po/ia.po: Update.
6448         * po/id.po: Update.
6449         * po/it.po: Update.
6450         * po/ja.po: Update.
6451         * po/ko.po: Update.
6452         * po/lt.po: Update.
6453         * po/nb.po: Update.
6454         * po/nl.po: Update.
6455         * po/pl.po: Update.
6456         * po/pt_BR.po: Update.
6457         * po/ru.po: Update.
6458         * po/rw.po: Update.
6459         * po/sk.po: Update.
6460         * po/sl.po: Update.
6461         * po/sv.po: Update.
6462         * po/tr.po: Update.
6463         * po/uk.po: Update.
6464         * po/vi.po: Update.
6465         * po/zh_CN.po: Update.
6466         * po/zh_TW.po: Update.
6468         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6469         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6470         * sysdeps/hppa/dl-irel.h: Remove #warning.
6471         * sysdeps/hppa/entry.h: Provide prototype for
6472         __canonicalize_funcptr_for_compare and cast argument.
6473         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6474         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6475         * sysdeps/hppa/sotruss-lib.c: New file.
6476         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6477         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6478         (atomic_compare_and_exchange_bool_acq): Likewise.
6479         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6480         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6482         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6483         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6484         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6486 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6488         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6489         called function in non-PIC case.
6491 2015-01-31  David S. Miller  <davem@davemloft.net>
6493         * sysdeps/sparc/sparc32/bits/atomic.h
6494         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6495         unlock not after it.
6496         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6497         volatile register usage warnings from the compiler.
6499         * sysdeps/sparc/nptl/sem_init.c: Delete.
6500         * sysdeps/sparc/nptl/sem_post.c: Delete.
6501         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6502         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6503         * sysdeps/sparc/sparc32/sem_init.c: New file.
6504         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6505         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6506         padding explicitly initialized.
6507         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6508         padding for in-semaphore spinlock.
6509         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6510         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6511         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6512         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6513         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6514         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6515         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6516         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6517         version.
6518         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6519         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6521 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6523         [BZ #17801]
6524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6525         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6526         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6527         New.
6528         (index_AVX_Fast_Unaligned_Load): Likewise.
6529         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6530         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6531         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6532         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6533         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6534         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6535         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6536         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6537         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6539 2015-01-29  Andreas Schwab  <schwab@suse.de>
6541         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6543 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6545         [BZ #17892]
6546         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6548 2015-01-28  Martin Sebor  <msebor@redhat.com>
6550         * math/README.libm-test: Clarify. Add "How to read the test output."
6552 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6554         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6555         Define to 0.
6557 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6559         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6560         (__HAVE_64B_ATOMICS): Define to 0.
6562 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6564         [BZ #17885]
6565         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6566         value to set as new flag.
6568         [BZ #16576]
6569         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6570         and use _ARCH_PPCSQ instead.
6571         (__ieee754_sqrt): Likewise.
6572         (__ieee754_sqrtf): Likewise.
6573         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6574         _ARCH_PPCSQ is defined.
6575         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6576         fsqrt instruction.
6577         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6578         _ARCH_PPCSQ is defined.
6579         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6580         fsqrts instruction.
6581         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6583 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6585         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6586         bug (GCC BZ #64739).
6588 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6590         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6591         Mark _retval as used.
6592         (lll_futex_wake_unlock): Likewise.
6593         (lll_futex_timed_wait_requeue_pi): Likewise.
6595         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6596         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6597         register variables.
6599         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6600         libm_hidden_def.
6602         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6603         (__bswap_64): Mark as __always_inline.
6605 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6607         [BZ #15378]
6608         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6609         when none of the search directories exist.
6611 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6613         [BZ #17869]
6614         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6615         power8 in .machine directive.
6617         [BZ #17868]
6618         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6619         set dependency from opd value.
6621 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6624         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6625         architecture.
6627 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6629         [BZ #17870]
6630         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6631         with uint64_t.
6632         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6633         (uint64_t) 1.
6634         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6635         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6636         Replace 1UL with (uint64_t) 1.
6637         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6638         int with uint64_t.
6640 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6642         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6643         (if_freenameindex): Likewise.
6645         * resource/getrlimit64.c: Add missing libc_hidden_def.
6647 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6649         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6650         __label__.
6651         (_FP_FMA): Likewise.
6652         (_FP_TO_INT_ROUND): Likewise.
6653         (_FP_FROM_INT): Likewise.
6655 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6657         [BZ #16418]
6658         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6659         Make code racy and cancel safe.
6661 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6663         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6664         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6665         attribution.
6667         * pwd/tst-getpw.c: Rewrite.
6669         [BZ #17702]
6670         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6671         (modules-names): Add moddummy1 and moddummy2.
6672         ($(objpfx)tst-rec-dlopen): Define.
6673         * dlfcn/moddummy1.c: New file.
6674         * dlfcn/moddummy2.c: New file.
6675         * dlfcn/tst-rec-dlopen.c: New file.
6676         * elf/dl-cache.c (_dl_load_cache_lookup):
6677         Return char*. Copy result with alloca/strcpy/strdup.
6678         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6679         returns char*. Free cached. If not saving realname
6680         free cached.
6681         * elf/dl-open.c (dl_open_worker): Do not assert that
6682         _r_debug->r_state is RT_CONSISTENT.
6683         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6684         returns char*.
6686 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6687             Carlos O'Donell  <carlos@redhat.com>
6689         [BZ #12674]
6690         * nptl/sem_waitcommon.c: New file.
6691         * nptl/sem_wait.c: Include sem_waitcommon.c.
6692         (__sem_wait_cleanup, do_futex_wait): Remove.
6693         (__new_sem_wait): Adapt.
6694         (__new_sem_trywait): New function.
6695         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6696         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6697         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6698         (sem_timedwait): Adapt.
6699         * nptl/sem_post.c (__new_sem_post): Adapt.
6700         (futex_wake): New function.
6701         (__old_sem_post): Add release MO fence.
6702         * nptl/sem_open.c (sem_open): Adapt.
6703         * nptl/sem_init.c (__new_sem_init): Adapt.
6704         (futex_private_if_supported): New function.
6705         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6706         (__old_sem_getvalue): Add using previous code.
6707         * sysdeps/nptl/internaltypes.h: Adapt.
6708         * nptl/tst-sem13.c (do_test): Adapt.
6709         * nptl/tst-sem11.c (main): Adapt.
6710         * nptl/sem_trywait.c: Remove.
6711         * nptl/DESIGN-sem.txt: Remove.
6712         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6713         (gen-as-const-headers): Remove structsem.sym.
6714         * nptl/structsem.sym: Remove.
6715         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6716         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6717         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6718         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6719         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6720         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6721         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6722         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6723         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6724         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6725         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6726         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6727         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6728         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6729         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6730         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6731         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6732         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6733         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6734         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6735         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6736         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6738 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6740         * INSTALL: Regenerated.
6742         * po/libc.pot: Regenerated.
6744 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6745             Sandra Loosemore  <sandra@codesourcery.com>
6746             Andrew Jenner  <andrew@codesourcery.com>
6747             Joseph Myers  <joseph@codesourcery.com>
6748             Nathan Sidwell  <nathan@codesourcery.com>
6750         * NEWS: Mention new Nios II port.
6751         * sysdeps/nios2/Implies: New file.
6752         * sysdeps/nios2/Makefile: New file.
6753         * sysdeps/nios2/Subdirs: New file.
6754         * sysdeps/nios2/Versions: New file.
6755         * sysdeps/nios2/__longjmp.S: New file.
6756         * sysdeps/nios2/abort-instr.h: New file.
6757         * sysdeps/nios2/backtrace.c: New file.
6758         * sysdeps/nios2/bits/endian.h: New file.
6759         * sysdeps/nios2/bits/fenv.h: New file.
6760         * sysdeps/nios2/bits/link.h: New file.
6761         * sysdeps/nios2/bits/setjmp.h: New file.
6762         * sysdeps/nios2/bsd-_setjmp.S: New file.
6763         * sysdeps/nios2/bsd-setjmp.S: New file.
6764         * sysdeps/nios2/configure: New generated file.
6765         * sysdeps/nios2/configure.ac: New file.
6766         * sysdeps/nios2/crti.S: New file.
6767         * sysdeps/nios2/crtn.S: New file.
6768         * sysdeps/nios2/dl-init.c: New file.
6769         * sysdeps/nios2/dl-machine.h: New file.
6770         * sysdeps/nios2/dl-sysdep.h: New file.
6771         * sysdeps/nios2/dl-tls.h: New file.
6772         * sysdeps/nios2/dl-trampoline.S: New file.
6773         * sysdeps/nios2/gccframe.h: New file.
6774         * sysdeps/nios2/gmp-mparam.h: New file.
6775         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6776         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6777         * sysdeps/nios2/ldsodefs.h: New file.
6778         * sysdeps/nios2/libc-tls.c: New file.
6779         * sysdeps/nios2/libm-test-ulps: New file.
6780         * sysdeps/nios2/machine-gmon.h: New file.
6781         * sysdeps/nios2/math-tests.h: New file.
6782         * sysdeps/nios2/math_private.h: New file.
6783         * sysdeps/nios2/memusage.h: New file.
6784         * sysdeps/nios2/nptl/Makefile: New file.
6785         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6786         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6787         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6788         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6789         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6790         * sysdeps/nios2/nptl/tls.h: New file.
6791         * sysdeps/nios2/preconfigure: New file.
6792         * sysdeps/nios2/s_fma.c: New file.
6793         * sysdeps/nios2/s_fmaf.c: New file.
6794         * sysdeps/nios2/setjmp.S: New file.
6795         * sysdeps/nios2/sfp-machine.h: New file.
6796         * sysdeps/nios2/sotruss-lib.c: New file.
6797         * sysdeps/nios2/stackguard-macros.h: New file.
6798         * sysdeps/nios2/stackinfo.h: New file.
6799         * sysdeps/nios2/start.S: New file.
6800         * sysdeps/nios2/sysdep.h: New file.
6801         * sysdeps/nios2/tls-macros.h: New file.
6802         * sysdeps/nios2/tst-audit.h: New file.
6803         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6804         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6805         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6806         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6807         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6808         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6809         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6810         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6811         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6812         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6813         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6814         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6815         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6816         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6817         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6818         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6819         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6820         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6821         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6822         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6823         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6824         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6825         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6826         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6827         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6828         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6829         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6830         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6831         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6832         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6833         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6834         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6835         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6836         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6837         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6838         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6839         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6840         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6841         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6842         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6843         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6844         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6845         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6846         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6848 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6850         [BZ #17844]
6851         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6852         (getutent): Use weak_alias in non SHARED case
6853         and default_symbol_version in SHARED case.
6854         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6855         (getutent_r, pututline): Likewise.
6856         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6857         (getutid): Likewise.
6858         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6859         (getutid_r): Likewise.
6860         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6861         (getutline): Likewise.
6862         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6863         (getutline_r): Likewise.
6864         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6865         (updwtmp): Likewise.
6867 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6869         [BZ #17848]
6870         * sysdeps/s390/s390-32/memcmp.S
6871         (memcmp_g5): Rename to __memcmp_g5.
6872         * sysdeps/s390/s390-32/memcpy.S
6873         (memcpy_g5): Rename to __memcpy_g5.
6874         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6875         (memcpy_mvcle) Rename to __memcpy_mvcle.
6876         * sysdeps/s390/s390-32/memset.S
6877         (memset_g5): Rename to __memset_g5.
6878         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6879         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6880         and use prefixed functions.
6881         * sysdeps/s390/s390-32/multiarch/memcmp.S
6882         (memcmp_z196): Rename to __memcmp_z196.
6883         (memcmp_z10): Rename to __memcmp_z10.
6884         (memcmp): Set alias to __memcmp_g5.
6885         (bcmp): Set alias to __memcmp_g5.
6886         * sysdeps/s390/s390-32/multiarch/memcpy.S
6887         (memcpy_z196): Rename to __memcpy_z196.
6888         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6889         (memcpy_z10): Rename to __memcpy_z10.
6890         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6891         (memcpy): Set alias to __memcpy_g5.
6892         * sysdeps/s390/s390-32/multiarch/memset.S
6893         (memset_z196): Rename to __memset_z196.
6894         Jump to __memset_mvcle instead of memset_mvcle.
6895         (memset_z10): Rename to __memset_z10.
6896         Jump to __memset_mvcle instead of memset_mvcle.
6897         (memset_mvcle) Rename to __memset_mvcle.
6898         (memset): Set alias to __memset_g5.
6899         * sysdeps/s390/s390-64/memcmp.S
6900         (memcmp_z900): Rename to __memcmp_z900.
6901         * sysdeps/s390/s390-64/memcpy.S
6902         (memcpy_z900): Rename to __memcpy_z900.
6903         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6904         (memcpy_mvcle) Rename to __memcpy_mvcle.
6905         * sysdeps/s390/s390-64/memset.S
6906         (memset_z900): Rename to __memset_z900.
6907         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6908         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6909         and use prefixed functions.
6910         * sysdeps/s390/s390-64/multiarch/memcmp.S
6911         (memcmp_z196): Rename to __memcmp_z196.
6912         (memcmp_z10): Rename to __memcmp_z10.
6913         (memcmp): Set alias to __memcmp_z900.
6914         (bcmp): Set alias to __memcmp_z900.
6915         * sysdeps/s390/s390-64/multiarch/memcpy.S
6916         (memcpy_z196): Rename to __memcpy_z196.
6917         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6918         (memcpy_z10): Rename to __memcpy_z10.
6919         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6920         (memcpy): Set alias to __memcpy_z900.
6921         * sysdeps/s390/s390-64/multiarch/memset.S
6922         (memset_z196): Rename to __memset_z196.
6923         Jump to __memset_mvcle instead of memset_mvcle.
6924         (memset_z10): Rename to __memset_z10.
6925         Jump to __memset_mvcle instead of memset_mvcle.
6926         (memset_mvcle) Rename to __memset_mvcle.
6927         (memset): Set alias to __memset_z900.
6929 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6931         [BZ #17748]
6932         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6933         __fesetenv instead of fesetenv.
6935 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6937         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6938         macro.
6940 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6942         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6943         regression on LE.
6945         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6946         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6947         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6948         strncmp-power8 object.
6949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6950         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6951         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6952         * NEWS: Update.
6954 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6955             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6957         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6958         trailing byte check.
6960 2015-01-13  David S. Miller  <davem@davemloft.net>
6962         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6964 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6966         * login/logout.c (logout): Use memset rather than bzero.
6967         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6968         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6969         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6970         (_gethtbyaddr): Likewise.
6971         * locale/programs/simple-hash.c (bcopy): Macro removed.
6973 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6975         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6976         Add strcmp-power8 object.
6977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6978         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6979         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6980         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6981         __strcmp_power8 implementation.
6982         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6983         * NEWS: Update.
6985         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6986         Add strncpy-power8 and stpncpy-power8 objects.
6987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6988         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6989         implementations.
6990         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6991         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6992         __stpncpy_power8 implementation.
6993         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6994         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6995         __strncpy_power8 implementation.
6996         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6997         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6998         * NEWS: Update.
7000         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7001         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7002         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7004         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7005         strncat-power8 object.
7006         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7007         __strcat_power8 implementation.
7008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7009         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7010         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7011         optimized strcat for power8.
7013         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7014         strcpy-power8 and stpcpy-power8 objects.
7015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7016         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7017         implementations.
7018         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7019         multiarch stpcpy implementation for POWER8.
7020         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7021         multiarch strcpy implementation for POWER8.
7022         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7023         __strcpy_power8 function.
7024         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7025         stpcpy for POWER8.
7026         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7027         strcpy for POWER8.
7028         * NEWS: Update.
7030 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7032         [BZ #16009]
7033         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7034         weights and rules. Use do_xfrm_cached if data fits in cache,
7035         do_xfrm otherwise.  Moved former main loop to...
7036         * (do_xfrm_cached): New function.
7037         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7038         find_idx, find_position and stack_push.
7039         * (find_idx): New function.
7040         * (find_position): Likewise.
7041         * localedata/sort-test.sh: Added test run for do_xfrm.
7042         * localedata/xfrm-test.c (main): Added command line option
7043         -nocache to run the test with strings that are too large for
7044         the STRXFRM cache.
7046 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7048         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7049         variable to lll_futex_wake call, not the value itself.
7051 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7053         [BZ #17803]
7054         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7055         twom64.  Adjust value to 0x1p-64L.
7056         (__scalblnl): Only return standard underflowing result for K <=
7057         -64 not K <= -63; adjust exponent for underflowing result by 64
7058         not 63.
7059         * math/libm-test.inc (scalbn_test_data): Add more tests.
7060         (scalbln_test_data): Likewise.
7062         [BZ #17834]
7063         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7064         0x1p63L.
7065         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7066         not HX.
7067         * math/libm-test.inc (scalbn_test_data): Add more tests.
7068         (scalbln_test_data): Likewise.
7070 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7071             Stefani Seibold  <stefani@seibold.net>
7073         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7074         (sysdep_routines): Add dl-vdso here, ...
7075         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7076         (sysdep_routines): ... not here.
7077         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7078         fallback when vDSO is not presented.
7079         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7080         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7081         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7082         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7083         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7084         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7085         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7086         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7087         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7089         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7090         fallback configurable symbol when vDSO is not available.
7091         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7092         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7093         be able to redefine fallback symbol when vDSO is not available.
7094         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7095         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7097 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7099         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7100         (TLS_INIT_TP): Add tm_capable initialization.
7101         (TLS_DEFINE_INIT_TP): Likewise.
7102         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7103         TCB.
7104         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7105         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7106         calculation.
7107         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7108         transactoion is lock elision is built and TCB tm_capable is set.
7109         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7111         (INTERNAL_SYSCALL_NCS): Likewise.
7112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7113         (INTERNAL_SYSCALL_NCS): Likewise.
7114         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7116         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7117         for powerpc.
7118         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7119         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7120         and remove it for 32 bits case.
7121         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7123         initialization.
7124         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7125         Disable lock elision with rdlocks if elision is not available.
7127         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7128         (sysdep_routines): Add lock elision objects.
7129         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7130         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7131         [pthread_mutex_t] (__elision): Add field.
7132         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7133         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7134         elision definitions for powerpc.
7135         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7136         implementation of lock elision for powerpc.
7137         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7138         implementation of timed lock elision for powerpc.
7139         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7140         implementation of trylock with lock elision for powerpc.
7141         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7142         implementaion of unlock for lock elision for powerpc.
7143         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7144         automatic enable lock elision for mutexes.
7145         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7146         transaction execution definitions for powerpc.
7147         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7148         definitions.
7149         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7150         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7151         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7152         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7153         * NEWS: Update.
7155 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7157         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7158         for #include of <shm-directory.h>.
7160 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7162         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7163         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7165 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7167         [BZ #17791]
7168         * NEWS: Mention bug fix.
7169         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7170         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7171         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7173 2015-01-09  Torvald Riegel <triegel@redhat.com>
7175         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7177 2015-01-09  Torvald Riegel <triegel@redhat.com>
7179         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7181 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7183         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7184         pointer and cast to uintptr_t.
7186 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7188         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7189         removed.
7190         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7192 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7194         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7195         of 0.
7197 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7199         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7200         <nptl/pthreadP.h> instead.
7201         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7203         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7204         already defined.
7205         [__SIGRTMIN] (init): Function removed.
7206         [__SIGRTMIN] (initialized): Variable removed.
7207         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7208         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7209         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7210         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7211         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7212         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7213         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7214         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7215         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7216         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7217         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7218         * sysdeps/nptl/allocrtsig.c: New file.
7219         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7220         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7221         * sysdeps/generic/testrtsig.h: File removed.
7223         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7224         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7226         * nptl/nptl-init.c (pthread_functions): Conditionalize
7227         .ptr__nptl_setxid initialization on [SIGSETXID].
7229         * sysdeps/nptl/sys/procfs.h: New file.
7230         * nptl_db/Makefile (headers): Add it.
7231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7233         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7234         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7235         * nptl/pthread_attr_setaffinity.c: Include it.
7236         * nptl/pthread_setattr_default_np.c: Likewise.
7237         * nptl/check-cpuset.h: New file.
7239 2015-01-08  Richard Henderson  <rth@redhat.com>
7241         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7242         (CFLAGS-tst-execstack-prog.c): Likewise.
7243         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7245 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7246             Sandra Loosemore  <sandra@codesourcery.com>
7247             Andrew Jenner  <andrew@codesourcery.com>
7248             Joseph Myers  <joseph@codesourcery.com>
7249             Nathan Sidwell  <nathan@codesourcery.com>
7251         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7252         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7253         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7254         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7255         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7256         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7257         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7258         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7259         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7260         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7261         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7262         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7263         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7264         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7265         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7266         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7267         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7269 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7271         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7272         timespec struct member in syscall macro.
7273         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7274         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7275         first timeval struct member in syscall macro.
7276         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7278 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7280         [BZ #17748]
7281         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7282         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7283         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7284         __feupdateenv and define as weak alias of __feupdateenv.  Use
7285         libm_hidden_weak.
7286         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7287         libm_hidden_def.
7288         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7289         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7290         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7291         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7292         libm_hidden_def.
7293         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7294         __feupdateenv and define as weak alias of __feupdateenv.  Use
7295         libm_hidden_weak.
7296         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7297         libm_hidden_def.
7298         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7299         __feupdateenv and define as weak alias of __feupdateenv.  Use
7300         libm_hidden_weak.
7301         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7302         libm_hidden_def.
7303         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7304         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7305         (__feupdateenv): Likewise.
7306         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7307         __feupdateenv and define as weak alias of __feupdateenv.  Use
7308         libm_hidden_weak.
7309         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7310         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7311         libm_hidden_def.
7312         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7313         function.
7314         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7315         libm_hidden_def.
7316         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7317         __feupdateenv instead of feupdateenv.
7318         (default_libc_feupdateenv_test): Likewise.
7319         (libc_feresetround_ctx): Likewise.
7321 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7323         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7324         prototype.
7326 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7328         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7329         COLL_SYM in a couple of places to avoid uninitialized variable
7330         wanings on tilegx gcc 4.8.2.
7332 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7334         * sysdeps/aarch64/strcpy.S: New file.
7335         * sysdeps/aarch64/stpcpy.S: New file.
7336         * NEWS: Updated.
7338 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7340         * sysdeps/aarch64/strrchr.S: New file.
7341         * NEWS: Updated.
7343 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7345         [BZ #17658]
7346         * stdlib/setenv.c: Fix memory leak when setting large,
7347         duplicate string.
7349 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7351         [BZ #17273]
7352         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7353         and tabs from buffer before parsing fstab entry.
7354         * misc/tst-mntent.c (main): Add test for mount entry with
7355         trailing spaces and tabs.
7357 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7359         [BZ #17748]
7360         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7361         * math/fesetround.c (fesetround): Rename to __fesetround and
7362         define as weak alias of __fesetround.  Use libm_hidden_weak.
7363         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7364         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7365         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7366         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7367         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7368         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7369         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7370         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7371         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7372         __fesetround_inline.
7373         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7374         __fesetround_inline instead of __fesetround.
7375         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7376         __fesetround and define as weak alias of __fesetround.  Use
7377         libm_hidden_weak.  Call __fesetround_inline instead of
7378         __fesetround.
7379         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7380         __fesetround and define as weak alias of __fesetround.  Use
7381         libm_hidden_weak.
7382         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7383         Likewise.
7384         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7385         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7386         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7387         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7388         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7389         __fesetround and define as weak alias of __fesetround.  Use
7390         libm_hidden_weak.
7391         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7392         __fesetround instead of fesetround.
7393         (default_libc_feholdexcept_setround): Likewise.
7394         (libc_feholdsetround_ctx): Likewise.
7395         (libc_feholdsetround_noex_ctx): Likewise.
7397         [BZ #17748]
7398         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7399         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7400         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7401         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7402         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7403         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7404         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7405         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7406         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7407         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7408         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7409         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7410         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7411         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7412         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7413         libm_hidden_def.
7414         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7415         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7416         Likewise.
7417         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7418         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7419         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7420         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7421         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7422         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7423         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7424         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7425         __fesetenv instead of fesetenv.
7426         (libc_feresetround_noex_ctx): Likewise.
7427         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7428         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7429         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7430         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7431         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7432         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7433         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7434         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7435         (__feupdateenv): Likewise.
7436         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7437         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7438         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7439         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7441 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7443         [BZ #17806]
7444         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7445         addresses have been freed.
7447 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7449         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7450         and nservall.
7452 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7454         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7455         Clean up check_pf allocation pattern. addresses
7457 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7459         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7460         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7461         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7462         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7463         * nptl/pthread_join.c (pthread_join): Likewise.
7464         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7465         * sysdeps/posix/waitid.c (__waitid): Likewise.
7466         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7467         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7468         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7469         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7471         Likewise.
7472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7473         (__libc_pread64): Likewise.
7474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7475         (__libc_pwrite): Likewise.
7476         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7477         (__libc_pwrite64): Likewsie.
7478         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7479         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7480         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7481         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7482         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7483         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7484         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7486         Likewise.
7487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7488         (__libc_pread64): Likewise.
7489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7490         Likewise.
7491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7492         (__libc_pwrite64): Likewise.
7493         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7494         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7495         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7496         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7497         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7498         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7499         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7500         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7501         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7502         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7503         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7504         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7505         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7506         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7507         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7508         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7509         Likewise.
7511 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7513         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7514         (CFLAGS-test-double.c): Likewise.
7515         (CFLAGS-test-ldouble.c): Likewise.
7516         (CPPFLAGS-test-ifloat.c): Likewise.
7517         (CPPFLAGS-test-idouble.c): Likewise.
7518         (CPPFLAGS-test-ildoubl.c): Likewise.
7519         (CFLAGS-test-test-fenv.c): Remove variable.
7520         (CFLAGS-test-misc.c): Likewise.
7522 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7524         [BZ #17797]
7525         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7526         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7527         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7528         CLOCKS_PER_SEC == 1000000.
7529         * time/clocktest.c (main): Replace %ld with %jd and cast to
7530         intmax_t.
7532 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7534         * sysdeps/generic/unwind-resume.h: New file.
7535         * sysdeps/gnu/unwind-resume.c: Include it.
7536         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7537         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7538         argument list.
7539         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7540         global rather than static.
7541         (_Unwind_Resume): Update user.
7542         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7543         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7544         rather than static.  Add __attribute__ ((cold)).
7545         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7546         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7547         * sysdeps/arm/arm-unwind-resume.S: New file.
7548         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7549         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7550         * sysdeps/arm/Makefile [$(subdir) = csu]
7551         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7552         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7553         Add rt-arm-unwind-resume.
7554         [$(subdir) = nptl]
7555         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7556         Add pt-arm-unwind-resume.
7557         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7558         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7560 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7562         [BZ #17748]
7563         * include/fenv.h (__feholdexcept): Declare.  Use
7564         libm_hidden_proto.
7565         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7566         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7567         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7568         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7569         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7570         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7571         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7572         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7573         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7574         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7575         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7576         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7577         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7578         (feholdexcept): Likewise.
7579         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7580         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7581         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7582         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7583         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7584         __feholdexcept instead of feholdexcept.
7585         (default_libc_feholdexcept_setround): Likewise.
7587 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7589         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7590         to avoid using stl/str to align destination.
7592 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7594         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7596 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7598         [BZ #17796]
7599         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7600         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7601         Define as weak alias not strong alias.
7603 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7605         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7606         bltzal with addiupc.
7607         (RTLD_START): Ditto.
7609 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7611         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7612         for __vdso_* functions in declarations.
7613         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7614         definitions.
7615         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7616         INTERNAL_VSYSCALL): Use struct return types to check for error.
7618         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7619         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7620         function with cast from llround().
7621         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7622         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7623         Define.
7625 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7627         [BZ #17793]
7628         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7629         Define as weak alias not strong alias.
7631         [BZ #17635]
7632         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7633         ...
7634         * ctype/ctype-extn.c: ... here.
7635         (__isblank_l): Move to ...
7636         * ctype/ctype-c99_l.c: ... here.  New file.
7637         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7638         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7639         Remove variable.
7640         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7641         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7642         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7643         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7644         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7646         [BZ #17777]
7647         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7648         (posix_fadvise64): Define as weak alias not strong alias.
7649         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7650         (posix_fallocate64): Likewise.
7651         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7652         Remove variable.
7653         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7654         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7655         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7656         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7657         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7659 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7661         [BZ #16191]
7662         * NEWS: Mention bug fix.
7663         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7664         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7665         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7666         (HOST_STACK_END_ADDR): Likewise.
7668 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7670         [BZ #17748]
7671         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7672         * math/fegetround.c (fegetround): Rename to __fegetround and
7673         define as weak alias of __fegetround.  Use libm_hidden_weak.
7674         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7675         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7676         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7677         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7678         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7679         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7680         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7681         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7682         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7683         Undefine after rather than before function definition; use
7684         parentheses around function name in definition.
7685         (__fegetround): Also undefine macro after function definition.
7686         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7687         __fegetround and define as weak alias of __fegetround.  Use
7688         libm_hidden_weak.  Do not undefine as macro.
7689         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7690         Likewise.
7691         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7692         __fegetround and define as weak alias of __fegetround.  Use
7693         libm_hidden_weak.
7694         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7695         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7696         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7697         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7698         __fegetround and define as weak alias of __fegetround.  Use
7699         libm_hidden_weak.
7700         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7701         __fegetround instead of fegetround.
7703         [BZ #17782]
7704         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7705         Condition macro definition on [__USE_MISC].
7707         [BZ #17781]
7708         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7709         (struct sigaction): Change type of sa_flags field to int.
7711         [BZ #17780]
7712         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7713         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7714         __glibc_reserved0.
7716         * nptl/version.c (banner): Use single year in copyright notice.
7718         * NEWS: Update copyright dates.
7719         * catgets/gencat.c (print_version): Likewise.
7720         * csu/version.c (banner): Likewise.
7721         * debug/catchsegv.sh: Likewise.
7722         * debug/pcprofiledump.c (print_version): Likewise.
7723         * debug/xtrace.sh (do_version): Likewise.
7724         * elf/ldconfig.c (print_version): Likewise.
7725         * elf/ldd.bash.in: Likewise.
7726         * elf/pldd.c (print_version): Likewise.
7727         * elf/sotruss.sh: Likewise.
7728         * elf/sprof.c (print_version): Likewise.
7729         * iconv/iconv_prog.c (print_version): Likewise.
7730         * iconv/iconvconfig.c (print_version): Likewise.
7731         * locale/programs/locale.c (print_version): Likewise.
7732         * locale/programs/localedef.c (print_version): Likewise.
7733         * login/programs/pt_chown.c (print_version): Likewise.
7734         * malloc/memusage.sh (do_version): Likewise.
7735         * malloc/memusagestat.c (print_version): Likewise.
7736         * malloc/mtrace.pl: Likewise.
7737         * manual/libc.texinfo: Likewise.
7738         * nptl/version.c (banner): Likewise.
7739         * nscd/nscd.c (print_version): Likewise.
7740         * nss/getent.c (print_version): Likewise.
7741         * nss/makedb.c (print_version): Likewise.
7742         * posix/getconf.c (main): Likewise.
7743         * scripts/test-installation.pl: Likewise.
7744         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7746 2015-01-02  Will Newton  <will.newton@linaro.org>
7748         * sysdeps/arm/armv7/configure: Removed.
7749         * sysdeps/arm/armv7/configure.ac: Likewise.
7751 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7753         * All files with FSF copyright notices: Update copyright dates
7754         using scripts/update-copyrights.
7755         * intl/plural.c: Regenerated.
7756         * locale/programs/charmap-kw.h: Likewise.
7757         * locale/programs/locfile-kw.h: Likewise.
7759 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7761         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7763 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7765         [BZ #17748]
7766         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7767         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7768         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7769         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7770         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7771         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7772         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7773         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7774         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7775         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7776         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7777         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7778         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7779         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7780         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7781         libm_hidden_def.
7782         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7783         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7784         Likewise.
7785         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7786         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7787         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7788         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7789         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7790         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7791         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7792         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7793         __fegetenv instead of fegetenv.
7794         (libc_feholdsetround_noex_ctx): Likewise.
7796 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7798         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7799         (Elf_MIPS_ABIFlags_v0): New structure.
7800         (EF_MIPS_FP64): Define.
7801         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7802         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7803         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7804         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7805         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7806         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7807         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7808         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7809         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7810         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7811         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7812         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7813         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7814         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7815         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7816         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7817         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7818         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7819         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7820         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7821         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7822         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7823         field.
7824         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7825         EF_MIPS_FP64.
7826         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7827         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7828         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7829         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7830         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7831         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7832         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7833         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7834         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7835         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7836         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7837         record the current FP ABI extension.
7838         (mips-mode-switch): Define to show if kernel headers support mode
7839         switching.
7840         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7841         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7842         supported SYSV ABI version to 3.
7843         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7844         feature.
7846 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7847             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7849         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7850         path.
7851         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7853 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7855         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7856         __fegetround and redefine to call __fegetround.  Remove condition
7857         on [!__NO_MATH_INLINES].
7858         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7859         function.
7860         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7861         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7862         Remove macro.
7863         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7864         instead of <fenv_libc.h>.
7865         (__llrintl): Call fegetround instead of __fegetround.
7866         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7867         instead of <fenv_libc.h>.
7868         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7869         (__lrintl): Call fegetround instead of __fegetround.
7870         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7871         instead of <fenv_libc.h>.
7872         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7873         (__rintl): Call fegetround instead of __fegetround.
7875 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7877         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7878         arrays.
7880 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7882         [BZ #17775]
7883         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7884         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7885         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7887 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7889         * sysdeps/i386/tls-macros.h: Include <features.h>.
7890         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7891         (TLS_IE): Likewise.
7892         (TLS_LD): Likewise.
7893         (TLS_GD): Likewise.
7894         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7895         define for GCC >= 5.0.
7897 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7899         * math/test-fenv.c (test_single_exception, set_single_exc,
7900         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7901         feexcp_mask_test, feenable_test, fe_single_test): Add
7902         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7903         case where they are not used.
7904         * math/libm-test.inc: Likewise.
7905         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7906         unused in the absence of FP rounding/exception support.
7907         * stdio-common/tst-printf-round.c: Likewise.
7908         * stdlib/tst-strtod-round.c: Likewise.
7909         * stdlib/tst-strtod-underflow.c: Likewise.
7911 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7913         [BZ #17723]
7914         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7915         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7916         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7917         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7918         libm_hidden_weak.
7919         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7920         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7921         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7922         libm_hidden_def.
7923         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7924         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7925         libm_hidden_weak.
7926         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7927         Likewise.
7928         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7929         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7930         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7931         libm_hidden_weak.
7932         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7933         libm_hidden_def.
7934         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7935         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7936         (__feraiseexcept): Likewise.
7937         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7938         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7939         libm_hidden_weak.
7940         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7941         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7942         libm_hidden_def.
7943         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7944         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7945         Use libm_hidden_def.
7946         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7947         libm_hidden_def.
7948         (feraiseexcept): Define as weak not strong alias.  Use
7949         libm_hidden_weak.
7950         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7951         New inline function.  Factored out of ...
7952         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7953         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7954         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7955         feraiseexcept.
7956         * math/w_acos.c (__acos): Likewise.
7957         * math/w_asin.c (__asin): Likewise.
7958         * math/w_ilogb.c (__ilogb): Likewise.
7959         * math/w_j0.c (y0): Likewise.
7960         * math/w_j1.c (y1): Likewise.
7961         * math/w_jn.c (yn): Likewise.
7962         * math/w_log.c (__log): Likewise.
7963         * math/w_log10.c (__log10): Likewise.
7964         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7965         * sysdeps/aarch64/fpu/math_private.h
7966         (libc_feupdateenv_test_aarch64): Likewise.
7967         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7968         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7969         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7970         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7971         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7972         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7973         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7974         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7975         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7976         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7978 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7980         [BZ #17732]
7981         * io/test-utime.c (main): Replace %ld with %jd and cast to
7982         intmax_t.
7983         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7984         * nptl/tst-mutex5.c: Include <stdint.h>.
7985         (do_test): Replace %ld with %jd and cast to intmax_t.
7986         * posix/tst-regex.c (run_test): Likewise.
7987         (run_test_backwards): Likewise.
7988         * rt/tst-clock.c: Include <stdint.h>.
7989         (clock_test): Replace %ld with %jd and cast to intmax_t.
7990         * rt/tst-cpuclock1.c: Include <stdint.h>.
7991         (do_test): Replace %lu with %ju and cast to uintmax_t.
7992         * rt/tst-cpuclock2.c: Include <stdint.h>.
7993         (do_test): Replace %lu with %ju and cast to uintmax_t.
7994         * rt/tst-mqueue1.c: Include <stdint.h>.
7995         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7996         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7997         intmax_t.
7998         * rt/tst-mqueue4.c (do_test): Likewise.
7999         * rt/tst-timer4.c: Include <stdint.h>.
8000         (check_ts): Replace %ld with %jd and cast to intmax_t.
8001         (do_test): Likewise.
8002         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8003         and cast to intmax_t.
8004         * sysdeps/pthread/tst-timer.c (main): Likewise.
8005         * time/clocktest.c (main): Likewise.
8006         * time/tst-posixtz.c (do_test): Likewise.
8007         * timezone/tst-timezone.c (main): Likewise.
8009 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8010             H.J. Lu  <hongjiu.lu@intel.com>
8012         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8013         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8014         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8015         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8016         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8017         version if bit_Fast_Unaligned_Load is set.
8018         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8019         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8020         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8021         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8022         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8023         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8024         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8025         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8026         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8027         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8028         to 4.
8029         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8030         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8031         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8032         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8034 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8036         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8037         instead of #if to avoid a Wundef warning.
8038         * stdlib/tst-limits.c (do_test): Likewise.
8040         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8041         parallel other exception macros.
8042         (fegetenv): Convert from macro to extern inline so that it applies
8043         retroactively to inline functions already seen by the compiler.
8044         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8046         * posix/Makefile (before-compile): Use $(objpfx) for
8047         posix-conf-vars-def.h.
8049 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8051         * posix/getconf.c (main): Use size_t for type of I.
8052         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8053         NSPEC.
8055         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8056         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8057         * posix/posix-envs.def: Likewise.
8058         * sysdeps/posix/sysconf.c: Likewise.
8059         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8060         (specs): Remove array.
8061         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8062         array.
8064         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8065         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8066         (__sysconf): Use CONF_IS_* macros.
8068         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8069         ($(objpfx)posix-conf-vars-def.h): New target.
8070         * posix/posix-conf-vars.list: New file.
8071         * posix/posix-conf-vars.h: New file.
8072         * posix/confstr.c: Include posix-conf-vars.h.
8073         (confstr): Use CONF_IS_* macros.
8074         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8075         CONF_IS_* macros.
8076         * scripts/gen-posix-conf-vars.awk: New file.
8078 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8080         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8081         fegetround): Add no-op macros to avoid linknamespace issues.
8083         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8084         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8086         * sysdeps/unix/sysv/linux/tile/sysdep.h
8087         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8088         assembly-specific section to avoid a redefinition warning.
8090         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8091         long before casting to pointer to avoid a cast warning.
8093 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8095         * sysdeps/tile/tilegx/Implies: New file.
8097 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8099         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8101 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8103         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8105 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8107         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8108         not define.
8109         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8110         <kernel-features.h>.
8111         (__utimes) [__NR_utimes]: Make code unconditional.
8112         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8113         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8114         (__ASSUME_UTIMES): Do not undefine.
8115         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8116         (__ASSUME_UTIMES): Likewise.
8117         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8118         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8119         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8120         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8122 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8124         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8126 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8128         [BZ #17747]
8129         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8130         alias to weak alias for j0l, y0l.
8131         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8132         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8134         [BZ #17746]
8135         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8136         conversion.
8138 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8140         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8141         to zero if not already defined.
8143 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8145         [BZ #17724]
8146         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8147         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8148         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8149         (char *) casts added.
8150         * sysdeps/ieee754/k_standardf.c: New file.
8151         * sysdeps/ieee754/k_standardl.c: Likewise.
8152         * math/Makefile (libm-support): Remove k_standard.
8153         (libm-calls): Add k_standard.
8155 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8157         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8158         Optimize to avoid an unnecessary FPCR read.
8160 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8162         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8163         Optimize to reduce FPCR/FPSR accesses.
8165 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8167         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8168         Call libc_fetestexcept_aarch64.
8170 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8172         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8173         Call libc_fesetround_aarch64.
8175 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8177         [BZ #17733]
8178         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8179         (__bind): Do not define as weak alias.
8180         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8181         define.
8182         (__getsockname): Do not define as weak alias.
8184 2014-12-22  Will Newton  <will.newton@linaro.org>
8186         * manual/install.texi: Document that we require bison 2.7
8187         or above.
8188         * INSTALL: Regenerate.
8189         * configure.ac: Use AC_CHECK_PROG_VER instead of
8190         AC_PATH_PROG when checking for bison and check for
8191         version 2.7 or above.
8192         * configure: Regenerate.
8194 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8196         [BZ #17745]
8197         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8198         * sysdeps/tile/ffsll.c (ffsll): To here.
8200         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8202 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8204         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8205         if not defined.
8206         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8207         definition.
8208         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8209         hidden ___tls_get_addr.
8210         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8211         hidden __tls_get_addr.
8212         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8213         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8214         Likewise.
8216 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8218         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8219         _dl_init call.
8221 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8223         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8224         from "call _dl_init@PLT".
8225         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8227 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8229         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8230         guarantees.
8232 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8234         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8236 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8238         [BZ #17744]
8239         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8240         strnlen.
8242 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8244         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8245         of multu on MIPSr6.
8246         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8247         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8248         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8249         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8250         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8252 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8254         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8255         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8256         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8257         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8258         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8259         mips32r6/mips64r6.
8260         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8262 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8264         * string/strncat.c (STRNCAT): Simplify implementation.
8266 2014-12-19  David S. Miller  <davem@davemloft.net>
8268         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8269         access the quad as both a long double and as a series of 4 words.
8271         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8272         link_map->l_info array access.
8274 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8276         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8278         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8279         * math/atest-exp2.c (TIMEOUT): Likewise.
8280         * math/atest-sincos.c (TIMEOUT): Likewise.
8282 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8284         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8285         -Wno-error with -fno-builtin-lround.
8287 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8289         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8290         Contains futex constants and functions moved over from ...
8291         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8292         <lowlevellock-futex.h>.
8293         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8294         (lll_timedwait_tid): Add comments and parentheses around macro
8295         arguments.
8297 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8299         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8300         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8301         (__lll_private_flag): Remove.
8302         (lll_futex_wait): Likewise.
8303         (lll_futex_timed_wait): Likewise.
8304         (lll_futex_wake): Likewise.
8305         (lll_futex_requeue): Likewise.
8306         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8307         (__lll_timedwait_tid): Spell out argument names.
8308         (lll_timedwait_tid): Add comments and parentheses around macro
8309         arguments.
8310         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8311         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8313 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8315         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8316         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8317         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8318         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8319         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8320         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8321         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8322         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8323         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8324         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8327         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8328         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8329         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8330         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8331         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8332         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8333         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8335 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8337         * sysdeps/x86_64/x32/Makefile: New file.
8339 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8341         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8342         1L with (mp_limb_t) 1.
8344 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8346         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8347         * nptl/libc_pthread_init.c: ... here.
8348         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8349         * nptl/register-atfork.c: ... here.
8351         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8352         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8353         Use assert_perror to check its return value.
8354         (__gai_create_helper_thread): Likewise.
8356         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8358         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8360 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8362         [BZ #17725]
8363         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8364         __profil_counter.
8365         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8366         Likewise.
8367         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8368         Likewise.
8369         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8370         Likewise.
8371         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8372         (profil_counter): Likewise.
8373         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8374         (profil_counter): Likewise.
8375         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8376         Likewise.
8377         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8378         Likewise.
8379         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8380         (profil_counter): Likewise.
8381         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8382         Likewise.
8383         [!__profil_counter] (profil_counter): Define as weak alias of
8384         __profil_counter.
8385         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8386         (profil_counter): Rename to __profil_counter.
8387         [!__profil_counter] (profil_counter): Define as weak alias of
8388         __profil_counter.
8389         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8390         (profil_counter): Rename to __profil_counter.
8391         [!__profil_counter] (profil_counter): Define as weak alias of
8392         __profil_counter.
8393         * sysdeps/posix/profil.c: Update comment referring to
8394         profil_counter.
8395         (__profil): Use __profil_counter instead of profil_counter.
8396         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8397         __profil_counter.  Use __profil_counter_ushort and
8398         __profil_counter_uint in definitions.
8399         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8400         instead of profil_counter_uint and profil_counter_ushort.
8402         [BZ #17722]
8403         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8404         define as weak alias of __inet_makeaddr.
8405         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8406         as weak alias of __inet_addr.
8407         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8408         as weak alias of __inet_pton.  Use libc_hidden_weak.
8409         * include/arpa/inet.h (__inet_pton): Declare.  Use
8410         libc_hidden_proto.
8411         (inet_makeaddr): Don't use libc_hidden_proto.
8412         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8413         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8414         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8415         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8416         Remove variable.
8417         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8418         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8420 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8422         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8424 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8426         * stdio-common/bug-vfprintf-nargs.c (do_test):
8427         Cast value to intptr_t to avoid format warning
8428         for usage with PRIdPTR printing macro.
8430 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8432         * libio/tst-widetext.c (do_test):
8433         Use format type %td instead of %Zd for ptrdiff_t
8434         in order to avoid format warning.
8436 2014-12-17  Andreas Schwab  <schwab@suse.de>
8438         * nscd/mem.c (gc): Add size_t cast to match printf format.
8440 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8442         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8443         (init): Apply PTR_MANGLE to pointers before storing them.
8444         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8445         before using them.
8447 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8449         [BZ #17719]
8450         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8451         define as weak alias of __memrchr.
8452         (__memrchr): Do not define as strong alias of memrchr.
8453         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8454         Remove variable.
8455         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8456         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8457         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8459         [BZ #17717]
8460         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8461         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8462         (if_indextoname): Rename to __if_indextoname and define as weak
8463         alias of __if_indextoname.  Use libc_hidden_weak.
8464         (if_freenameindex): Rename to __if_freenameindex and define as
8465         weak alias of __if_freenameindex.
8466         (if_nameindex): Rename to __if_nameindex and define as weak alias
8467         of __if_nameindex.
8468         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8469         __if_nametoindex and define as weak alias of __if_nametoindex.
8470         Use libc_hidden_weak.
8471         (if_freenameindex): Rename to __if_freenameindex and define as
8472         weak alias of __if_freenameindex.
8473         (if_nameindex): Rename to __if_nameindex and define as weak alias
8474         of __if_nameindex.
8475         (if_indextoname): Rename to __if_indextoname and define as weak
8476         alias of __if_indextoname.  Use libc_hidden_weak.
8477         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8478         __if_nametoindex and define as weak alias of __if_nametoindex.
8479         Use libc_hidden_weak.
8480         (if_freenameindex): Rename to __if_freenameindex and define as
8481         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8482         (if_nameindex_netlink): Use __if_freenameindex instead of
8483         if_freenameindex.
8484         (if_nameindex): Rename to __if_nameindex and define as weak alias
8485         of __if_nameindex.  Use libc_hidden_weak.
8486         (if_indextoname): Rename to __if_indextoname and define as weak
8487         alias of __if_indextoname.  Use libc_hidden_weak.
8488         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8489         libc_hidden_proto.
8490         [!_ISOMAC] (__if_freenameindex): Likewise.
8491         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8492         if_nametoindex.
8493         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8494         variable.
8495         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8496         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8497         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8498         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8499         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8500         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8501         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8503         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8504         Remove variable.
8505         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8506         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8508 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8510         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8511         subscript above bounds'
8513         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8514         bounds.
8516 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8518         * libio/tst-fopenloc.c: Use test-skeleton.c.
8520         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8521         (entry): Rename to ITEM.
8522         (do_test, comp): Adjust.
8524         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8526 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8528         * string/tester.c: Include <libc-internal.h>.
8529         (test_memset): Ignore -Wmemset-transposed-args.
8531 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8533         * misc/tst-mntent2.c (do_test): Fix warning.
8535 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8537         * elf/tst-unique4lib.cc(a): Mark as used.
8539 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8541         [BZ #17630]
8542         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8543         names.
8545 2014-12-16  Allan McRae  <allan@archlinux.org>
8547         * stdio-common/Makefile (tests): Re-add bug26.
8549 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8551         [BZ #17657]
8552         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8553         static array.
8555 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8557         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8558         (__lll_lock_wait): Likewise.
8559         (__lll_timedlock_wait): Likewise.
8560         (__lll_timedwait_tid): Likewise.
8561         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8562         (__lll_robust_timedlock_wait): Likewise.
8563         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8564         (lll_cond_trylock): Likewise.
8565         (__lll_lock): Likewise.
8566         (__lll_robust_lock): Likewise.
8567         (__lll_cond_lock): Likewise.
8568         (lll_robust_cond_lock): Likewise.
8569         (__lll_timedlock): Likewise.
8570         (__lll_robust_timedlock): Likewise.
8571         (__lll_unlock): Likewise.
8572         (__lll_robust_unlock): Likewise.
8573         (lll_wait_tid): Likewise.
8574         (lll_timedwait_tid): Likewise.
8576 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8578         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8580 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8582         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8584 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8586         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8587         * stdio-common/tst-sprintf.c: Likewise.
8589 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8591         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8593 2014-12-15  Jeff Law  <law@redhat.com>
8595         [BZ #16617]
8596         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8597         on the heap.  (CVE-2012-3406)
8598         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8599         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8600         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8602 2014-12-15  Will Newton  <will.newton@linaro.org>
8604         * manual/install.texi: Bump required version of texinfo
8605         to 4.7 from 4.5.
8606         * INSTALL: Regenerated.
8607         * configure.ac: Check for makeinfo version 4.7 and above.
8608         * configure: Regenerated.
8610 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8612         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8613         PREFIX, string constant to insert between directory and name.
8614         * sysdeps/posix/shm_open.c: Update caller.
8615         * sysdeps/posix/shm_unlink.c: Likewise.
8616         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8617         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8618         (SEM_SHM_PREFIX): New macro.
8619         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8620         [$(have-thread-library) = no].
8621         * nptl/Makefile (libpthread-routines): Add shm-directory.
8622         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8623         * sysdeps/nptl/shm-directory.h: New file.
8624         * sysdeps/posix/shm-directory.c
8625         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8626         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8627         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8628         INTERNAL_SYSCALL.
8629         (__where_is_shmfs): Function removed.
8630         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8631         Variables removed.
8632         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8633         Use SHM_GET_NAME.
8634         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8636         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8637         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8638         unconditional for use inside libpthread.
8639         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8641 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8643         * nptl/pthread_getaffinity.c: New file.
8644         * nptl/pthread_setaffinity.c: New file.
8645         * nptl/pthread_getname.c: New file.
8646         * nptl/pthread_setname.c: New file.
8648         * nptl/pthread_create.c (START_THREAD_DEFN)
8649         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8651 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8652             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8654         * resolv/res_send.c (send_vc): Disable warning resplen may
8655         be used uninitialized.
8657 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8659         * nptl/tst-mutex6.c
8660         (ATTR_NULL): New define checks ATTR against NULL.
8661         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8662         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8664 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8666         [BZ #17581]
8667         * malloc/hooks.c
8668         (mem2mem_check): Revert my previous change.
8669         (malloc_check_get_size): Revert my previous change.
8670         (mem2chunk_check): Revert my previous change.
8672 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8674         * sysdeps/posix/shm-directory.c: New file.
8675         * sysdeps/posix/shm-directory.h: New file.
8676         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8677         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8678         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8679         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8680         Transmute EPERM to EACCES.
8681         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8682         from ...
8683         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8684         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8686 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8688         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8689         pointer and cast to uintptr_t.
8690         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8691         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8692         Add cast to avoid warning.
8693         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8695 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8697         * nptl/semaphore.h: Move to ...
8698         * sysdeps/pthread/semaphore.h: ... here.
8699         * Makefile (installed-headers): Change nptl/semaphore.h to
8700         sysdeps/pthread/semaphore.h.
8702 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8704         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8705         generated error format strings.
8707         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8708         -Wformat-extra-args warnings for scanf formats.
8709         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8710         test of zero-length format (duh).
8711         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8712         corner-case scanf format test.
8713         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8714         generated fprintf format string.
8715         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8716         corner-case sprintf format tests.
8717         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8718         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8719         -Wformat-extra-args warnings throughout.
8720         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8721         (CFLAGS-scanf4.c): Likewise.
8722         (CFLAGS-scanf7.c): Likewise.
8723         (CFLAGS-tst-sprintf.c): Likewise.
8724         (CFLAGS-tst-printf.c): Likewise.
8725         (CFLAGS-tst-printfsz.c): Likewise.
8727 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8729         * include/cpio.h: New file.
8730         * include/fmtmsg.h: Likewise.
8732         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8733         corresponding format argument to size_t.
8734         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8735         arguments.
8736         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8737         corresponding format argument to size_t.
8738         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8739         arguments.
8740         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8741         corresponding format argument to size_t.
8742         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8743         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8744         (CFLAGS-tst-mbswcs2.c): Likewise.
8745         (CFLAGS-tst-mbswcs3.c): Likewise.
8746         (CFLAGS-tst-mbswcs4.c): Likewise.
8747         (CFLAGS-tst-mbswcs5.c): Likewise.
8748         (CFLAGS-tst-trans.c): Likewise
8750 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8752         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8753         rather than assuming they won't contain any '%'s.
8755 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8757         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8758         inhibit_loop_to_libcall to avoid recursive calls.
8759         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8760         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8762 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8764         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8765         prototype.
8767 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8769         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8770         integer value instead of boolean.
8772 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8774         * malloc/malloc.c: Fix powerof2 check.
8776 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8778         * locale/programs/locfile.h (maybe_swap_uint32):
8779         Remove inline and add unused attribute.
8781 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8783         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8784         Truncating assembler expression to a .long expression.
8786 2014-12-11  Andreas Schwab  <schwab@suse.de>
8788         * elf/rtld.c (struct map_args): Constify str member.
8789         (do_preload): Constify fname argument.
8791 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8794         constants definition.
8796 2014-12-11  Andreas Schwab  <schwab@suse.de>
8798         [BZ #16657]
8799         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8800         FORCE_ELISION instead of DO_ELISION.
8801         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8802         Remove.
8803         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8804         Likewise.
8806         * iconvdata/gconv-modules: Remove duplicate entry.
8808 2014-12-11  Will Newton  <will.newton@linaro.org>
8810         Merge gettext 0.19.3 into intl/.
8812         This involves a number of cosmetic changes to comments
8813         and ANSI function definitions and prototypes throughout
8814         all the files. The gettext copyright header is used but
8815         with the date ranges taken from the glibc copy.
8817         * NEWS: Add gettext merge to 2.21.
8818         * intl/bindtextdom.c: Switch to gettext copyright.
8819         Use ANSI definitions and prototypes.
8820         Use gl_* locking primitives rather than __libc_* ones.
8821         Use __builtin_expect rather than __glibc_likely/unlikely.
8822         * intl/dcgettext.c: Switch to gettext copyright.
8823         Use ANSI definitions and prototypes.
8824         * intl/dcigettext.c: Switch to gettext copyright.
8825         Use ANSI definitions and prototypes.
8826         (INTDIV0_RAISES_SIGFPE): New define.
8827         Use gl_* locking primitives rather than __libc_* ones.
8828         Include eval-plural.h instead of plural-eval.c.
8829         Use __builtin_expect rather than __glibc_likely/unlikely.
8830         * intl/dcngettext.c: Switch to gettext copyright.
8831         Use ANSI definitions and prototypes.
8832         * intl/dgettext.c: Likewise.
8833         * intl/dngettext.c: Likewise.
8834         * intl/plural-eval.c: Renamed to...
8835         * intl/eval-plural.h: ...this.
8836         * intl/explodename.c: Switch to gettext copyright.
8837         Use ANSI definitions and prototypes.
8838         (_nl_explode_name): Use strchr instead of __rawmemchr.
8839         * intl/finddomain.c: Switch to gettext copyright.
8840         Use ANSI definitions and prototypes.
8841         Use gl_* locking primitives rather than __libc_* ones.
8842         (_nl_find_domain): Use malloc rather than alloca for
8843         allocation of temporary locale name.
8844         * intl/gettext.c: Switch to gettext copyright.
8845         Use ANSI definitions and prototypes.
8846         * intl/gettextP.h: Switch to gettext copyright.
8847         Use ANSI definitions and prototypes.
8848         Use gl_* locking primitives rather than __libc_* ones.
8849         * intl/gmo.h: Switch to gettext copyright.
8850         (struct sysdep_string): Move struct segment_pair outside of
8851         struct definition.
8852         * intl/hash-string.c: Use ANSI definitions and prototypes.
8853         * intl/hash-string.h: Switch to gettext copyright.
8854         Use ANSI definitions and prototypes.
8855         * intl/l10nflist.c: Switch to gettext copyright.
8856         Use ANSI definitions and prototypes.
8857         (_nl_normalize_codeset): Avoid integer overflow.
8858         * intl/loadinfo.h: Switch to gettext copyright.
8859         Use ANSI definitions and prototypes.
8860         (LIBINTL_DLL_EXPORTED): New define.
8861         (PATH_SEPARATOR): New define.
8862         * intl/loadmsgcat.c: Switch to gettext copyright.
8863         * intl/localealias.c: Switch to gettext copyright.
8864         Use ANSI definitions and prototypes.
8865         (_nl_expand_alias): Use PATH_SEPARATOR.
8866         * intl/ngettext.c: Switch to gettext copyright.
8867         Use ANSI definitions and prototypes.
8868         * intl/plural-exp.c: Likewise.
8869         * intl/plural-exp.h: Switch to gettext copyright.
8870         Use ANSI definitions and prototypes.
8871         (struct expression): Move definition of enum operator outside
8872         of struct definition.
8873         * intl/plural.c: Regenerate.
8874         * intl/plural.y: Switch to gettext copyright.
8875         Use ANSI definitions and prototypes.
8876         Port to bison 3.0.
8877         * intl/textdomain.c: Switch to gettext copyright.
8878         Use ANSI definitions and prototypes.
8879         Use gl_* locking primitives rather than __libc_* ones.
8881 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8883         * debug/warning-nop.c: Add used atrribute.
8885 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8887         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8889         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8890         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8891         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8893 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8894             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8896         [BZ #17634]
8897         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8898         Undefine after defining function.  Define as weak alias of
8899         __wcschr.  Use libc_hidden_weak.
8900         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8901         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8902         (libc_hidden_def): Also define __GI___wcschr alias.
8903         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8904         __wcschr and define as weak alias of __wcschr.
8905         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8906         __wcschr.
8907         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8908         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8909         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8910         libc_hidden_weak.  Do not use libc_hidden_def.
8911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8912         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8913         __GI___wcschr alias.
8914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8915         [IS_IN (libc)] (wcschr): Define as macro expanding to
8916         __redirect_wcschr.
8917         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8918         [IS_IN (libc)] (__wcschr_power6): Likewise.
8919         [IS_IN (libc)] (__wcschr_power7): Likewise.
8920         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8921         instead of wcschr.
8922         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8923         __libc_wcschr.
8924         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8925         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8926         __wcschr and define as weak alias of __wcschr.  Use
8927         libc_hidden_builtin_def.
8928         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8929         as weak alias of __wcschr.  Use libc_hidden_weak.
8930         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8931         wcschr.
8932         * time/era.c (_nl_init_era_entries): Likewise.
8933         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8934         variable.
8935         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8936         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8938 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8940         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8941         format for long int variable.
8943 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8945         [BZ #10672]
8946         * manual/search.texi: (Array Sort Function): Remove claim how to make
8947         qsort stable.
8949 2014-12-10  Andreas Schwab  <schwab@suse.de>
8951         [BZ #12847]
8952         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8953         user-controlled locks.
8955 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8957         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8958         register.
8960 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8962         * configure.ac (--disable-werror): New configure option.
8963         (enable_werror): New AC_SUBST.
8964         * configure: Regenerated.
8965         * config.make.in (enable-werror): New variable.
8966         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8967         -Wno-error=undef.
8968         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8969         * manual/install.texi (Configuring and compiling): Document
8970         --disable-werror.
8971         * INSTALL: Regenerated.
8972         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8973         (CFLAGS-tst-chk2.c): Likewise.
8974         (CFLAGS-tst-chk3.c): Likewise.
8975         (CFLAGS-tst-chk4.cc): Likewise.
8976         (CFLAGS-tst-chk5.cc): Likewise.
8977         (CFLAGS-tst-chk6.cc): Likewise.
8978         (CFLAGS-tst-lfschk1.c): Likewise.
8979         (CFLAGS-tst-lfschk2.c): Likewise.
8980         (CFLAGS-tst-lfschk3.c): Likewise.
8981         (CFLAGS-tst-lfschk4.cc): Likewise.
8982         (CFLAGS-tst-lfschk5.cc): Likewise.
8983         (CFLAGS-tst-lfschk6.cc): Likewise.
8985         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8986         (main): Disable -Wdeprecated-declarations around calls to
8987         register_printf_function.
8989         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8990         (do_test): Disable -Wdiv-by-zero around some calls to
8991         fwrite_unlocked and fread_unlocked.
8993         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8994         (DIAG_POP_NEEDS_COMMENT): Likewise.
8995         (_DIAG_STR1): Likewise.
8996         (_DIAG_STR): Likewise.
8997         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8998         * stdio-common/bug21.c: Include <libc-internal.h>.
8999         (do_test): Disable -Wformat around call to sscanf.
9000         * stdio-common/scanf14.c: Include <libc-internal.h>.
9001         (main): Disable -Wformat around some calls to scanf functions.
9003 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9005         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9007 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9009         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9010         stack variable alignment.
9012 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9014         [BZ #17682]
9015         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9016         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9017         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9018         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9019         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9020         __getrlimit instead of getrlimit.
9021         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9022         __gettimeofday instead of gettimeofday.
9023         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9024         Likewise.
9025         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9026         Likewise.
9027         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9028         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9029         Remove variable.
9030         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9031         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9033 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9035         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9036         for wide-character tests.
9038 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9040         * io/openat64.c: #include <libc-internal.h>
9041         (__openat64): Prototypify.  Use ignore_value on MODE.
9042         * io/openat.c: Likewise.
9043         * misc/reboot.c: #include <libc-internal.h>
9044         (reboot): Prototypify.  Use ignore_value on HOWTO.
9045         * misc/ptrace.c: #include <libc-internal.h>
9046         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9048 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9050         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9051         XPG4, UNIX98 and XOPEN2K.
9052         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9053         Remove variable.
9054         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9056 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9058         * libio/fileops.c: Use ISO C style for function definitions.
9059         * libio/iofopen.c: Likewise.
9060         * libio/wfileops.c: Likewise.
9062         [BZ #17653]
9063         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9064         offset on EOF.
9065         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9066         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9067         (fgets_func): Function pointer to fgets and fgetws.
9068         (do_ftell_test): Add test to verify ftell value after read
9069         EOF.
9070         (do_test): Set fgets_func.
9072         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9073         O_TRUNC flag for w and w+ modes.
9074         (do_rewind_test): Likewise.
9075         (do_ftell_test): Likewise.
9076         (do_write_test): Likewise.
9078         [BZ #17647]
9079         * libio/fileops.c (do_ftell): Seek only when there are
9080         unflushed writes.
9081         * libio/wfileops.c (do_ftell_wide): Likewise.
9082         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9083         test case.
9084         (do_one_test): Call it.
9086 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9088         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9089         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9090         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9091         Remove variable.
9092         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9093         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9094         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9096 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9098         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9099         Remove variable.
9100         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9102         [BZ #17668]
9103         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9104         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9105         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9106         __freeifaddrs.  Use libc_hidden_weak.
9107         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9108         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9109         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9110         __freeifaddrs.  Use libc_hidden_weak.
9111         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9112         __getifaddrs and define as weak alias of __getifaddrs.  Use
9113         libc_hidden_weak.
9114         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9115         __freeifaddrs.  Use libc_hidden_weak.
9116         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9117         Remove variable.
9118         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9119         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9121 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9123         [BZ #17601]
9124         * sysdeps/mips/start.S (__start): Use indirect jump to call
9125         __libc_start_main.
9127 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9129         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9131         * nptl/tst-mutex1.c: Include <stdbool.h>.
9132         [!ATTR] (ATTR_NULL): New macro.
9133         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9134         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9135         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9137         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9138         to char *.
9140         [BZ #17665]
9141         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9142         Change conditional to [__USE_MISC].
9144         [BZ #17664]
9145         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9146         fgets_unlocked.
9147         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9148         __fgets_unlocked.
9149         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9150         fgets_unlocked.
9151         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9152         Remove variable.
9153         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9154         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9155         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9156         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9157         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9158         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9159         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9160         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9161         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9163         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9165 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9167         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9168         Remove strpbrk objects.
9169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9170         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9171         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9172         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9173         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9174         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9176         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9177         Remove strcspn objects.
9178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9179         (__libc_ifunc_impl_list): Remove strcspn implementation.
9180         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9181         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9182         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9183         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9186         Remove strspn objetcs.
9187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9188         (__libc_ifunc_impl_list): Remove strspn implementation.
9189         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9190         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9191         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9192         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9194 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9196         [BZ #17581]
9197         * malloc/hooks.c
9198         (mem2mem_check): Add a terminator to the chain of checking blocks.
9199         (malloc_check_get_size): Use it here.
9200         (mem2chunk_check): Ditto.
9202 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9204         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9205         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9207 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9209         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9211         * nptl/nptl-init.c: Include libc-internal.h.
9212         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9214         * elf/ldconfig.c (search_dir): Expand comment.
9216 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9218         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9219         variable.
9220         (linknamespace-symlist-stdlibs-tests): Likewise.
9221         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9222         instead of $(objpfx)symlist-stdlibs.
9223         (linknamespace-libs-isoc): New variable.
9224         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9225         (linknamespace-libs-ISO): New variable.
9226         (linknamespace-libs-ISO99): Likewise.
9227         (linknamespace-libs-ISO11): Likewise.
9228         (linknamespace-libs-XPG3): Likewise.
9229         (linknamespace-libs-XPG4): Likewise.
9230         (linknamespace-libs-POSIX): Likewise.
9231         (linknamespace-libs-UNIX98): Likewise.
9232         (linknamespace-libs-XOPEN2K): Likewise.
9233         (linknamespace-libs-POSIX2008): Likewise.
9234         (linknamespace-libs-XOPEN2K8): Likewise.
9235         ($(objpfx)symlist-stdlibs): Replace by
9236         $(linknamespace-symlist-stdlibs-tests).  Use
9237         $(linknamespace-libs-$*) as set of libraries.
9238         ($(linknamespace-header-tests)): Update dependencies.  Use
9239         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9240         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9241         * conform/linknamespace.pl: Remove comment about considering
9242         definitions of symbols from irrelevant libraries.
9244 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9246         [BZ #13862]
9247         * elf/dl-tls.c: Include <atomic.h>.
9248         (oom): Remove #ifdef SHARED/#endif.
9249         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9250         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9251         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9252         big enough.
9253         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9254         * nptl/Makefile (tests): Add tst-stack4.
9255         (modules-names): Add tst-stack4mod.
9256         ($(objpfx)tst-stack4): New.
9257         (tst-stack4mod.sos): Likewise.
9258         ($(objpfx)tst-stack4.out): Likewise.
9259         ($(tst-stack4mod.sos)): Likewise.
9260         (clean): Likewise.
9261         * nptl/tst-stack4.c: New file.
9262         * nptl/tst-stack4mod.c: Likewise.
9264 2014-11-27  J. Brown  <jb999@gmx.de>
9266         * sysdeps/x86/bits/string.h: Add recent CPUs.
9268 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9270         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9271         sigblock.
9273         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9274         feof.
9276         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9277         variable.
9279 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9281         * nscd/connections.c: Include libc-internal.h because of macro
9282         usage ignore_value.
9284 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9286         * string/bits/string3.h (__warn_memset_zero_len): Don't
9287         declare for gcc newer than 5.0.
9288         (memset): Don't test for zero-length __LEN for gcc newer than
9289         5.0.
9291 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9293         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9294         size_t for %zu format.
9296         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9297         difference, not %ju.
9299 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9301         * include/libc-internal.h (ignore_value): New macro.
9302         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9303         with ignore_value.
9305         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9306         definition.
9308         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9309         pthread_cleanup_push to void *.
9311         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9312         Undefine.
9314         [BZ #16619]
9315         [BZ #16740]
9316         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9317         instead of 1L << 52.
9319         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9320         * libio/bug-rewind2.c (do_test): Likewise.
9322         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9323         * debug/test-strcpy_chk-ifunc.c: Likewise.
9324         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9325         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9326         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9327         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9328         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9329         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9330         * Rules [$(multi-arch) = no] (tests): Do not filter out
9331         $(tests-ifunc).
9332         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9333         * debug/Makefile (tests-ifunc): Remove variable.
9334         (tests): Do not add $(tests-ifunc).
9335         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9336         (tests): Do not add $(tests-ifunc).
9337         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9338         [TEST_IFUNC]: Remove conditionals.
9339         * string/test-string.h (TEST_IFUNC): Remove macro.
9340         [TEST_IFUNC]: Remove conditionals.
9342         * string/test-strchr.c [!WIDE] (L): New macro.
9343         [WIDE] (L): Likewise.
9344         (check1): Use CHAR instead of char.  Use L on string and character
9345         constants.
9347 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9349         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9350         tests.
9351         * sysdeps/powerpc/bits/atomic.h
9352         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9353         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9354         (atomic_exchange_and_add_acq): Likewise.
9355         (atomic_exchange_and_add_rel): Likewise.
9356         * sysdeps/powerpc/powerpc32/bits/atomic.h
9357         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9358         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9359         * sysdeps/powerpc/powerpc64/bits/atomic.h
9360         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9361         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9363 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9365         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9366         Change synchronization of __sched_fifo_min_prio and
9367         __sched_fifo_max_prio.
9368         * nptl/pthread_mutexattr_getprioceiling.c
9369         (pthread_mutexattr_getprioceiling): Likewise.
9370         * nptl/pthread_mutexattr_setprioceiling.c
9371         (pthread_mutexattr_setprioceiling): Likewise.
9372         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9373         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9374         Likewise.
9376 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9378         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9379         void.
9381 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9383         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9384         third argument const.
9386 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9388         fnmatch: work around GCC compiler warning bug with uninit var
9389         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9390         This works around a bug with x86-64 GCC 4.9.2 and earlier
9391         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9392         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9393         used uninitialized in this function [-Wmaybe-uninitialized]".
9395 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9397         * posix/bug-regex31.c (main): Return RES not 0.
9399 2014-11-25  Anton Blanchard <anton@samba.org>
9401         * sysdeps/powerpc/bits/atomic.h
9402         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9404 2014-11-24  Sterling Augustine  <saugustine@google.com>
9406         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9408 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9410         [BZ #17608]
9411         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9413 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9415         [BZ #17633]
9416         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9417         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9418         variable.
9419         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9420         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9422 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9424         * string/strncpy.c (strncpy): Improve performance by using memset.
9426 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9428         * string/strcpy.c (strcpy):
9429         Improve performance by using strlen and memcpy.
9431 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9433         * string/strcoll_l.c (get_next_seq): __always_inline.
9434         * string/strcoll_l.c (do_compare): __always_inline.
9436 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9438         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9439         defined.
9440         * include/mqueue.h: Likewise.
9441         * include/stdlib.h: Likewise.
9443         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9444         (get_null_defines): Adjust.
9445         * sunrpc/Makefile: Adjust comment.
9446         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9447         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9448         (CFLAGS-interp.c): Likewise.
9449         (CFLAGS-ldconfig.c): Likewise.
9450         (CPPFLAGS-.os): Likewise.
9451         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9452         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9453         * extra-modules.mk (extra-modules.mk): Likewise.
9454         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9455         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9456         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9457         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9458         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9459         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9460         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9461         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9462         * iconvdata/Makefile (CPPFLAGS): Likewise.
9463         (cpp-srcs-left): Add libof for all iconvdata routines.
9464         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9465         * include/assert.h: Likewise.
9466         * include/ctype.h: Likewise.
9467         * include/errno.h: Likewise.
9468         * include/libc-symbols.h: Likewise.
9469         * include/math.h: Likewise.
9470         * include/netdb.h: Likewise.
9471         * include/resolv.h: Likewise.
9472         * include/stdio.h: Likewise.
9473         * include/stdlib.h: Likewise.
9474         * include/string.h: Likewise.
9475         * include/sys/stat.h: Likewise.
9476         * include/wctype.h: Likewise.
9477         * intl/l10nflist.c: Likewise.
9478         * libidn/idn-stub.c: Likewise.
9479         * libio/libioP.h: Likewise.
9480         * nptl/libc_multiple_threads.c: Likewise.
9481         * nptl/pthreadP.h: Likewise.
9482         * posix/regex_internal.h: Likewise.
9483         * resolv/res_hconf.c: Likewise.
9484         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9485         * sysdeps/arm/memmove.S: Likewise.
9486         * sysdeps/arm/sysdep.h: Likewise.
9487         * sysdeps/generic/_itoa.h: Likewise.
9488         * sysdeps/generic/symbol-hacks.h: Likewise.
9489         * sysdeps/gnu/errlist.awk: Likewise.
9490         * sysdeps/gnu/errlist.c: Likewise.
9491         * sysdeps/i386/i586/memcpy.S: Likewise.
9492         * sysdeps/i386/i586/memset.S: Likewise.
9493         * sysdeps/i386/i686/memcpy.S: Likewise.
9494         * sysdeps/i386/i686/memmove.S: Likewise.
9495         * sysdeps/i386/i686/mempcpy.S: Likewise.
9496         * sysdeps/i386/i686/memset.S: Likewise.
9497         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9498         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9499         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9500         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9502         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9503         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9504         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9505         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9506         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9507         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9508         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9509         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9510         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9511         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9512         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9513         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9514         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9515         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9516         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9517         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9518         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9519         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9520         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9521         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9522         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9523         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9524         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9525         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9526         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9527         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9528         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9529         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9530         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9531         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9532         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9533         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9534         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9535         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9536         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9537         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9538         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9539         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9540         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9541         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9542         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9543         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9544         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9545         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9546         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9547         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9548         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9549         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9550         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9551         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9552         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9553         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9554         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9555         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9556         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9557         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9558         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9559         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9560         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9561         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9562         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9563         * sysdeps/posix/closedir.c: Likewise.
9564         * sysdeps/posix/opendir.c: Likewise.
9565         * sysdeps/posix/readdir.c: Likewise.
9566         * sysdeps/posix/rewinddir.c: Likewise.
9567         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9568         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9569         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9570         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9571         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9572         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9573         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9576         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9577         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9578         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9579         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9580         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9581         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9582         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9583         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9584         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9585         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9586         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9587         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9588         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9589         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9590         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9592         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9594         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9595         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9602         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9603         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9604         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9605         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9606         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9607         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9608         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9609         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9610         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9611         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9612         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9613         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9614         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9615         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9616         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9617         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9618         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9620         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9621         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9623         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9624         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9625         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9626         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9627         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9628         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9629         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9630         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9631         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9632         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9633         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9634         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9635         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9636         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9637         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9638         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9639         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9640         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9641         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9642         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9643         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9644         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9645         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9646         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9647         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9648         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9649         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9650         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9651         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9652         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9653         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9654         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9655         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9656         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9657         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9658         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9659         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9662         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9663         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9665         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9666         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9668         * sysdeps/unix/alpha/sysdep.S: Likewise.
9669         * sysdeps/unix/alpha/sysdep.h: Likewise.
9670         * sysdeps/unix/make-syscalls.sh: Likewise.
9671         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9673         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9674         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9675         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9676         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9677         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9678         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9679         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9680         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9681         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9682         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9683         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9684         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9685         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9686         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9687         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9688         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9689         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9690         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9691         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9692         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9693         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9694         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9695         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9696         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9697         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9700         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9701         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9705         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9709         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9710         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9711         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9712         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9713         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9714         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9715         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9717         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9718         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9721         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9722         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9723         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9724         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9726         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9727         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9729         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9730         * sysdeps/x86_64/memcpy.S: Likewise.
9731         * sysdeps/x86_64/memmove.c: Likewise.
9732         * sysdeps/x86_64/memset.S: Likewise.
9733         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9734         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9735         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9736         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9737         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9738         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9739         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9740         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9741         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9742         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9743         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9744         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9745         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9746         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9747         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9748         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9749         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9750         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9751         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9752         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9753         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9754         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9755         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9757         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9758         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9759         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9760         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9761         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9762         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9763         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9764         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9765         * sysdeps/x86_64/strcmp.S: Likewise.
9767         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9769         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9770         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9771         * elf/rtld-Rules: Likewise.
9772         * elf/setup-vdso.h: Likewise.
9773         * include/assert.h: Likewise.
9774         * include/bits/stdlib-float.h: Likewise.
9775         * include/errno.h: Likewise.
9776         * include/sys/stat.h: Likewise.
9777         * include/unistd.h: Likewise.
9778         * sysdeps/aarch64/setjmp.S: Likewise.
9779         * sysdeps/alpha/setjmp.S: Likewise.
9780         * sysdeps/arm/__longjmp.S: Likewise.
9781         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9782         * sysdeps/arm/setjmp.S: Likewise.
9783         * sysdeps/arm/sysdep.h: Likewise.
9784         * sysdeps/generic/_itoa.h: Likewise.
9785         * sysdeps/generic/dl-sysdep.h: Likewise.
9786         * sysdeps/generic/ldsodefs.h: Likewise.
9787         * sysdeps/i386/dl-tls.h: Likewise.
9788         * sysdeps/i386/setjmp.S: Likewise.
9789         * sysdeps/m68k/setjmp.c: Likewise.
9790         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9791         * sysdeps/mach/hurd/opendir.c: Likewise.
9792         * sysdeps/posix/getcwd.c: Likewise.
9793         * sysdeps/posix/opendir.c: Likewise.
9794         * sysdeps/posix/profil.c: Likewise.
9795         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9796         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9797         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9798         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9799         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9800         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9801         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9802         * sysdeps/s390/dl-tls.h: Likewise.
9803         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9804         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9805         * sysdeps/sh/sh3/setjmp.S: Likewise.
9806         * sysdeps/sh/sh4/setjmp.S: Likewise.
9807         * sysdeps/unix/alpha/sysdep.h: Likewise.
9808         * sysdeps/unix/arm/sysdep.S: Likewise.
9809         * sysdeps/unix/i386/sysdep.S: Likewise.
9810         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9811         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9812         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9813         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9814         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9815         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9816         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9817         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9818         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9819         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9820         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9821         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9822         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9825         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9826         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9827         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9828         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9829         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9830         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9832         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9833         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9834         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9835         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9837         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9838         * sysdeps/x86_64/setjmp.S: Likewise.
9840         * include/math.h: Use IS_IN instead of IS_IN_libm.
9841         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9842         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9843         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9844         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9845         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9846         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9847         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9848         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9849         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9850         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9851         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9852         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9853         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9854         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9855         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9856         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9857         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9858         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9859         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9860         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9861         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9862         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9863         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9864         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9865         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9866         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9867         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9868         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9869         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9870         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9871         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9872         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9873         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9875         Likewise.
9876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9877         Likewise.
9878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9879         Likewise.
9880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9881         Likewise.
9882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9883         Likewise.
9884         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9885         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9886         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9887         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9888         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9889         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9895         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9896         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9897         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9898         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9899         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9900         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9901         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9902         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9903         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9904         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9905         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9907         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9908         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9910         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9912         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9913         * nptl/pthreadP.h: Likewise.
9914         * nptl_db/structs.def: Likewise.
9915         * sysdeps/arm/sysdep.h: Likewise.
9916         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9917         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9918         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9919         * sysdeps/unix/alpha/sysdep.h: Likewise.
9920         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9921         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9922         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9923         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9924         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9925         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9926         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9927         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9928         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9929         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9930         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9931         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9932         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9933         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9936         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9938         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9941         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9942         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9943         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9944         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9945         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9947         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9948         * nptl/pthreadP.h: Likewise.
9949         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9950         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9951         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9952         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9953         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9954         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9955         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9956         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9957         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9958         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9959         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9960         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9962         Likewise.
9963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9964         Likewise.
9965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9966         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9967         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9968         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9970         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9971         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9972         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9974         * dlfcn/dladdr.c: Use IS_IN.
9975         * dlfcn/dladdr1.c: Likewise.
9976         * dlfcn/dlclose.c: Likewise.
9977         * dlfcn/dlerror.c: Likewise.
9978         * dlfcn/dlinfo.c: Likewise.
9979         * dlfcn/dlmopen.c: Likewise.
9980         * dlfcn/dlopen.c: Likewise.
9981         * dlfcn/dlsym.c: Likewise.
9982         * dlfcn/dlvsym.c: Likewise.
9984         * include/ifaddrs.h: Use IS_IN.
9985         * inet/check_pf.c: Likewise.
9986         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9987         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9989         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9990         IS_IN_ldconfig.
9991         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9992         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9994         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9995         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9996         IS_IN (libc).
9998         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10000         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10001         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10002         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10003         * include/libc-symbols.h (IS_IN_LIB): New macro.
10004         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10005         * include/netdb.h: Likewise.
10006         * include/stap-probe.h: Remove all uses of IN_LIB.
10008         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10009         instead of IN_MODULE.
10010         * include/libc-symbols.h (IN_MODULE): Define using
10011         MODULE_NAME.
10012         (PASTE_NAME, PASTE_NAME1): New macros.
10013         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10014         of IN_LIB.
10015         (STAP_PROBE_ASM): Likewise.
10017 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10019         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10020         __mach_init in dlopened libc.
10022 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10024         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10025         * sysdeps/arm/preconfigure: Regenerate.
10027 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10029         * nptl/pthread_create.c (__pthread_create_2_1): Set
10030         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10031         when copying values from IATTR into PD.
10033 2014-11-21  Will Newton  <will.newton@linaro.org>
10034             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10036         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10037         Refactor inline-asm.  Also add comment.
10039         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10040         ElfW macro instead of hardcoded Elf64 types.
10041         (la_aarch64_gnu_pltenter): Likewise.
10042         * sysdeps/aarch64/dl-machine.h
10043         (elf_machine_runtime_setup): Use ElfW(Addr).
10045         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10046         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10047         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10048         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10049         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10050         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10051         (R_AARCH64_TLS_DTPMOD): This.
10052         (R_AARCH64_TLS_DTPREL64): Rename to ...
10053         (R_AARCH64_TLS_DTPREL): This.
10054         (R_AARCH64_TLS_TPREL64): Rename to ...
10055         (R_AARCH64_TLS_TPREL): This.
10056         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10057         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10058         R_AARCH64_TLS_TPREL64.
10059         (elf_machine_rela): Likewise.
10061 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10063         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10064         by setting it to 0.  64b atomics are not supported currently.
10066 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10068         [BZ #16469]
10069         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10070         search domain names.
10072 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10074         [BZ #16469]
10075         * NEWS: Update.
10076         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10077         trailing dot.
10078         * posix/tst-getaddrinfo5.c: New.
10079         * posix/Makefile (tests): Add it.
10081 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10083         [BZ #14498]
10084         * NEWS: Fixed.
10085         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10086         after parsing line but before break_if_match.
10087         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10088         if there is a protocol mismatch.
10090 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10092         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10093         because the potential race is on the user-supplied stream.
10095 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10097         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10098         string literal if not passed a buffer.
10099         * manual/job.texi (ctermid): Update reasoning, note deviation
10100         from posix, suggest mtasurace when not passed a buffer, for
10101         future non-preliminary safety notes.
10103 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10105         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10106         of not passing it a buffer.
10107         Reported by Peng Haitao.
10109 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10111         * manual/Makefile ($(objpfx)stamp-summary): Require
10112         check-safety.sh to pass.
10113         * manual/check-safety.sh: Wish for verification that every
10114         @deftypefn and @deftypefun is followed by a @safety remark.
10116 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10118         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10120         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10121         PTHREAD_CANCEL_ASYNCHRONOUS.
10122         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10123         send SIGCANCEL.
10125         * nptl/default-sched.h: New file.
10126         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10127         * nptl/pthread_create.c: Include it.
10128         (__pthread_create_2_1): Use collect_default_sched instead of making
10129         Linux syscalls here directly.
10131 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10133         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10134         __pthread_once): Use C11 atomics.
10136 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10138         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10140 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10142         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10143         atomic_thread_fence_acquire, atomic_thread_fence_release,
10144         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10145         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10146         atomic_compare_exchange_weak_relaxed,
10147         atomic_compare_exchange_weak_acquire,
10148         atomic_compare_exchange_weak_release,
10149         atomic_exchange_acquire, atomic_exchange_release,
10150         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10151         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10152         atomic_fetch_and_acquire,
10153         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10155 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10157         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10158         USE_ATOMIC_COMPILER_BUILTINS): Define.
10159         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10161         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10163         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10165         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10167         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10169         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10171         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10173         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10175         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10177         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10179         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10181         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10183         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10185         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10187         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10189         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10191         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10193         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10194         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10195         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10197         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10200 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10202         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10203         the sched_priority value here.  It was already checked when the user
10204         called pthread_attr_setschedparam.
10206         * nptl/tst-bad-schedattr.c: New file.
10207         * nptl/Makefile (tests): Add it.
10209 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10210             Florian Weimer  <fweimer@redhat.com>
10211             Joseph Myers  <joseph@codesourcery.com>
10212             Adam Conrad  <adconrad@0c3.net>
10213             Andreas Schwab  <schwab@suse.de>
10214             Brooks  <bmoses@google.com>
10216         [BZ #17625]
10217         * wordexp-test.c (__dso_handle): Add prototype.
10218         (__register_atfork): Likewise.
10219         (__app_register_atfork): New function.
10220         (registered_forks): New global.
10221         (register_fork): New function.
10222         (test_case): Add 3 new tests for WRDE_CMDSUB.
10223         (main): Call __app_register_atfork.
10224         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10225         fork count is non-zero fail the test.
10226         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10227         is set.
10228         (parse_dollars): Remove check for WRDE_NOCMD.
10229         (parse_dquote): Likewise.
10231 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10233         * Makeconfig (built-modules): List non-library modules to be
10234         built.
10235         (module-cppflags): Include libc-modules.h for
10236         everything except shlib-versions.v.i.
10237         (CPPFLAGS): Use it.
10238         (before-compile): Add libc-modules.h.
10239         ($(common-objpfx)libc-modules.h,
10240         $(common-objpfx)libc-modules.stmp): New targets.
10241         (common-generated): Add libc-modules.h and libc-modules.stmp.
10242         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10243         * include/libc-symbols.h: Don't include libc-modules.h.
10244         * include/libc-modules.h: Remove file.
10245         * scripts/gen-libc-modules.awk: New script to generate
10246         libc-modules.h.
10247         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10248         Depend on libc-modules.stmp.
10250         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10252         * Makeconfig (in-module): Get value of libof set for the
10253         translation unit.
10254         (CPPFLAGS): Use $(in-module).
10255         * Makerules: Don't suffix routine names for nonlib.
10256         * include/libc-modules.h: New file.
10257         * include/libc-symbols.h: Include libc-modules.h
10258         (IS_IN): New macro to replace IS_IN_* macros.
10259         * elf/Makefile: Set libof-* for each routine.
10260         * elf/rtld-Rules: Likewise.
10261         * extra-modules.mk: Likewise.
10262         * iconv/Makefile: Likewise.
10263         * iconvdata/Makefile: Likewise.
10264         * locale/Makefile: Likewise.
10265         * malloc/Makefile: Likewise.
10266         * nss/Makefile: Likewise.
10267         * sysdeps/gnu/Makefile: Likewise.
10268         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10269         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10270         * sysdeps/s390/s390-64/Makefile: Likewise.
10271         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10272         CPPFLAGS for nscd instead of nonlib.
10274 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10276         * nptl/createthread.c: New file.
10278         * nptl/createthread.c: Moved ...
10279         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10281         * nptl/createthread.c: Add proper top-line comment.
10282         (do_clone): Folded into ...
10283         (create_thread): ... here.  Take new arguments STOPPED_START and
10284         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10285         increment __nptl_threads, do event-reporting logic, do
10286         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10287         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10288         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10289         just send SIGCANCEL.
10290         * nptl/pthread_create.c: Forward-declare create_thread before
10291         including createthread.c.
10292         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10293         declaration, and new macro START_THREAD_SELF to replace argument.
10294         Remove return statement.
10295         (report_thread_creation): New function.
10296         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10297         synchronization logic, and __nptl_nthreads increment here, around
10298         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10299         PD->parent_cancelhandling here, before create_thread.  When
10300         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10301         __deallocate_stack, and ENOMEM translation here.
10303 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10305         [BZ #17616]
10306         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10307         (mptwo): Rename to __mptwo.
10308         (__inv): Use __mptwo instead of mptwo.
10309         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10310         (mptwo): Rename to __mptwo.
10311         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10312         of mpone and __mptwo instead of mptwo.
10313         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10314         instead of mpone.
10315         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10316         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10317         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10318         of mpone and __mptwo instead of mptwo.
10319         (__mpranred): Use __mpone instead of mpone.
10320         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10321         variable.
10322         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10323         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10324         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10325         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10326         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10327         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10328         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10329         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10330         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10331         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10332         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10333         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10334         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10335         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10336         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10337         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10338         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10339         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10340         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10342 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10344         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10345         replace BSD Handler xref with BSD Signal Handling.
10347 2014-11-17  Richard Henderson  <rth@redhat.com>
10349         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10350         (_FP_PACK_RAW_2): Remove.
10351         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10352         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10353         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10354         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10355         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10356         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10357         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10358         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10359         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10360         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10361         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10362         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10363         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10364         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10365         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10366         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10368 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10370         * signal/signal.h [__USE_MISC]
10371         (struct sigvec): Remove type.
10372         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10373         (sigvec): Remove declaration.
10374         * sysdeps/posix/sigvec.c: Moved ...
10375         * signal/sigvec.c: ... here, replacing old file.
10376         (struct sigvec): New type, copied from old signal.h definition.
10377         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10378         (__sigvec): Convert definition to prototype.
10379         (sigvec): Replace weak_alias with compat_symbol.
10380         * signal/Versions (libc: GLIBC_2.21): New version set.
10381         * include/signal.h: Remove __sigvec declaration.
10382         * sysdeps/unix/bsd/sigvec.c: Remove file.
10383         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10384         * manual/signal.texi (BSD Handler): Remove subsection.
10385         Move siginterrupt up to ...
10386         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10387         (Blocking in BSD): Fold subsection into its parent.
10388         * NEWS: Mention sigvec removal.
10390 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10392         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10393         (DLA_FMS): Make definition conditional only on [__FMA4__].
10394         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10395         definition.
10397         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10398         Make definition conditional only on [PROF].
10399         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10400         definition.
10401         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10402         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10404         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10405         !__GNUC__].
10406         * include/signal.h (__sigpause): Move declaration above call to
10407         libc_hidden_proto.
10408         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10409         variable.
10410         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10411         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10413 2014-11-14  David S. Miller  <davem@davemloft.net>
10415         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10416         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10418 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10420         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10421         * configure: Regenerated.
10422         * manual/install.texi (Tools for Compilation): Document a
10423         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10424         compiler verified to work.
10425         * INSTALL: Regenerated.
10427         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10428         redeclare with asm name.
10429         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10430         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10431         including <string.h>.
10432         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10433         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10434         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10435         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10436         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10437         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10438         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10440 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10442         * stdlib/strtol.c (__strtol): Use prototype definition.
10444         [BZ #17594]
10445         * stdlib/strtol.c (SYM__): New macro.
10446         (SYM__1): Likewise.
10447         (__strtol): Likewise.
10448         (strtol): Rename to __strtol and define as weak alias of
10449         __strtol.  Use libc_hidden_weak.
10451 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10453         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10454         Use numbered labels in inline assembly.
10456 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10458         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10459         Add setjmp LIBC_PROBE.
10460         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10461         Likewise.
10462         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10463         Add longjmp, longjmp_target LIBC_PROBE.
10464         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10465         Likewise.
10467 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10469         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10470         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10471         to get rid of unused variable warning.
10473 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10475         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10476         Check for unwind_backtrace ==  NULL only in SHARED case.
10477         (__backchain_backtrace): Compile only in SHARED case.
10478         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10479         Likewise.
10480         (__backchain_backtrace): Declare as static.
10482 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10484         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10485         (__libc_multiple_threads_ptr): Variable moved ...
10486         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10488 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10490         * conform/GlibcConform.pm: New file.
10491         * conform/conformtest.pl: Use GlibcConform module.
10492         * conform/linknamespace.pl: New file.
10493         * conform/list-header-symbols.pl: Likewise.
10494         * conform/Makefile (linknamespace-symlists-base): New variable.
10495         (linknamespace-symlists-tests): Likewise.
10496         (linknamespace-header-base): Likewise.
10497         (linknamespace-header-tests): Likewise.
10498         (tests-special): Add new tests.
10499         ($(linknamespace-symlists-tests)): New rule.
10500         (linknamespace-libs): New variable.
10501         ($(objpfx)symlist-stdlibs): New rule.
10502         ($(linknamespace-header-tests)): Likewise.
10503         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10504         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10505         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10506         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10507         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10508         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10509         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10510         (test-xfail-ISO/math.h/linknamespace): Likewise.
10511         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10512         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10513         (test-xfail-ISO/time.h/linknamespace): Likewise.
10514         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10515         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10516         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10517         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10518         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10519         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10520         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10521         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10522         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10523         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10524         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10525         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10526         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10527         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10528         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10529         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10530         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10531         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10532         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10533         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10534         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10535         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10536         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10537         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10538         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10539         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10540         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10541         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10542         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10543         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10544         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10545         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10546         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10547         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10548         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10549         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10550         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10551         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10552         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10553         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10554         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10555         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10556         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10557         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10558         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10559         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10560         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10561         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10562         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10563         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10564         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10565         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10566         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10567         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10568         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10569         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10570         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10571         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10572         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10573         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10574         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10575         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10576         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10577         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10578         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10579         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10580         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10581         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10582         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10583         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10584         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10585         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10586         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10587         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10588         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10589         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10590         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10591         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10592         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10593         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10594         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10595         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10596         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10597         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10598         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10599         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10600         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10601         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10602         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10603         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10604         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10605         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10606         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10607         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10608         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10609         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10610         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10611         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10612         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10613         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10614         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10615         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10616         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10617         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10618         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10619         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10620         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10621         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10622         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10623         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10624         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10625         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10626         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10627         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10628         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10629         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10630         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10631         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10632         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10633         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10634         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10635         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10636         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10637         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10638         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10639         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10640         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10641         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10642         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10643         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10644         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10645         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10646         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10647         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10648         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10649         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10650         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10651         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10652         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10653         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10654         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10655         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10656         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10657         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10658         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10659         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10660         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10661         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10662         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10663         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10665         [BZ #17589]
10666         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10667         of fgets_unlocked.
10669         [BZ #17585]
10670         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10671         (memmem): Rename to __memmem and define as weak alias of
10672         __memmem.  Use libc_hidden_weak.
10673         (__memmem): Use libc_hidden_def.
10674         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10675         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10676         memmem.
10678         [BZ #17582]
10679         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10680         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10681         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10682         and define as weak alias of __fgets_unlocked.  Use
10683         libc_hidden_weak.
10684         (__fgets_unlocked): Use libc_hidden_def.
10685         * include/stdio.h (__fgets_unlocked): Declare.  Use
10686         libc_hidden_proto.
10687         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10688         __fgets_unlocked instead of fgets_unlocked.
10689         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10690         (GET_NPROCS_CONF_PARSER): Likewise.
10691         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10692         (GET_NPROCS_CONF_PARSER): Likewise.
10694         [BZ #17574]
10695         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10696         weak alias of __wmemset.  Use libc_hidden_weak.
10697         (__wmemset): Use libc_hidden_def.
10698         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10699         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10700         of wmemset.
10702         [BZ #17573]
10703         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10704         with asm name __mempcpy.
10705         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10707         [BZ #17572]
10708         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10709         and define as weak alias of __rawmemchr.
10710         (__rawmemchr): Do not define as strong alias of rawmemchr.
10712         [BZ #17571]
10713         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10714         alias of __qsort_r.
10715         (qsort): Call __qsort_r instead of qsort_r.
10716         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10717         (__qsort_r): Declare.  Call libc_hidden_proto.
10718         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10719         instead of qsort_r.
10720         * nscd/gai.c (__qsort_r): Define to qsort_r.
10721         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10722         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10723         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10725         [BZ #17570]
10726         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10727         define as weak alias of __malloc_info.
10729         [BZ #17584]
10730         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10731         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10732         (__rewinddir): Use libc_hidden_def.
10733         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10734         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10735         (__rewinddir): Use libc_hidden_def.
10736         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10737         weak alias of __rewinddir.  Don't use libc_hidden_def.
10738         (__rewinddir): Use libc_hidden_def.
10739         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10740         (__rewinddir): Use libc_hidden_proto.
10741         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10742         rewinddir.
10743         (__getcwd): Use __rewinddir instead of rewinddir.
10745         [BZ #17583]
10746         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10747         alias of __fileno.  Use libc_hidden_weak.
10748         (__fileno): Use libc_hidden_def.
10749         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10750         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10751         alias of __ftello.
10752         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10753         __ftello.
10754         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10755         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10756         libc_hidden_def.
10757         (fread_unlocked): Don't use libc_hidden_ver.
10758         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10759         and define as weak alias of __fread_unlocked.  Don't use
10760         libc_hidden_def.
10761         (__fread_unlocked): Use libc_hidden_def.
10762         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10763         (ftello): Don't use libc_hidden_proto.
10764         (__ftello): Declare.  Use libc_hidden_proto.
10765         (fread_unlocked): Don't use libc_hidden_proto.
10766         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10767         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10768         and __ftello instead of fileno, fread_unlocked and ftello.
10770 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10772         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10773         GOT12.
10774         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10775         Likewise.
10776         (_dl_start_user): Likewise.
10777         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10779 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10780             Siddhesh Poyarekar  <siddhesh@redhat.com>
10782         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10783         Move argv and envp down instead of moving argc up.
10784         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10786 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10788         [BZ #17506]
10789         * test-skeleton.c (main): Return successful if one of
10790         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10791         * string/tst-strcoll-overflow.c: Define expected status.
10793 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10795         [BZ #17475]
10796         * locale/iso-639.def: Define Bhili and Tulu language codes.
10798 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10800         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10802 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10804         [BZ #17555]
10805         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10807 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10809         * configure.ac: Updated check of minimal required version to
10810         2.22.
10811         * manual/install.texi (Tools for Compilation): Updated version
10812         number.
10813         * configure: Regenerated.
10814         * INSTALL: Likewise.
10816 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10818         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10819         __tls_get_addr.
10821 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10823         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10824         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10825         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10826         libc_hidden_weak.
10827         (waitpid): Define as alias of __waitpid.
10828         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10829         __waitpid.
10830         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10831         libc_hidden_weak.
10832         (waitpid): Define as alias of __waitpid.
10833         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10834         __libc_waitpid alias.
10835         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10836         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10837         Likewise.
10838         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10839         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10840         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10841         alias.
10842         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10843         __waitpid.
10844         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10845         libc_hidden_weak.
10846         (waitpid): Define as alias of __waitpid.
10848 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10850         * manual/llio.texi: Add comment that write safety has been
10851         fixed in Linux.
10853         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10854         (localplt-build-dso): Add elf/ld.so.
10855         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10856         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10857         and free for ld.so.
10858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10859         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10861         Likewise.
10862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10863         Likewise.
10864         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10865         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10866         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10867         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10868         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10869         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10870         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10871         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10872         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10873         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10874         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10876 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10878         [BZ #14132]
10879         * include/libc-symbols.h (INTUSE): Remove macro.
10880         (INTDEF): Likewise.
10881         (INTVARDEF): Likewise.
10882         (_INTVARDEF): Likewise.
10883         (INTDEF2): Likewise.
10884         (INTVARDEF2): Likewise.
10885         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10886         rtld_hidden_def instead of INTVARDEF.
10887         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10888         (_dl_starting_up_internal): Remove declaration.
10889         (_dl_starting_up): Use rtld_hidden_proto.
10890         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10891         declaration.
10892         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10893         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10894         _dl_starting_up.
10895         * elf/dl-writev.h (_dl_writev): Likewise.
10896         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10897         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10898         _dl_starting_up_internal.
10900 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10902         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10903         test-skeleton.c.
10905 2014-11-05  Will Newton  <will.newton@linaro.org>
10907         * benchtests/Makefile: (bench-malloc): Add malloc thread
10908         scalability benchmark.
10909         * benchtests/bench-malloc-threads.c: New file.
10911 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10913         * sysdeps/aarch64/strchrnul.S: New file.
10915 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10917         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10918         definition.
10919         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10920         Likwise.
10921         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10922         Likewise.
10923         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10924         Likewise.
10925         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10926         Likewise.
10927         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10928         Likewise.
10930 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10932         * catgets/test-gencat.c: Use test-skeleton.c.
10933         * catgets/tst-catgets.c: Likewise.
10934         * csu/tst-empty.c: Likewise.
10935         * elf/tst-audit2.c: Likewise.
10936         * elf/tst-global1.c: Likewise.
10937         * elf/tst-pathopt.c: Likewise.
10938         * elf/tst-piemod1.c: Likewise.
10939         * elf/tst-tls10.c: Likewise.
10940         * elf/tst-tls11.c: Likewise.
10941         * elf/tst-tls12.c: Likewise.
10942         * gnulib/tst-gcc.c: Likewise.
10943         * iconvdata/tst-e2big.c: Likewise.
10944         * iconvdata/tst-loading.c: Likewise.
10945         * iconv/tst-iconv1.c: Likewise.
10946         * iconv/tst-iconv2.c: Likewise.
10947         * inet/test-inet6_opt.c: Likewise.
10948         * inet/tst-gethnm.c: Likewise.
10949         * inet/tst-network.c: Likewise.
10950         * inet/tst-ntoa.c: Likewise.
10951         * intl/tst-codeset.c: Likewise.
10952         * intl/tst-gettext2.c: Likewise.
10953         * intl/tst-gettext3.c: Likewise.
10954         * intl/tst-ngettext.c: Likewise.
10955         * intl/tst-translit.c: Likewise.
10956         * io/test-stat.c: Likewise.
10957         * libio/test-fmemopen.c: Likewise.
10958         * libio/tst-freopen.c: Likewise.
10959         * libio/tst-sscanf.c: Likewise.
10960         * libio/tst-ungetwc1.c: Likewise.
10961         * libio/tst-ungetwc2.c: Likewise.
10962         * libio/tst-widetext.c: Likewise.
10963         * localedata/tst-ctype.c: Likewise.
10964         * localedata/tst-digits.c: Likewise.
10965         * localedata/tst-leaks.c: Likewise.
10966         * localedata/tst-mbswcs1.c: Likewise.
10967         * localedata/tst-mbswcs2.c: Likewise.
10968         * localedata/tst-mbswcs3.c: Likewise.
10969         * localedata/tst-mbswcs4.c: Likewise.
10970         * localedata/tst-mbswcs5.c: Likewise.
10971         * localedata/tst-setlocale.c: Likewise.
10972         * localedata/tst-trans.c: Likewise.
10973         * localedata/tst-wctype.c: Likewise.
10974         * localedata/tst-xlocale1.c: Likewise.
10975         * login/tst-grantpt.c: Likewise.
10976         * malloc/tst-calloc.c: Likewise.
10977         * malloc/tst-malloc.c: Likewise.
10978         * malloc/tst-mallocstate.c: Likewise.
10979         * malloc/tst-mcheck.c: Likewise.
10980         * malloc/tst-mtrace.c: Likewise.
10981         * malloc/tst-obstack.c: Likewise.
10982         * math/atest-exp2.c: Likewise.
10983         * math/atest-exp.c: Likewise.
10984         * math/atest-sincos.c: Likewise.
10985         * math/test-matherr.c: Likewise.
10986         * math/test-misc.c: Likewise.
10987         * math/test-powl.c: Likewise.
10988         * math/tst-definitions.c: Likewise.
10989         * misc/tst-dirname.c: Likewise.
10990         * misc/tst-efgcvt.c: Likewise.
10991         * misc/tst-fdset.c: Likewise.
10992         * misc/tst-hsearch.c: Likewise.
10993         * misc/tst-mntent2.c: Likewise.
10994         * nptl/tst-sem7.c: Likewise.
10995         * nptl/tst-sem8.c: Likewise.
10996         * nptl/tst-sem9.c: Likewise.
10997         * nss/test-netdb.c: Likewise.
10998         * posix/tst-fnmatch.c: Likewise.
10999         * posix/tst-getlogin.c: Likewise.
11000         * posix/tst-gnuglob.c: Likewise.
11001         * posix/tst-mmap.c: Likewise.
11002         * pwd/tst-getpw.c: Likewise.
11003         * resolv/tst-inet_ntop.c: Likewise.
11004         * rt/tst-timer.c: Likewise.
11005         * stdio-common/test-fseek.c: Likewise.
11006         * stdio-common/test-popen.c: Likewise.
11007         * stdio-common/test-vfprintf.c: Likewise.
11008         * stdio-common/tst-cookie.c: Likewise.
11009         * stdio-common/tst-fileno.c: Likewise.
11010         * stdio-common/tst-gets.c: Likewise.
11011         * stdio-common/tst-obprintf.c: Likewise.
11012         * stdio-common/tst-perror.c: Likewise.
11013         * stdio-common/tst-sprintf2.c: Likewise.
11014         * stdio-common/tst-sprintf3.c: Likewise.
11015         * stdio-common/tst-sprintf.c: Likewise.
11016         * stdio-common/tst-swprintf.c: Likewise.
11017         * stdio-common/tst-tmpnam.c: Likewise.
11018         * stdio-common/tst-unbputc.c: Likewise.
11019         * stdio-common/tst-wc-printf.c: Likewise.
11020         * stdlib/tst-environ.c: Likewise.
11021         * stdlib/tst-fmtmsg.c: Likewise.
11022         * stdlib/tst-limits.c: Likewise.
11023         * stdlib/tst-rand48-2.c: Likewise.
11024         * stdlib/tst-rand48.c: Likewise.
11025         * stdlib/tst-random2.c: Likewise.
11026         * stdlib/tst-random.c: Likewise.
11027         * stdlib/tst-strtol.c: Likewise.
11028         * stdlib/tst-strtoll.c: Likewise.
11029         * stdlib/tst-tls-atexit.c: Likewise.
11030         * stdlib/tst-xpg-basename.c: Likewise.
11031         * string/test-ffs.c: Likewise.
11032         * string/tst-bswap.c: Likewise.
11033         * string/tst-inlcall.c: Likewise.
11034         * string/tst-strtok.c: Likewise.
11035         * string/tst-strxfrm.c: Likewise.
11036         * sysdeps/x86_64/tst-audit10.c: Likewise.
11037         * sysdeps/x86_64/tst-audit3.c: Likewise.
11038         * sysdeps/x86_64/tst-audit4.c: Likewise.
11039         * sysdeps/x86_64/tst-audit5.c: Likewise.
11040         * time/tst-ftime_l.c: Likewise.
11041         * time/tst-getdate.c: Likewise.
11042         * time/tst-mktime3.c: Likewise.
11043         * time/tst-mktime.c: Likewise.
11044         * time/tst-posixtz.c: Likewise.
11045         * time/tst-strptime2.c: Likewise.
11046         * time/tst-strptime3.c: Likewise.
11047         * wcsmbs/tst-btowc.c: Likewise.
11048         * wcsmbs/tst-mbrtowc.c: Likewise.
11049         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11050         * wcsmbs/tst-wchar-h.c: Likewise.
11051         * wcsmbs/tst-wcpncpy.c: Likewise.
11052         * wcsmbs/tst-wcrtomb.c: Likewise.
11053         * wcsmbs/tst-wcsnlen.c: Likewise.
11054         * wcsmbs/tst-wcstof.c: Likewise.
11056 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11058         [BZ #14132]
11059         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11060         INTDEF.
11061         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11062         declaration.
11063         (_dl_mcount): Use rtld_hidden_proto.
11064         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11065         _dl_mcount.
11066         * elf/rtld.c (_rtld_global_ro): Likewise.
11068         [BZ #14132]
11069         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11070         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11071         of _dl_init_internal.
11072         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11073         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11074         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11075         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11076         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11077         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11078         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11079         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11080         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11081         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11082         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11083         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11084         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11085         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11086         * sysdeps/tile/dl-start.S (_start): Likewise.
11087         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11088         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11090         [BZ #14132]
11091         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11092         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11093         (rtld_progname): Make macro definition unconditional.
11094         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11095         INTDEF.
11096         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11097         (dl_main): Likewise.
11098         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11099         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11100         instead of _dl_argv_internal.
11101         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11102         __GI__dl_argv instead of INTUSE(_dl_argv).
11103         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11104         __GI__dl_argv instead of _dl_argv_internal.
11106         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11107         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11108         macro.
11109         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11110         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11111         New macro.
11112         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11113         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11114         macro.
11115         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11116         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11118 2014-11-04  Andreas Schwab  <schwab@suse.de>
11120         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11122 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11124         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11125         mtvsrd instruction in binary form.
11127 2014-11-03  Andreas Schwab  <schwab@suse.de>
11129         [BZ #17522]
11130         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11131         for less than MB_LEN_MAX use a local buffer of that size.
11132         * libio/tst-fputws.c: New file.
11133         * libio/Makefile (tests): Add tst-fputws.
11135 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11137         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11138         the size of the fpu_fr.fpu_dregs[] array.
11140 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11142         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11143         (__nanosleep): Do not define as alias.
11144         (nanosleep): Define as alias of __nanosleep.
11145         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11146         __libc_nanosleep name.
11148 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11150         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11151         install.texi in comment.
11153 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11155         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11156         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11157         ... add here and use lwsync or sync ...
11158         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11159         ... and add here using lwsync.
11161 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11163         * elf/dl-machine-reject-phdr.h: New file.
11164         * elf/dl-load.c: #include that.
11165         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11166         if that returned true.
11168 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11170         [BZ #17496]
11171         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11172         gen-as-const-headers chunk.  Add a big scare comment after the last
11173         safe place to touch before-compile.
11175 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11177         * manual/install.texi (Tools for Compilation): Update autoconf
11178         version requirements.
11179         * INSTALL: Regenerated.
11181         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11182         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11183         (__libc_pselect): Likewise.
11185         [BZ #14138]
11186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11191 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11193         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11194         correct barrier instruction.
11195         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11196         Likewise.
11197         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11198         Likewise.
11200 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11202         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11203         after defining inlines.  Instead, just use parens to defeat macro
11204         expansion of __isctype in its declaration.
11206 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11208         * include/sys/uio.h (__libc_readv): Remove declaration.
11209         (__libc_writev): Likewise.
11210         * misc/readv.c (__libc_readv): Rename to __readv.
11211         (__readv): Do not define as alias.
11212         (readv): Define as alias of __readv.
11213         * misc/writev.c (__libc_writev): Rename to __writev.
11214         (__writev): Do not define as alias.
11215         (writev): Define as alias of __writev.
11216         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11217         (__readv): Do not define as alias.
11218         (readv): Define unconditionally as alias of __readv.
11219         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11220         (__writev): Do not define as alias.
11221         (writev): Define unconditionally as alias of __writev.
11222         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11223         name.
11224         (writev): Do not define __libc_writev name.
11226 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11228         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11229         (convert_charseq): New function, broken out of ...
11230         (use_from_charmap): ... here.  Call it.
11231         (use_to_charmap): Use convert_charseq and free instead of duplicating
11232         its code with a variable-length stack struct.
11234 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11236         * include/fcntl.h (__libc_creat): Remove declaration.
11237         * io/creat.c (__libc_creat): Rename to creat.
11238         (creat): Do not define as alias.
11239         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11240         of creat instead of __libc_creat.
11241         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11242         to creat.
11243         (creat): Do not define as alias.
11244         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11245         __libc_creat.
11246         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11247         __libc_creat name.
11248         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11249         Likewise.
11251 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11253         * manual/llio.texi: Add comments discussing why write() may be
11254         considered MT-unsafe on Linux.
11256 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11258         * dl-load.c (local_strdup): Remove.
11259         (expand_dynamic_string_token): Use __strdup.
11260         (decompose_rpath): Likewise.
11261         (_dl_map_object): Likewise.
11263 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11265         [BZ #14132]
11266         * sysdeps/generic/unwind-dw2-fde.c
11267         (__register_frame_info_bases_internal): Do not declare.
11268         (__register_frame_info_table_bases_internal): Likewise.
11269         (__deregister_frame_info_bases_internal): Likewise.
11270         (__register_frame_info_bases): Declare and use hidden_proto before
11271         definition.  Use hidden_def instead of INTDEF.
11272         (__register_frame_info_table_bases): Likewise.
11273         (__deregister_frame_info_bases): Likewise.
11274         (__register_frame_info): Do not use INTUSE.
11275         (__register_frame): Likewise.
11276         (__register_frame_info_table): Likewise.
11277         (__register_frame_table): Likewise.
11278         (__deregister_frame_info): Likewise.
11279         (__deregister_frame): Likewise.
11281 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11283         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11284         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11285         not undefine.
11286         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11287         Likewise.
11288         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11289         Likewise.
11291 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11293         [BZ #14138]
11294         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11295         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11296         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11297         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11298         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11299         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11300         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11301         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11302         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11303         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11304         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11305         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11306         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11307         syscall.
11308         (setfsuid): Likewise.
11309         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11310         (setfsuid): Likewise.
11311         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11312         (setfsuid): Likewise.
11313         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11314         Likewise.
11315         (setfsuid): Likewise.
11316         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11317         (setfsuid): Likewise.
11318         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11319         Likewise.
11320         (setfsuid): Likewise.
11322 2014-10-27  Andreas Schwab  <schwab@suse.de>
11324         [BZ #17501]
11325         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11326         check for Slow_SSE4_2 feature bit.
11327         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11328         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11329         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11330         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11332 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11334         * configure.ac: Validate compiler version with a empirical test of
11335         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11336         $CC -v output.
11337         * configure: Regenerated.
11339         * inet/htons.c (htons): Prototypify.
11340         * inet/htonl.c (htonl): Likewise.
11342 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11344         * string/strncat.c (strncat): Improve performance by using strlen.
11346 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11348         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11350 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11352         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11353         Call libc_fetestexcept_aarch64.
11355 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11357         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11358         Call libc_feholdexcept_aarch64.
11360 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11362         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11363         Call get_rounding_mode.
11365 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11367         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11368         Simplify logic.
11370 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11372         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11373         Simplify logic.
11375 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11377         [BZ #14138]
11378         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11379         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11380         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11381         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11382         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11383         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11384         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11385         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11386         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11387         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11388         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11389         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11390         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11391         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11392         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11393         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11394         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11395         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11396         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11397         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11398         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11399         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11400         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11401         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11402         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11403         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11404         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11405         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11406         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11407         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11408         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11409         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11410         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11411         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11412         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11413         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11414         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11415         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11416         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11417         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11418         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11419         syscall.
11420         (geteuid): Likewise.
11421         (getgid): Likewise.
11422         (getuid): Likewise.
11423         (getresgid): Likewise.
11424         (getresuid): Likewise.
11425         (getgroups): Likewise.
11426         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11427         (geteuid): Likewise.
11428         (getgid): Likewise.
11429         (getuid): Likewise.
11430         (getresgid): Likewise.
11431         (getresuid): Likewise.
11432         (getgroups): Likewise.
11433         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11434         (geteuid): Likewise.
11435         (getgid): Likewise.
11436         (getuid): Likewise.
11437         (getresgid): Likewise.
11438         (getresuid): Likewise.
11439         (getgroups): Likewise.
11440         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11441         Likewise.
11442         (geteuid): Likewise.
11443         (getgid): Likewise.
11444         (getuid): Likewise.
11445         (getresgid): Likewise.
11446         (getresuid): Likewise.
11447         (getgroups): Likewise.
11448         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11449         (geteuid): Likewise.
11450         (getgid): Likewise.
11451         (getuid): Likewise.
11452         (getresgid): Likewise.
11453         (getresuid): Likewise.
11454         (getgroups): Likewise.
11455         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11456         Likewise.
11457         (geteuid): Likewise.
11458         (getgid): Likewise.
11459         (getuid): Likewise.
11460         (getgroups): Likewise.
11462         [BZ #14138]
11463         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11464         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11465         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11466         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11467         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11468         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11469         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11470         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11471         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11472         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11473         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11474         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11475         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11476         __chown.
11477         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11478         (lchown): Likewise.
11479         (fchown): Likewise.
11480         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11481         Likewise.
11482         (lchown): Likewise.
11483         (fchown): Likewise.
11484         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11485         (lchown): Likewise.
11486         (fchown): Likewise.
11487         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11488         Likewise.
11489         (lchown): Likewise.
11490         (fchown): Likewise.
11492 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11494         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11495         Simplify logic.
11497 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11499         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11500         Cleanup logic.
11502 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11504         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11505         Remove unused include.
11507 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11509         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11510         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11511         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11512         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11514 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11515             Helge Deller <deller@gmx.de>
11517         [BZ #17508]
11518         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11519         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11520         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11522 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11524         [BZ #14132]
11525         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11526         Remove macro definition.
11527         (__ashrdi3_v_glibc20): Likewise.
11528         (__lshrdi3_v_glibc20): Likewise.
11529         (__cmpdi2_v_glibc20): Likewise.
11530         (__ucmpdi2_v_glibc20): Likewise.
11531         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11532         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11533         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11534         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11535         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11536         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11538 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11540         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11541         old GNU extension [0] syntax.
11542         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11543         alloca rather than an array member with variable length.
11544         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11545         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11546         (parse_opt): ... here.  Likewise use alloca there.
11547         Validate the -i argument before checking for rootness.
11548         (send_shutdown): New function, broken out of ...
11549         (parse_opt): ... here.
11551 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11553         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11554         macro to get at the _rt_local_ro field.
11555         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11556         ([PIC] case) or _dl_hwcap ([!PIC] case).
11557         * sysdeps/arm/setjmp.S: Likewise.
11559         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11560         * sysdeps/arm/configure.ac: New check to define it.
11561         * sysdeps/arm/configure: Regenerated.
11562         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11563         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11564         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11565         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11566         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11567         Use move/movt pair instead of a load.
11568         (LDST_GLOBAL): Macro removed.
11569         (LDR_GLOBAL): New macro replaces it.
11570         (LDR_HIDDEN): New macro.
11571         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11572         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11574         * setjmp/tst-setjmp-static.c: New file.
11575         * setjmp/Makefile (tests): Add it.
11576         (tests-static): New variable.
11578 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11580         [BZ #17485]
11581         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11583 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11585         [BZ #14132]
11586         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11588 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11590         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11592 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11594         * io/fts.c (dirent_not_directory): New function.
11595         (fts_build): Call it.
11597 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11599         * nptl/version.c (__nptl_main): Use normal __write rather than
11600         INTERNAL_SYSCALL.
11601         (banner): Update copyright years.
11603         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11604         gettimeofday.
11605         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11606         * nptl/pthread_cond_timedwait.c: Likewise.
11607         * nptl/pthread_mutex_timedlock.c: Likewise.
11608         * nptl/sem_timedwait.c: Likewise.
11610         * sysdeps/nptl/bits/libc-lock.h
11611         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11612         (__libc_lock_init_recursive): Return void, not 0.
11613         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11614         (__libc_rwlock_init): Likewise.
11615         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11617 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11619         [BZ #15215]
11620         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11621         (__pthread_once_slow): ... here.
11622         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11623         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11625 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11627         [BZ #15215]
11628         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11629         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11630         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11631         * nptl/pthread_once.c (__pthread_once): Likewise.
11632         Update comments.
11634 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11636         [BZ #14138]
11637         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11638         name.
11639         (writev): Use __libc_writev as strong name.
11640         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11641         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11643 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11645         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11647         * sysdeps/i386/nptl/tls.h
11648         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11649         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11650         New macros.
11651         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11652         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11653         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11654         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11655         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11656         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11658         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11659         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11660         on [__NR_futex].
11661         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11662         broken out of ...
11663         (__pthread_mutex_init): ... here.  Call it.
11664         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11665         Conditionalize PI cases on [__NR_futex].
11666         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11667         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11668         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11670         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11671         conditional on [SIGSETXID].
11672         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11673         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11674         is defined.  Likewise for SIGSETXID.
11675         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11676         Conditionalize definitions on [SIGSETXID].
11677         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11678         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11679         unblocking on [SIGCANCEL].
11681         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11682         [__NR_set_robust_list].
11684 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11686         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11687         (do_compare): Likewise.
11689 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11691         [BZ #15884]
11692         * string/strcoll_l.c: Don't include stdio.h.
11693         (coll_seq): Remove members idxarr and rulearr.
11694         (get_next_seq_cached): Remove function.
11695         (get_next_seq): Likewise.
11696         (get_next_seq_nocache): Rename to get_next_seq.
11697         (do_compare): Remove function.
11698         (do_compare_nocache): Rename to do_compare.
11699         (STRCOLL): Remove weight and rules cache.
11701 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11703         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11704         * sysdeps/arm/sfp-machine.h: ... to here.
11705         * sysdeps/arm/Implies: Remove arm/soft-fp.
11707 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11709         * conform/data/sys/utsname.h-data (*_t): Allow.
11710         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11711         [POSIX] (WEXITED): Do not expect constant.
11712         [POSIX] (WSTOPPED): Likewise.
11713         [POSIX] (WNOHANG): Likewise.
11714         [POSIX] (WNOWAIT): Likewise.
11715         [POSIX] (siginfo_t): Do not expect type or elements.
11716         [POSIX] (pid_t): Do not expect type.
11717         [POSIX] (signal.h): Do not allow header.
11718         [POSIX] (sys/resource.h): Likewise.
11719         [POSIX] (si_*): Do not allow pattern.
11720         [POSIX] (W*): Likewise.
11721         [POSIX] (P_*): Likewise.
11722         [POSIX] (BUS_*): Likewise.
11723         [POSIX] (CLD_*): Likewise.
11724         [POSIX] (FPE_*): Likewise.
11725         [POSIX] (ILL_*): Likewise.
11726         [POSIX] (POLL_*): Likewise.
11727         [POSIX] (SEGV_*): Likewise.
11728         [POSIX] (SI_*): Likewise.
11729         [POSIX] (TRAP_*): Likewise.
11730         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11731         variable.
11733 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11735         [BZ #12926]
11736         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11737         infinite loop when __recvmsg returns 0.
11739 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11741         * CANCEL-FCT-WAIVE: Remove file.
11742         * CANCEL-FILE-WAIVE: Likewise.
11744         [BZ #14132]
11745         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11746         instead of INTVARDEF.
11747         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11748         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11749         rtld_hidden_data_def instead of INTVARDEF.
11750         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11751         * elf/dl-deps.c (expand_dst): Likewise.
11752         * elf/dl-load.c (_dl_dst_count): Likewise.
11753         (_dl_dst_substitute): Likewise.
11754         (decompose_rpath): Likewise.
11755         (_dl_init_paths): Likewise.
11756         (open_path): Likewise.
11757         (_dl_map_object): Likewise.
11758         * elf/rtld.c (dl_main): Likewise.
11759         (process_dl_audit): Likewise.
11760         (process_envvars): Likewise.
11761         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11762         Remove declaration.
11763         (__libc_enable_secure): Use rtld_hidden_proto.
11765 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11767         * elf/dl-load.c
11768         (add_path): New function broken out of _dl_rtld_di_serinfo.
11769         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11771 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11773         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11774         parentheses around macro arguments.
11775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11777         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11778         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11779         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11780         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11781         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11783         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11784         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11785         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11786         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11787         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11788         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11789         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11790         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11791         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11793         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11796         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11799         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11802         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11803         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11804         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11805         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11806         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11807         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11808         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11809         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11810         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11811         Likewise.
11812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11814         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11815         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11816         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11818         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11819         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11820         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11821         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11822         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11823         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11824         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11825         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11826         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11828         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11830         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11832         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11833         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11834         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11835         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11836         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11837         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11838         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11839         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11840         (_FP_FRAC_SRS_1): Likewise.
11841         (_FP_FRAC_CLZ_1): Likewise.
11842         (_FP_MUL_MEAT_1_imm): Likewise.
11843         (_FP_MUL_MEAT_1_wide): Likewise.
11844         (_FP_MUL_MEAT_1_hard): Likewise.
11845         (_FP_SQRT_MEAT_1): Likewise.
11846         (_FP_FRAC_ASSEMBLE_1): Likewise.
11847         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11848         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11849         (__FP_CLZ_2): Likewise.
11850         (_FP_MUL_MEAT_2_wide): Likewise.
11851         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11852         (_FP_MUL_MEAT_2_gmp): Likewise.
11853         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11854         (_FP_SQRT_MEAT_2): Likewise.
11855         (_FP_FRAC_ASSEMBLE_2): Likewise.
11856         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11857         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11858         (_FP_FRAC_CLZ_4): Likewise.
11859         (_FP_MUL_MEAT_4_wide): Likewise.
11860         (_FP_MUL_MEAT_4_gmp): Likewise.
11861         (_FP_SQRT_MEAT_4): Likewise.
11862         (_FP_FRAC_ASSEMBLE_4): Likewise.
11863         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11864         * soft-fp/op-common.h (_FP_CMP): Likewise.
11865         (_FP_CMP_EQ): Likewise.
11866         (_FP_CMP_UNORD): Likewise.
11867         (_FP_TO_INT): Likewise.
11868         (_FP_FROM_INT): Likewise.
11869         [!__FP_CLZ] (__FP_CLZ): Likewise.
11870         (_FP_DIV_HELP_imm): Likewise.
11871         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11872         Likewise.
11873         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11876         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11879         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11883         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11884         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11885         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11886         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11887         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11888         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11889         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11891         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11897         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11901         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11902         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11903         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11904         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11905         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11906         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11907         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11908         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11909         (FP_UNPACK_RAW_SP): Likewise.
11910         (FP_PACK_RAW_S): Likewise.
11911         (FP_PACK_RAW_SP): Likewise.
11912         (FP_UNPACK_S): Likewise.
11913         (FP_UNPACK_SP): Likewise.
11914         (FP_UNPACK_SEMIRAW_S): Likewise.
11915         (FP_UNPACK_SEMIRAW_SP): Likewise.
11916         (FP_PACK_S): Likewise.
11917         (FP_PACK_SP): Likewise.
11918         (FP_PACK_SEMIRAW_S): Likewise.
11919         (FP_PACK_SEMIRAW_SP): Likewise.
11920         (_FP_SQRT_MEAT_S): Likewise.
11921         (FP_CMP_S): Likewise.
11922         (FP_CMP_EQ_S): Likewise.
11923         (FP_CMP_UNORD_S): Likewise.
11924         (FP_TO_INT_S): Likewise.
11925         (FP_FROM_INT_S): Likewise.
11927         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11929         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11930         (FP_EX_INVALID_IMZ): Likewise.
11931         (FP_EX_INVALID_IMZ_FMA): Likewise.
11932         (FP_EX_INVALID_ISI): Likewise.
11933         (FP_EX_INVALID_ZDZ): Likewise.
11934         (FP_EX_INVALID_IDI): Likewise.
11935         (FP_EX_INVALID_SQRT): Likewise.
11936         (FP_EX_INVALID_CVI): Likewise.
11937         (FP_EX_INVALID_VC): Likewise.
11938         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11939         "invalid" exceptions.
11940         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11941         (_FP_ADD_INTERNAL): Likewise.
11942         (_FP_MUL): Likewise.
11943         (_FP_FMA): Likewise.
11944         (_FP_DIV): Likewise.
11945         (_FP_CMP_CHECK_NAN): Likewise.
11946         (_FP_SQRT): Likewise.
11947         (_FP_TO_INT): Likewise.
11948         (FP_EXTEND): Likewise.
11950 2014-10-09  Allan McRae  <allan@archlinux.org>
11952         * po/fr.po: Update French translation from translation project.
11954 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11956         [BZ #14132]
11957         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11958         of INTDEF.
11959         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11960         (__cxa_atexit): Use libc_hidden_proto.
11961         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11963         [BZ #14132]
11964         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11965         declaration.
11966         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11967         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11968         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11969         [!_ISOMAC] (__iswctype_internal): Likewise.
11970         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11971         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11972         alias.
11973         (fcntl): Remove __fcntl_internal alias.
11974         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11975         __connect_internal alias.
11976         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11977         Likewise.
11979         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11980         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11981         FP_DENORM_ZERO.
11982         (_FP_CHECK_FLUSH_ZERO): New macro.
11983         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11984         (_FP_CMP): Likewise.
11985         (_FP_CMP_EQ): Likewise.
11986         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11987         FP_DENORM_ZERO.
11988         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11989         (FP_TRUNC): Likewise.
11991         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11992         treated as invalid conversion, not as normal exponent.
11994         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11995         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11996         (_FP_CMP_EQ): Likewise.
11997         (_FP_CMP_UNORD): Likewise.
11998         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11999         (FP_CMP_EQ_D): Likewise.
12000         (FP_CMP_UNORD_D): Likewise.
12001         * soft-fp/extended.h (FP_CMP_E): Likewise.
12002         (FP_CMP_EQ_E): Likewise.
12003         (FP_CMP_UNORD_E): Likewise.
12004         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12005         (FP_CMP_EQ_Q): Likewise.
12006         (FP_CMP_UNORD_Q): Likewise.
12007         * soft-fp/single.h (FP_CMP_S): Likewise.
12008         (FP_CMP_EQ_S): Likewise.
12009         (FP_CMP_UNORD_S): Likewise.
12010         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12011         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12012         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12013         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12014         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12015         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12016         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12017         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12018         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12019         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12020         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12021         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12022         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12023         to FP_CMP_Q.
12024         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12025         FP_CMP_Q.
12026         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12027         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12028         FP_CMP_EQ_Q.
12029         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12030         FP_CMP_Q.
12031         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12032         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12033         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12034         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12035         FP_CMP_EQ_Q.
12036         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12037         FP_CMP_Q.
12038         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12039         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12040         FP_CMP_EQ_Q.
12041         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12042         FP_CMP_Q.
12043         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12044         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12045         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12046         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12047         FP_CMP_EQ_Q.
12049         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12050         a subnormal result, set the underflow exception if trapping on
12051         underflow is enabled.
12052         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12053         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12054         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12055         redefine to 0.
12056         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12057         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12058         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12059         * soft-fp/extendxftf2.c (__extendxftf2): Use
12060         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12062         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12063         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12064         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12065         FP_HANDLE_EXCEPTIONS.
12066         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12067         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12068         FP_HANDLE_EXCEPTIONS.
12069         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12070         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12071         FP_HANDLE_EXCEPTIONS.
12072         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12073         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12074         FP_HANDLE_EXCEPTIONS.
12076 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12078         [BZ #14132]
12079         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12080         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12081         use INTUSE.
12082         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12083         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12084         Remove alias.
12085         (__adjtimex): Define using libc_hidden_ver.
12086         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12087         Remove declaration.
12088         (ntp_gettime): Call __adjtimex directly.
12089         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12090         Remove declaration.
12091         (ntp_gettimex): Call __adjtimex directly.
12092         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12093         __adjtimex_internal alias.
12095 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12097         [BZ #17460]
12098         * nscd/nscd.c (more_help): Rewrite list of tables collection
12099         using xstrdup and asprintf.
12101         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12103 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12104             Roland McGrath  <roland@hack.frob.com>
12106         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12107         (do_lookup_unique): ... local function 'enter' here; update callers.
12109 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12111         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12112         compat_symbol calls on [SHARED].
12113         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12114         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12115         Remove.
12116         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12117         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12118         (oldsetrlimit): Remove.
12119         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12121         (lchown): New syscall entry.
12122         (oldsetrlimit): Remove.
12123         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12124         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12125         (oldsetrlimit): Remove.
12126         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12128         [BZ #14138]
12129         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12130         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12131         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12132         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12133         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12134         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12135         (fchown): Likewise.
12136         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12137         (fchown): Likewise.
12138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12139         Likewise.
12141 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12143         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12144         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12145         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12146         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12147         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12148         Likewise.
12149         (__old_sem_post): Likewise.
12151 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12153         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12154         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12155         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12156         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12157         Use INLINE_VSYSCALL macro.
12158         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12159         __vdso_clock_gettime.
12160         * sysdeps/unix/sysv/linux/tile/init-first.c
12161         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12162         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12163         __vdso_clock_gettime.
12165         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12166         to set up frame more cleanly.
12168         * sysdeps/tile/memcmp.c: New file.
12170         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12172         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12173         * sysdeps/tile/tilegx/strcasestr.c: New file.
12174         * sysdeps/tile/tilegx/strnlen.c: New file.
12175         * sysdeps/tile/tilegx/strstr.c: New file.
12177         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12179 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12181         * nptl/tst-setuid3.c: Write errors to stdout.
12183 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12185         * elf/dl-deps.c
12186         (preload): New functions broken out of _dl_map_object_deps.
12187         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12189 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12191         [BZ #14138]
12192         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12193         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12195 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12197         * sysdeps/mips/strcmp.S: New.
12199 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12201         [BZ #14138]
12202         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12203         (linkat): Likewise.
12204         (mkdirat): Likewise.
12205         (readlinkat): Likewise.
12206         (renameat): Likewise.
12207         (symlinkat): Likewise.
12208         (unlinkat): Likewise.
12209         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12210         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12211         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12212         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12213         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12214         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12215         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12217 2014-09-30  Will Newton  <will.newton@linaro.org>
12219         * math/math.h: Define long double math functions if
12220         _LIBC_TEST is defined.
12221         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12223         * localedata/Makefile: Move assignment to tests-special
12224         into an ifdef testing run-built-tests.
12225         * timezone/Makefile: Likewise.
12227 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12229         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12230         with $(BASH) not $(SHELL).
12232 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12233             Matthew LeGendre  <legendre1@llnl.gov>
12235         [BZ #17411]
12236         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12237         l_reloc_result.
12239 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12241         * stdio-common/printf_fp.c
12242         (hack_digit): New function, broken out of ...
12243         (__printf_fp): ... local function here.  Update call sites.
12244         hack_digit now takes an additional parameter that is a pointer
12245         to a struct of the referenced locals.  Those locals moved inside
12246         the struct and references updated.
12248 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12250         * aclocal.m4: Require autoconf 2.69.
12251         * configure: Regenerated.
12252         * sysdeps/aarch64/configure: Likewise.
12253         * sysdeps/alpha/configure: Likewise.
12254         * sysdeps/arm/armv7/configure: Likewise.
12255         * sysdeps/arm/configure: Likewise.
12256         * sysdeps/ia64/configure: Likewise.
12257         * sysdeps/mach/configure: Likewise.
12258         * sysdeps/mips/configure: Likewise.
12259         * sysdeps/s390/configure: Likewise.
12260         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12263         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12264         file.
12265         * sysdeps/ia64/configure.ac: Likewise.
12267 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12270         specify symbol version for ld.so.  Do not include entry for
12271         libpthread.
12272         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12273         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12274         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12276         [BZ #14171]
12277         * Makeconfig [$(build-shared) = yes]
12278         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12279         makefiles.
12280         [$(build-shared) = yes && $(soversions.mk-done) = t]
12281         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12282         [$(build-shared) = yes && $(soversions.mk-done) = t]
12283         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12284         to Makerules.
12285         [$(build-shared) = yes && $(soversions.mk-done) = t]
12286         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12287         here.
12288         [$(build-shared) = yes && $(soversions.mk-done) = t]
12289         (common-generated): Don't append gnu/lib-names.h and
12290         gnu/lib-names.stmp here.
12291         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12292         (lib-names-h-abi): New variable.
12293         [$(build-shared) = yes && $(soversions.mk-done) = t]
12294         (lib-names-stmp-abi): Likewise.
12295         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12296         abi-variants] (before-compile): Append
12297         $(common-objpfx)$(lib-names-h-abi).
12298         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12299         abi-variants] (common-generated): Append gnu/lib-names.h.
12300         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12301         abi-variants] (install-others-nosubdir): Depend on
12302         $(inst_includedir)/$(lib-names-h-abi).
12303         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12304         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12305         [$(build-shared) = yes && $(soversions.mk-done) = t]
12306         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12307         [$(build-shared) = yes && $(soversions.mk-done) = t]
12308         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12309         [$(build-shared) = yes && $(soversions.mk-done) = t]
12310         (common-generated): Append $(lib-names-h-abi) and
12311         $(lib-names-stmp-abi).
12312         * scripts/lib-names.awk: Do not handle multi being set.
12313         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12314         Remove variable.
12315         (abi-lp64_be-ld-soname): Likewise.
12316         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12317         Likewise.
12318         (abi-hard-ld-soname): Likewise.
12319         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12320         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12321         Remove variable.
12322         (abi-o32_hard-ld-soname): Likewise.
12323         (abi-o32_soft_2008-ld-soname): Likewise.
12324         (abi-o32_hard_2008-ld-soname): Likewise.
12325         (abi-n32_soft-ld-soname): Likewise.
12326         (abi-n32_hard-ld-soname): Likewise.
12327         (abi-n32_soft_2008-ld-soname): Likewise.
12328         (abi-n32_hard_2008-ld-soname): Likewise.
12329         (abi-n64_soft-ld-soname): Likewise.
12330         (abi-n64_hard-ld-soname): Likewise.
12331         (abi-n64_soft_2008-ld-soname): Likewise.
12332         (abi-n64_hard_2008-ld-soname): Likewise.
12333         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12334         Likewise.
12335         (abi-64-v2-ld-soname): Likewise.
12336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12337         ld.so entries.
12338         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12339         variable.
12340         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12341         entry.
12342         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12343         variable.
12344         (abi-64-ld-soname): Likewise.
12345         (abi-x32-ld-soname): Likewise.
12346         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12347         entry.
12348         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12350 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12352         [BZ #14138]
12353         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12354         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12355         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12356         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12357         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12358         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12359         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12360         syscall entry for GLIBC_2.2 symbol version.
12361         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12362         Likewise.
12363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12364         (setrlimit): Likewise.
12365         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12366         Likewise.
12368 2014-09-23  Will Newton  <will.newton@linaro.org>
12370         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12371         _LINUX_ARM_SYSDEP_H include guard too.
12372         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12373         define.
12375 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12377         * sysdeps/unix/sysv/linux/eventfd.c:
12378         Make first argument unsigned.
12379         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12380         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12382 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12384         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12385         * socket/sys/socket.h: Likewise
12386         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12388 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12390         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12392 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12394         * time/tst-ftime.c: New test.
12395         * time/Makefile (tests): Add tst-ftime.
12397 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12399         * soft-fp/extended.h: Fix comment formatting.
12400         * soft-fp/op-1.h: Likewise.
12401         * soft-fp/op-2.h: Likewise.
12402         * soft-fp/op-4.h: Likewise.
12403         * soft-fp/op-8.h: Likewise.
12404         * soft-fp/op-common.h: Likewise.
12405         * soft-fp/soft-fp.h: Likewise.
12407         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12409 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12411         [BZ #6652]
12412         * Makeconfig (soversions-default-setname): Remove variable.
12413         ($(common-objpfx)soversions.i): Don't pass default_setname to
12414         soversions.awk.
12415         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12416         oldest_abi to abi-versions.awk.
12417         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12418         * config.make.in (oldest-abi): Remove variable.
12419         * configure.ac (--enable-oldest-abi): Remove configure option.
12420         * configure: Regenerated.
12421         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12422         text.
12423         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12424         * scripts/soversions.awk: Do not handle default_setname variable.
12425         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12426         variable.
12427         * sysdeps/mach/hurd/configure: Regenerated.
12428         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12429         variable.
12430         * sysdeps/unix/sysv/linux/configure: Regenerated.
12432 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12434         * elf/Makefile (CFLAGS-interp.c): Remove.
12435         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12436         path string.
12437         * elf/interp.c: Include generated runtime-linker.h
12439         * Makerules (lib%.so): Don't include $(+interp) in
12440         prerequisites.
12441         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12442         * dlfcn/eval.c: Remove file.
12444         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12445         macros.
12447         [BZ #17266]
12448         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12449         4.2 and newer.
12451         [BZ #17370]
12452         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12454 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12455             Jakub Jelinek  <jakub@redhat.com>
12457         [BZ #17266]
12458         * libio/stdio.h: Check definition of __fortify_function
12459         instead of __extern_always_inline to include bits/stdio2.h.
12460         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12461         check if __extern_always_inline is defined.
12462         [__USE_MISC || __USE_XOPEN]: Likewise.
12463         [__USE_ISOC99] Likewise.
12464         * misc/sys/cdefs.h (__fortify_function): Define only if
12465         __extern_always_inline is defined.
12466         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12467         __extern_always_inline and __extern_inline only for g++-4.3
12468         and newer or a compatible gcc.
12470 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12472         [BZ #17371]
12473         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12474         last change to handle zero prefix length.
12476 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12478         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12479         _SC_REGEX_VERSION.
12481         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12482         _POSIX_RAW_SOCKETS.
12484 2014-09-13  Allan McRae  <allan@archlinux.org>
12486         * po/ru.po: Update Russian translation from translation project.
12488 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12490         * locale/programs/locale.c (show_locale_vars): Inline local function
12491         into its sole call site.  Clean up some style nits.
12492         (print_item): New function, broken out of ...
12493         (show_info): ... local function here.  Clean up style nits.
12495         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12496         out of ...
12497         (set_class_defaults): ... local function set_default here.
12498         Define set_default as a macro locally to pass constant parameters.
12499         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12500         rather than a shared local.
12502         * stdlib/rpmatch.c (try): New function, broken out of ...
12503         (rpmatch): ... local function here.  Also, prototypify definition.
12505 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12507         * scripts/soversions.awk: Do not handle configuration names.
12508         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12509         vendor and os variables to soversions.awk.
12510         * configure.ac: Do not modify gnu-* host_os.
12511         * configure: Regenerated
12512         * shlib-versions: Remove first column with configuration names.
12513         * nptl/shlib-versions: Likewise.
12514         * nptl_db/shlib-versions: Likewise.
12515         * sysdeps/hppa/shlib-versions: Likewise.
12516         * sysdeps/m68k/shlib-versions: Likewise.
12517         * sysdeps/mach/hurd/shlib-versions: Likewise.
12518         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12519         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12520         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12521         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12522         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12523         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12524         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12525         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12527         Likewise.
12528         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12529         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12530         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12531         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12532         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12533         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12534         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12535         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12538         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12540         Regenerated.
12541         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12543         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12545         * shlib-versions: Remove OS-specific entries.  Moved to files in
12546         sysdeps.
12547         * sysdeps/mach/hurd/shlib-versions: New file.
12548         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12550         * nptl/shlib-versions: Remove architecture-specific entries.
12551         Moved to files in sysdeps.
12552         * shlib-versions: Likewise.
12553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12554         file.
12555         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12556         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12557         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12558         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12560         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12561         (UDP_NO_CHECK6_RX): Likewise.
12563 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12565         * sysdeps/posix/sysconf.c (__sysconf): Spell
12566         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12568 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12570         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12571         loading.
12572         * iconv/Versions (__gconv_transliterate): Export for use from
12573         gconv modules.
12574         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12575         (struct __gconv_trans_data, __gconv_trans_fct,
12576         __gconv_trans_context_fct, __gconv_trans_query_fct,
12577         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12578         definitions.
12579         (struct __gconv_step_data): Remove __trans member.
12580         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12581         longer hidden.  Remove unused trans_data argument.
12582         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12583         (__gconv_translit_find): Remove declaration.
12584         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12585         prototype.
12586         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12587         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12588         trans_data argument.  Add hidden definition.
12589         (__gconv_translit_find): Remove.
12590         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12591         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12592         * iconv/skeleton.c: Remove transliteration initialization.
12593         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12594         __gconv_step_data initialization.
12595         * libio/iofwide.c (__libio_translit_): Remove.
12596         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12597         * wcsmbs/btowc.c (__btowc): Likewise.
12598         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12599         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12600         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12601         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12602         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12603         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12604         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12605         * wcsmbs/wctob.c (wctob): Likewise.
12607 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12609         [BZ #16194]
12610         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12611         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12612         register usage.
12613         * sysdeps/x86/Makefile: Adjust.
12615 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12616             Roland McGrath  <roland@hack.frob.com>
12618         * locale/weight.h: Add include guard.
12619         (findidx): Make static rather than auto; take new parameters
12620         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12621         * locale/weightwc.h: Likewise.
12622         * posix/fnmatch_loop.c
12623         (FCT): Change type of EXTRA from int32_t to wint_t.
12624         Don't include either header inside the function.
12625         Call FINDIDX rather than findidx, and pass new arguments.
12626         #undef FINDIDX at the end of the file.
12627         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12628         FINDIDX before including fnmatch_loop.c for the non-wide version.
12629         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12630         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12631         for the wide version.
12632         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12633         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12634         Pass new arguments to findidx.
12635         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12636         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12637         Don't #include it inside the function.  Pass new arguments to findidx.
12638         * posix/regex_internal.h
12639         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12640         (re_string_elem_size_at): Don't #include it inside the function.
12641         Pass new arguments to findidx.
12642         * string/strcoll_l.c: #include WEIGHT_H at top level.
12643         (get_next_seq): Don't #include it inside the function.
12644         Pass new arguments to findidx.
12645         (get_next_seq_nocache): Likewise.
12646         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12647         (STRXFRM): Don't #include it inside the function.
12648         Pass new arguments to findidx.
12650 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12652         [BZ #17344]
12653         * malloc/malloc.c (unlink): Turn asserts into a call to
12654         malloc_printerr.
12656 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12658         [BZ #17370]
12659         * libio/wfileops (do_ftell_wide): Free OUT.
12661 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12663         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12665 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12667         [BZ #17363]
12668         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12669         group if the current group is empty.
12671 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12673         * benchtests/bench-memset.c (test_main): Add more test from size
12674         from 32 to 512 bytes.
12675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12676         Add POWER8 memset object.
12677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12678         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12679         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12680         implementation.
12681         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12682         Likewise.
12683         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12684         multiarch POWER8 memset optimization.
12685         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12686         POWER8 memset optimization.
12688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12689         Remove bzero multiarch objects.
12690         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12691         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12692         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12693         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12694         Remove define.
12695         [__bzero]: Redefine to specific name.
12696         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12697         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12698         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12699         define.
12700         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12701         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12703 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12705         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12706         warnings into errors.
12708         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12709         __cxa_thread_atexit_impl prototype.
12711 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12713         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12714         Fix capitalization of error message.
12716 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12718         * sysdeps/mips/preconfigure: Modify ABI tests.
12720 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12722         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12724 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12725             Carlos O'Donell  <carlos@systemhalted.org>
12727         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12728         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12729         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12730         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12731         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12732         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12733         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12734         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12735         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12736         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12737         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12738         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12739         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12740         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12741         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12742         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12743         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12744         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12745         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12746         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12747         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12748         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12749         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12750         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12751         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12752         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12753         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12754         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12755         Deconditionalize the code that was previously under [RESET_PID].
12756         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12757         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12758         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12759         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12760         include sysdep.h.
12762 2014-09-08  Allan McRae  <allan@archlinux.org>
12764         * version.h (RELEASE): Set to "development".
12765         (VERSION): Set to "2.20.90"
12767 2014-09-07  Allan McRae  <allan@archlinux.org
12769         * version.h (RELEASE): Set to "stable".
12770         (VERSION): Set to "2.20"
12771         * include/features.h (__GLIBC_MINOR__): Set to 20.
12773         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12774         Liebler.
12776         * po/ko.po: Update Korean translation from translation project.
12778 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12780         [BZ #17354]
12781         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12782         macro for handling signed relocations.
12784 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12786         [BZ #17325]
12787         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12788         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12789         assert.
12790         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12791         * iconvdata/ibm935.c (BODY): Likewise.
12792         * iconvdata/ibm937.c (BODY): Likewise.
12793         * iconvdata/ibm939.c (BODY): Likewise.
12794         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12795         assert.
12796         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12797         script.
12798         * iconvdata/run-iconv-test.sh: New test loop for checking for
12799         decoder crashers.
12801 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12803         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12804         libm_hidden_ver.
12806 2014-09-01  Allan McRae  <allan@archlinux.org>
12808         * po/eo.po: Update Esperanto translation from translation project.
12810         * po/ca.po: Update Catalan translation from translation project.
12812 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12814         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12815         __proc_dostop call.
12817 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12819         [BZ #17319]
12820         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12821         to call set_thread_area instead of hand written asm.
12822         (__NR_set_thread_area): Removed define.
12823         (TLS_FLAG_WRITABLE): Likewise.
12824         (__ASSUME_SET_THREAD_AREA): Remove check.
12825         (TLS_EBX_ARG): Remove define.
12826         (TLS_LOAD_EBX): Likewise.
12828 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12830         Simplify atomicity of socket creation in bind.
12832         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12833         looking up the name after linking the file.
12835 2014-08-27  Allan McRae  <allan@archlinux.org>
12837         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12839 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12841         [BZ #17187]
12842         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12843         trans_compare, open_translit, __gconv_translit_find):
12844         Remove module loading code.
12846 2014-08-26  Allan McRae  <allan@archlinux.org>
12848         * po/vi.po: Update Vietnamese translation from translation project.
12850         * po/uk.po: Update Ukrainian translation from translation project.
12852         * po/fr.po: Update French translation from translation project.
12854         * po/ru.po: Update Russian translation from translation project.
12856         * po/pl.po: Update Polish translation from translation project.
12858         * po/cs.po: Update Czech translation from translation project.
12860         * po/de.po: Update German translation from translation project.
12862         * po/bg.po: Update Bulgarian translation from translation project.
12864         * po/sv.po: Update Sweedish translation from translation project.
12866         * po/nl.po: Update Dutch translation from translation project.
12868         * po/es.po: Update Spanish translation from translation project.
12870 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12872         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12874         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12875         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12876         (CPPFLAGS-iconvconfig): Likewise.
12877         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12879         * include/libc-symbols.h: Remove unnecessary check for
12880         NOT_IN_libc.
12881         * nptl/pthreadP.h: Likewise.
12882         * sysdeps/aarch64/setjmp.S: Likewise.
12883         * sysdeps/alpha/setjmp.S: Likewise.
12884         * sysdeps/arm/sysdep.h: Likewise.
12885         * sysdeps/i386/setjmp.S: Likewise.
12886         * sysdeps/m68k/setjmp.c: Likewise.
12887         * sysdeps/posix/getcwd.c: Likewise.
12888         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12889         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12890         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12891         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12892         * sysdeps/sh/sh3/setjmp.S: Likewise.
12893         * sysdeps/sh/sh4/setjmp.S: Likewise.
12894         * sysdeps/unix/alpha/sysdep.h: Likewise.
12895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12897         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12898         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12901         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12903         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12904         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12906         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12907         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12908         * sysdeps/x86_64/setjmp.S: Likewise.
12910 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12912         [BZ #17263]
12913         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12914         <stdint.h>.
12915         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12916         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12918 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12920         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12922         [BZ #17262]
12923         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12924         and __x86_64__ when disabling x87 inline functions.
12926 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12928         [BZ #17259]
12929         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12930         asm statement with __cpuid_count.
12932 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12934         * configure.ac: Change __ehdr_start code to dereference the struct.
12935         Run readelf on the output to look for relocations.
12936         * configure: Regenerated.
12938 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12940         [BZ #17261]
12941         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12942         value to 0.
12943         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12945 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12947         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12949 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12951         [BZ #16892]
12952         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12953         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12955 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12957         * malloc/malloc.c: Fix typo in comment.
12959 2014-08-09  Allan McRae  <allan@archlinux.org>
12961         * Regenerate libc.po.
12963 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12965         * intl/tst-gettext2.sh: Check every lang file for creation.
12967 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12969         * sysdeps/aarch64/fpu/math_private.h
12970         (libc_feholdsetround_noex_aarch64_ctx): New function.
12972 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12974         * sysdeps/arm/armv6/strcpy.S (strcpy):
12975         Fix performance issue in misaligned cases.
12977 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12979         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12980         Move definition from termios.h.
12981         (struct termio): Likewise.
12982         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12983         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12984         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12985         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12986         Likewise.
12987         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12988         Move definition to ioctl-types.h
12989         (struct termio): Likewise.
12990         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12991         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12992         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12993         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12994         Likewise.
12996 2014-08-05  Richard Henderson  <rth@redhat.com>
12998         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12999         exceptions.
13000         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13001         Add fraiseexcpt.
13002         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13003         Use __feraiseexcept.
13004         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13005         Protect libm symbols with IS_IN_libm.
13007         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13009 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13011         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13013 2014-08-04  Will Newton  <will.newton@linaro.org>
13015         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13016         file.
13018 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13020         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13021         variants for each function.
13023 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13025         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13026         appended ...
13027         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13028         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13029         appended ...
13030         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13031         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13032         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13033         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13034         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13035         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13036         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13037         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13038         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13039         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13040         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13041         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13042         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13043         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13044         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13045         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13046         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13047         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13048         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13049         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13050         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13051         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13052         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13053         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13054         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13055         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13056         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13057         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13058         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13059         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13060         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13061         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13062         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13063         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13064         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13065         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13066         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13067         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13068         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13069         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13070         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13071         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13072         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13073         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13074         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13075         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13076         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13077         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13078         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13079         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13080         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13081         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13082         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13083         Update #include.
13084         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13085         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13087 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13089         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13090         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13091         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13092         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13093         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13094         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13096 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13098         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13099         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13100         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13101         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13103 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13105         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13106         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13107         (__libc_vfork): Define function under this name.
13108         (__vfork): Define as an alias.
13109         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13110         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13112 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13114         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13115         that was previously under [RESET_PID].
13116         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13118 2014-08-04  Andreas Schwab  <schwab@suse.de>
13120         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13122 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13124         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13125         (main): Likewise.
13127 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13129         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13131 2014-08-01  Richard Henderon  <rth@redhat.com>
13133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13134         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13135         typo in exact zero test.
13136         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13137         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13138         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13140 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13142         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13143         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13144         * sysdeps/arm/sysdep.h: ... here.
13145         [!__ASSEMBLER__]: Include <stdint.h>.
13147 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13149         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13150         (HAVE_WCTYPE_H): Likewise.
13151         (HAVE_ISWCTYPE): Likewise.
13152         (ENABLE_NLS): Likewise.
13153         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13154         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13156         * posix/regex_internal.c: Check if DEBUG is defined and is
13157         set.
13159         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13160         (HAVE_MBSRTOWCS): Likewise.
13161         * posix/fnmatch.c: Include string.h unconditionally.
13163 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13165         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13166         reversal.
13168 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13170         * sysdeps/generic/safe-fatal.h: New file.
13171         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13172         * nptl/forward.c: Include it.
13173         (__pthread_unwind): Use __safe_fatal as default action, rather
13174         than a bogus use of INTERNAL_SYSCALL that could never work.
13176         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13177         * configure.ac (libc_cv_builtin_trap): New test.
13178         * configure: Regenerated.
13179         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13180         (ABORT_INSTRUCTION): Define using __builtin_trap.
13182         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13183         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13184         * sysdeps/nptl/nptl-signals.h: New file.
13185         * nptl/pthreadP.h: Include <nptl-signals.h>.
13187 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13189         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13190         (ONE_DIRECTION): Define.
13191         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13192         (ONE_DIRECTION): Define.
13193         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13194         (ONE_DIRECTION): Define.
13196 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13198         * sysdeps/s390/Makefile: Delete file.
13199         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13200         * sysdeps/s390/__longjmp.c: Delete file.
13201         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13202         Remove fields __flags and __reserved.
13203         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13204         and add versioning.
13205         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13206         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13207         * sysdeps/s390/rtld-setjmp.S: Likewise.
13208         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13209         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13210         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13211         * sysdeps/s390/s390-32/setjmp.S: ... here.
13212         Add versioning.
13213         (__sigsetjmp): Remove setting __flags field.
13214         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13215         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13216         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13217         * sysdeps/s390/s390-64/setjmp.S: ... here.
13218         Add versioning.
13219         (__sigsetjmp): Remove setting __flags field.
13220         * sysdeps/s390/setjmp.S: Delete file.
13221         * sysdeps/s390/sigjmp.c: Likewise.
13222         * sysdeps/s390/v1-longjmp.c: Likewise.
13223         * sysdeps/s390/v1-setjmp.h: Likewise.
13224         * sysdeps/s390/v1-sigjmp.c: Likewise.
13225         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13226         Remove v1-longjmp_chk.
13227         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13228         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13229         Include debug/longjmp_chk.c and add versioning.
13230         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13231         Include nptl/pt-longjmp.c and add versioning.
13232         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13233         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13234         Include __longjmp.c.
13235         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13236         Move to ...
13237         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13238         (__getcontext): Remove setting __flags field.
13239         Add versioning.
13240         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13241         Don't restore upper high grps.
13242         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13243         Likewise.
13244         (__swapcontext): Remove setting uc_flags field.
13245         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13246         Delete file.
13247         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13248         Include __longjmp.c.
13249         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13250         Move to ...
13251         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13252         (__getcontext): Remove setting __flags field.
13253         Add versioning.
13254         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13255         (__swapcontext): Remove setting uc_flags field.
13256         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13257         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13258         Remove fields uc_high_gprs and __reserved.
13259         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13260         New file with reverted content.
13261         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13262         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13263         Regenerated.
13264         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13265         Regenerated.
13267 2014-07-31  Andreas Schwab  <schwab@suse.de>
13269         * config.h.in (HAVE_IFUNC): Define to 0.
13270         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13271         definedness.
13273 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13276         memmove-avx-unaligned, memcpy-avx-unaligned and
13277         mempcpy-avx-unaligned.
13278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13279         Add tests for AVX memcpy functions.
13280         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13281         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13282         memcpy_chk.
13283         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13284         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13285         memmove_chk.
13286         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13288         mempcpy_chk.
13289         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13290         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13291         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13293 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13295         [BZ #17213]
13296         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13297         powerpc64le.
13299 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13301         [BZ #16839]
13302         * manual/llio.texi: Add section about open file description locks.
13303         * manual/examples/ofdlocks.c: Example of open file description
13304         lock usage.
13305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13306         F_OFD_SETLK, and F_OFD_SETLKW.
13308 2014-07-23  Allan McRae  <allan@archlinux.org>
13310         * po/es.po: Update Spanish translation from translation project.
13312 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13314         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13316 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13318         [BZ #17078]
13319         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13320         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13321         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13323 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13325         [BZ #17088]
13326         * math/fesetenv.c (__fesetenv)
13327         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13328         * math/feupdateenv.c (__feupdateenv)
13329         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13331         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13332         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13333         (__ASSUME_SOCKETCALL): Do not define.
13335         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13336         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13337         (__ASSUME_SOCKETCALL): Do not define.
13338         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13339         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13340         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13341         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13343         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13344         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13345         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13347         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13348         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13349         (__ASSUME_SOCKETCALL): Do not define.
13350         (__ASSUME_IPC64): Define unconditionally.
13351         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13352         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13353         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13354         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13355         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13356         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13357         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13358         Likewise.
13360         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13361         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13362         (__ASSUME_SOCKETCALL): Do not define.
13363         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13364         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13365         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13366         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13367         (__ASSUME_REQUEUE_PI): Define unconditionally.
13368         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13369         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13370         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13371         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13372         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13373         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13375         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13376         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13377         (__ASSUME_SOCKETCALL): Do not define.
13378         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13379         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13380         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13381         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13382         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13383         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13385         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13386         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13387         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13388         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13389         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13390         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13392         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13393         (__ASSUME_GETCPU_SYSCALL): Likewise.
13395         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13396         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13397         cases for individual architectures.
13398         * sysdeps/gnu/configure: Regenerated.
13399         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13400         LIBC_SLIBDIR_RTLDDIR.
13401         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13402         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13403         LIBC_SLIBDIR_RTLDDIR.
13404         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13406         LIBC_SLIBDIR_RTLDDIR.
13407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13408         Regenerated.
13409         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13410         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13411         file.
13412         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13413         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13414         file.
13415         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13416         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13417         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13418         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13420         * sysdeps/aarch64/shlib-versions: Move to ...
13421         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13422         * sysdeps/alpha/shlib-versions: Move to ...
13423         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13424         * sysdeps/arm/shlib-versions: Move to ...
13425         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13426         * sysdeps/hppa/shlib-versions: Move all contents except for
13427         libgcc_s entry to ...
13428         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13429         entry from ...
13430         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13431         * sysdeps/ia64/shlib-versions: Move to ...
13432         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13433         entry from ...
13434         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13435         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13436         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13437         * sysdeps/microblaze/shlib-versions: Move to ...
13438         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13439         * sysdeps/mips/shlib-versions: Move to ...
13440         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13441         entry from ...
13442         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13443         * sysdeps/tile/shlib-versions: Move to ...
13444         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13445         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13446         from ...
13447         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13448         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13449         entry from ...
13450         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13452 2014-07-17  Will Newton  <will.newton@linaro.org>
13454         * sysdeps/arm/bits/atomic.h
13455         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13456         (__arch_compare_and_exchange_bool_16_int): Likewise.
13457         (__arch_compare_and_exchange_bool_64_int): Likewise.
13459         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13460         into an #else block.
13462 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13464         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13465         just Linux configurations.  Test empirically that the compiler sets
13466         __ARM_EABI__, rather than using the tuple to decide.
13467         * sysdeps/arm/preconfigure: Regenerated.
13468         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13469         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13470         contents appended ...
13471         * sysdeps/arm/configure.ac: ... here.
13472         * sysdeps/arm/configure: Regenerated.
13474 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13476         * nptl/pthread_kill.c: New file.
13477         * nptl/pthread_sigmask.c: New file.
13478         * nptl/pthread_sigqueue.c: New file.
13480         * sysdeps/nptl/lowlevellock.h: New file.
13481         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13482         * sysdeps/nptl/lowlevellock-futex.h: New file.
13484         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13485         Remove dead declarations.
13487 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13489         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13490         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13491         config-cflags-avx2.
13492         * sysdeps/x86_64/configure.ac: Likewise.
13493         * sysdeps/i386/configure: Regenerated.
13494         * sysdeps/x86_64/configure: Likewise.
13495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13496         memset-avx2 only if config-cflags-avx2 is yes.
13497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13498         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13499         defined.
13500         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13501         only if HAVE_AVX2_SUPPORT is defined.
13502         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13504 2014-07-14  Alan Modra  <amodra@gmail.com>
13506         [BZ #17153]
13507         * elf/elf.h (DT_PPC64_NUM): Correct value.
13508         * NEWS: Add to fixed bug list.
13510 2014-07-13  Jim Meyering  <meyering@fb.com>
13512         [BZ 17150]
13513         regex: don't deref NULL upon heap allocation failure
13514         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13515         failure in one more place.
13516         To trigger the segfault, configure grep -with-included-regex,
13517         build it, and run these commands:
13518         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13520 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13522         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13524 2014-07-11  Richard Henderson  <rth@redhat.com>
13526         * sysdeps/aarch64/libm-test-ulps: Update.
13528 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13530         [BZ #17135]
13531         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13532         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13533         (__nptl_setxid): Initialize error member.  Call
13534         __nptl_setxid_error.
13535         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13536         * nptl/descr.h (struct xid_command): Add error member.
13537         * nptl/tst-setuid3.c: New file.
13538         * nptl/Makefile (tests): Add it.
13540 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13542         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13543         New define.
13544         (__lll_trylock): Use __lll_base_trylock.
13545         (__lll_cond_trylock): Likewise.
13547 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13549         * nptl/pthread_create.c (start_thread): Use atomic_or and
13550         lll_futex_wake directly rather than lll_robust_dead.
13551         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13552         (lll_robust_dead): Macro removed.
13553         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13554         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13555         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13556         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13557         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13558         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13559         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13560         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13561         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13562         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13563         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13564         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13565         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13566         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13569         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13570         Use atomic_compare_and_exchange_val_acq directly rather than
13571         lll_robust_trylock.
13572         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13573         (__lll_robust_trylock, lll_robust_trylock): Removed.
13574         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13575         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13576         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13577         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13578         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13579         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13580         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13581         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13582         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13583         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13584         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13585         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13586         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13587         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13589 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13591         * manual/locale.texi (Locale Names): New section documenting
13592         locale name syntax.  Adjust menu and node chaining accordingly.
13593         (Choosing Locale): Reference Locale Names, Locale Categories.
13594         Mention setting LC_ALL=C.  Reflect that name syntax is now
13595         documented.
13596         (Locale Categories): New section title.  Reference Locale Names.
13597         LC_ALL is an environment variable, but not a category.
13598         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13599         description, now in Locale Name.  Reference that section.  Locale
13600         name syntax is now documented.
13602 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13604         [BZ #17137]
13605         * locale/findlocale.c (name_present, valid_locale_name): New
13606         functions.
13607         (_nl_find_locale): Use the loc_name variable to store name
13608         candidates.  Call name_present and valid_locale_name to check and
13609         validate locale names.  Return an error if the locale is invalid.
13611 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13613         * locale/setlocale.c (setlocale): Use strdup for allocating
13614         composite name copy.
13616 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13618         Sync up with gnulib.
13619         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13620         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13621         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13622         and _GL_ARG_NONNULL.
13623         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13624         [!_LIBC]: Include code for Windows and Cygwin.
13625         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13626         Include prototype for int strerror_r.
13627         [!_LIBC] (is_open): New function.
13628         (flush_stdout): New function.
13629         (print_errno_message): Use it.
13630         (error): Likewise.
13631         (error_at_line): Likewise.
13632         (error_tail) Add function attribute macros.  Use
13633         __builtin_expect.
13635         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13637         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13639         * io/ftw.c: Include sys/param.h unconditionally.
13641         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13643         [BZ #17125]
13644         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13645         libc_freeres_ptr.
13646         (freecache): New function to free CACHE on exit.
13648         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13649         initialization.
13651 2014-07-09  David S. Miller  <davem@davemloft.net>
13653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13655         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13656         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13657         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13658         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13659         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13660         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13661         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13662         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13663         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13664         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13665         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13666         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13667         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13669 2014-07-09  Andreas Schwab  <schwab@suse.de>
13671         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13672         output.
13673         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13674         (do_test): Likewise.
13676         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13678 2014-07-09  Will Newton  <will.newton@linaro.org>
13680         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13681         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13682         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13683         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13684         * sysdeps/hppa/start.S (_start): Likewise.
13686 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13688         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13690         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13691         defined.
13693 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13695         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13696         after checking that it is non-NULL.
13698         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13700 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13702         * sysdeps/powerpc/memmove.c: Remove file.
13703         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13704         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13705         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13706         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13707         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13708         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13709         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13710         string memmove instead of removed powerpc one.
13712         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13713         [weak_alias]: Fix compiler warning due trailing data.
13714         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13715         [weak_alias]: Likewise.
13716         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13717         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13720         (__libc_ifunc_impl_list): Add memmove functions.
13722 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13724         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13725         Remove code.
13726         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13727         Likewise
13728         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13729         Likewise
13730         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13731         Likewise
13732         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13733         Likewise
13734         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13735         Likewise
13736         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13737         Likewise
13738         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13739         Likewise
13740         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13741         Likewise
13742         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13743         Likewise
13744         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13745         Likewise
13746         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13747         Likewise
13748         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13749         Likewise
13750         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13751         Likewise
13752         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13753         Likewise
13754         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13755         Likewise
13756         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13757         Likewise
13759 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13761         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13762         to avoid alignment traps in non-cacheable memory.
13763         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13766         multiarch objects.
13767         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13768         file: multiarch power7 memmove.
13769         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13770         multiarch default memmove.
13771         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13772         multiarch memove for powerpc32/power4.
13774         * string/bcopy.c: Use full path to include memmove.c.
13775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13776         multiarch objects.
13777         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13778         bcopy for powerpc64.
13779         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13780         bcopy for powerpc64.
13781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13782         and memmove implementations.
13783         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13784         optimized multiarch memmove for POWER7/powerpc64.
13785         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13786         default multiarch memmove for powerpc64.
13787         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13788         multiarch for powerpc64.
13789         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13790         for POWER7/powerpc64.
13791         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13792         memmove for POWER7/powerpc64.
13794         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13795         glibc default one.
13797         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13798         __ELF_NATIVE_CLASS equal to 64.
13800 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13802         * sysdeps/nptl/lowlevellock.h: File removed.
13804         * NEWS: NPTL is no longer an add-on!
13805         * nptl/internaltypes.h: Moved ...
13806         * sysdeps/nptl/internaltypes.h: ... here.
13807         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13808         * sysdeps/nptl/fork.c: Likewise.
13809         * sysdeps/nptl/gai_misc.h: Likewise.
13810         * sysdeps/nptl/librt-cancellation.c: Likewise.
13811         * sysdeps/nptl/jmp-unwind.c: Likewise.
13812         * sysdeps/nptl/setxid.h: Likewise.
13813         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13814         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13815         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13816         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13817         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13818         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13819         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13820         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13821         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13822         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13823         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13824         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13825         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13826         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13827         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13828         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13829         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13830         * nptl/Makeconfig: Moved ...
13831         * sysdeps/nptl/Makeconfig: ... here.
13832         * nptl/configure: File removed.
13833         * nptl/ANNOUNCE: File removed.
13834         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13835         * sysdeps/unix/sysv/linux/configure: Regenerated.
13837         * nptl/Makefile (routines): Add libc_pthread_init,
13838         libc_multiple_threads, register-atfork and unregister-atfork.
13839         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13840         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13841         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13842         pthread-pi-defines.sym, structsem.sym.
13843         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13844         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13845         [$(subdir) = nptl] (tests): Add tst-setgetname.
13846         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13847         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13848         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13849         [!LIBC_SIGACTION]: Remove aliases.
13850         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13851         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13852         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13853         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13854         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13855         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13856         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13857         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13858         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13859         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13860         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13861         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13862         __libc_allocate_rtsig_private.
13863         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13864         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13865         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13866         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13867         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13868         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13869         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13870         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13871         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13872         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13873         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13874         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13875         * nptl/internaltypes.h: ... here.
13876         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13877         * sysdeps/nptl/jmp-unwind.c: ... here.
13878         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13879         * nptl/libc-lowlevellock.c: ... here.
13880         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13881         * nptl/libc_multiple_threads.c: ... here.
13882         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13883         * nptl/libc_pthread_init.c: ... here.
13884         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13885         * nptl/lowlevelbarrier.sym: ... here.
13886         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13887         * nptl/lowlevelcond.sym: ... here.
13888         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13889         * nptl/lowlevellock.c: ... here.
13890         * nptl/lowlevellock.h: Moved ...
13891         * sysdeps/nptl/lowlevellock.h: ... here.
13892         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13893         * nptl/lowlevelrobustlock.c: ... here.
13894         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13895         * nptl/lowlevelrobustlock.sym: ... here.
13896         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13897         * nptl/lowlevelrwlock.sym: ... here.
13898         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13899         * nptl/pt-fork.c: ... here.
13900         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13901         * nptl/pthread-pi-defines.sym: ... here.
13902         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13903         * nptl/pthread_attr_getaffinity.c: ... here.
13904         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13905         * nptl/pthread_attr_setaffinity.c: ... here.
13906         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13907         * nptl/pthread_mutex_cond_lock.c: ... here.
13908         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13909         Update #include.
13910         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13911         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13912         * nptl/pthread_once.c: ... here, replacing old file.
13913         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13914         * nptl/pthread_yield.c: ... here.
13915         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13916         * nptl/register-atfork.c: ... here.
13917         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13918         * nptl/sem_post.c: ... here.
13919         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13920         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13921         * nptl/sem_timedwait.c: ... here.
13922         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13923         * nptl/sem_trywait.c: ... here.
13924         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13925         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13926         * nptl/sem_wait.c: ... here.
13927         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13928         * nptl/structsem.sym: ... here.
13929         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13930         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13931         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13932         * nptl/unregister-atfork.c: ... here.
13933         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13934         * nptl/unwindbuf.sym: ... here.
13935         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13936         * sysdeps/nptl/fork.c: ... here.
13937         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13938         * sysdeps/nptl/fork.h: ... here.
13939         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13940         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13941         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13942         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13943         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13944         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13945         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13946         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13947         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13948         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13949         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13950         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13951         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13952         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13953         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13955         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13956         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13957         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13958         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13959         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13960         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13961         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13962         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13963         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13964         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13965         * sysdeps/unix/sysv/linux/raise.c: ... here.
13966         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13967         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13968         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13969         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13970         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13971         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13972         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13973         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13974         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13975         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13976         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13977         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13978         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13979         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13980         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13982 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13984         * sysdeps/generic/memcopy.h: Add comment for
13985         MEMCPY_OK_FOR_FWD_MEMMOVE.
13987 2014-07-04  Will Newton  <will.newton@linaro.org>
13989         * string/memchr.c: Merge from gnulib.
13990         [_LIBC]: Remove conditionals.
13991         (__ptr_t): Remove define.
13992         (LONG_MAX_32_BITS): Likewise.
13993         (LONG_MAX): Likewise.
13994         (MEMCHR): Use ANSI prototype and optimize algorithm.
13996         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13998 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14000         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14001         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14003         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14004         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14005         in a bare environment with no <stdlib.h> installed.
14006         * sysdeps/nptl/configure: Regenerated.
14008         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14010         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14011         AC_EGREP_CPP for kernel header checks, so they only succeed if
14012         including <linux/version.h> actually works right.
14013         * sysdeps/unix/sysv/linux/configure: Regenerated.
14015         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14016         value so it's not diagnosed as unused.
14018         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14019         thing) with "ifeq ($(subdir),rt)".
14021 2014-07-03  Richard Henderson  <rth@redhat.com>
14023         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14024         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14025         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14027         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14028         (math_force_eval): New.
14030         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14031         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14033         * sysdeps/alpha/fpu/s_round.c: Remove file.
14034         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14036         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14037         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14038         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14039         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14040         (_dl_start, print_statistics): Likewise.
14041         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14042         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14044         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14045         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14046         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14047         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14049         (HP_SMALL_TIMING_AVAIL): Define.
14050         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14051         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14052         (HP_SMALL_TIMING_AVAIL): Define.
14053         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14054         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14056         * sysdeps/aarch64/hp-timing.h: New file.
14058         * sysdeps/generic/hp-timing.h: Remove dead comment.
14059         * sysdeps/generic/hp-timing-common.h: New file.
14060         * sysdeps/alpha/hp-timing.h: Include it.
14061         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14062         * sysdeps/i386/i686/hp-timing.h: Likewise.
14063         * sysdeps/ia64/hp-timing.h: Likewise.
14064         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14065         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14067         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14068         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14069         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14070         (hp_timing_t): New.
14072         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14073         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14074         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14075         * elf/rtld.c (_dl_start_final): Likewise.
14076         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14077         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14078         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14079         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14080         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14081         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14082         (HP_TIMING_DIFF_INIT): Remove.
14083         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14084         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14085         (HP_TIMING_DIFF_INIT): Remove.
14086         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14087         * sysdeps/i386/i686/hp-timing.c: Remove file.
14088         * sysdeps/x86_64/hp-timing.c: Remove file.
14089         * sysdeps/ia64/hp-timing.c: Remove file.
14090         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14091         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14092         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14093         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14095         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14096         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14097         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14098         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14099         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14100         (HP_TIMING_ACCUM): Remove.
14101         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14102         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14103         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14105         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14106         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14107         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14108         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14109         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14110         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14111         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14112         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14114         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14116 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14118         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14120 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14122         Sync up with gettext.
14123         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14124         [_MSC_VER]: Include malloc.h
14125         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14126         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14127         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14128         TEMP_FAILURE_RETRY.  Cast return of alloca.
14129         [!_LIBC] Call gl_rwlock_init.
14130         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14132 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14134         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14135         before checking its value.
14137 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14139         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14141         * debug/memcpy_chk.c: Don't include pagecopy.h.
14142         * debug/mempcpy_chk.c: Likewise.
14143         * string/memcpy.c: Likewise.
14144         * string/memmove.c: Likewise.
14145         * sysdeps/powerpc/memmove.c: Likewise.
14146         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14147         definition of PAGE_COPY_FWD_MAYBE here...
14148         * sysdeps/generic/pagecopy.h: ... from here.
14149         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14151 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14152             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14154         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14156         optimizations.
14157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14158         (__libc_ifunc_impl_list): Likewise.
14159         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14160         multiarch strcat for PPC64.
14161         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14162         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14164 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14166         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14168 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14170         * intl/loadmsgcat.c: Remove declaration of
14171         get_sysdep_segment_value.
14172         (get_sysdep_segment_value): Use ISO C style.
14173         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14174         semicolon.  Fix typo and formatting in comment.
14175         (_nl_unload_domain): Use ISO C style.
14177         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14179 2014-07-02  Will Newton  <will.newton@linaro.org>
14181         * malloc/obstack.c: Merge from gnulib master.
14182         [HAVE_CONFIG_H]: Remove conditional code.
14183         [!_LIBC]: Include config.h.
14184         [!ELIDE_CODE]: Don't include inttypes.h, include
14185         stdint.h unconditionally.
14186         (print_and_abort): Mark as _Noreturn.
14187         (_obstack_allocated_p): Mark as __attribute_pure__.
14188         (obstack_free): Rename to __obstack_free.
14189         [!__attribute__]: Remove conditional code.
14190         * malloc/obstack.h: Merge from gnulib master.
14191         [__cplusplus]: Move conditional down.
14192         [!__attribute_pure__]: Define __attribute_pure__ here
14193         if it is not already defined.
14194         (_obstack_memory_used): Mark as __attribute_pure__.
14195         [!__obstack_free]: Define as obstack_free.
14196         [__GNUC__]: Remove check for ancient NeXT gcc.
14198 2014-07-02  Will Newton  <will.newton@linaro.org>
14199             Paul Eggert  <eggert@cs.ucla.edu>
14201         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14203 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14205         * resolv/gethnamaddr.c: Add comment warning that the file is
14206         not maintained.
14208 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14210         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14211         entries.
14213         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14214         entry for aio_cancel and aio_cancel64.
14215         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14216         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14217         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14218         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14219         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14220         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14221         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14222         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14223         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14224         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14225         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14226         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14227         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14229 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14231         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14232         * nptl/pthread_mutex_lock.c: Likewise.
14233         * nptl/pthread_mutex_timedlock.c: Likewise.
14234         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14236 2014-07-01  Richard henderson  <rth@redhat.com>
14238         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14239         (__isnan, __isnanl): Remove.
14240         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14242         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14244 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14246         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14248 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14250         * resolv/nss_dns/dns-host.c (getanswer_r)
14251         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14253 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14256         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14257         undefine.
14258         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14259         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14261 2014-07-01  Roland McGrath <roland@hack.frob.com>
14263         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14264         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14266         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14267         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14269         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14270         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14271         ... here.
14272         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14273         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14275         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14276         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14277         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14278         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14280         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14281         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14282         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14283         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14284         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14285         Moved ...
14286         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14287         ... here.
14288         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14289         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14290         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14291         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14292         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14293         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14294         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14295         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14296         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14297         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14298         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14299         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14300         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14301         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14302         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14303         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14304         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14305         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14306         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14307         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14308         ... here.
14309         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14310         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14311         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14312         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14313         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14314         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14315         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14316         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14318 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14320         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14321         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14322         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14323         Add sysdep.
14325 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14329 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14331         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14332         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14334         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14336         * sysdeps/arm/libm-test-ulps: Regenerated.
14338 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14339             Roland McGrath <roland@hack.frob.com>
14341         * test-skeleton.c (signal_handler): Kill the whole process group
14342         before killing the child individually.
14343         (main): Report any failure on `setpgid'.
14345 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14347         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14348         from _TLS_H to _ARM_NPTL_TLS_H.
14349         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14350         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14352 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14354         [BZ #16539]
14355         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14356         (__expm1l): Return argument unchanged when small but not
14357         subnormal.
14359         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14360         include macro name.
14361         (_FP_UNPACK_RAW_1_P): Likewise.
14362         (_FP_PACK_RAW_1): Likewise.
14363         (_FP_PACK_RAW_1_P): Likewise.
14364         (_FP_MUL_MEAT_1_wide): Likewise.
14365         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14366         (_FP_MUL_MEAT_1_hard): Likewise.
14367         (_FP_DIV_MEAT_1_imm): Likewise.
14368         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14369         (_FP_DIV_MEAT_1_udiv): Likewise.
14370         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14371         (_FP_UNPACK_RAW_2): Likewise.
14372         (_FP_UNPACK_RAW_2_P): Likewise.
14373         (_FP_PACK_RAW_2): Likewise.
14374         (_FP_PACK_RAW_2_P): Likewise.
14375         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14376         (_FP_MUL_MEAT_2_wide): Likewise.
14377         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14378         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14379         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14380         (_FP_MUL_MEAT_2_gmp): Likewise.
14381         (_FP_DIV_MEAT_2_udiv): Likewise.
14382         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14383         (_FP_FRAC_SRL_4): Likewise.
14384         (_FP_FRAC_SRST_4): Likewise.
14385         (_FP_FRAC_SRS_4): Likewise.
14386         (_FP_UNPACK_RAW_4): Likewise.
14387         (_FP_UNPACK_RAW_4_P): Likewise.
14388         (_FP_PACK_RAW_4): Likewise.
14389         (_FP_PACK_RAW_4_P): Likewise.
14390         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14391         (_FP_MUL_MEAT_4_wide): Likewise.
14392         (_FP_MUL_MEAT_4_gmp): Likewise.
14393         (umul_ppppmnnn): Likewise.
14394         (_FP_DIV_MEAT_4_udiv): Likewise.
14395         (__FP_FRAC_ADD_4): Likewise.
14396         (__FP_FRAC_SUB_3): Likewise.
14397         (__FP_FRAC_SUB_4): Likewise.
14398         (__FP_FRAC_DEC_3): Likewise.
14399         (__FP_FRAC_DEC_4): Likewise.
14400         (__FP_FRAC_ADDI_4): Likewise.
14401         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14402         (_FP_FRAC_SRL_8): Likewise.
14403         (_FP_FRAC_SRS_8): Likewise.
14405         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14406         include macro name.
14407         (FP_UNPACK_RAW_EP): Likewise.
14408         (FP_PACK_RAW_E): Likewise.
14409         (FP_PACK_RAW_EP): Likewise.
14410         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14411         (_FP_ISSIGNAN): Likewise.
14412         (_FP_ADD_INTERNAL): Likewise.
14413         (_FP_FMA): Likewise.
14414         (_FP_CMP): Likewise.
14415         (_FP_SQRT): Likewise.
14416         (_FP_TO_INT): Likewise.
14417         (_FP_FROM_INT): Likewise.
14418         (FP_EXTEND): Likewise.
14419         (_FP_DIV_MEAT_N_loop): Likewise.
14421 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14423         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14424         throughout.
14426 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14428         [BZ #17097]
14429         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14430         result with correct sign in case of exponents that produce
14431         overflow except for X very close to 1.
14433 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14435         mktime: merge #if/#ifdef usage from glibc
14436         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14437         as that works with both Glibc's and Gnulib's style.
14438         See thread starting at Siddhesh Poyarekar's bug report at:
14439         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14441 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14443         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14444         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14445         * sysdeps/tile/tilegx/memmove.c: Remove file.
14447 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14449         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14450         abi-name definition.
14451         * scripts/soversions.awk: Do not handle or generate ABI lines.
14452         * shlib-versions: Remove ABI entries.
14453         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14454         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14456 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14459         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14460         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14461         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14463         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14465         Moved ...
14466         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14467         ... here.
14468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14469         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14471         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14472         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14473         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14475         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14477         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14479         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14481         Moved ...
14482         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14484         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14486         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14488         Moved ...
14489         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14491         Moved ...
14492         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14494         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14496         Moved ...
14497         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14498         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14499         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14501         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14503         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14505         Moved ...
14506         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14508         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14509         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14510         Moved ...
14511         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14512         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14513         Moved ...
14514         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14515         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14516         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14517         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14518         Moved ...
14519         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14520         ... here.
14521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14522         Identical file removed.
14523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14524         Moved ...
14525         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14526         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14527         Identical file removed.
14528         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14529         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14530         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14531         Moved ...
14532         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14534         Identical file removed.
14535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14536         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14537         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14538         Identical file removed.
14539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14540         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14541         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14542         Identical file removed.
14543         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14544         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14546         Identical file removed.
14547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14548         Moved ...
14549         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14550         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14551         Identical file removed.
14552         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14553         Moved ...
14554         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14555         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14556         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14558         Identical file removed.
14559         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14560         Moved ...
14561         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14562         ... here.
14563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14564         Identical file removed.
14565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14566         Moved ...
14567         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14569         Identical file removed.
14570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14571         Moved ...
14572         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14573         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14574         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14575         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14576         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14578         Moved ...
14579         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14580         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14581         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14583         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14584         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14585         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14586         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14587         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14589 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14591         [BZ #17092]
14592         * nscd/nscd.c (monitor_child): Return exit status of child
14593         instead of return value from wait syscall.
14595 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14597         * configure.ac (libc_commonpagesize): Remove variable.
14598         (libc_relro_required): Likewise.
14599         (libc_cv_z_relro): Remove configure test.
14600         * configure: Regenerated.
14601         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14602         variable.
14603         (libc_relro_required): Likewise.
14604         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14605         (libc_relro_required): Likewise.
14606         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14607         (libc_relro_required): Likewise.
14608         * sysdeps/arm/preconfigure: Regenerated.
14609         * sysdeps/ia64/preconfigure: Remove file.
14610         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14611         variable.
14612         (libc_relro_required): Likewise.
14614         [BZ #16561]
14615         [BZ #16562]
14616         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14617         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14618         recompute overflowing results in original rounding mode.
14619         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14620         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14621         recompute overflowing results in original rounding mode.
14622         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14623         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14624         recompute overflowing results in original rounding mode.
14625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14626         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14627         recompute overflowing results in original rounding mode.
14628         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14629         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14630         recompute overflowing results in original rounding mode.
14631         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14632         (libc_feholdsetround_ctx): New macro.
14633         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14634         * sysdeps/i386/fpu/libm-test-ulps: Update.
14635         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14637 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14639         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14640         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14641         corresponding .cpsetup call.
14643 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14645         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14646         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14647         * sysdeps/arm/Makefile [$(subdir) = csu]
14648         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14649         (static-only-routines): Add aeabi_read_tp here.
14650         (shared-only-routines): Add libc-aeabi_read_tp here.
14651         (CFLAGS-libc-start.c): Add -fexceptions here.
14652         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14653         (sysdep_routines, static-only-routines, shared-only-routines):
14654         Don't add to these here.
14655         (CFLAGS-libc-start.c): Likewise.
14657         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14658         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14659         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14660         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14661         * sysdeps/arm/Makefile [$(subdir) = rt]
14662         (librt-sysdep_routines, librt-shared-only-routines):
14663         Append rt-aeabi_unwind_cpp_pr1 here.
14664         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14665         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14666         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14667         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14668         Append nptl-aeabi_unwind_cpp_pr1 here.
14669         (tests): Filter out tst-cleanupx4 here.
14670         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14671         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14672         Don't do those here.
14674 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14676         * scripts/list-sources.sh: Do not handle ports specially.
14678 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14680         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14681         * sysdeps/arm/feupdateenv.c: Likewise.
14683         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14685 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14687         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14688         trailing whitespace removed.
14689         * scripts/config.guess: Update to version 2014-03-23.
14690         * scripts/config.sub: Update to version 2014-05-01
14691         * scripts/install-sh: Update to version 2013-12-25.23.
14692         * scripts/move-if-change: Update from gnulib.
14694 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14696         * debug/memmove_chk.c: Remove pagecopy.h include.
14698 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14700         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14701         identical to gnulib mktime.
14703 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14705         * configure.ac: Do not test for machine being rs6000.  Do not test
14706         for powerpc*-*soft.
14707         * configure: Regenerated.
14709         [BZ #11505]
14710         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14711         test.
14712         * configure: Regenerated.
14713         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14714         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14715         Remove configure test.
14716         * sysdeps/arm/configure: Regenerated.
14717         * sysdeps/nptl/configure.ac: Do not check
14718         libc_cv_asm_cfi_directives.
14719         * sysdeps/nptl/configure: Regenerated.
14720         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14721         * sysdeps/x86_64/nptl/configure: Remove generated file.
14722         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14723         unconditional.
14724         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14726 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14728         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14729         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14730         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14731         it is defined.
14733         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14734         instead of whether it is defined.
14735         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14736         * sysdeps/hppa/dl-machine.h: Likewise.
14737         * sysdeps/ia64/dl-machine.h: Likewise.
14738         * sysdeps/m68k/dl-machine.h: Likewise.
14739         * sysdeps/microblaze/dl-machine.h: Likewise.
14740         * sysdeps/mips/dl-machine.: Likewise.
14741         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14742         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14743         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14744         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14745         * sysdeps/sh/dl-machine.h: Likewise.
14746         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14747         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14748         * sysdeps/tile/dl-machine.h: Likewise.
14749         * sysdeps/x86_64/dl-machine.h: Likewise.
14751         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14752         code.
14753         (verify_persistent_db): Likewise.
14755 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14758         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14760         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14762         Moved ...
14763         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14764         ... here.
14765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14766         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14768         Identical file removed.
14769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14770         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14772         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14774         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14776         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14778         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14780         Moved ...
14781         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14783         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14785         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14787         Moved ...
14788         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14790         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14792         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14794         Identical file removed.
14795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14796         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14798         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14800         Moved ...
14801         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14802         ... here.
14803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14804         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14806         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14808         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14810         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14812         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14814         Moved ...
14815         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14817         Moved ...
14818         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14820         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14822         Moved ...
14823         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14825         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14827         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14828         folded into ...
14829         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14830         * sysdeps/unix/sysv/linux/s390/Versions
14831         (libpthread: GLIBC_2.19): New version set.
14832         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14833         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14834         (librt: GLIBC_2.3.3): New version set.
14835         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14836         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14837         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14838         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14839         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14840         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14841         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14842         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14843         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14844         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14845         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14846         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14847         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14848         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14849         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14850         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14851         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14852         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14853         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14854         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14855         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14856         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14857         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14858         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14859         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14860         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14861         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14862         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14863         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14864         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14865         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14866         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14868         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14869         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14870         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14871         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14872         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14873         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14875         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14877         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14879         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14881         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14882         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14883         (__libc_vfork): Define the function under this name.
14884         [!NOT_IN_libc] (__vfork): Make this an alias.
14885         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14886         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14887         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14888         (__libc_vfork): Define the function under this name.
14889         [!NOT_IN_libc] (__vfork): Make this an alias.
14890         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14891         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14892         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14893         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14894         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14895         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14897         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14898         code that was previously under [RESET_PID].
14899         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14900         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14901         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14903         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14904         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14905         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14906         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14907         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14908         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14909         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14910         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14911         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14912         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14913         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14914         Moved ...
14915         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14916         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14917         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14918         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14919         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14920         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14921         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14922         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14923         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14924         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14925         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14926         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14927         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14928         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14929         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14930         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14931         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14932         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14933         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14934         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14935         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14936         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14937         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14938         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14939         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14940         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14941         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14942         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14943         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14945 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14947         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14948         that was previously under [RESET_PID].
14949         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14951 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14953         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14954         not undefine and redefine.
14955         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14956         [O_CLOEXEC]: Make code unconditional.
14957         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14958         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14959         <kernel-features.h>.
14960         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14961         conditional variable definition.
14962         (shm_open) [O_CLOEXEC]: Make code unconditional.
14963         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14964         code.
14966         * configure.ac (USE_REGPARMS): Don't define here.
14967         * configure: Regenerated.
14968         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14969         * sysdeps/i386/configure: Regenerated.
14971         * nptl/createthread.c: Don't include kernel-features.h.
14972         * nptl/pthread_cancel.c: Likewise.
14973         * nptl/pthread_condattr_setclock.c: Likewise.
14974         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14975         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14976         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14977         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14978         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14979         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14980         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14982         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14983         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14984         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14985         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14986         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14987         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14988         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14989         * nscd/gai.c: Likewise.
14990         * nss/nss_db/db-open.c: Likewise.
14991         * sysdeps/generic/ldsodefs.h: Likewise.
14992         * sysdeps/sh/nptl/tls.h: Likewise.
14993         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14994         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14995         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14996         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14997         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14998         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14999         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15000         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15001         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15002         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15003         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15004         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15005         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15006         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15007         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15008         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15009         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15010         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15011         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15012         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15014         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15015         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15016         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15020         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15021         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15022         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15023         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15024         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15025         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15026         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15027         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15028         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15029         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15030         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15031         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15032         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15033         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15034         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15035         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15036         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15037         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15038         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15039         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15040         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15041         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15042         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15043         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15044         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15045         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15046         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15047         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15048         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15049         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15050         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15073         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15074         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15075         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15076         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15077         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15079         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15080         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15081         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15082         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15083         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15084         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15085         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15086         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15087         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15088         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15089         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15090         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15091         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15092         * sysdeps/unix/sysv/linux/system.c: Likewise.
15093         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15094         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15095         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15096         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15097         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15098         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15099         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15101         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15102         * configure: Regenerated.
15103         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15105         * configure.ac (base_machine): Do not set specially for particular
15106         machines here.
15107         * configure: Regenerated.
15108         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15109         settings from configure.ac.
15110         * sysdeps/i386/preconfigure: New file.
15111         * sysdeps/s390/preconfigure: Likewise.
15112         * sysdeps/sh/preconfigure: Likewise.
15113         * sysdeps/sparc/preconfigure: Likewise.
15115 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15117         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15118         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15119         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15120         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15121         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15122         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15123         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15124         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15125         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15126         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15127         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15128         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15129         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15130         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15131         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15132         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15133         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15134         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15135         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15137         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15138         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15139         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15140         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15141         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15142         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15143         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15144         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15145         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15146         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15147         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15148         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15149         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15150         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15151         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15152         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15153         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15154         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15155         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15156         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15157         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15158         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15159         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15160         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15161         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15162         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15163         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15164         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15165         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15166         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15167         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15168         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15169         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15170         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15171         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15172         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15173         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15174         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15177         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15179         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15181         Moved ...
15182         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15183         ... here.
15184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15185         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15187         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15189         Moved ...
15190         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15192         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15194         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15196         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15198         Moved ...
15199         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15201         Moved ...
15202         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15204         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15206         Moved ...
15207         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15209         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15211         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15213         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15215         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15217         Moved ...
15218         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15219         ... here.
15220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15221         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15223         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15225         Moved ...
15226         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15228         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15230         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15232         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15234         Moved ...
15235         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15237         Moved ...
15238         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15240         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15242         Moved ...
15243         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15245         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15247         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15249 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15251         * timezone/checktab.awk: Update from tzcode 2014e.
15252         * timezone/private.h: Likewise.
15253         * timezone/tzfile.h: Likewise.
15254         * timezone/zdump.c: Likewise.
15255         * timezone/zic.c: Likewise.
15257         * sysdeps/unix/sysv/linux/kernel-features.h
15258         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15259         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15260         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15261         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15262         Remove conditional code.
15264 2014-06-25  Will Newton  <will.newton@linaro.org>
15266         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15267         (_dl_arm_cap_flags): Add HWCAP2 values.
15268         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15269         (_DL_HWCAP_COUNT): Increase to 37.
15270         (_DL_HWCAP_LAST): New define.
15271         (_DL_HWCAP2_LAST): New define.
15272         (_dl_procinfo): Add support for printing
15273         AT_HWCAP2 entries.
15274         (_dl_string_hwcap): Use _dl_hwcap_string.
15276 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15280 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15282         * README: Do not mention ports directory.
15284         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15285         Remove macro.
15286         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15287         <kernel-features.h>.
15288         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15289         conditional variable definition.
15290         (__futimes): Update comment.
15291         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15292         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15294         [BZ #16560]
15295         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15296         arguments close to 0.
15297         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15298         Likewise.
15299         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15300         Likewise.
15301         * math/auto-libm-test-in: Add more tests of exp10.
15302         * math/auto-libm-test-out: Regenerated.
15303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15305         * sysdeps/unix/sysv/linux/kernel-features.h
15306         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15307         * sysdeps/unix/sysv/linux/readv.c: Do not include
15308         <kernel-features.h>.
15309         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15310         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15311         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15312         unconditional.
15313         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15314         conditional code.
15315         * sysdeps/unix/sysv/linux/writev.c: Do not include
15316         <kernel-features.h>.
15317         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15318         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15319         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15320         unconditional.
15321         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15322         conditional code.
15324 2014-06-25  Will Newton  <will.newton@linaro.org>
15326         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15327         comment changes throughout the file.  Remove checks
15328         for HAVE_*_H definitions that are not required.
15329         (__gen_tempname): Call abort if an unknown kind value is
15330         passed.
15332 2014-06-25  Andreas Schwab  <schwab@suse.de>
15334         [BZ #17086]
15335         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15336         scalbln, scalblnf, scalblnl in libc.
15338 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15340         [BZ #17086]
15341         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15342         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15343         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15345 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15347         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15348         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15349         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15350         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15351         Update #include.
15352         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15353         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15354         Update #include.
15355         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15356         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15357         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15358         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15359         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15360         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15361         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15362         * sysdeps/x86/bits/semaphore.h: ... here.
15363         * sysdeps/x86/nptl/elide.h: Moved ...
15364         * sysdeps/x86/elide.h: ... here.
15365         * sysdeps/x86_64/nptl/Implies: File removed.
15366         * sysdeps/i386/nptl/Implies: File removed.
15368 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #16539]
15371         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15372         return the argument for normal arguments with exponent below -64.
15373         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15374         Likewise.
15375         * math/auto-libm-test-in: Add another test of expm1.
15376         * math/auto-libm-test-out: Regenerated.
15378         [BZ #16287]
15379         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15380         calling __erfcl for arguments at least 16.
15381         * math/auto-libm-test-in: Add more tests of erf.
15382         * math/auto-libm-test-out: Regenerated.
15384         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15385         individual architectures.
15386         * sysdeps/unix/sysv/linux/configure: Regenerated.
15387         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15388         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15389         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15390         (ldd_rewrite_script): Define variable.
15391         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15393         file.
15394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15395         generated file.
15396         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15397         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15398         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15399         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15400         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15401         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15402         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15403         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15405 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15407         [BZ #17084]
15408         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15409         Rename member __data.d to __data.__elision_data.
15411 2014-06-24  Wilco  <wdijkstr@arm.com>
15413         * NEWS: Add 16918 to fixed bug list.
15415 2014-06-24  Wilco  <wdijkstr@arm.com>
15417         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15419 2014-06-24  Wilco  <wdijkstr@arm.com>
15421         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15422         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15423         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15424         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15425         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15426         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15427         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15428         Use _FPU_MASK_RM.
15430 2014-06-24  Wilco  <wdijkstr@arm.com>
15432         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15434 2014-06-24  Wilco  <wdijkstr@arm.com>
15436         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15437         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15438         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15439         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15441 2014-06-24  Wilco  <wdijkstr@arm.com>
15443         [BZ #16918]
15444         * sysdeps/arm/feupdateenv.c (feupdateenv):
15445         Rewrite to reduce FPSCR accesses and fix return value.
15447 2014-06-24  Wilco  <wdijkstr@arm.com>
15449         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15450         Optimize to avoid unnecessary FPSCR writes.
15451         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15452         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15453         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15454         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15456 2014-06-24  Wilco  <wdijkstr@arm.com>
15458         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15459         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15460         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15461         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15462         Call libc_fetestexcept_vfp.
15463         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15464         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15465         __SOFTFP__ ifdef so that they can be built for softfp.
15467 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15469         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15470         argument type signed char.
15472         * Makerules (check-abi): Dump diff of symlist if the test
15473         fails.
15475 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15477         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15478         using abort.
15480         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15481         Remove unused variable ST.
15483 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15485         [BZ #16354]
15486         [BZ #17061]
15487         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15488         small arguments before calling __expm1.
15489         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15490         small arguments before calling __expm1f.
15491         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15492         small arguments before calling __expm1l.
15493         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15494         Likewise.
15495         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15496         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15497         spurious underflow for some cosh tests.
15498         * math/auto-libm-test-out: Regenerated.
15499         * sysdeps/i386/fpu/libm-test-ulps: Update.
15501         [BZ #17050]
15502         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15503         (__ieee754_y1): Set errno if return value overflows.
15504         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15505         (__ieee754_y1f): Set errno if return value overflows.
15506         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15507         (__ieee754_y1l): Set errno if return value overflows.
15508         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15509         (__ieee754_y1l): Set errno if return value overflows.
15510         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15511         * math/auto-libm-test-out: Regenerated.
15513         * math/gen-auto-libm-tests.c: Document use of
15514         ignore-zero-inf-sign.
15515         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15516         (input_flags): Add ignore-zero-inf-sign.
15517         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15518         * math/gen-libm-test.pl (generate_testfile): Handle
15519         ignore-zero-inf-sign.
15520         * math/auto-libm-test-in: Mark some cpow tests with
15521         ignore-zero-inf-sign and some with xfail-rounding.
15522         * math/auto-libm-test-out: Regenerated.
15523         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15524         * sysdeps/i386/fpu/libm-test-ulps: Update.
15525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15527         [BZ #16315]
15528         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15529         overflowing or underflowing operations take place with sign of
15530         result.
15531         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15532         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15533         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15534         (__ieee754_pow): Recompute overflowing and underflowing results in
15535         original rounding mode.
15536         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15537         (__powl_helper): Allow negative argument X and scale negated value
15538         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15539         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15540         overflowing or underflowing operations take place with sign of
15541         result.
15542         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15543         Include <math.h>.
15544         * math/auto-libm-test-in: Add more tests of pow.
15545         * math/auto-libm-test-out: Regenerated.
15546         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15547         (pow_tonearest_test_data): Remove.
15548         (pow_test_tonearest): Likewise.
15549         (pow_towardzero_test_data): Likewise.
15550         (pow_test_towardzero): Likewise.
15551         (pow_downward_test_data): Likewise.
15552         (pow_test_downward): Likewise.
15553         (pow_upward_test_data): Likewise.
15554         (pow_test_upward): Likewise.
15555         (main): Don't call removed functions.
15556         * sysdeps/i386/fpu/libm-test-ulps: Update.
15557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15559 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15562         Moved ...
15563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15565         Moved ...
15566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15568         Moved ...
15569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15571         Moved ...
15572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15574         File removed.
15575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15576         File removed.
15577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15578         File removed.
15579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15580         File removed.
15581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15582         File removed.
15583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15584         File removed.
15585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15586         File removed.
15587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15588         File removed.
15589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15590         File removed.
15591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15592         File removed.
15593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15594         File removed.
15595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15596         File removed.
15597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15598         Moved ...
15599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15601         Moved ...
15602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15603         ... here.
15604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15605         Moved ...
15606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15608         Moved ...
15609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15611         Moved ...
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15614         Moved ...
15615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15617         Moved ...
15618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15620         Moved ...
15621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15623         Moved ...
15624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15627         ... here.
15628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15629         Moved ...
15630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15632         Moved ...
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15634         ... here.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15636         Moved ...
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15638         ... here.
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15640         Moved ...
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15642         ... here.
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15644         Moved ...
15645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15647         Moved ...
15648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15652         Moved ...
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15654         ... here.
15655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15656         Moved ...
15657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15658         ... here.
15659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15660         Moved ...
15661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15663         Moved ...
15664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15666         Moved ...
15667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15669         Moved ...
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15672         Moved ...
15673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15674         ... here.
15675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15676         Moved ...
15677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15679         Moved ...
15680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15682         Moved ...
15683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15685         Moved ...
15686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15690         Moved ...
15691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15693         Moved ...
15694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15696         Moved ...
15697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15698         ... here.
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15700         Moved ...
15701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15702         ... here.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15704         Moved ...
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15706         ... here.
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15708         Moved ...
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15711         Moved ...
15712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15714         Moved ...
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15717         Moved ...
15718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15719         ... here.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15721         Moved ...
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15723         ... here.
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15725         Moved ...
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15727         ... here.
15728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15729         Moved ...
15730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15732         Moved ...
15733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15735 2014-06-23  Will Newton  <will.newton@linaro.org>
15736             Wilco  <wdijkstr@arm.com>
15738         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15739         implementation.  Include get-rounding-mode.h.
15740         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15741         [!libc_feholdsetround_noex_ctx]: Define
15742         libc_feholdsetround_noex_ctx.
15743         [!libc_feholdsetround_noexf_ctx]: Define
15744         libc_feholdsetround_noexf_ctx.
15745         [!libc_feholdsetround_noexl_ctx]: Define
15746         libc_feholdsetround_noexl_ctx.
15747         (libc_feholdsetround_ctx): New function.
15748         (libc_feresetround_ctx): New function.
15749         (libc_feholdsetround_noex_ctx): New function.
15750         (libc_feresetround_noex_ctx): New function.
15752 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15754         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15755         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15756         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15757         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15758         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15759         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15761         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15762         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15763         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15764         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15765         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15766         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15767         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15768         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15769         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15770         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15771         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15772         Moved ...
15773         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15774         ... here.
15775         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15776         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15777         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15778         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15779         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15780         Moved ...
15781         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15782         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15783         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15784         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15785         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15786         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15787         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15789         Moved ...
15790         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15791         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15792         Moved ...
15793         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15794         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15795         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15796         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15797         Moved ...
15798         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15799         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15800         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15801         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15802         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15803         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15804         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15806         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15807         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15808         Moved ...
15809         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15810         ... here.
15811         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15812         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15813         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15814         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15815         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15816         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15817         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15818         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15819         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15820         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15821         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15822         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15824         Moved ...
15825         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15827         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15828         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15831         Moved ...
15832         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15833         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15834         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15835         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15836         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15838         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15839         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15840         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15841         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15842         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15843         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15844         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15845         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15846         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15847         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15848         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15849         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15851         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15852         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15853         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15855         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15856         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15857         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15858         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15859         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15860         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15861         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15862         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15863         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15864         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15865         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15867 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15869         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15870         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15871         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15872         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15873         (IPV6_PMTUDISC_INTERFACE): Likewise.
15874         (IPV6_PMTUDISC_OMIT): Likewise.
15876 2014-06-23  Andreas Schwab  <schwab@suse.de>
15878         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15879         Remove unused errout label.
15881 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15883         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15884         macro: hardware supports Vector Crypto instructions.
15886 2014-06-23  Will Newton  <will.newton@linaro.org>
15888         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15889         rather than __builtin_expect.
15891         * elf/dl-lookup.c (undefined_msg): Remove variable.
15892         (_dl_lookup_symbol_x): Replace undefined_msg with string
15893         literal.
15895         * elf/dl-lookup.c (do_lookup_unique): New function.
15896         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15897         to a separate function.
15899 2014-06-23  Andreas Schwab  <schwab@suse.de>
15901         [BZ #17079]
15902         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15903         before reading the next line.
15905 2014-06-23  Will Newton  <will.newton@linaro.org>
15907         * test-skeleton.c (signal_handler): Use printf and %m
15908         rather than perror.  Use printf rather than fprintf to
15909         stderr.  Use puts rather than fputs to stderr.
15910         (main): Likewise.
15912 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15914         * nscd/nscd.c (thread_info_t): Remove typedef.
15915         (thread_info): Remove variable.
15917 2014-06-21  Allan McRae  <allan@archlinux.org>
15919         * NEWS: Mention CVE-2014-4043.
15921 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15923         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15924         * nptl/smp.h: ... here.
15926         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15928         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15929         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15930         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15931         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15933         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15934         * nptl/stack-aliasing.h: New file.
15935         * sysdeps/i386/i686/stack-aliasing.h: New file.
15936         * sysdeps/i386/i686/nptl/Makefile: File removed.
15937         * sysdeps/x86_64/stack-aliasing.h: New file.
15938         * sysdeps/x86_64/nptl/Makefile
15939         (CFLAGS-pthread_create.c): Variable removed.
15941         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15942         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15943         old file.
15944         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15945         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15946         old file.
15948 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15950         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15951         (__ASSUME_SIGFRAME_V2): Remove macro.
15952         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15953         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15954         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15955         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15956         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15957         Declare as function.  Remove conditional macro definitions.
15958         (__default_rt_sa_restorer): Likewise.
15959         (__default_sa_restorer_v1): Remove declaration.
15960         (__default_sa_restorer_v2): Likewise.
15961         (__default_rt_sa_restorer_v1): Likewise.
15962         (__default_rt_sa_restorer_v2): Likewise.
15963         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15964         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15965         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15967 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15969         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15970         (libpthread-routines): Add sysdep.
15971         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15972         * sysdeps/unix/sysv/linux/sparc/Versions
15973         (libpthread: GLIBC_2.3.3): New version set.
15974         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15975         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15976         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15977         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15978         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15979         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15980         Moved ...
15981         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15982         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15983         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15984         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15985         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15986         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15987         * sysdeps/sparc/nptl/sem_init.c: ... here.
15988         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15989         * sysdeps/sparc/nptl/sem_post.c: ... here.
15990         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15991         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15992         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15993         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15994         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15995         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15996         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15997         (libpthread-routines): Add cpu_relax.
15998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15999         File removed.
16000         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16001         (librt: GLIBC_2.3.3): New version set.
16002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16003         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16004         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16005         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16008         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16010         Moved ...
16011         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16013         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16015         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16017         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16019         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16021         Moved ...
16022         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16023         Update #include.
16024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16025         Moved ...
16026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16027         Update #include.
16028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16029         Moved ...
16030         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16031         Update #include.
16032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16033         Moved ...
16034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16035         Update #include.
16036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16037         Moved ...
16038         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16039         Update #include.
16040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16041         Moved ...
16042         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16043         Update #include.
16044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16045         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16047         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16049         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16051         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16053         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16055         Moved ...
16056         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16058         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16060         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16062 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16064         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16065         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16066         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16067         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16068         * nscd/nscd.c: Likewise.
16069         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16070         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16071         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16072         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16074         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16075         <kernel-features.h>.
16076         (init_mq_netlink): Remove conditional have_sock_cloexec
16077         definitions.  Remove code conditional on have_sock_cloexec < 0.
16078         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16079         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16080         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16081         <kernel-features.h>.
16082         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16083         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16085 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16087         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16088         Add tests for memset_chk and memset.
16090         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16091         with AVX2_Usable.
16093 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16095         [BZ #16046]
16096         * elf/tst-dl-iter-static.c: New file.
16097         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16099         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16100         error.
16102 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16104         * sysdeps/unix/sysv/linux/kernel-features.h
16105         (__ASSUME_F_GETOWN_EX): Remove macro.
16106         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16107         <kernel-features.h>.
16108         (miss_F_GETOWN_EX): Remove variable or macro.
16109         (do_fcntl): Do not check miss_F_GETOWN_EX.
16110         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16112         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16113         Remove macro.
16114         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16115         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16116         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16118         * sysdeps/unix/sysv/linux/kernel-features.h
16119         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16120         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16121         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16122         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16124 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16126         [BZ #17075]
16127         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16128         Fix calculation of the symbol's value.
16129         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16130         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16131         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16132         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16133         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16134         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16135         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16136         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16137         (modules-names): Add `tst-armtlsdescmod',
16138         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16139         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16140         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16141         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16142         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16143         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16144         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16145         ($(objpfx)tst-armtlsdescloc): New dependency.
16146         ($(objpfx)tst-armtlsdescextnow): Likewise.
16147         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16148         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16149         TLS scheme support.
16150         * sysdeps/arm/configure: Regenerate.
16152 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16154         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16155         (__atfct_seterrno_2): Likewise.
16156         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16157         <kernel-features.h>.
16158         (__ASSUME_ATFCTS): Do not undefine and redefine.
16159         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16160         (__have_atfcts): Remove conditional definition.
16161         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16162         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16163         unreachable if [__ASSUME_ATFCTS].
16164         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16165         not undefine and redefine.
16166         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16167         <kernel-features.h>.
16168         (faccessat) [__NR_faccessat]: Make code unconditional.
16169         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16170         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16171         <kernel-features.h>.
16172         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16173         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16174         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16175         <kernel-features.h>.
16176         (fchownat) [__NR_fchownat]: Make code unconditional.
16177         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16178         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16179         <kernel-features.h>.
16180         (futimesat) [__NR_futimesat]: Make code unconditional.
16181         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16182         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16183         <kernel-features.h>.
16184         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16185         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16186         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16187         <kernel-features.h>.
16188         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16189         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16190         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16191         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16192         <kernel-features.h>.
16193         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16194         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16195         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16196         <kernel-features.h>.
16197         (linkat) [__NR_linkat]: Make code unconditional.
16198         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16199         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16200         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16201         <kernel-features.h>.
16202         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16203         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16204         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16205         <kernel-features.h>.
16206         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16207         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16208         * sysdeps/unix/sysv/linux/openat.c: Do not include
16209         <kernel-features.h>.
16210         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16211         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16212         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16213         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16214         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16215         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16216         <kernel-features.h>.
16217         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16218         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16219         result of INLINE_SYSCALL directly, not via int variable.
16220         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16221         <kernel-features.h>.
16222         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16223         (renameat) [__NR_renameat]: Make code unconditional.
16224         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16225         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16226         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16227         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16228         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16229         (__ASSUME_ATFCTS): Do not undefine and redefine.
16230         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16231         <kernel-features.h>.
16232         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16233         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16234         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16235         <kernel-features.h>.
16236         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16237         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16238         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16239         (__ASSUME_ATFCTS): Do not undefine and redefine.
16240         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16241         <kernel-features.h>.
16242         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16243         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16244         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16245         <kernel-features.h>.
16246         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16247         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16249 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16251         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16253 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16255         [BZ #17069]
16256         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16257         constructed tree before returning error.
16258         * posix/bug-regexp36.c: Expand test case.
16260 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16262         [BZ #6803]
16263         * math/libm-test.inc (scalbln_test_date):
16264         Add errno expectations.
16265         * math/w_scalblnf.c: New File.
16266         Add wrapper which checks for setting errno to ERANGE.
16267         Add weak_alias for corresponding scalbln function.
16268         * math/w_scalbln.c: Likewise.
16269         * math/w_scalblnl.c: Likewise.
16270         * math/Makefile (libm-calls): Add w_scalbln.
16271         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16272         Remove weak_alias for corresponding scalbln function.
16273         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16274         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16275         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16276         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16277         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16278         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16279         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16280         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16281         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16282         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16283         Remove long_double_symbol for scalblnl function in libm, libc.
16284         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16285         Add wrapper which checks for setting errno to ERANGE.
16286         Add long_double_symbol for scalblnl function in libm, libc.
16287         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16288         Remove long_double_symbol for scalblnl in libm.
16289         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16290         Add wrapper which checks for setting errno to ERANGE.
16291         Add long_double_symbol for scalblnl function in libm.
16292         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16293         Do not use wrapper because of own implementation.
16295 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16297         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16298         3 bytes for __pad1 for x32.
16299         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16301 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16302             H.J. Lu  <hongjiu.lu@intel.com>
16304         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16305         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16306         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16307         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16308         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16310 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16312         [BZ #17069]
16313         * posix/regcomp.c (parse_expression): Deallocate partially
16314         constructed tree before returning error.
16315         * posix/Makefile.c (tests): Add bug-regex36.
16316         (generated): Add bug-regex36.mtrace.
16317         (tests-special): Add $(objpfx)bug-regex36-mem.out
16318         (bug-regex36-ENV): New variable.
16319         ($(objpfx)bug-regex36-mem.out): New rule.
16320         * posix/bug-regex36.c: New file.
16322 2014-06-19  Will Newton  <will.newton@linaro.org>
16324         * malloc/malloc.c (systrim): If extra is zero then return
16325         early.
16327 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16329         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16331 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16333         * sysdeps/aarch64/strchr.S: New file.
16335 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16337         [BZ #17022]
16338         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16339         from arguments -2 or below.
16340         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16341         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16343 2014-06-18  Andreas Schwab  <schwab@suse.de>
16345         [BZ #17062]
16346         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16347         of a bracket expr not to run off the end of the string.
16348         * posix/Makefile (tests): Add tst-fnmatch3.
16349         * posix/tst-fnmatch3.c: New file.
16351 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16353         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16354         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16355         [$(cross-compiling) = no]: Likewise.
16356         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16357         [$(cross-compiling) = no]: Likewise.
16359 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16361         [BZ #17031]
16362         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16363         double, adjusted for any remainder from the high double.
16364         * math/libm-test.inc (nearbyint): Add tests.
16365         (rint): Likewise.
16367 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16369         * nptl/sysdeps/powerpc/Makefile: Moved ...
16370         * sysdeps/powerpc/nptl/Makefile: ... here.
16371         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16372         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16373         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16374         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16375         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16376         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16377         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16378         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16379         * nptl/sysdeps/powerpc/tls.h: Moved ...
16380         * sysdeps/powerpc/nptl/tls.h: ... here.
16382 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16384         [BZ #16681]
16385         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16386         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16387         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16388         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16389         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16390         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16391         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16392         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16393         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16395 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16397         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16399 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16401         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16402         defined operator.
16404         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16405         $TIMEOUTFACTOR.
16407 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16409         [BZ #17058]
16410         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16411         non-executed part of the test.
16413 2014-06-16  Andreas Schwab  <schwab@suse.de>
16415         * string/bits/string2.h (strdup, strndup): Update feature guard.
16417 2014-06-14  David S. Miller  <davem@davemloft.net>
16419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16421 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16423         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16424         that was previously under [RESET_PID].
16425         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16427         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16428         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16429         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16430         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16431         (__libc_vfork): New strong alias.
16432         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16434 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16436         * sysdeps/generic/elide.h: New file.
16438 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16440         * Makefile (installed-headers): Adjust path of pthread.h header.
16442 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16444         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16445         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16446         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16447         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16449         * nptl/sysdeps/s390/Makefile: Moved ...
16450         * sysdeps/s390/nptl/Makefile: ... here.
16451         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16452         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16453         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16454         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16455         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16456         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16457         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16458         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16459         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16460         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16461         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16462         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16463         * nptl/sysdeps/s390/tls.h: Moved ...
16464         * sysdeps/s390/nptl/tls.h: ... here.
16466         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16467         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16469 2014-06-13  David S. Miller  <davem@davemloft.net>
16471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16474         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16478         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16479         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16480         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16481         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16482         Remove RESET_PID cpp guards.
16483         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16484         Remove RESET_PID cpp guards.
16485         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16487 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16489         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16490         __sp to uintptr_t.
16492 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16494         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16495         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16496         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16497         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16498         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16499         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16500         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16501         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16502         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16503         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16504         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16505         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16506         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16507         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16508         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16510         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16511         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16512         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16513         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16515         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16516         (pthread_rwlock_rdlock): Add elision.
16517         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16518         (pthread_rwlock_wrlock): Add elision.
16519         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16520         (pthread_rwlock_trywrlock): Add elision.
16521         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16522         (pthread_rwlock_tryrdlock): Add elision.
16523         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16524         (pthread_rwlock_tryrdlock): Add elision unlock.
16525         * nptl/sysdeps/pthread/pthread.h:
16526         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16527         (PTHREAD_RWLOCK_INITIALIZER,
16528         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16529         Handle new elision field.
16530         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16531         * sysdeps/arm/nptl/bits/pthreadtypes.h
16532         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16533         * sysdeps/sh/nptl/bits/pthreadtypes.h
16534         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16535         * sysdeps/tile/nptl/bits/pthreadtypes.h
16536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16537         * sysdeps/a/nptl/bits/pthreadtypes.h
16538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16539         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16541         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16543         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16545         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16547         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16548         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16549         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16550         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16551         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16552         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16553         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16555         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16556         (elision_init): Set try_xbegin to zero when no RTM.
16557         * sysdeps/x86/nptl/bits/pthreadtypes.h
16558         (pthread_rwlock_t): Change __pad1 to __rwelision.
16559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16561 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16563         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16564         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16565         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16566         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16568 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16570         [BZ #16996]
16571         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16572         that the cached result has been set before returning it.
16574 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16576         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16577         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16578         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16579         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16580         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16581         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16583         * nptl/sysdeps/sparc/Makefile: Moved ...
16584         * sysdeps/sparc/nptl/Makefile: ... here.
16585         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16586         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16587         * nptl/sysdeps/sparc/tls.h: Moved ...
16588         * sysdeps/sparc/nptl/tls.h: ... here.
16589         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16590         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16591         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16592         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16593         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16594         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16595         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16596         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16597         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16598         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16599         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16600         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16601         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16602         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16603         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16604         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16605         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16606         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16607         Update #include.
16608         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16609         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16610         Update #include.
16611         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16612         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16613         Update #include.
16614         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16615         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16616         Update #include.
16618         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16620         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16621         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16623         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16624         (struct list_links): Type removed.
16625         (struct thread_node, struct timer_node): Replace struct list_links
16626         with struct list_head.
16627         (list_unlink_ip): Likewise.
16628         * sysdeps/pthread/timer_routines.c
16629         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16630         (list_append, list_insbefore): Likewise.
16631         (list_init): Function removed.
16632         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16633         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16634         * sysdeps/pthread/Makefile: ... here, new file.
16636         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16637         * sysdeps/nptl/Implies: ... here.
16638         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16639         * nptl/sysdeps/pthread/list.h: Moved ...
16640         * include/list.h: ... here.
16641         * nptl/sysdeps/pthread/createthread.c: Moved ...
16642         * nptl/createthread.c: ... here.
16643         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16644         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16645         * nptl/pt-longjmp.c: ... here.
16646         * nptl/sysdeps/pthread/Makefile: Moved ...
16647         * sysdeps/nptl/Makefile: ... here.
16648         * nptl/sysdeps/pthread/Subdirs: Moved ...
16649         * sysdeps/nptl/Subdirs: ... here.
16650         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16651         * sysdeps/nptl/aio_misc.h: ... here.
16652         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16653         * sysdeps/nptl/bits/libc-lock.h: ... here.
16654         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16655         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16656         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16657         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16658         * nptl/sysdeps/pthread/configure: Moved ...
16659         * sysdeps/nptl/configure: ... here.
16660         * nptl/sysdeps/pthread/configure.ac: Moved ...
16661         * sysdeps/nptl/configure.ac: ... here.
16662         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16663         * sysdeps/nptl/gai_misc.h: ... here.
16664         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16665         * sysdeps/nptl/librt-cancellation.c: ... here.
16666         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16667         * sysdeps/nptl/malloc-machine.h: ... here.
16668         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16669         * sysdeps/nptl/pthread-functions.h: ... here.
16670         * nptl/sysdeps/pthread/pthread.h: Moved ...
16671         * sysdeps/nptl/pthread.h: ... here.
16672         * nptl/sysdeps/pthread/setxid.h: Moved ...
16673         * sysdeps/nptl/setxid.h: ... here.
16674         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16675         * sysdeps/nptl/sigfillset.c: ... here.
16676         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16677         * sysdeps/nptl/tcb-offsets.h: ... here.
16678         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16679         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16680         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16681         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16682         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16683         * sysdeps/pthread/allocalim.h: ... here.
16684         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16685         * sysdeps/pthread/bits/sigthread.h: ... here.
16686         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16687         * sysdeps/pthread/flockfile.c: ... here.
16688         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16689         * sysdeps/pthread/ftrylockfile.c: ... here.
16690         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16691         * sysdeps/pthread/funlockfile.c: ... here.
16692         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16693         * sysdeps/pthread/posix-timer.h: ... here.
16694         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16695         * sysdeps/pthread/timer_create.c: ... here.
16696         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16697         * sysdeps/pthread/timer_delete.c: ... here.
16698         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16699         * sysdeps/pthread/timer_getoverr.c: ... here.
16700         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16701         * sysdeps/pthread/timer_gettime.c: ... here.
16702         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16703         * sysdeps/pthread/timer_routines.c: ... here.
16704         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16705         * sysdeps/pthread/timer_settime.c: ... here.
16706         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16707         * sysdeps/pthread/tst-timer.c: ... here.
16708         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16709         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16711         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16712         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16714         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16715         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16716         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16717         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16718         Update #include target.
16719         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16720         * sysdeps/i386/i686/nptl/Makefile: ... here.
16721         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16722         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16723         Update #include target.
16724         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16725         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16726         * nptl/sysdeps/i386/Makefile: Moved ...
16727         * sysdeps/i386/nptl/Makefile: ... here.
16728         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16729         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16730         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16731         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16732         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16733         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16734         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16735         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16736         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16737         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16738         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16739         * nptl/sysdeps/i386/tls.h: Moved ...
16740         * sysdeps/i386/nptl/tls.h: ... here.
16742         * sysdeps/sh/Makefile [$(subdir) = csu]
16743         (gen-as-const-headers): Add tcb-offsets.sym.
16744         * nptl/sysdeps/sh/Makefile: File removed.
16745         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16746         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16747         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16748         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16749         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16750         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16751         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16752         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16753         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16754         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16755         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16756         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16757         * nptl/sysdeps/sh/tls.h: Moved ...
16758         * sysdeps/sh/nptl/tls.h: ... here.
16759         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16760         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16761         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16762         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16763         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16764         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16765         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16766         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16767         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16768         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16769         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16770         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16771         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16772         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16773         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16774         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16775         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16776         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16777         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16778         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16779         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16780         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16782         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16783         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16784         Moved ...
16785         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16786         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16787         Moved ...
16788         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16789         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16790         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16791         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16792         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16793         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16794         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16795         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16796         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16797         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16798         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16799         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16800         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16801         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16802         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16803         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16804         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16805         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16806         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16808 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16810         * posix/spawn_faction_addopen.c: Include string.h.
16812 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16814         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16815         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16816         * nptl/sysdeps/x86_64/Makefile: Moved ...
16817         * sysdeps/x86_64/nptl/Makefile: ... here.
16818         * nptl/sysdeps/x86_64/configure: Moved ...
16819         * sysdeps/x86_64/nptl/configure: ... here.
16820         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16821         * sysdeps/x86_64/nptl/configure.ac: ... here.
16822         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16823         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16824         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16825         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16826         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16827         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16828         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16829         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16830         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16831         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16832         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16833         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16834         * nptl/sysdeps/x86_64/tls.h: Moved ...
16835         * sysdeps/x86_64/nptl/tls.h: ... here.
16836         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16837         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16838         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16839         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16841         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16843 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16847 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16849         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16850         type.
16851         [POSIX] (off_t): Likewise.
16852         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16853         [POSIX] (S_ISBLK): Require macro.
16854         [POSIX] (S_ISCHR): Likewise.
16855         [POSIX] (S_ISDIR): Likewise.
16856         [POSIX] (S_ISFIFO): Likewise.
16857         [POSIX] (S_ISREG): Likewise.
16858         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16859         optional-macro.
16860         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16861         type.
16862         [POSIX] (time_t): Likewise.
16863         [POSIX] (timer_t): Likewise.
16865 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16867         [BZ #17048]
16868         * posix/spawn_int.h (struct __spawn_action): Make the path string
16869         non-const to support deallocation.
16870         * posix/spawn_faction_addopen.c
16871         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16872         * posix/spawn_faction_destroy.c
16873         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16874         path in all spawn_do_open actions.
16875         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16876         posix_spawn_file_actions_addopen.
16878 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16880         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16881         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16882         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16883         conditional code always true.
16884         (__libc_vfork): New alias.
16886 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16888         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16889         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16891         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16893         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16894         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16896         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16897         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16899         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16900         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16902 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16904         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16905         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16906         multiarch strcmp for PPC64.
16907         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16908         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16910         multiarch optimizations.
16911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16912         (__libc_ifunc_impl_list): Likewise.
16914 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16916         * benchtests/scripts/validate_benchout.py: New script.
16917         * benchtests/Makefile (bench-func): Call it.
16918         * benchtests/scripts/benchout.schema.json: New file.
16920 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16922         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16923         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16924         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16925         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16926         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16927         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16928         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16929         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16930         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16931         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16932         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16933         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16934         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16935         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16936         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16937         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16939         Moved ...
16940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16941         ... here.
16942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16943         Moved ...
16944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16946         Moved ...
16947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16948         ... here.
16949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16950         Moved ...
16951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16952         ... here.
16953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16954         Moved ...
16955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16957         Moved ...
16958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16959         ... here.
16960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16961         Moved ...
16962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16963         ... here.
16964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16965         Moved ...
16966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16968         Moved ...
16969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16970         ... here.
16971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16972         Moved ...
16973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16974         ... here.
16975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16976         Moved ...
16977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16978         ... here.
16979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16980         Moved ...
16981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16983         Moved ...
16984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16985         ... here.
16986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16987         Moved ...
16988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16989         ... here.
16990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16991         Moved ...
16992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16993         ... here.
16994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16995         Moved ...
16996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16998         Moved ...
16999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17000         ... here.
17001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17002         Moved ...
17003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17004         ... here.
17005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17006         Moved ...
17007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17009         Moved ...
17010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17011         ... here.
17012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17013         Moved ...
17014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17016         Moved ...
17017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17019         Moved ...
17020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17021         ... here.
17022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17023         Moved ...
17024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17025         ... here.
17026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17027         Moved ...
17028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17029         ... here.
17030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17031         Moved ...
17032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17034         Moved ...
17035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17036         ... here.
17037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17038         Moved ...
17039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17040         ... here.
17041         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17042         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17043         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17044         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17045         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17046         Moved ...
17047         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17048         ... here.
17049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17050         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17052         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17053         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17054         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17055         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17056         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17058         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17060         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17062         Moved ...
17063         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17065         Moved ...
17066         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17067         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17068         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17069         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17070         Moved ...
17071         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17073         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17074         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17075         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17076         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17077         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17079 2014-06-10  Wilco  <wdijkstr@arm.com>
17081         * math/test-fenv-return.c: New file.
17082         * math/Makefile: Add new test test-fenv-return.
17084 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17086         [BZ #17042]
17087         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17088         when x - 1 is zero.
17089         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17090         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17091         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17092         0.0L for an argument of 1.0L.
17093         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17094         Likewise.
17095         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17096         value when x - 1 is zero.
17097         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17098         * sysdeps/i386/fpu/libm-test-ulps: Update.
17099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17101 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17103         [BZ #15119]
17104         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17106 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17108         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17109         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17111 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17113         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17114         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17116         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17117         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17119         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17120         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17122         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17123         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17125         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17126         if not already defined.
17127         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17128         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17129         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17130         (TLS_INIT_TP): Use it.
17131         (TLS_DEFINE_INIT_TP): New macro.
17132         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17134 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17136         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17137         constant.
17138         [POSIX] (IXANY): Likewise.
17139         [POSIX] (OLCUC): Likewise.
17140         [POSIX || POSIX2008] (CBAUD): Do not allow.
17141         [POSIX || POSIX2008] (DEFECHO): Likewise.
17142         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17143         [POSIX || POSIX2008] (ECHOKE): Likewise.
17144         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17145         [POSIX || POSIX2008] (EXTA): Likewise.
17146         [POSIX || POSIX2008] (EXTB): Likewise.
17147         [POSIX || POSIX2008] (FLUSHO): Likewise.
17148         [POSIX || POSIX2008] (LOBLK): Likewise.
17149         [POSIX || POSIX2008] (PENDIN): Likewise.
17150         [POSIX || POSIX2008] (SWTCH): Likewise.
17151         [POSIX || POSIX2008] (VDISCARD): Likewise.
17152         [POSIX || POSIX2008] (VDSUSP): Likewise.
17153         [POSIX || POSIX2008] (VLNEXT): Likewise.
17154         [POSIX || POSIX2008] (VREPRINT): Likewise.
17155         [POSIX || POSIX2008] (VSTATUS): Likewise.
17156         [POSIX || POSIX2008] (VWERASE): Likewise.
17157         (B*): Change to B[0123456789]*.
17158         * conform/data/time.h-data [POSIX || UNIX98]
17159         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17160         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17161         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17162         [POSIX] (tm_*): Do not allow.
17164 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17166         * Makefile (install): Don't set LANGUAGE.
17167         * Makefile.in (install): Likewise.
17168         * assert/Makefile (test-assert-ENV): Remove variable.
17169         (test-assert-perr-ENV): Likewise.
17170         * elf/Makefile (neededtest4-ENV): Likewise.
17171         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17172         [$(cross-compiling) = no]: Don't set LANGUAGE.
17173         * io/ftwtest-sh (LANG): Remove variable.
17174         * libio/Makefile (tst-widetext-ENV): Likewise.
17175         * manual/install.texi (Running make install): Don't refer to
17176         environment settings for make install.
17177         * INSTALL: Regenerated.
17178         * nptl/tst-tls6.sh: Don't set LANG.
17179         * posix/globtest.sh (LANG): Remove variable.
17180         * string/Makefile (tester-ENV): Likewise.
17181         (inl-tester-ENV): Likewise.
17182         (noinl-tester-ENV): Likewise.
17183         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17184         [$(cross-compiling) = no]: Don't set LANGUAGE.
17185         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17186         without explicit environment settings.
17188 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17190         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17191         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17192         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17193         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17195 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17197         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17198         other files in the crypt directory.
17199         * crypt/crypt.c: Remove duplicate includes.
17200         * crypt/crypt-entry.c: Likewise.
17201         * crypt/crypt_util.c: Likewise.
17203 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17205         * Makeconfig (run-program-env): New variable.
17206         (run-program-prefix-before-env): Likewise.
17207         (run-program-prefix-after-env): Likewise.
17208         (run-program-prefix): Define in terms of new variables.
17209         (built-program-cmd-before-env): New variable.
17210         (built-program-cmd-after-env): Likewise.
17211         (built-program-cmd): Define in terms of new variables.
17212         (test-program-prefix-before-env): New variable.
17213         (test-program-prefix-after-env): Likewise.
17214         (test-program-prefix): Define in terms of new variables.
17215         (test-program-cmd-before-env): New variable.
17216         (test-program-cmd-after-env): Likewise.
17217         (test-program-cmd): Define in terms of new variables.
17218         * Rules (make-test-out): Use $(run-program-env).
17219         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17220         (help): Do not mention environment variables.  Mention
17221         --timeoutfactor option.
17222         (timeoutfactor): New variable.
17223         (blacklist_exports): Remove function.
17224         (exports): Remove variable.
17225         (command): Do not include ${exports}.
17226         * manual/install.texi (Configuring and compiling): Do not mention
17227         test wrappers preserving environment variables.  Mention that last
17228         assignment to a variable must take precedence.
17229         * INSTALL: Regenerated.
17230         * benchtests/Makefile (run-bench): Use $(run-program-env).
17231         * catgets/Makefile ($(objpfx)test1.cat): Use
17232         $(built-program-cmd-before-env), $(run-program-env) and
17233         $(built-program-cmd-after-env).
17234         ($(objpfx)test2.cat): Do not specify environment variables
17235         explicitly.
17236         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17237         $(run-program-env) and $(built-program-cmd-after-env).
17238         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17239         $(run-program-env) and $(test-program-cmd-after-env).
17240         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17241         explicitly.
17242         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17243         run_program_env and test_program_cmd_after_env arguments.
17244         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17245         * elf/tst-pathopt.sh: Use run_program_env argument.
17246         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17247         $(test-wrapper-env) and $(run-program-env).
17248         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17249         run_program_env arguments.
17250         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17251         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17252         $(test-program-prefix-before-env), $(run-program-env) and
17253         $(test-program-prefix-after-env).
17254         ($(objpfx)tst-gettext2.out): Likewise.
17255         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17256         run_program_env and test_program_prefix_after_env arguments.
17257         * intl/tst-gettext2.sh: Likewise.
17258         * intl/tst-gettext4.sh: Do not set environment variables
17259         explicitly.
17260         * intl/tst-gettext6.sh: Likewise.
17261         * intl/tst-translit.sh: Likewise.
17262         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17263         $(test-program-prefix-before-env), $(run-program-env) and
17264         $(test-program-prefix-after-env).
17265         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17266         run_program_env and test_program_prefix_after_env arguments.
17267         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17268         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17269         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17270         explicitly with each use of ${test_wrapper_env}.
17271         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17272         $(test-program-prefix-before-env), $(run-program-env) and
17273         $(test-program-prefix-after-env).
17274         * posix/tst-getconf.sh: Do not set environment variables
17275         explicitly.
17276         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17277         run_program_env and test_program_prefix_after_env arguments.
17278         * stdio-common/tst-printf.sh: Do not set environment variables
17279         explicitly.
17280         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17281         $(test-program-prefix-before-env), $(run-program-env) and
17282         $(test-program-prefix-after-env).
17283         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17284         run_program_env and test_program_prefix_after_env arguments.
17285         Split $test calls into $test_pre and $test.
17286         * timezone/Makefile (build-testdata): Use
17287         $(built-program-cmd-before-env), $(run-program-env) and
17288         $(built-program-cmd-after-env).
17290 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17292         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17293         strlen for non SHARED builds.
17295 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17297         * nptl/allocatestack.c (check_list): Inlined function...
17298         (__reclaim_stacks): ... here.
17300 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17302         [BZ #15698]
17303         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17304         memory overrun.
17306 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17308         * Rules (make-test-out): Include
17309         LOCPATH=$(common-objpfx)localedata in default environment.
17310         * debug/Makefile (tst-chk1-ENV): Remove variable.
17311         (tst-chk2-ENV): Likewise.
17312         (tst-chk3-ENV): Likewise.
17313         (tst-chk4-ENV): Likewise.
17314         (tst-chk5-ENV): Likewise.
17315         (tst-chk6-ENV): Likewise.
17316         (tst-lfschk1-ENV): Likewise.
17317         (tst-lfschk2-ENV): Likewise.
17318         (tst-lfschk3-ENV): Likewise.
17319         (tst-lfschk4-ENV): Likewise.
17320         (tst-lfschk5-ENV): Likewise.
17321         (tst-lfschk6-ENV): Likewise.
17322         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17323         (tst-iconv7-ENV): Likewise.
17324         * intl/Makefile (LOCPATH-ENV): Likewise.
17325         (tst-codeset-ENV): Likewise.
17326         (tst-gettext3-ENV): Likewise.
17327         (tst-gettext5-ENV): Likewise.
17328         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17329         (tst-fopenloc-ENV): Likewise.
17330         (tst-fgetws-ENV): Remove variable.
17331         (tst-ungetwc1-ENV): Likewise.
17332         (tst-ungetwc2-ENV): Likewise.
17333         (bug-ungetwc2-ENV): Likewise.
17334         (tst-swscanf-ENV): Likewise.
17335         (bug-ftell-ENV): Likewise.
17336         (tst-fgetwc-ENV): Likewise.
17337         (tst-fseek-ENV): Likewise.
17338         (tst-ftell-partial-wide-ENV): Likewise.
17339         (tst-ftell-active-handler-ENV): Likewise.
17340         (tst-ftell-append-ENV): Likewise.
17341         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17342         (tst-regexloc-ENV): Likewise.
17343         (bug-regex1-ENV): Likewise.
17344         (tst-regex-ENV): Likewise.
17345         (tst-regex2-ENV): Likewise.
17346         (bug-regex5-ENV): Likewise.
17347         (bug-regex6-ENV): Likewise.
17348         (bug-regex17-ENV): Likewise.
17349         (bug-regex18-ENV): Likewise.
17350         (bug-regex19-ENV): Likewise.
17351         (bug-regex20-ENV): Likewise.
17352         (bug-regex22-ENV): Likewise.
17353         (bug-regex23-ENV): Likewise.
17354         (bug-regex25-ENV): Likewise.
17355         (bug-regex26-ENV): Likewise.
17356         (bug-regex30-ENV): Likewise.
17357         (bug-regex32-ENV): Likewise.
17358         (bug-regex33-ENV): Likewise.
17359         (bug-regex34-ENV): Likewise.
17360         (bug-regex35-ENV): Likewise.
17361         (tst-rxspencer-ENV): Likewise.
17362         (tst-rxspencer-no-utf8-ENV): Likewise.
17363         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17364         (tst-sscanf-ENV): Likewise.
17365         (tst-swprintf-ENV): Likewise.
17366         (tst-swscanf-ENV): Likewise.
17367         (test-vfprintf-ENV): Likewise.
17368         (scanf13-ENV): Likewise.
17369         (bug14-ENV): Likewise.
17370         (tst-grouping-ENV): Likewise.
17371         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17372         (tst-strtod3-ENV): Likewise.
17373         (tst-strtod4-ENV): Likewise.
17374         (tst-strtod5-ENV): Likewise.
17375         (testmb2-ENV): Likewise./
17376         * string/Makefile (tst-strxfrm-ENV): Likewise.
17377         (tst-strxfrm2-ENV): Likewise.
17378         (bug-strcoll1-ENV): Likewise.
17379         (test-strcasecmp-ENV): Likewise.
17380         (test-strncasecmp-ENV): Likewise.
17381         * time/Makefile (tst-strptime-ENV): Likewise.
17382         (tst-ftime_l-ENV): Likewise.
17383         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17384         (tst-mbrtowc-ENV): Likewise.
17385         (tst-wcrtomb-ENV): Likewise.
17386         (tst-mbrtowc2-ENV): Likewise.
17387         (tst-c16c32-1-ENV): Likewise.
17388         (tst-mbsnrtowcs-ENV): Likewise.
17390 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17392         * manual/resource.texi (How to get information about the memory
17393         subsystem?): Fix typo.
17394         Reported by Peon de la Parra Ivan <peon@keba.com>
17396 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17398         [BZ #16882]
17399         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17400         (pthread_spin_lock): Branch out of spin loop to proper location.
17401         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17402         (pthread_spin_lock): Likewise.
17404         * nptl/tst-spin4.c: New test.
17405         * nptl/Makefile (tests): Add tst-spin4.
17407 2014-06-03  Andreas Schwab  <schwab@suse.de>
17409         [BZ #15946]
17410         * resolv/res_send.c (send_dg): Reload file descriptor after
17411         calling reopen.
17413 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17415         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17417 2014-06-03  Richard Henderson  <rth@redhat.com>
17419         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17420         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17421         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17422         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17423         in the SAVE_PID block.
17424         (__libc_vfork): New alias.
17425         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17427         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17428         child in registers, not on the stack.  Remove RESET_PID conditionals.
17429         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17431 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17433         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17435 2014-06-03  Wilco  <wdijkstr@arm.com>
17437         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17438         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17439         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17440         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17441         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17442         Likewise.
17444 2014-06-03  Wilco  <wdijkstr@arm.com>
17446         * sysdeps/aarch64/fpu/math_private.h
17447         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17448         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17449         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17450         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17451         Fix declarations.
17453 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17455         * crypt/crypt-private.h: Include ufc-crypt.h.
17456         (__b64_from_24bit): Declare extern.
17457         * crypt/crypt_util.c(__b64_from_24bit): New function.
17458         (b64t): New static const variable.
17459         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17460         (b64t): Remove variable.
17461         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17462         * crypt/sha256-crypt.c: Include crypt-private.h.
17463         (b64t): Remove variable.
17464         (__sha256_crypt_r): Remove b64_from_24bit and replace
17465         with __b64_from_24bit.
17466         * crypt/sha512-crypt.c: Likewise.
17468 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17470         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17471         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17472         Label the code __libc_vfork rather than __vfork.
17473         [!NOT_IN_libc] (vfork): Define as weak alias.
17474         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17475         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17476         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17478 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17480         * malloc/malloc.c (malloc_info): Fix format specifier for
17481         n_mmaps.
17483 2014-06-02  Wilco  <wdijkstr@arm.com>
17485         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17486         FPCR write.
17488 2014-06-02  Wilco  <wdijkstr@arm.com>
17490         [BZ #17009]
17491         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17492         Rewrite to reduce FPCR/FPSR accesses.
17494 2014-06-01  David S. Miller  <davem@davemloft.net>
17496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17498 2014-05-31  David S. Miller  <davem@davemloft.net>
17500         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17501         to occur in round to nearest mode when |x| >= 2.0
17503 2014-05-30  Richard Henderson  <rth@twiddle.net>
17505         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17506         (PSEUDO_RET_NOERRNO): Remove.
17507         (ret): Don't redefine.
17508         (ret_NOERRNO): Define in terms of ret.
17509         (ret_ERRVAL): Likewise.
17511         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17512         use of PSEUDO_RET; perform the error check directly.
17514 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17516         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17517         with __int128_t.
17519 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521         * malloc/malloc (malloc_info): Fix formatting.
17523 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17524             Roland McGrath  <roland@hack.frob.com>
17526         * malloc/malloc (malloc_info): Also print mmapped statistics.
17528 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17530         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17531         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17533 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17535         * malloc/malloc.c (malloc_info): Inline mi_arena.
17537 2014-05-29  Richard Henderson  <rth@twiddle.net>
17539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17540         Remove comma before expanding ASM_ARGS_##nr.
17541         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17542         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17543         of ASM_ARGS_##nr.
17544         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17545         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17546         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17547         (ASM_ARGS_1): Add leading comma.
17549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17550         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17551         to __errno_location.
17552         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17553         Remove the expected plt for __errno_location.
17555         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17556         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17557         call to __read_tp.
17559         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17560         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17561         it and break it down.
17562         (DOCARGS_0, DOCARGS_1): Do nothing.
17563         (DOCARGS_2): Update to store into the new stack frame.
17564         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17565         (UNDOCARGS_1): Update to restore from the new stack frame.
17566         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17567         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17569         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17570         (SINGLE_THREAD_P): New parameter for result regno.
17571         (PSEUDO): Update to match; use cbz instead of beq.
17573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17574         Use ENTRY to define the _nocancel entry point.  Share the syscall
17575         and syscall error check paths with the cancel path.
17576         (PSEUDO_END): New.
17578         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17579         whitespace; tabs before and after asm mnemonics.
17581 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17583         [BZ #15132]
17584         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17585         Call fstat64 or stat64 internally, depending on arguments passed.
17586         Replace stat buffer argument with file descriptor argument.
17587         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17588         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17589         Pass fd to __internal_statvfs instead of calling fstat64.
17590         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17591         Pass fd to __internal_statvfs64 instead of calling fstat64.
17592         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17593         Pass -1 to __internal_statvfs instead of calling stat64.
17594         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17595         Pass -1 to __internal_statvfs64 instead of calling stat64.
17597 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17599         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17600         that was previously under [RESET_PID].
17601         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17603         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17604         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17606 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17608         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17610         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17611         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17613 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17615         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17617 2014-05-27  Andreas Schwab  <schwab@suse.de>
17619         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17620         TLS_INIT_TP macro.
17621         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17622         * elf/rtld.c (init_tls, dl_main): Likewise.
17623         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17624         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17625         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17626         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17627         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17628         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17629         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17630         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17631         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17632         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17633         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17634         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17635         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17636         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17637         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17638         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17639         * sysdeps/generic/tls.h: Update description.
17641 2014-05-27  Will Newton  <will.newton@linaro.org>
17643         [BZ #16990]
17644         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17645         and restore r2 rather than just restoring.
17647 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17649         [BZ #16724]
17650         * libio/tst-ftell-append.c: New test case.
17651         * libio/Makefile (tests): Add test case.
17652         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17653         append mode.
17654         * libio/wfileops.c (do_ftell_wide): Likewise.
17656 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17660         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17661         ...
17662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17664         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17665         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17666         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17667         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17668         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17669         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17671         Moved ...
17672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17674         Moved ...
17675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17676         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17677         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17678         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17679         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17680         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17681         ...
17682         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17683         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17684         Moved ...
17685         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17686         here.
17687         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17688         ...
17689         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17690         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17691         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17693         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17694         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17695         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17696         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17698         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17699         merge into ...
17700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17702         ...
17703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17705         ...
17706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17708         Moved ...
17709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17710         here.
17711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17712         Moved ...
17713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17714         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17715         Moved ...
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17719         conditional [RESET_PID].
17720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17721         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17722         removed.
17723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17724         removed.
17726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17727         <tcb-offsets.h>.
17728         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17729         (__libc_vfork): New strong alias.
17730         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17731         removed.
17732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17733         Removed.
17735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17736         <tcb-offsets.h>.
17737         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17738         (__libc_vfork): New strong alias.
17739         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17740         removed.
17741         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17742         removed.
17744 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17746         * malloc/malloc.c (mi_arena): New function.
17747         (malloc_info): Remove nested function mi_arena. Call non-nosted
17748         function mi_arena.
17750 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17752         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17753         by insrwi.
17754         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17755         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17756         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17757         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17758         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17759         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17760         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17762 2014-05-26  Andreas Schwab  <schwab@suse.de>
17764         [BZ #16984]
17765         * locale/programs/repertoire.c (repertoire_read): Add slash
17766         between I18NPATH element and file name.
17767         * locale/programs/locfile.c (locfile_read): Likewise.
17769 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17771         * nptl/pthread_mutexattr_settype.c
17772         (__pthread_mutexattr_settype):
17773         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17775 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17777         * nptl/tst-mutex5 (do_test):
17778         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17780 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17782         * benchtests/README: Document 'init' directive.
17783         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17784         BENCH_INIT.
17785         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17786         (parse_file): Recognize 'init' directive.
17788 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17790         [BZ #16796]
17791         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17792         alignment of struct pthread.
17794 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17796         [BZ #16878]
17797         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17798         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17799         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17800         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17802 2014-05-25  Richard Henderson  <rth@twiddle.net>
17804         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17805         (SINGLE_THREAD_P_PIC): Remove.
17806         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17807         (SINGLE_THREAD_P_PIC): Remove.
17809         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17810         branch to syscall error ...
17811         (PSEUDO): ... here.
17812         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17813         from __local_syscall_error to .Lsyscall_error.
17814         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17815         (SYSCALL_ERROR): Update label name.
17817         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17818         Do not use DOARGS/UNDOARGS.
17819         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17820         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17821         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17822         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17823         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17825         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17826         block comment.
17828         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17829         define if !NOT_IN_libc.
17830         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17831         define with non-default symbol versions.
17833 2014-05-23  Richard Henderson  <rth@twiddle.net>
17835         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17836         (vfork, __vfork): Define via compat_symbol.
17838         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17839         [!HAVE_IFUNC] (vfork_compat): Remove.
17840         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17842 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17844         [BZ #16978]
17845         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17846         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17847         variable.
17849 2014-05-23  Richard Henderson  <rth@twiddle.net>
17851         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17852         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17853         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17854         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17856         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17857         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17858         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17859         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17860         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17861         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17862         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17863         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17864         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17865         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17866         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17867         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17868         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17869         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17870         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17871         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17872         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17873         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17874         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17875         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17876         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17877         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17878         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17879         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17880         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17881         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17882         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17883         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17884         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17885         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17886         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17887         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17888         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17889         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17890         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17891         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17892         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17893         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17894         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17895         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17896         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17897         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17898         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17899         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17900         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17901         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17902         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17903         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17904         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17905         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17906         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17907         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17908         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17909         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17910         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17911         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17913         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17914         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17915         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17916         before exiting on error.
17917         (__libc_vfork): New strong alias.
17918         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17919         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17921         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17922         that was previously under [RESET_PID].
17923         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17925         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17927 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17929         [BZ #16977]
17930         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17931         value when x - 1 is zero.
17932         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17933         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17934         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17935         0.0L for an argument of 1.0L.
17936         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17937         Likewise.
17938         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17939         value when x - 1 is zero.
17940         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17941         * sysdeps/i386/fpu/libm-test-ulps: Update.
17942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17944 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17946         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17947         alphasort and versionsort.
17949 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17951         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17952         macro.
17953         [copysignf]: Likewise.
17955 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17957         * crypt/md5-crypt.c: Fix formatting.
17959 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17961         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17962         (b64_from_24bit): New function.
17964 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17966         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17967         libc_hidden_builtin_def to ifunc.
17968         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17969         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17971 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17973         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17974         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17976 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17978         * nscd/Depend (linuxthreads): Remove.
17979         (nptl): Add.
17980         * resolv/Depend (linuxthreads): Remove.
17981         * rt/Depend (linuxthreads): Remove.
17983         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17984         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17985         $(common-objpfx)elf/.
17986         (link-libc-before-gnulib): Likewise.
17987         (elfobjdir): Remove variable.
17988         * Makefile (install): Use $(elf-objpfx) instead of
17989         $(common-objpfx)elf/.
17990         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17991         $(elfobjdir)/.
17992         (link-libc-deps): Likewise.
17993         ($(common-objpfx)libc.so): Likewise.
17994         ($(common-objpfx)linkobj/libc.so): Likewise.
17995         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17996         instead of $(common-objpfx)elf/.
17997         (symbolic-link-list): Likewise.
17998         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17999         [$(cross-compiling) = no]: Likewise.
18000         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18001         $(elfobjdir)/.
18002         (static-gnulib-arch): Likewise.
18003         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18004         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18005         $(common-objpfx)elf/.
18007 2014-05-21  Richard Henderson  <rth@redhat.com>
18009         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18010         (SINGLE_THREAD_P): Use the correct width load.  Fold
18011         into the ldr offset.
18013         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18014         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18016 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18018         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18019         (libgcc_s_resume): Use __attribute_used__.
18020         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18021         Likewise.
18023 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18025         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18026         optimization when used with float constants.
18028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18030 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18032         [BZ #16915]
18033         * locale/nl_langinfo_l.c: Make direct reference to every
18034         _nl_current_CATEGORY symbol.
18035         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18036         (tests-static): Add tst-langinfo-static.
18037         (tests-special): Add tst-langinfo-static.out.
18038         ($(objpfx)tst-langinfo.out): Redirect output.
18039         ($(objpfx)tst-langinfo-static.out): New.
18040         * localedata/tst-langinfo.sh: Send output to stdout.
18041         * localedata/tst-langinfo-static.c: New file.
18043         [BZ #16965]
18044         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18045         when the shift amount is modulo the limb size.
18047 2014-05-20  Richard Henderson  <rth@redhat.com>
18049         [BZ #16967]
18050         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18051         Change type of sa_flags from unsigned int to int.
18053         [BZ #16966]
18054         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18056         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18058 2014-05-20  Will Newton  <will.newton@linaro.org>
18060         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18061         Test the return value of the system call in the nocancel case.
18063 2014-05-20  Will Newton  <will.newton@linaro.org>
18064             Yvan Roux  <yvan.roux@linaro.org>
18066         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18067         #include of asm/ptrace.h.
18068         (PTRACE_GET_THREAD_AREA): Remove #undef.
18069         (PTRACE_GETHBPREGS): Likewise.
18070         (PTRACE_SETHBPREGS): Likewise.
18071         (struct user_regs_struct): New structure.
18072         (struct user_fpsimd_struct): New structure.
18073         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18074         #include of asm/ptrace.h and second #include of sys/user.h.
18075         (PTRACE_GET_THREAD_AREA): Remove #undef.
18076         (PTRACE_GETHBPREGS): Likewise.
18077         (PTRACE_SETHBPREGS): Likewise.
18078         (ELF_NGREG): Use new struct user_regs_struct.
18079         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18081 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18084         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18086 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18088         [BZ #16958]
18089         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18090         membar to avoid block loads/stores to overlap previous stores.
18092 2014-05-17  Richard Henderson  <rth@redhat.com>
18094         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18095         Create the __##syscall_name##_nocancel entry point.
18096         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18097         Remove; let the sysdep-cancel.h code create it.
18099 2014-05-17  David S. Miller  <davem@davemloft.net>
18101         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18102         Protect with __USE_GNU.
18103         (TIOCSET_TEMPT): Likewise.
18104         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18105         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18106         these are already provided in bits/ioctl-types.h
18108 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18110         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18111         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18113         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18114         Use wait4 regardless of [__NR_waitpid].
18116 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18118         PR libgcc/60166
18119         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18120         (_FP_NANSIGN_Q): Set the quiet bit.
18122 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18124         * benchtests/Makefile
18125         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18126         not $(common-objpfx)math/libm.so.
18127         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18128         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18129         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18130         $(common-objpfx)dlfcn/libdl.so.
18131         ($(objpfx)tst-audit8): Depend on $(libm), not
18132         $(common-objpfx)math/libm.so.
18133         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18134         not $(common-objpfx)dlfcn/libdl.so.
18135         * math/Makefile
18136         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18137         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18138         [$(build-shared) = yes].
18139         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18140         $(common-objpfx)nptl/libpthread.so.
18141         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18142         $(common-objpfx)math/libm.so$(libm.so-version) or
18143         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18144         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18145         $(common-objpfx)dlfcn/libdl.so.
18146         * setjmp/Makefile (link-libm): Remove variable.
18147         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18148         * stdio-common/Makefile (link-libm): Remove variable.
18149         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18150         * stdlib/Makefile (link-libm): Remove variable.
18151         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18152         ($(objpfx)tst-strtod-round): Likewise.
18153         ($(objpfx)tst-tininess): Likewise.
18154         ($(objpfx)tst-strtod-underflow): Likewise.
18155         ($(objpfx)tst-strtod6): Likewise.
18156         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18157         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18158         $(common-objpfx)dlfcn/libdl.so.
18160 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18162         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18163         BSD terminal modes definitions.
18165 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18167         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18168         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18170         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18171         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18172         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18173         Don't do #include_next.
18174         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18175         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18176         Don't do #include_next.
18177         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18178         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18179         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18180         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18182 2014-05-16  Allan McRae  <allan@archlinux.org>
18184         * po/sv.po: Update Swedish translation from translation project.
18186         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18187         in sed expression.
18189 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18191         [BZ #16917]
18192         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18193         errno if the TIOCGPTN ioctl fails with an error different than
18194         EINVAL.
18195         * login/tst-ptsname.c: New file.
18196         * login/Makefile (tests): Add tst-ptsname.
18198         [BZ #16943]
18199         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18200         and prlimit64.
18202 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18204         [BZ #16849]
18205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18206         herrno to return EAI_AGAIN.
18208 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18210         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18211         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18212         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18213         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18214         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18215         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18216         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18217         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18218         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18219         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18220         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18221         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18222         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18223         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18224         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18225         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18226         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18227         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18228         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18229         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18230         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18231         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18232         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18233         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18234         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18235         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18236         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18237         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18238         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18239         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18241         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18243         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18245         Moved ...
18246         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18248         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18250         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18252         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18254         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18256         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18258         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18260         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18262         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18264         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18266         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18268         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18270         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18272         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18274         Moved ...
18275         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18277         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18279         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18281         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18283         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18285         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18287         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18289         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18291         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18293         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18295         Moved ...
18296         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18298         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18300         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18301         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18302         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18303         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18304         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18305         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18306         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18307         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18308         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18309         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18310         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18311         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18312         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18313         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18314         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18315         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18316         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18317         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18318         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18319         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18320         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18321         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18322         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18323         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18324         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18325         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18326         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18327         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18328         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18329         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18330         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18332         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18333         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18335         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18336         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18337         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18338         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18339         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18340         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18341         Moved ...
18342         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18343         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18344         Moved ...
18345         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18346         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18347         Moved ...
18348         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18349         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18350         Moved ...
18351         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18352         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18353         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18354         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18355         Moved ...
18356         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18357         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18358         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18359         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18360         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18361         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18362         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18363         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18364         Moved ...
18365         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18366         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18367         Moved ...
18368         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18369         ... here.
18370         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18371         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18372         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18373         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18374         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18375         Moved ...
18376         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18377         ... here.
18378         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18379         Moved ...
18380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18381         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18382         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18383         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18384         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18385         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18386         Moved ...
18387         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18388         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18389         Moved ...
18390         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18391         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18392         Moved ...
18393         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18394         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18395         Moved ...
18396         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18397         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18398         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18399         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18400         Moved ...
18401         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18402         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18403         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18404         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18406         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18407         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18408         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18409         Moved ...
18410         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18411         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18412         Moved ...
18413         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18414         ... here.
18415         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18416         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18417         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18418         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18419         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18420         Moved ...
18421         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18422         ... here.
18423         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18424         Moved ...
18425         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18426         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18427         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18428         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18429         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18430         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18431         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18432         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18433         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18434         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18435         Moved ...
18436         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18437         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18438         Moved ...
18439         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18440         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18441         Moved ...
18442         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18443         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18444         Moved ...
18445         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18446         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18447         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18448         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18449         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18450         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18451         Moved ...
18452         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18453         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18454         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18455         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18456         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18457         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18458         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18459         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18460         Moved ...
18461         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18462         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18463         Moved ...
18464         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18465         ... here.
18466         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18467         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18468         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18469         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18470         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18471         Moved ...
18472         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18473         ... here.
18474         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18475         Moved ...
18476         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18477         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18478         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18479         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18480         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18481         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18482         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18483         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18484         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18485         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18486         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18488         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18489         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18491         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18492         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18494         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18495         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18496         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18498         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18500         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18502         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18503         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18504         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18505         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18506         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18507         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18508         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18509         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18510         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18511         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18512         Moved ...
18513         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18514         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18515         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18516         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18517         Moved ...
18518         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18519         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18520         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18521         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18522         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18523         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18524         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18525         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18526         Moved ...
18527         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18528         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18529         Moved ...
18530         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18531         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18532         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18533         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18534         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18536         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18537         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18538         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18539         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18540         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18541         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18542         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18543         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18544         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18545         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18546         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18548         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18549         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18550         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18551         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18552         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18554         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18555         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18556         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18557         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18558         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18559         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18560         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18561         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18562         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18563         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18568         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18569         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18570         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18571         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18572         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18573         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18574         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18575         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18576         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18577         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18578         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18579         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18580         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18581         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18583         Update #include.
18584         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18585         Likewise.
18586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18587         Likewise.
18588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18589         Likewise.
18590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18591         Likewise.
18592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18593         Likewise.
18594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18595         Likewise.
18596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18597         Likewise.
18598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18599         Likewise.
18600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18601         Likewise.
18602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18607         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18609         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18611         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18612         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18613         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18614         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18616         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18618         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18619         that was previously under [RESET_PID].
18620         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18621         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18622         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18624         * sysdeps/i386/nptl/Implies: New file.
18625         * sysdeps/x86_64/nptl/Implies: New file.
18626         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18627         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18628         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18629         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18631         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18632         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18633         (__libc_vfork): New strong alias.
18634         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18635         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18637         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18638         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18639         (__libc_vfork): New strong alias.
18640         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18641         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18643         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18644         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18645         (__libc_vfork): New strong alias.
18646         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18647         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18648         * nptl/pt-vfork.c: New file.
18649         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18650         (libpthread: GLIBC_2.20): New version set (empty).
18652 2014-05-14  Will Newton  <will.newton@linaro.org>
18654         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18655         rather than #if.
18657 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18659         [BZ #16564]
18660         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18661         arguments with exponent 65 or above.
18662         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18663         arguments 0x1p113L or above.
18664         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18665         to arguments 0x1p107L or above.
18666         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18667         positive arguments with exponent 65 or above.
18668         * math/auto-libm-test-in: Add more tests of log1p.
18669         * math/auto-libm-test-out: Regenerated.
18671         [BZ #16928]
18672         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18673         non-finite arguments is +0.
18674         * math/s_cacosf.c (__cacosf): Likewise.
18675         * math/s_cacosl.c (__cacosl): Likewise.
18676         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18677         * sysdeps/i386/fpu/libm-test-ulps: Update.
18678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18680         [BZ #16927]
18681         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18682         value.
18683         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18684         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18685         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18686         for explicit high bit of mantissa when testing for argument equal
18687         to 1.
18688         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18689         * sysdeps/i386/fpu/libm-test-ulps: Update.
18690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18692         [BZ #16516]
18693         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18694         (__erf): Scale by 16 instead of 8 in potentially underflowing
18695         case.  Ensure exception if result actually underflows.
18696         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18697         (__erff): Scale by 16 instead of 8 in potentially underflowing
18698         case.  Ensure exception if result actually underflows.
18699         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18700         (efx8): Remove variable.
18701         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18702         case.  Ensure exception if result actually underflows.
18703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18704         (efx8): Remove variable.
18705         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18706         case.  Ensure exception if result actually underflows.
18707         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18708         (efx8): Remove variable.
18709         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18710         case.  Ensure exception if result actually underflows.
18711         * math/auto-libm-test-in: Add more tests of erf.
18712         * math/auto-libm-test-out: Regenerated.
18714 2014-05-14  Andreas Schwab  <schwab@suse.de>
18716         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18717         Remove code conditionalized on USE___THREAD.
18719         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18720         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18721         not definedness.
18723 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18725         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18726         Define unconditionally.
18727         (__ASSUME_O_CLOEXEC): Likewise.
18728         (__ASSUME_SOCK_CLOEXEC): Likewise.
18729         (__ASSUME_IN_NONBLOCK): Likewise.
18730         (__ASSUME_PIPE2): Likewise.
18731         (__ASSUME_EVENTFD2): Likewise.
18732         (__ASSUME_SIGNALFD4): Likewise.
18733         (__ASSUME_DUP3): Likewise.
18734         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18735         (__ASSUME_DUP3): Do not define.
18736         (__ASSUME_EVENTFD2): Likewise.
18737         (__ASSUME_IN_NONBLOCK): Likewise.
18738         (__ASSUME_O_CLOEXEC): Likewise.
18739         (__ASSUME_PIPE2): Likewise.
18740         (__ASSUME_SIGNALFD4): Likewise.
18741         (__ASSUME_SOCK_CLOEXEC): Likewise.
18742         (__ASSUME_UTIMES): Undefine.
18743         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18744         (__ASSUME_UTIMES): Do not define.
18745         (__ASSUME_O_CLOEXEC): Likewise.
18746         (__ASSUME_SOCK_CLOEXEC): Likewise.
18747         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18748         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18749         0x020621].
18750         (__ASSUME_PIPE2): Likewise.
18751         (__ASSUME_EVENTFD2): Likewise.
18752         (__ASSUME_SIGNALFD4): Likewise.
18753         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18754         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18755         Do not define.
18756         (__ASSUME_EVENTFD2): Likewise.
18757         (__ASSUME_SIGNALFD4): Likewise.
18758         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18759         (__ASSUME_32BITUIDS): Likewise.
18760         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18761         (__ASSUME_IPC64): Likewise.
18762         (__ASSUME_ST_INO_64_BIT): Likewise.
18763         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18764         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18765         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18766         (__ASSUME_UTIMES): Do not define.
18767         (__ASSUME_PSELECT): Likewise.
18768         (__ASSUME_PPOLL): Likewise.
18769         (__ASSUME_O_CLOEXEC): Likewise.
18770         (__ASSUME_SOCK_CLOEXEC): Likewise.
18771         (__ASSUME_IN_NONBLOCK): Likewise.
18772         (__ASSUME_PIPE2): Likewise.
18773         (__ASSUME_EVENTFD2): Likewise.
18774         (__ASSUME_SIGNALFD4): Likewise.
18775         (__ASSUME_DUP3): Likewise.
18776         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18777         (__ASSUME_UTIMES): Likewise.
18778         (__ASSUME_O_CLOEXEC): Likewise.
18779         (__ASSUME_SOCK_CLOEXEC): Likewise.
18780         (__ASSUME_IN_NONBLOCK): Likewise.
18781         (__ASSUME_PIPE2): Likewise.
18782         (__ASSUME_EVENTFD2): Likewise.
18783         (__ASSUME_SIGNALFD4): Likewise.
18784         (__ASSUME_DUP3): Likewise.
18785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18786         (__ASSUME_UTIMES): Likewise.
18787         (__ASSUME_O_CLOEXEC): Likewise.
18788         (__ASSUME_SOCK_CLOEXEC): Likewise.
18789         (__ASSUME_IN_NONBLOCK): Likewise.
18790         (__ASSUME_PIPE2): Likewise.
18791         (__ASSUME_EVENTFD2): Likewise.
18792         (__ASSUME_SIGNALFD4): Likewise.
18793         (__ASSUME_DUP3): Likewise.
18794         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18795         Likewise.
18796         (__ASSUME_UTIMES): Likewise.
18797         (__ASSUME_EVENTFD2): Likewise.
18798         (__ASSUME_SIGNALFD4): Likewise.
18799         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18800         (__ASSUME_O_CLOEXEC): Likewise.
18801         (__ASSUME_SOCK_CLOEXEC): Likewise.
18802         (__ASSUME_IN_NONBLOCK): Likewise.
18803         (__ASSUME_PIPE2): Likewise.
18804         (__ASSUME_EVENTFD2): Likewise.
18805         (__ASSUME_SIGNALFD4): Likewise.
18806         (__ASSUME_DUP3): Likewise.
18807         (__ASSUME_UTIMES): Undefine.
18809         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18810         feclearexcept.  Remove symbol versioning code.
18811         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18812         symbol versioning code.
18813         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18814         symbol versioning code.
18815         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18816         feupdateenv.  Remove symbol versioning code.
18817         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18818         fegetexceptflag.  Remove symbol versioning code.
18819         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18820         fesetexceptflag.  Remove symbol versioning code.
18821         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18822         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18823         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18824         (__posix_fadvise64_l32): Remove prototype.
18825         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18826         code.
18828 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18830         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18831         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18832         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18833         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18835 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18837         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18838         current working directory
18840 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18842         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18843         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18844         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18845         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18846         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18847         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18848         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18849         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18850         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18851         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18852         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18853         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18854         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18855         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18856         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18857         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18858         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18859         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18860         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18861         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18862         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18863         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18864         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18865         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18866         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18867         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18868         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18869         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18870         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18871         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18872         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18873         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18874         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18875         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18876         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18877         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18878         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18879         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18880         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18881         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18882         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18883         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18885         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18886         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18888         * sysdeps/unix/sysv/linux/arm/Makefile
18889         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18890         Add rt-aeabi_unwind_cpp_pr1.
18891         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18892         Add nptl-aeabi_unwind_cpp_pr1.
18893         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18894         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18895         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18896         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18897         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18898         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18900         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18901         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18902         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18903         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18905         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18906         Deconditionalize the code that was previously under [RESET_PID].
18907         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18909         * sysdeps/generic/exit-thread.h: New file.
18910         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18911         * include/unistd.h (__exit_thread): Remove declaration.
18912         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18913         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18914         * csu/libc-start.c: Include <exit-thread.h>.
18915         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18916         * nptl/pthread_create.c: Include <exit-thread.h>.
18917         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18918         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18919         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18920         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18921         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18922         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18923         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18924         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18925         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18926         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18927         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18928         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18929         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18930         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18931         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18932         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18933         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18935 2014-05-13  Andreas Schwab  <schwab@suse.de>
18937         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18939 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18941         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18942         (__ASSUME_UTIMES): Do not condition on kernel version.
18943         (__ASSUME_PSELECT): Define unconditionally.
18944         (__ASSUME_PPOLL): Likewise.
18945         (__ASSUME_ATFCTS): Likewise.
18946         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18947         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18948         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18949         (__ASSUME_UTIMENSAT): Define unconditionally.
18950         (__ASSUME_PRIVATE_FUTEX): Likewise.
18951         (__ASSUME_FALLOCATE): Likewise.
18952         (__ASSUME_O_CLOEXEC): Likewise.
18953         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18954         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18955         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18956         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18957         (__ASSUME_IN_NONBLOCK): Likewise.
18958         (__ASSUME_PIPE2): Likewise.
18959         (__ASSUME_EVENTFD2): Likewise.
18960         (__ASSUME_SIGNALFD4): Likewise.
18961         (__ASSUME_DUP3): Likewise.
18962         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18963         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18964         (__ASSUME_AT_RANDOM): Likewise.
18965         (__ASSUME_PREADV): Likewise.
18966         (__ASSUME_PWRITEV): Likewise.
18967         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18968         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18969         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18970         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18971         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18972         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18973         (__ASSUME_O_CLOEXEC): Define unconditionally.
18974         (__ASSUME_PSELECT): Do not undefine conditionally.
18975         (__ASSUME_PPOLL): Likewise.
18976         (__ASSUME_ATFCTS): Likewise.
18977         (__ASSUME_SET_ROBUST_LIST): Likewise.
18978         (__ASSUME_UTIMENSAT): Likewise.
18979         (__ASSUME_FDATASYNC): Define unconditionally.
18980         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18981         (__ASSUME_SIGFRAME_V2): Likewise.
18982         )__ASSUME_EVENTFD2): Likewise.
18983         (__ASSUME_SIGNALFD4): Likewise.
18984         (__ASSUME_PSELECT): Do not undefine conditionally.
18985         (__ASSUME_PPOLL): Likewise.
18986         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18987         (__ASSUME_PSELECT): Define unconditionally.
18988         (__ASSUME_PPOLL): Likewise.
18989         (__ASSUME_O_CLOEXEC): Likewise.
18990         (__ASSUME_SOCK_CLOEXEC): Likewise.
18991         (__ASSUME_IN_NONBLOCK): Likewise.
18992         (__ASSUME_PIPE2): Likewise.
18993         (__ASSUME_EVENTFD2): Likewise.
18994         (__ASSUME_SIGNALFD4): Likewise.
18995         (__ASSUME_DUP3): Likewise.
18996         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18997         (__ASSUME_O_CLOEXEC): Likewise.
18998         (__ASSUME_SOCK_CLOEXEC): Likewise.
18999         (__ASSUME_IN_NONBLOCK): Likewise.
19000         (__ASSUME_PIPE2): Likewise.
19001         (__ASSUME_EVENTFD2): Likewise.
19002         (__ASSUME_SIGNALFD4): Likewise.
19003         (__ASSUME_DUP3): Likewise.
19004         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19005         (__ASSUME_EVENTFD2): Likewise.
19006         (__ASSUME_SIGNALFD4): Likewise.
19007         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19009 2014-05-12  Andreas Schwab  <schwab@suse.de>
19011         [BZ #16932]
19012         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19013         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19014         than maximum RPC packet size.
19015         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19016         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19017         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19018         (_nss_nis_getservbyport_r): Likewise.
19020 2014-05-12  Will Newton  <will.newton@linaro.org>
19022         * malloc/Makefile (tests): Add tst-mallopt.
19023         * malloc/tst-mallopt.c: New file.
19025 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19027         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19028         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19030 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19032         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19033         (tst-tlsmod6.so): Likewise.
19035 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19037         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19039 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19041         [BZ #16064]
19042         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19043         and <dl-procinfo.h>.
19044         (__fegetenv): Save SSE state in envp->__eip if supported.
19045         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19046         envp->__eip if supported.
19047         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19048         and <dl-procinfo.h>.
19049         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19050         __data_offset and __data_selector in environment to 0.  Set SSE
19051         state if supported.
19052         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19053         test-fenv-sse.
19054         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19055         -mfpmath=sse.
19056         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19058 2014-05-09  Will Newton  <will.newton@linaro.org>
19060         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19061         and libc_relro_required for ARM.
19062         * sysdeps/arm/preconfigure: Regenerate.
19064 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19065             Stefan Liebler  <stli@linux.vnet.ibm.com>
19067         * config.make.in (enable-lock-elision): New Makefile variable.
19068         * configure.ac: Likewise.
19069         * configure: Regenerate.
19070         * sysdeps/s390/configure.ac:
19071         Add check for gcc transactions support.
19072         * sysdeps/s390/configure: Regenerate.
19073         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19074         Build elision files if enabled.
19075         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19076         Add lock elision support for s390.
19077         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19078         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19079         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19080         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19081         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19082         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19083         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19084         Likewise.
19085         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19086         Likewise.
19087         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19088         Likewise.
19089         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19090         Likewise.
19091         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19092         (__lll_timedlock_elision, __lll_lock_elision)
19093         (__lll_unlock_elision, __lll_trylock_elision)
19094         (lll_timedlock_elision, lll_lock_elision)
19095         (lll_unlock_elision, lll_trylock_elision): Add.
19096         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19097         (pthread_mutex_t): Add lock elision support for s390.
19099 2014-05-14  Wilco  <wdijkstr@arm.com>
19101         * sysdeps/arm/fclrexcpt.c: Cleanup.
19102         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19103         * sysdeps/arm/feenablxcpt.c: Cleanup.
19104         * sysdeps/arm/fegetenv.c: Cleanup.
19105         * sysdeps/arm/fegetexcept.c: Cleanup.
19106         * sysdeps/arm/fegetround.c: Cleanup.
19107         * sysdeps/arm/feholdexcpt.c: Cleanup.
19108         * sysdeps/arm/fesetenv.c: Cleanup.
19109         * sysdeps/arm/fesetround.c: Cleanup.
19110         * sysdeps/arm/feupdateenv.c: Cleanup.
19111         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19112         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19113         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19114         * sysdeps/arm/ftestexcept.c: Cleanup.
19115         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19116         * sysdeps/arm/setfpucw.c: Cleanup.
19118 2014-05-09  Will Newton  <will.newton@linaro.org>
19120         * sysdeps/arm/armv7/strcmp.S: New file.
19121         * NEWS: Mention addition of ARMv7 optimized strcmp.
19123 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19125         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19126         look for %.ac rather than %.in.
19128         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19129         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19130         * sysdeps/mach/hurd/configure: Regenerated.
19131         * sysdeps/unix/sysv/linux/configure: Regenerated.
19133         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19135 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19137         [BZ# 16922]
19138         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19139         (LONG_SUB): Ditto.
19140         (PTR_SUB): Ditto.
19142 2014-05-07  Andreas Schwab  <schwab@suse.de>
19144         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19145         when skipping over non-matching result from nscd.
19147 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19149         [BZ #16876]
19150         * nptl/sockperf.c (client): Check socket return value.
19152         [BZ #16877]
19153         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19154         nscd security class.
19156 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19158         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19159         * sysdeps/arm/unwind.h: ... here.
19161 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19163         [BZ# 16916]
19164         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19165         Define.
19167 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19169         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19170         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19171         multiarch strncpy for PPC64.
19172         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19173         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19175         multiarch optimizations.
19176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19177         (__libc_ifunc_impl_list): Likewise.
19178         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19179         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19180         multiarch stpncpy for PPC64.
19181         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19182         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19184 2014-05-06  Andreas Schwab  <schwab@suse.de>
19186         [BZ #16912]
19187         * gmon/mcount.c (_MCOUNT_DECL): Use
19188         atomic_compare_and_exchange_bool_acq instead of
19189         catomic_compare_and_exchange_bool_acq.
19191 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19193         * elf/Makefile (others, install-bin): Remove pldd.
19194         (pldd-modules): Variable removed.
19195         ($(objpfx)pldd): Target removed.
19196         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19197         (others, install-bin): Append pldd here.
19198         ($(objpfx)pldd): New target.
19200         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19201         to 0, so the first #if test emitted later doesn't see it undefined.
19202         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19203         * sysdeps/gnu/errlist.c: Regenerated.
19205 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19207         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19208         [libc_hidden_builtin_def]: Define to empty value.
19209         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19210         [libc_hidden_builtin_def]: Likewise.
19211         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19212         [libc_hidden_builtin_def]: Likewise.
19213         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19214         [libc_hidden_builtin_def]: Likewise.
19215         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19216         __redirect_memcpy and define ifunc as default hidden symbol.
19217         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19218         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19220 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19222         * locale/iso-4217.def: Reintroduce XDR currency.
19224 2014-05-04  Allan McRae  <allan@archlinux.org>
19226         * po/eo.po: Update Esperanto translation from translation project.
19228 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19230         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19231         and FEATURE_INDEX_MAX to 1.
19232         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19234 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19236         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19237         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19238         * iconvdata/big5.c (ONE_DIRECTION): Define.
19239         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19240         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19241         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19242         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19243         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19244         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19245         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19246         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19247         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19248         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19249         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19250         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19251         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19252         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19253         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19254         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19255         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19256         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19257         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19258         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19259         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19260         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19261         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19262         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19263         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19264         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19265         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19266         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19267         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19268         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19269         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19270         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19271         * iconvdata/johab.c (ONE_DIRECTION): Define.
19272         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19273         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19274         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19275         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19276         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19277         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19278         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19279         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19280         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19281         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19283 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19285         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19286         (_IO_JUMPS_OFFSET): Define to 0.
19288         * nptl/sysdeps/pthread/bits/libc-lock.h
19289         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19290         (__libc_lock_define_initialized_recursive): Always define using
19291         initializer.  Modern compilers treat uninitialized (implicit zero) and
19292         explicit zero initializers the same (i.e. put the datum in bss).
19294 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19296         * nscd/nscd-client.h: Include <string.h>.
19298 2014-05-01  David S. Miller  <davem@davemloft.net>
19300         [BZ #16885]
19301         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19302         multiple zero bytes exist at the end of a string.
19303         Reported by Aurelien Jarno <aurelien@aurel32.net>
19305         * string/test-strcmp.c (check): Add explicit test for situations where
19306         there are multiple zero bytes after the first.
19308 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19310         [BZ #16890]
19311         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19312         when compiling wprintf.
19313         * stdio-common/tstdiomisc.c (t3): New function.
19314         (main): Call it.
19316 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19318         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19319         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19320         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19321         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19323 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19325         * stdlib/longlong.h: Updated from GCC.
19327 2014-05-01  Will Newton  <will.newton@linaro.org>
19328             Bernard Ogden  <bernie.ogden@linaro.org>
19330         * NEWS: Update fixed bug list.
19332         [BZ #15119]
19333         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19335 2014-04-30  David S. Miller  <davem@davemloft.net>
19337         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19338         (libc_feholdexcept_setround_sparc_ctx): New function.
19339         (libc_fesetenv_sparc_ctx): Likewise.
19340         (libc_feupdateenv_sparc_ctx): Likewise.
19341         (libc_feholdsetround_sparc_ctx): Likewise.
19342         (libc_feholdexcept_setround_ctx): Define.
19343         (libc_feholdexcept_setroundf_ctx): Likewise.
19344         (libc_feholdexcept_setroundl_ctx): Likewise.
19345         (libc_fesetenv_ctx): Likewise.
19346         (libc_fesetenvf_ctx): Likewise.
19347         (libc_fesetenvl_ctx): Likewise.
19348         (libc_feupdateenv_ctx): Likewise.
19349         (libc_feupdateenvf_ctx): Likewise.
19350         (libc_feupdateenvl_ctx): Likewise.
19351         (libc_feresetround_ctx): Likewise.
19352         (libc_feresetroundf_ctx): Likewise.
19353         (libc_feresetroundl_ctx): Likewise.
19354         (libc_feholdsetround_ctx): Likewise.
19355         (libc_feholdsetroundf_ctx): Likewise.
19356         (libc_feholdsetroundl_ctx): Likewise.
19358         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19359         with __USE_GNU instead of XOPEN cpp guards.
19361         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19362         0.
19364         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19365         with XOPEN cpp guards.
19367 2014-04-30  Julian Brown  <julian@codesourcery.com>
19369         [BZ #16888]
19370         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19371         handling.
19373 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19375         [BZ #9894]
19376         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19377         Change to 2.6.32.
19378         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19379         * sysdeps/unix/sysv/linux/configure: Regenerated.
19380         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19381         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19382         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19383         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19384         * README: Update reference to required Linux kernel version.
19385         * manual/install.texi (Linux): Update reference to required Linux
19386         kernel headers version.
19387         * INSTALL: Regenerated.
19389         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19390         header inclusion.
19391         [POSIX] (limits.h): Likewise.
19392         [POSIX] (math.h): Likewise.
19393         [POSIX] (sys/wait.h): Likewise.
19394         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19395         function.
19396         [POSIX] (stddef.h): Do not allow header inclusion.
19398 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19400         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19402 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19404         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19405         Return immediately after lll_futex_wake.
19407 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19409         [BZ #16791]
19410         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19411         structure.
19412         (datahead_init_pos): Call datahead_init_common early.
19413         (datahead_init_neg): Likewise.
19415         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19416         datahead_init_neg): New functions.
19417         * nscd/aicache.c (addhstaiX): Use them.
19418         * nscd/grpcache.c (cache_addgr): Likewise.
19419         * nscd/hstcache.c (cache_addhst): Likewise.
19420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19421         * nscd/netgroupcache.c (do_notfound): Likewise.
19422         (addgetnetgrentX): Likewise.
19423         (addinnetgrX): Likewise.
19424         * nscd/pwdcache.c (cache_addpw): Likewise.
19425         * nscd/servicescache.c (cache_addserv): Likewise.
19427 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19428             Atsushi Onoe  <atsushi@onoe.org>
19430         [BZ #14308]
19431         [BZ #12994]
19432         [BZ #13651]
19433         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19434         one response is valid.
19435         * resolv/res_send.c (send_dg): Check for validity of other
19436         response if the current response is a referral.
19438 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19440         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19442 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19444         [BZ #16823]
19445         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19446         Always divide by positive zero when computing -Inf result.
19447         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19448         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19450 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19452         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19453         FPSCR if value do not change.
19454         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19455         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19456         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19457         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19458         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19459         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19460         function.
19462 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19464         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19465         * sysdeps/unix/sysv/linux/hppa: Move directory from
19466         ports/systeps/unix/sysv/linux/hppa.
19467         * README: Update listing for hppa-*-linux-gnu.
19469 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19471         [BZ #16754]
19472         * manual/stdio.texi (Hook functions): Fix types of stream hook
19473         functions.
19474         [BZ #16854]
19475         * socket/sys/socket.h: Fix typo in comment.
19477 2014-04-28  Wilco  <wdijkstr@arm.com>
19479         * sysdeps/arm/fenv_private.h: New file.
19480         * sysdeps/arm/math_private.h: New file.
19481         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19483 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19485         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19486         with __int128_t.
19487         (La_x86_64_retval): Likewise.
19489 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19491         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19492         fpsr if value didn't change.
19493         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19494         to fpcr if value didn't change.
19495         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19496         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19497         fpsr or fpcr if value didn't change.
19498         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19499         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19500         fpcr if value didn't change.
19501         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19502         to fpsr if value didn't change.
19504 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19506         * nptl/tst-sem3.c: Use test-skeleton.c
19507         (main): Rename to do_test.  Use return instead of
19508         exit.
19509         * nptl/tst-sem4.c: Use test-skeleton.c
19510         (main): Rename to do_test.
19512 2014-04-22  David S. Miller  <davem@davemloft.net>
19514         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19515         (struct sigaction): New struct member __glibc_reserved0, change
19516         type of sa_flags to int.
19518 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19520         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19521         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19523 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19525         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19526         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19528 2014-04-22  Will Newton  <will.newton@linaro.org>
19529             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19531         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19532         (__longjmp): Add longjmp and longjmp_target SystemTap
19533         probes.
19534         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19535         (__sigsetjmp): Add setjmp SystemTap probe.
19537 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19539         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19540         match manual order.
19542 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19544         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19546         * sysdeps/powerpc/fpu/fenv_private.h
19547         (libc_feholdexcept_setroundl_ctx): Define to
19548         libc_feholdexcept_setround_ppc_ctx.
19549         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19550         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19551         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19552         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19554 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19556         * sysdeps/aarch64/math-tests.h: New file.
19558 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19560         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19561         New.
19562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19563         Check and set bit_AVX2_Usable.
19564         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19565         macro.
19566         (bit_AVX2): Likewise.
19567         (index_AVX2_Usable): Likewise.
19568         (CPUID_AVX2): Likewise.
19569         (HAS_AVX2): Likewise.
19571 2014-04-17  Will Newton  <will.newton@linaro.org>
19573         * manual/setjmp.texi (System V contexts): Add note that
19574         calling setcontext on a context created by a call to a
19575         signal handler is undefined.  Update text to note that
19576         setcontext from a signal handler is possible but not
19577         recommended.
19579         [BZ #16629]
19580         * stdlib/tst-setcontext.c: Include signal.h.
19581         (main): Check that the signal stack before and
19582         after swapcontext is the same.
19584         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19585         Re-implement to restore registers in user code and avoid
19586         rt_sigreturn system call.
19588 2014-04-17  Wilco  <wdijkstr@arm.com>
19590         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19591         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19592         * math/test-fenv.c: Skip exception trap tests on targets which only
19593         support non-stop mode.
19595 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19596             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19598         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19599         (libc_feholdsetround_aarch64_ctx)
19600         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19601         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19602         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19603         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19604         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19605         (libc_feresetround_noexl_ctx): Define.
19607 2014-04-16  Richard Henderson  <rth@redhat.com>
19609         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19611         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19612         unwind tables.
19614         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19615         const from the non-libc, non-ldso copy.
19617         * sysdeps/alpha/libm-test-ulps: Regenerate.
19619 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19620             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19622         * sysdeps/aarch64/fpu/math_private.h: New file.
19624 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19626         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19628 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19630         [BZ #16275]
19631         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19632         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19633         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19634         Intel MPX bound registers before _dl_profile_fixup.
19635         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19636         registers after _dl_profile_fixup.  Save and restore bound
19637         registers bnd0/bnd1 when calling _dl_call_pltexit.
19638         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19639         (LR_BND_OFFSET): Likewise.
19640         (LRV_BND0_OFFSET): Likewise.
19641         (LRV_BND1_OFFSET): Likewise.
19643 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19645         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19646         to...
19647         * sysdeps/mach/hurd/i386/tls.h: ... here.
19648         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19649         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19650         fields.
19652 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19654         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19656 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19658         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19660 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19662         [BZ #14770]
19663         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19664         * sysdeps/s390/configure: Regenerate.
19666         [BZ #16824]
19667         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19668         Set round-to-nearest internally to reduce error accumulation.
19670 2014-04-16  Alan Modra  <amodra@gmail.com>
19672         [BZ #16740]
19673         [BZ #16619]
19674         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19675         * math/libm-test.inc (frexp_test_data): Add tests.
19676         * NEWS: Update fixed bug list.
19678 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19680         * benchtests/Makefile: Depend on libraries in build directory.
19681         (bench-math): Separate out math tests.
19682         (bench-pthread): Separate out pthread tests.
19683         (bench): Include math and pthread tests.
19685 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19687         [BZ #16831]
19688         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19689         _dl_debug_initialize.
19691         * configure.ac: Remove SELinux header check.
19692         * configure: Regenerate.
19693         * nscd/selinux.c (perms): Array of const char* to permission names.
19694         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19695         default policy. Call string_to_security_class and string_to_av_perm to
19696         translate strings. Enforce default policy and call avs_has_perm with
19697         results of translated strings.
19699 2014-04-13  David S. Miller  <davem@davemloft.net>
19701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19703 2014-04-12  Allan McRae  <allan@archlinux.org>
19705         [BZ #16838]
19706         * manual/string.texi (Collation Functions): Fix qsort argument
19707         order in example.
19708         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19710 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19712         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19713         Make the test a no-op if there are no exceptions defined.
19715 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19717         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19718         enable-hardcoded-path-in-tests
19720 2014-04-11  Will Newton  <will.newton@linaro.org>
19722         * benchtests/Makefile (extra-objs): Add json-lib.o.
19723         (bench-func): Tidy up JSON output.
19724         * benchtests/bench-skeleton.c: Include json-lib.h.
19725         (main): Use JSON library functions to do output of
19726         benchmark results.
19727         * benchtests/bench-timing-type.c (main): Output the
19728         timing type simply, leaving formatting to the user.
19729         * benchtests/json-lib.c: New file.
19730         * benchtests/json-lib.h: Likewise.
19732 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19734         [BZ #15215]
19735         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19736         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19737         memory barriers.  Add comments.
19738         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19739         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19740         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19741         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19742         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19743         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19745 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19747         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19748         * sysdeps/s390/s390-64/configure.ac: ... this ...
19749         * sysdeps/s390/configure.ac: ... to here.
19750         * sysdeps/s390/s390-32/configure: Delete file.
19751         * sysdeps/s390/s390-64/configure: Delete file.
19752         * sysdeps/s390/configure: Regenerate.
19754 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19756         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19758 2014-04-11  Will Newton  <will.newton@linaro.org>
19760         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19761         to zero if it is not defined elsewhere.  (mtrim): Test
19762         the value of MALLOC_DEBUG with #if rather than #ifdef.
19764 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19766         * benchtests/pthread_once-inputs: New file.
19767         * benchtests/pthread_once-source.c: New file.
19768         * benchtests/README: Update documentation.
19770 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19771             H.J. Lu  <hongjiu.lu@intel.com>
19773         [BZ #16275]
19774         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19775         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19776         * sysdeps/x86_64/configure: Regenerated.
19777         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19778         macro.
19779         (REGISTER_SAVE_RAX): Likewise.
19780         (REGISTER_SAVE_RCX): Likewise.
19781         (REGISTER_SAVE_RDX): Likewise.
19782         (REGISTER_SAVE_RSI): Likewise.
19783         (REGISTER_SAVE_RDI): Likewise.
19784         (REGISTER_SAVE_R8): Likewise.
19785         (REGISTER_SAVE_R9): Likewise.
19786         (REGISTER_SAVE_BND0): Likewise.
19787         (REGISTER_SAVE_BND1): Likewise.
19788         (REGISTER_SAVE_BND2): Likewise.
19789         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19790         bound registers when calling _dl_fixup.
19792 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19794         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19795         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19796         of its definition.
19797         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19798         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19799         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19800         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19801         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19802         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19803         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19805 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19807         [BZ #15514]
19808         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19809         pathconf(_PC_NAME_MAX).
19811 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19813         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19814         Remove macro usage.
19815         (__PTHREAD_SPINS): Move definition to ...
19816         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19817         (__PTHREAD_SPINS): ... here.
19818         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19819         (__PTHREAD_SPIN): Likewise.
19820         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19821         (__PTHREAD_SPIN): Likewise.
19822         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19823         (__PTHREAD_SPIN): Likewise.
19824         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19825         (__PTHREAD_SPIN): Likewise.
19826         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19827         (__PTHREAD_SPIN): Likewise.
19828         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19829         (__PTHREAD_SPIN): Likewise.
19830         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19831         (__PTHREAD_SPIN): Likewise.
19832         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19833         (__PTHREAD_SPIN): Likewise.
19834         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19835         (__PTHREAD_SPIN): Likewise.
19836         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19837         (__PTHREAD_SPIN): Likewise.
19838         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19839         (__PTHREAD_SPIN): Likewise.
19840         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19841         (__PTHREAD_SPIN): Likewise.
19843         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19844         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19845         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19846         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19847         imply folder.
19848         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19849         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19850         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19851         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19852         correct imply path.
19853         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19854         strlen symbol for non multi-arch builds.
19855         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19856         missing hidden_def and weak_alias.
19858 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19860         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19862 2014-04-07  Will Newton  <will.newton@linaro.org>
19864         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19865         and contents.  [!_LIBC] Remove #ifndef and contents.
19866         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19867         * string/memccpy.c (__memccpy): Use ANSI prototype.
19868         * string/memfrob.c (memfrob): Likewise.
19869         * string/strcoll.c (STRCOLL): Likewise.
19870         * string/strlen.c (strlen): Likewise.
19871         * string/strtok.c (STRTOK): Likewise.
19872         * string/strcat.c: Remove unused #include of memcopy.h.
19873         (strcat): Use ANSI prototype.
19874         * string/strchr.c: Remove unused #include of memcopy.h.
19875         (strchr): Use ANSI prototype.
19876         * string/strcmp.c: Remove unused #include of memcopy.h.
19877         (strcmp): Use ANSI prototype.
19878         * string/strcpy.c: Remove unused #include of memcopy.h.
19879         (strcpy): Use ANSI prototype.
19881 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19883         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19884         * config.make.in (config-extra-cppflags): Set it from
19885         libc_extra_cppflags.
19886         * configure.ac (libc_extra_cflags): Make it accumulate over
19887         configure fragments.
19888         (libc_extra_cppflags): New flag.
19889         * configure. Regenerate.
19890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19891         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19892         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19895         [BZ #16815]
19896         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19897         result for FE_DOWNWARD rounding mode.
19898         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19899         Likewise.
19900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19902 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19904         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19905         in function argument name.
19907 2014-04-03  David Svoboda  <svoboda@cert.org>
19909         [BZ #5666]
19910         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19911         explicitly.
19913 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19915         * elf/dl-unmap-segments.h: New file.
19916         * sysdeps/generic/ldsodefs.h
19917         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19918         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19919         * elf/dl-fptr.c: Likewise.
19920         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19921         * sysdeps/aarch64/tlsdesc.c: Likewise.
19922         * sysdeps/arm/tlsdesc.c: Likewise.
19923         * sysdeps/i386/tlsdesc.c: Likewise.
19924         * sysdeps/tile/dl-runtime.c: Likewise.
19925         * sysdeps/x86_64/tlsdesc.c: Likewise.
19926         * elf/dl-load.h: New file.
19927         * elf/dl-load.c: Include it.
19928         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19929         Macros moved to dl-load.h.
19930         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19931         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19932         Use _dl_unmap_segments in place of __munmap.
19933         Break out segment-mapping loop into ...
19934         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19936 2014-04-03  Will Newton  <will.newton@linaro.org>
19938         * elf/dl-lookup.c (do_lookup_x): Remove comment
19939         referring to nested function and move variable
19940         declarations down to before first use.
19942 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19944         [BZ #16799]
19945         [BZ #16800]
19946         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19947         with 0 numerator.
19948         * math/s_catanf.c (__catanf): Likewise.
19949         * math/s_catanh.c (__catanh): Likewise.
19950         * math/s_catanhf.c (__catanhf): Likewise.
19951         * math/s_catanhl.c (__catanhl): Likewise.
19952         * math/s_catanl.c (__catanl): Likewise.
19953         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19954         by positive zero when computing -Inf result.
19955         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19956         (catanh_test): Likewise.
19957         * sysdeps/i386/fpu/libm-test-ulps: Update.
19958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19960         [BZ #16789]
19961         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19962         instead of using underflowing value in computing result.
19963         * math/s_clog10.c (__clog10): Likewise.
19964         * math/s_clog10f.c (__clog10f): Likewise.
19965         * math/s_clog10l.c (__clog10l): Likewise.
19966         * math/s_clogf.c (__clogf): Likewise.
19967         * math/s_clogl.c (__clogl): Likewise.
19968         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19969         (clog10_test): Likewise.
19970         * sysdeps/i386/fpu/libm-test-ulps: Update.
19971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19973 2014-04-02  Alan Modra  <amodra@gmail.com>
19975         [BZ #16739]
19976         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19977         output when value is near a power of two.  Use int64_t for lx and
19978         remove casts.  Use decimal rather than hex exponent constants.
19979         Don't use long double multiplication when double will suffice.
19980         * math/libm-test.inc (nextafter_test_data): Add tests.
19981         * NEWS: Add 16739 and 16786 to bug list.
19983         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19985         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19987 2014-04-01  Will Newton  <will.newton@linaro.org>
19989         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19990         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19992 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19994         [BZ #13347]
19995         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19996         * nptl/tst-setuid2.c: New file.
19997         * nptl/Makefile (xtests): Add tst-setuid2.
19999 2014-04-01  Alan Modra  <amodra@gmail.com>
20001         [BZ #16786]
20002         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20004 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20006         [BZ #6803]
20007         [BZ #6804]
20008         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20009         set errno as appropriate.
20010         * math/w_scalbf.c (__scalbf): Likewise.
20011         * math/w_scalbl.c (__scalbl): Likewise.
20012         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20013         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20014         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20015         Add more NaN tests.
20017         [BZ #16349]
20018         * math/w_atan2.c: Include <errno.h>.
20019         (__atan2): Set errno for result underflowing to zero.
20020         * math/w_atan2f.c: Include <errno.h>.
20021         (__atan2f): Set errno for result underflowing to zero.
20022         * math/w_atan2l.c: Include <errno.h>.
20023         (__atan2l): Set errno for result underflowing to zero.
20024         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20025         tests.
20026         * math/auto-libm-test-out: Regenerated.
20028 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20030         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20031         Encode instruction correctly in little endian.
20032         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20033         Likewise.
20034         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20035         Likewise.
20036         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20037         Likewise.
20038         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20039         Likewise.
20041 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20043         [BZ #9894]
20044         * sysdeps/unix/sysv/linux/kernel-features.h
20045         [__sparc__ && !__arch64__ && !__sparc_v9__]
20046         (__ASSUME_SET_ROBUST_LIST): Do not define.
20047         [__sparc__ && !__arch64__ && !__sparc_v9__]
20048         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20049         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20050         Likewise.
20051         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20052         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20053         (__ASSUME_REQUEUE_PI): Likewise.
20054         (__ASSUME_SET_ROBUST_LIST): Likewise.
20055         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20056         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20057         Undefine.
20058         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20059         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20060         Likewise.
20061         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20062         Likewise.
20063         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20064         Likewise.
20065         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20066         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20067         Undefine.
20068         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20069         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20070         Likewise.
20072         [BZ #16648]
20073         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20074         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20075         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20077 2014-03-31  Will Newton  <will.newton@linaro.org>
20079         * benchtests/Makefile (bench): Add ffs and ffsll to list
20080         of tests.
20081         * benchtests/ffs-inputs: New file.
20082         * benchtests/ffsll-inputs: Likewise.
20084 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20086         [BZ #16770]
20087         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20088         too large before casting to int.
20089         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20090         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20091         * math/libm-test.inc (scalb_test_data): Add more tests.
20093 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20095         * benchtests/Makefile (DETAILED_OPT): New make option.
20096         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20097         set.
20098         * benchtests/bench-skeleton.c: Include stdbool.h.
20099         (main): Store and print timings per input.
20100         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20101         member to each argument value.
20102         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20103         (_print_arg_data): Initialize per-input timing to 0.
20105         * benchtests/Makefile (timing-type): New binary.
20106         (bench-clean): Also remove bench-timing-type.
20107         (bench): New target for timing-type.
20108         (bench-func): Print output in JSON format.
20109         * benchtests/bench-skeleton.c (main): Print output in JSON
20110         format.
20111         * benchtests/bench-timing-type.c: New file.
20112         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20113         (TIMING_PRINT_STATS): Remove.
20114         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20115         name separately.
20117         * benchtests/bench-modf.c: Remove.
20118         * benchtests/modf-inputs: New inputs file.
20120 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20122         [BZ #16362]
20123         * math/s_clog10.c (M_PI_LOG10E): New macro.
20124         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20125         imaginary parts are 0.
20126         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20127         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20128         imaginary parts are 0.
20129         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20130         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20131         imaginary parts are 0.
20132         * math/libm-test.inc (clog10_test_data): Update expected results
20133         for when real and imaginary parts are 0.
20135 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20137         * elf/dl-load.c: Finish conversion of __builtin_expect into
20138         __glibc_{un}likely.
20140 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20142         [BZ #16348]
20143         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20144         1+x for argument with exponent below -67.
20145         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20146         Likewise.
20147         * math/auto-libm-test-in: Add more tests of exp.
20148         * math/auto-libm-test-out: Regenerated.
20150 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20152         [BZ #16759]
20153         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20154         (nscd_getnetgrent): Use it.
20156         [BZ #16760]
20157         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20158         of stpcpy.
20160 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20162         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20163         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20164         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20165         (lll_robust_unlock): Remove out of line section. Use cfi
20166         intrinsics.
20167         (LLL_STUB_UNWIND_INFO*): Remove.
20168         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20169         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20170         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20171         (lll_robust_unlock): Remove out of line section. Use cfi
20172         intrinsics.
20173         (LLL_STUB_UNWIND_INFO*): Remove.
20175 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20177         [BZ #16758]
20178         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20179         blank values.
20181 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20183         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20185 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20187         [BZ #16198]
20188         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20189         fnstenv.
20190         * math/test-fenv-preserve.c: New file.
20191         * math/Makefile (tests): Add test-fenv-preserve.
20193 2014-03-26  Will Newton <will.newton@linaro.org>
20195         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20197 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20199         * scripts/versionlist.awk: Partition the version sets and emit all
20200         GLIBC_* (sorted) before all others (sorted).
20202 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20204         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20205         GLIBC_2.2.5 version.
20207 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20209         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20210         calls.
20212         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20213         previous change.
20215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20217 2014-03-25  Andreas Schwab  <schwab@suse.de>
20219         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20220         label to be used after in6ailist is initialized.
20222 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20224         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20225         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20227 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20229         [BZ #16357]
20230         [BZ #16599]
20231         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20232         min_plus_half.
20233         (fp_formats): Update initializers.
20234         (init_fp_formats): Initialize new field.
20235         (output_for_one_input_case): Allow underflow for results up to
20236         min_plus_half.
20237         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20238         * math/auto-libm-test-in: Don't mark some underflows from asin and
20239         atanh as spurious.
20240         * math/auto-libm-test-out: Regenerated.
20241         * sysdeps/i386/fpu/libm-test-ulps: Update.
20242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20244 2014-03-25  Andreas Schwab  <schwab@suse.de>
20246         * libio/Makefile (tst-ftell-partial-wide-ENV)
20247         (tst-ftell-active-handler-ENV): Define.
20249 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20251         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20253 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20255         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20257 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20259         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20260         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20261         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20263 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20265         [BZ #16634]
20266         * elf/dl-load.c (open_verify): Add mode parameter.
20267         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20268         (open_path): Change from boolean 'secure' to complete flag 'mode'
20269         (_dl_map_object): Adjust.
20270         * elf/Makefile (tests): Add tst-dlopen-aout.
20271         * elf/tst-dlopen-aout.c: New test.
20273 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20275         [BZ #16714]
20276         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20277         (struct stat): Rename member pad0 to __glibc_reserved0.
20279         [BZ #16712]
20280         * sysdeps/s390/s390-32/bits/wordsize.h
20281         (__WORDSIZE32_SIZE_ULONG): New define.
20282         * sysdeps/s390/s390-64/bits/wordsize.h
20283         (__WORDSIZE32_SIZE_ULONG): Likewise.
20284         * sysdeps/generic/stdint.h (SIZE_MAX):
20285         Define as UL if __WORDSIZE32_SIZE_ULONG.
20287         [BZ #16713]
20288         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20289         (__glibc_reserved0): New variable.
20290         (sa_flags): Change type to int.
20292         * posix/Makefile (before-compile): Use += before-compile instead
20293         of a :=.
20295         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20296         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20298 2014-03-20  Andreas Schwab  <schwab@suse.de>
20300         [BZ #16743]
20301         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20302         non-matching result from nscd.
20304 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20306         * scripts/bench.py: Moved to ...
20307         * benchtests/scripts/bench.py: ... here.
20308         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20310 2014-03-24  Andreas Schwab  <schwab@suse.de>
20312         [BZ #16002]
20313         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20314         alloca_account and account alloca use for struct in6ailist.
20316 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20318         [BZ #16284]
20319         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20320         rounding mode to recompute results that overflow to infinity or
20321         underflow to zero.
20322         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20323         bug 16284.
20324         * math/auto-libm-test-out: Regenerated.
20325         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20326         (ccosh_test): Likewise.
20327         (csin_test_data): Use plus_oflow.
20328         (csin_test): Use ALL_RM_TEST.
20329         (csinh_test_data): Use plus_oflow.
20330         (csinh_test): Use ALL_RM_TEST.
20331         * sysdeps/i386/fpu/libm-test-ulps: Update.
20332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20336         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20337         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20338         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20340         [BZ #16731]
20341         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20342         when x - 1 is zero.
20343         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20344         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20345         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20346         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20347         argument is 1.
20348         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20349         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20350         zero.
20351         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20352         * sysdeps/i386/fpu/libm-test-ulps: Update.
20353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20355 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20357         * scripts/bench.pl: Remove file.
20358         * scripts/bench.py: New benchmark script.
20359         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20360         * benchtests/README: Mention python dependency.
20361         * scripts/pylintrc: New file.
20362         * scripts/pylint: New file.
20364         * bits/mathdef.h: Use #ifdef instead of #if.
20365         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20366         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20367         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20368         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20369         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20370         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20372 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20373             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20375         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20377         and strpbrk-ppc64 objects.
20378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20379         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20380         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20381         multiarch strpbrk for POWER7.
20382         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20383         multiarch strpbrk for PPC64.
20384         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20385         ifunc selector.
20386         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20387         strpbrk for POWER7.
20389 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20391         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20392         (atan_test): Likewise.
20393         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20394         (atanh_test): Use ALL_RM_TEST.
20395         (atan2_test_data): Likewise.
20396         (cabs_test): Likewise.
20397         (cacosh_test): Likewise.
20398         (carg_test): Likewise.
20399         (casin_test): Likewise.
20400         (casinh_test): Likewise.
20401         (cbrt_test): Likewise.
20402         (csqrt_test): Likewise.
20403         (erf_test): Likewise.
20404         (erfc_test): Likewise.
20405         (pow10_test): Likewise.
20406         (exp2_test): Likewise.
20407         (hypot_test): Likewise.
20408         (j0_test): Likewise.
20409         (j1_test): Likewise.
20410         (lgamma_test): Likewise.
20411         (gamma_test): Likewise.
20412         (sincos_test): Likewise.
20413         (tanh_test): Likewise.
20414         (y0_test): Likewise.
20415         (y1_test): Likewise.
20416         * sysdeps/i386/fpu/libm-test-ulps: Update.
20417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20419 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20421         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20423         and strcspn-ppc64 objects.
20424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20425         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20426         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20427         multiarch strcspn for POWER7.
20428         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20429         multiarch strcspn for PPC64.
20430         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20431         ifunc selector.
20432         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20433         strcspn for POWER7.
20435 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20437         * math/gen-libm-test.pl (generate_testfile): Expect only function
20438         name as argument to AUTO_TESTS_* and pass results for all rounding
20439         modes to parse_args.
20440         (parse_auto_input): Separate inputs of automatic tests from
20441         outputs before storing in %auto_tests.
20442         * math/libm-test.inc (acos_test_data): Update call to
20443         AUTO_TESTS_f_f.
20444         (acos_test): Use ALL_RM_TEST.
20445         (acos_tonearest_test_data): Remove.
20446         (acos_test_tonearest): Likewise.
20447         (acos_towardzero_test_data): Likewise.
20448         (acos_test_towardzero): Likewise.
20449         (acos_downward_test_data): Likewise.
20450         (acos_test_downward): Likewise.
20451         (acos_upward_test_data): Likewise.
20452         (acos_test_upward): Likewise.
20453         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20454         (asin_test_data): Likewise.
20455         (asin_test): Use ALL_RM_TEST.
20456         (asin_tonearest_test_data): Remove.
20457         (asin_test_tonearest): Likewise.
20458         (asin_towardzero_test_data): Likewise.
20459         (asin_test_towardzero): Likewise.
20460         (asin_downward_test_data): Likewise.
20461         (asin_test_downward): Likewise.
20462         (asin_upward_test_data): Likewise.
20463         (asin_test_upward): Likewise.
20464         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20465         (atan_test_data): Likewise.
20466         (atanh_test_data): Likewise.
20467         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20468         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20469         (carg_test_data): Likewise.
20470         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20471         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20472         (ccosh_test_data): Likewise.
20473         (cexp_test_data): Likewise.
20474         (clog_test_data): Likewise.
20475         (clog10_test_data): Likewise.
20476         (cos_test_data): Update call to AUTO_TESTS_f_f.
20477         (cos_test): Use ALL_RM_TEST.
20478         (cos_tonearest_test_data): Remove.
20479         (cos_test_tonearest): Likewise.
20480         (cos_towardzero_test_data): Likewise.
20481         (cos_test_towardzero): Likewise.
20482         (cos_downward_test_data): Likewise.
20483         (cos_test_downward): Likewise.
20484         (cos_upward_test_data): Likewise.
20485         (cos_test_upward): Likewise.
20486         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20487         (cosh_test): Use ALL_RM_TEST.
20488         (cosh_tonearest_test_data): Remove.
20489         (cosh_test_tonearest): Likewise.
20490         (cosh_towardzero_test_data): Likewise.
20491         (cosh_test_towardzero): Likewise.
20492         (cosh_downward_test_data): Likewise.
20493         (cosh_test_downward): Likewise.
20494         (cosh_upward_test_data): Likewise.
20495         (cosh_test_upward): Likewise.
20496         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20497         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20498         (ctan_test_data): Likewise.
20499         (ctan_test): Use ALL_RM_TEST.
20500         (ctan_tonearest_test_data): Remove.
20501         (ctan_test_tonearest): Likewise.
20502         (ctan_towardzero_test_data): Likewise.
20503         (ctan_test_towardzero): Likewise.
20504         (ctan_downward_test_data): Likewise.
20505         (ctan_test_downward): Likewise.
20506         (ctan_upward_test_data): Likewise.
20507         (ctan_test_upward): Likewise.
20508         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20509         (ctanh_test): Use ALL_RM_TEST.
20510         (ctanh_tonearest_test_data): Remove.
20511         (ctanh_test_tonearest): Likewise.
20512         (ctanh_towardzero_test_data): Likewise.
20513         (ctanh_test_towardzero): Likewise.
20514         (ctanh_downward_test_data): Likewise.
20515         (ctanh_test_downward): Likewise.
20516         (ctanh_upward_test_data): Likewise.
20517         (ctanh_test_upward): Likewise.
20518         (erf_test_data): Update call to AUTO_TESTS_f_f.
20519         (erfc_test_data): Likewise.
20520         (exp_test_data): Likewise.
20521         (exp_test): Use ALL_RM_TEST.
20522         (exp_tonearest_test_data): Remove.
20523         (exp_test_tonearest): Likewise.
20524         (exp_towardzero_test_data): Likewise.
20525         (exp_test_towardzero): Likewise.
20526         (exp_downward_test_data): Likewise.
20527         (exp_test_downward): Likewise.
20528         (exp_upward_test_data): Likewise.
20529         (exp_test_upward): Likewise.
20530         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20531         (exp10_test): Use ALL_RM_TEST.
20532         (exp10_tonearest_test_data): Remove.
20533         (exp10_test_tonearest): Likewise.
20534         (exp10_towardzero_test_data): Likewise.
20535         (exp10_test_towardzero): Likewise.
20536         (exp10_downward_test_data): Likewise.
20537         (exp10_test_downward): Likewise.
20538         (exp10_upward_test_data): Likewise.
20539         (exp10_test_upward): Likewise.
20540         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20541         (expm1_test_data): Likewise.
20542         (expm1_test): Use ALL_RM_TEST.
20543         (expm1_tonearest_test_data): Remove.
20544         (expm1_test_tonearest): Likewise.
20545         (expm1_towardzero_test_data): Likewise.
20546         (expm1_test_towardzero): Likewise.
20547         (expm1_downward_test_data): Likewise.
20548         (expm1_test_downward): Likewise.
20549         (expm1_upward_test_data): Likewise.
20550         (expm1_test_upward): Likewise.
20551         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20552         (fma_test): Use ALL_RM_TEST.
20553         (fma_towardzero_test_data): Remove.
20554         (fma_test_towardzero): Likewise.
20555         (fma_downward_test_data): Likewise.
20556         (fma_test_downward): Likewise.
20557         (fma_upward_test_data): Likewise.
20558         (fma_test_upward): Likewise.
20559         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20560         (j0_test_data): Update call to AUTO_TESTS_f_f.
20561         (j1_test_data): Likewise.
20562         (jn_test_data): Update call to AUTO_TESTS_if_f.
20563         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20564         (log_test_data): Update call to AUTO_TESTS_f_f.
20565         (log10_test_data): Likewise.
20566         (log1p_test_data): Likewise.
20567         (log2_test_data): Likewise.
20568         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20569         (pow_tonearest_test_data): Likewise.
20570         (sin_test_data): Update call to AUTO_TESTS_f_f.
20571         (sin_test): Use ALL_RM_TEST.
20572         (sin_tonearest_test_data): Remove.
20573         (sin_test_tonearest): Likewise.
20574         (sin_towardzero_test_data): Likewise.
20575         (sin_test_towardzero): Likewise.
20576         (sin_downward_test_data): Likewise.
20577         (sin_test_downward): Likewise.
20578         (sin_upward_test_data): Likewise.
20579         (sin_test_upward): Likewise.
20580         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20581         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20582         (sinh_test): Use ALL_RM_TEST.
20583         (sinh_tonearest_test_data): Remove.
20584         (sinh_test_tonearest): Likewise.
20585         (sinh_towardzero_test_data): Likewise.
20586         (sinh_test_towardzero): Likewise.
20587         (sinh_downward_test_data): Likewise.
20588         (sinh_test_downward): Likewise.
20589         (sinh_upward_test_data): Likewise.
20590         (sinh_test_upward): Likewise.
20591         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20592         (sqrt_test): Use ALL_RM_TEST.
20593         (sqrt_tonearest_test_data): Remove.
20594         (sqrt_test_tonearest): Likewise.
20595         (sqrt_towardzero_test_data): Likewise.
20596         (sqrt_test_towardzero): Likewise.
20597         (sqrt_downward_test_data): Likewise.
20598         (sqrt_test_downward): Likewise.
20599         (sqrt_upward_test_data): Likewise.
20600         (sqrt_test_upward): Likewise.
20601         (tan_test_data): Update call to AUTO_TESTS_f_f.
20602         (tan_test): Use ALL_RM_TEST.
20603         (tan_tonearest_test_data): Remove.
20604         (tan_test_tonearest): Likewise.
20605         (tan_towardzero_test_data): Likewise.
20606         (tan_test_towardzero): Likewise.
20607         (tan_downward_test_data): Likewise.
20608         (tan_test_downward): Likewise.
20609         (tan_upward_test_data): Likewise.
20610         (tan_test_upward): Likewise.
20611         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20612         (tgamma_test_data): Likewise.
20613         (y0_test_data): Likewise.
20614         (y1_test_data): Likewise.
20615         (yn_test_data): Update call to AUTO_TESTS_if_f.
20616         (main): Do not call removed functions.
20618 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20620         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20621         (ldexp_test_data): Remove.
20622         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20623         scalbn_test_data.
20624         (scalb_test): Use ALL_RM_TEST.
20626 2014-03-19  Andreas Schwab  <schwab@suse.de>
20628         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20630 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20632         [BZ #16649]
20633         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20634         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20635         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20636         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20637         (__ASSUME_PREADV): Undefine.
20638         (__ASSUME_PWRITEV): Likewise.
20640 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20642         * bits/mman-linux.h: Add comment about non-Linux use.
20643         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20644         bits/mman-linux.h resting place.
20646         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20647         * bits/mman-linux.h: ... here.
20649 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20651         * conform/conformtest.pl: Add standard definition when calling C
20652         preprocessor on data files.
20653         (checknamespace): Remove unused variable.
20655 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20657         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20658         minus_oflow, plus_uflow and minus_uflow in expected results.
20659         * math/libm-test.inc (scalbn_test_data): Add more tests of
20660         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20661         minus_uflow.
20662         (scalbn_test): Use ALL_RM_TEST.
20663         (scalbln_test_data): Add more tests of negative arguments.  Use
20664         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20665         (scalbln_test): Use ALL_RM_TEST.
20667 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20669         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20671 2014-03-18  Will Newton  <will.newton@linaro.org>
20673         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20674         inaccurate comment.
20676 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20678         * Makerules [!subdir] (check-abi): Exit with error status if a
20679         test failed.
20681 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20683         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20684         for rint.  Include results for all rounding modes.
20685         (nearbyint_test): Use ALL_RM_TEST.
20686         (rint_test_data): Include all tests used for nearbyint.
20688 2014-03-17  Will Newton  <will.newton@linaro.org>
20690         * nptl/sysdeps/pthread/pthread.h: Revert previous
20691         change.
20693         * sysdeps/generic/ldsodefs.h: Revert previous
20694         change.
20696         * libio/genops.c: Revert previous change.
20697         * libio/libioP.h: Likewise.
20698         * stdio-common/vfprintf.c: Likewise.
20700         * sysdeps/generic/math_private.h: Revert previous
20701         change.
20703         * sysdeps/generic/math_private.h: Check whether
20704         HAVE_RM_CTX is defined with #ifdef rather
20705         than #if.
20707         * argp/argp-fmtstream.h: Check whether
20708         __STRICT_ANSI__ is defined with #ifdef rather
20709         than #if.
20710         * argp/argp.h: Likewise.
20712         * libio/genops.c: Check whether
20713         _IO_JUMPS_OFFSET is defined with #ifdef rather
20714         than #if.
20715         * libio/libioP.h: Likewise.
20716         * stdio-common/vfprintf.c: Likewise.
20718         * sysdeps/generic/ldsodefs.h: Check whether
20719         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20720         than #if.
20722         * nptl/sysdeps/pthread/pthread.h: Check
20723         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20724         its value.
20726 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20728         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20729         setting O_APPEND.
20730         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20731         test case.
20733         [BZ #16680]
20734         * libio/fileops.c (_IO_file_open): Seek to end of file but
20735         don't cache the offset.
20736         (get_file_offset): Remove function.
20737         (do_ftell): Use cached offset when available.
20738         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20739         don't cache the offset.
20740         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20741         case.
20742         (do_one_test): Call it.
20743         (do_ftell_test): Fix up expected old offset for a+ mode.
20744         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20745         available.
20747         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20748         up test status with function return status.
20749         (do_write_test): Likewise.
20750         (do_append_test): Likewise.
20752         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20753         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20754         Remove.
20756 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20758         * math/gen-libm-test.pl (parse_args): Handle results specified for
20759         each rounding mode separately.
20760         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20761         tests and results from lrint_tonearest_test_data,
20762         lrint_towardzero_test_data, lrint_downward_test_data and
20763         lrint_upward_test_data.
20764         (lrint_test): Use ALL_RM_TEST.
20765         (lrint_tonearest_test_data): Remove.
20766         (lrint_test_tonearest): Likewise.
20767         (lrint_towardzero_test_data): Likewise.
20768         (lrint_test_towardzero): Likewise.
20769         (lrint_downward_test_data): Likewise.
20770         (lrint_test_downward): Likewise.
20771         (lrint_upward_test_data): Likewise.
20772         (lrint_test_upward): Likewise.
20773         (llrint_test_data): Merge in per-rounding-mode tests and results
20774         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20775         llrint_downward_test_data and llrint_upward_test_data.
20776         (llrint_test): Use ALL_RM_TEST.
20777         (llrint_tonearest_test_data): Remove.
20778         (llrint_test_tonearest): Likewise.
20779         (llrint_towardzero_test_data): Likewise.
20780         (llrint_test_towardzero): Likewise.
20781         (llrint_downward_test_data): Likewise.
20782         (llrint_test_downward): Likewise.
20783         (llrint_upward_test_data): Likewise.
20784         (llrint_test_upward): Likewise.
20785         (rint_test_data): Merge in per-rounding-mode tests and results
20786         from rint_tonearest_test_data, rint_towardzero_test_data,
20787         rint_downward_test_data and rint_upward_test_data.  Add
20788         per-rounding-mode results for tests not in those arrays.
20789         (rint_test): Use ALL_RM_TEST.
20790         (rint_tonearest_test_data): Remove.
20791         (rint_test_tonearest): Likewise.
20792         (rint_towardzero_test_data): Likewise.
20793         (rint_test_towardzero): Likewise.
20794         (rint_downward_test_data): Likewise.
20795         (rint_test_downward): Likewise.
20796         (rint_upward_test_data): Likewise.
20797         (rint_test_upward): Likewise.
20798         (main): Don't call removed functions.
20800 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20802         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20803         "Compiled on ..." crapola.  It is anti-useful.
20805 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20807         * scripts/evaluate-test.sh: Handle fourth argument to determine
20808         whether test run should stop on failure.
20809         * Makeconfig (stop-on-test-failure): New variable.
20810         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20811         $(stop-on-test-failure).
20812         * Makefile (tests): Give a summary of results from testing and
20813         exit with failure status if they include an ERROR or FAIL.
20814         (xtests): Likewise.
20815         * manual/install.texi (Configuring and compiling): Mention
20816         stop-on-test-failure=y.
20817         * INSTALL: Regenerated.
20819 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20821         * scripts/versionlist.awk: New file.
20822         * Makerules [$(build-shared) = yes]
20823         (postclean-generated): Add Versions.def, not Versions.def.v and
20824         Versions.def.v.i.
20825         ($(common-objpfx)Versions.def.v.i): Target removed.
20826         ($(common-objpfx)Versions.def): New target.
20827         ($(common-objpfx)Versions.all): Depend on that rather that
20828         $(common-objpfx)Versions.def.v.
20829         * Versions.def: File removed.
20831         * Makeconfig (+gccwarn): Add -Wundef.
20832         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20833         a dl-sysdep.h breaking its contract.
20834         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20835         * include/stackinfo.h: New file.
20836         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20837         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20838         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20839         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20840         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20841         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20842         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20843         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20844         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20845         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20846         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20847         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20848         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20849         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20850         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20852 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20854         [BZ #16707]
20855         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20856         implementation.
20857         * math/libm-test.inc (round_test_data): Add more tests.
20859         [BZ #16706]
20860         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20861         implementation.
20862         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20864         [BZ #16701]
20865         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20866         implementation.
20867         * math/libm-test.inc (ceil_test_data): Add more tests.
20869         * math/libm-test.inc (trunc_test_data): Add more tests related to
20870         BZ#16414.
20872 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20874         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20875         with #if rather than #ifdef.
20876         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20878 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20880         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20881         first.  Disable AVX-512 GCC support if assembler doesn't support
20882         it.
20883         * sysdeps/x86_64/configure: Regenerated.
20885 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20887         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20888         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20889         (__old_pthread_attr_setstack): Likewise.
20890         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20891         [!_STACK_GROWS_DOWN]: Likewise.
20893 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20895         * config.make.in (have-bash2): Delete.
20896         * configure.ac (libc_cv_have_bash2): Delete.
20897         * configure: Regenerate.
20898         * elf/Makefile (common-ldd-rewrite): Rename to ...
20899         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20900         (sh-ldd-rewrite): Delete.
20901         (bash-ldd-rewrite): Delete.
20902         (have-bash2): Delete checks.
20903         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20904         ldd-rewrite.
20906         * config.make.in (have-ksh): Delete.
20907         (KSH): Delete.
20908         * configure.ac (libc_cv_have_ksh): Delete.
20909         * configure: Regenerate.
20911         * elf/Makefile: Delete $(have-ksh) check.
20912         ($(objpfx)sotruss): Change KSH to BASH.
20913         * elf/sotruss.ksh: Rename to ...
20914         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20915         function style to match POSIX.  Drop ksh vim mode setting.
20917         * manual/time.texi (Specifying the Time Zone with TZ): Change
20918         Tuesday to Thursday.
20920         * debug/tst-longjmp_chk2.c: Update header comment.
20921         (stackoverflow_handler): Add comment.  Call assert on pass value.
20923 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20925         [BZ #16194]
20926         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20927         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20928         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20929         (La_x86_64_vector): Add zmm.
20930         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20931         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20932         ($(objpfx)tst-audit10): New target.
20933         ($(objpfx)tst-audit10.out): Likewise.
20934         (tst-audit10-ENV): New.
20935         (AVX512-CFLAGS): Likewise.
20936         (CFLAGS-tst-audit10.c): Likewise.
20937         (CFLAGS-tst-auditmod10a.c): Likewise.
20938         (CFLAGS-tst-auditmod10b.c): Likewise.
20939         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20940         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20941         * sysdeps/x86_64/configure: Regenerated.
20942         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20943         AVX-512 zmm register support.
20944         (_dl_x86_64_save_sse): Likewise.
20945         (_dl_x86_64_restore_sse): Likewise.
20946         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20947         size vector registers.
20948         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20949         (ZMM_SIZE): Likewise.
20950         * sysdeps/x86_64/tst-audit10.c: New file.
20951         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20952         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20954 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20956         * configure.ac (HAVE_EHDR_START): New check.
20957         * configure: Regenerated.
20958         * config.h.in (HAVE_EHDR_START): New #undef.
20959         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20960         assuming the lowest-addressed segment maps the start of the file.
20962 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20964         * INSTALL: Regenerated.
20966 2014-03-13  Will Newton  <will.newton@linaro.org>
20968         * manual/setjmp.texi (System V contexts): Improve
20969         clarity and grammar of documentation.
20971 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20973         [BZ #16381]
20974         * elf/Makefile (tests): Add tst-pie2.
20975         (tests-pie): Add tst-pie2.
20976         * elf/tst-pie2.c: New file.
20977         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20978         for ET_EXEC.
20979         * elf/rtld.c (map_doit): Load executable as lt_executable.
20980         (dl_main): Likewise.
20982 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20984         [BZ #16642]
20985         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20986         (__ASSUME_PSELECT): Undefine.
20988 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20990         [BZ #16689]
20991         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20992         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20993         static build.
20994         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20995         selector for static builds.
20997 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20999         [BZ #16695]
21000         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21001         key in the buffer.
21003 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21005         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21006         IFUNC selector for static builds.
21008 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21010         * sysdeps/mips/math_private.h [__mips_hard_float]
21011         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21012         libc_feresetround_mips_ctx.
21013         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21014         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21015         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21017         [BZ #16677]
21018         * math/s_nextafter.c (__nextafter): Do not return value from
21019         overflowing computation.
21020         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21021         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21022         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21023         Likewise.
21024         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21025         Likewise.
21026         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21027         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21029 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21031         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21032         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21033         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21034         the new mov targetting sp.
21036 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21038         [BZ #16683]
21039         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21040         Define it for static builds as well.
21041         (NO_BZERO_IMPL): Likewise.
21043 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21045         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21046         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21047         multiarch strspn for PPC64.
21048         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21049         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21051         (__libc_ifunc_impl_list): Likewise.
21052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21053         multiarch optimizations
21054         * string/strspn.c (strspn): Using macro to redefine symbol name.
21056 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21057             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21059         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21060         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21061         multiarch strncat for PPC64.
21062         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21063         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21065         (__libc_ifunc_impl_list): Likewise.
21066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21067         multiarch optimizations
21069 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21071         [BZ #16639]
21072         * nscd/nscd.service: Make service type forking.
21074 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21076         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21077         sign in non default rounding modes.
21078         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21080 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21082         * math/libm-test.inc (ALL_RM_TEST): New macro.
21083         (ceil_test): Use ALL_RM_TEST.
21084         (cimag_test): Likewise.
21085         (conj_test): Likewise.
21086         (copysign_test): Likewise.
21087         (cproj_test): Likewise.
21088         (creal_test): Likewise.
21089         (fabs_test): Likewise.
21090         (floor_test): Likewise.
21091         (fmax_test): Likewise.
21092         (fmin_test): Likewise.
21093         (fmod_test): Likewise.
21094         (fpclassify_test): Likewise.
21095         (frexp_test): Likewise.
21096         (ilogb_test): Likewise.
21097         (isfinite_test): Likewise.
21098         (finite_test): Likewise.
21099         (isgreater_test): Likewise.
21100         (isgreaterequal_test): Likewise.
21101         (isinf_test): Likewise.
21102         (isless_test): Likewise.
21103         (islessequal_test): Likewise.
21104         (islessgreater_test): Likewise.
21105         (isnan_test): Likewise.
21106         (isnormal_test): Likewise.
21107         (issignaling_test): Likewise.
21108         (isunordered_test): Likewise.
21109         (logb_test): Likewise.
21110         (logb_downward_test_data): Remove.
21111         (logb_test_downward): Likewise.
21112         (lround_test): Use ALL_RM_TEST.
21113         (llround_test): Likewise.
21114         (modf_test): Likewise.
21115         (nexttoward_test): Likewise.
21116         (remainder_test): Likewise.
21117         (drem_test): Likewise.
21118         (remainder_tonearest_test_data): Likewise.
21119         (remainder_test_tonearest): Likewise.
21120         (drem_test_tonearest): Likewise.
21121         (remainder_towardzero_test_data): Likewise.
21122         (remainder_test_towardzero): Likewise.
21123         (drem_test_towardzero): Likewise.
21124         (remainder_downward_test_data): Likewise.
21125         (remainder_test_downward): Likewise.
21126         (drem_test_downward): Likewise.
21127         (remainder_upward_test_data): Likewise.
21128         (remainder_test_upward): Likewise.
21129         (drem_test_upward): Likewise.
21130         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21131         (round_test): Use ALL_RM_TEST.
21132         (signbit_test): Likewise.
21133         (trunc_test): Likewise.
21134         (significand_test): Likewise.
21135         (main): Don't call removed functions.
21137 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21139         [BZ #16674]
21140         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21141         || __USE_XOPEN2K8].
21142         (ILL_ILLOPN): Likewise.
21143         (ILL_ILLADR): Likewise.
21144         (ILL_ILLTRP): Likewise.
21145         (ILL_PRVOPC): Likewise.
21146         (ILL_PRVREG): Likewise.
21147         (ILL_COPROC): Likewise.
21148         (ILL_BADSTK): Likewise.
21149         (FPE_INTDIV): Likewise.
21150         (FPE_INTOVF): Likewise.
21151         (FPE_FLTDIV): Likewise.
21152         (FPE_FLTOVF): Likewise.
21153         (FPE_FLTUND): Likewise.
21154         (FPE_FLTRES): Likewise.
21155         (FPE_FLTINV): Likewise.
21156         (FPE_FLTSUB): Likewise.
21157         (SEGV_MAPERR): Likewise.
21158         (SEGV_ACCERR): Likewise.
21159         (BUS_ADRALN): Likewise.
21160         (BUS_ADRERR): Likewise.
21161         (BUS_OBJERR): Likewise.
21162         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21163         (TRAP_TRACE): Likewise.
21164         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21165         __USE_XOPEN2K8].
21166         (CLD_KILLED): Likewise.
21167         (CLD_DUMPED): Likewise.
21168         (CLD_TRAPPED): Likewise.
21169         (CLD_STOPPED): Likewise.
21170         (CLD_CONTINUED): Likewise.
21171         (POLL_IN): Likewise.
21172         (POLL_OUT): Likewise.
21173         (POLL_MSG): Likewise.
21174         (POLL_ERR): Likewise.
21175         (POLL_PRI): Likewise.
21176         (POLL_HUP): Likewise.
21177         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21178         Likewise.
21179         (ILL_ILLOPN): Likewise.
21180         (ILL_ILLADR): Likewise.
21181         (ILL_ILLTRP): Likewise.
21182         (ILL_PRVOPC): Likewise.
21183         (ILL_PRVREG): Likewise.
21184         (ILL_COPROC): Likewise.
21185         (ILL_BADSTK): Likewise.
21186         (FPE_INTDIV): Likewise.
21187         (FPE_INTOVF): Likewise.
21188         (FPE_FLTDIV): Likewise.
21189         (FPE_FLTOVF): Likewise.
21190         (FPE_FLTUND): Likewise.
21191         (FPE_FLTRES): Likewise.
21192         (FPE_FLTINV): Likewise.
21193         (FPE_FLTSUB): Likewise.
21194         (SEGV_MAPERR): Likewise.
21195         (SEGV_ACCERR): Likewise.
21196         (BUS_ADRALN): Likewise.
21197         (BUS_ADRERR): Likewise.
21198         (BUS_OBJERR): Likewise.
21199         (BUS_MCEERR_AR): Likewise.
21200         (BUS_MCEERR_AO): Likewise.
21201         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21202         (TRAP_TRACE): Likewise.
21203         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21204         __USE_XOPEN2K8].
21205         (CLD_KILLED): Likewise.
21206         (CLD_DUMPED): Likewise.
21207         (CLD_TRAPPED): Likewise.
21208         (CLD_STOPPED): Likewise.
21209         (CLD_CONTINUED): Likewise.
21210         (POLL_IN): Likewise.
21211         (POLL_OUT): Likewise.
21212         (POLL_MSG): Likewise.
21213         (POLL_ERR): Likewise.
21214         (POLL_PRI): Likewise.
21215         (POLL_HUP): Likewise.
21216         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21217         (ILL_ILLOPN): Likewise.
21218         (ILL_ILLADR): Likewise.
21219         (ILL_ILLTRP): Likewise.
21220         (ILL_PRVOPC): Likewise.
21221         (ILL_PRVREG): Likewise.
21222         (ILL_COPROC): Likewise.
21223         (ILL_BADSTK): Likewise.
21224         (FPE_INTDIV): Likewise.
21225         (FPE_INTOVF): Likewise.
21226         (FPE_FLTDIV): Likewise.
21227         (FPE_FLTOVF): Likewise.
21228         (FPE_FLTUND): Likewise.
21229         (FPE_FLTRES): Likewise.
21230         (FPE_FLTINV): Likewise.
21231         (FPE_FLTSUB): Likewise.
21232         (SEGV_MAPERR): Likewise.
21233         (SEGV_ACCERR): Likewise.
21234         (BUS_ADRALN): Likewise.
21235         (BUS_ADRERR): Likewise.
21236         (BUS_OBJERR): Likewise.
21237         (BUS_MCEERR_AR): Likewise.
21238         (BUS_MCEERR_AO): Likewise.
21239         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21240         (TRAP_TRACE): Likewise.
21241         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21242         __USE_XOPEN2K8].
21243         (CLD_KILLED): Likewise.
21244         (CLD_DUMPED): Likewise.
21245         (CLD_TRAPPED): Likewise.
21246         (CLD_STOPPED): Likewise.
21247         (CLD_CONTINUED): Likewise.
21248         (POLL_IN): Likewise.
21249         (POLL_OUT): Likewise.
21250         (POLL_MSG): Likewise.
21251         (POLL_ERR): Likewise.
21252         (POLL_PRI): Likewise.
21253         (POLL_HUP): Likewise.
21254         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21255         Likewise.
21256         (ILL_ILLOPN): Likewise.
21257         (ILL_ILLADR): Likewise.
21258         (ILL_ILLTRP): Likewise.
21259         (ILL_PRVOPC): Likewise.
21260         (ILL_PRVREG): Likewise.
21261         (ILL_COPROC): Likewise.
21262         (ILL_BADSTK): Likewise.
21263         (ILL_BADIADDR): Likewise.
21264         (ILL_BREAK): Likewise.
21265         (FPE_INTDIV): Likewise.
21266         (FPE_INTOVF): Likewise.
21267         (FPE_FLTDIV): Likewise.
21268         (FPE_FLTOVF): Likewise.
21269         (FPE_FLTUND): Likewise.
21270         (FPE_FLTRES): Likewise.
21271         (FPE_FLTINV): Likewise.
21272         (FPE_FLTSUB): Likewise.
21273         (FPE_DECOVF): Likewise.
21274         (FPE_DECDIV): Likewise.
21275         (FPE_DECERR): Likewise.
21276         (FPE_INVASC): Likewise.
21277         (FPE_INVDEC): Likewise.
21278         (SEGV_MAPERR): Likewise.
21279         (SEGV_ACCERR): Likewise.
21280         (SEGV_PSTKOVF): Likewise.
21281         (BUS_ADRALN): Likewise.
21282         (BUS_ADRERR): Likewise.
21283         (BUS_OBJERR): Likewise.
21284         (BUS_MCEERR_AR): Likewise.
21285         (BUS_MCEERR_AO): Likewise.
21286         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21287         (TRAP_TRACE): Likewise.
21288         (TRAP_BRANCH): Likewise.
21289         (TRAP_HWBKPT): Likewise.
21290         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21291         __USE_XOPEN2K8].
21292         (CLD_KILLED): Likewise.
21293         (CLD_DUMPED): Likewise.
21294         (CLD_TRAPPED): Likewise.
21295         (CLD_STOPPED): Likewise.
21296         (CLD_CONTINUED): Likewise.
21297         (POLL_IN): Likewise.
21298         (POLL_OUT): Likewise.
21299         (POLL_MSG): Likewise.
21300         (POLL_ERR): Likewise.
21301         (POLL_PRI): Likewise.
21302         (POLL_HUP): Likewise.
21303         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21304         (ILL_ILLOPN): Likewise.
21305         (ILL_ILLADR): Likewise.
21306         (ILL_ILLTRP): Likewise.
21307         (ILL_PRVOPC): Likewise.
21308         (ILL_PRVREG): Likewise.
21309         (ILL_COPROC): Likewise.
21310         (ILL_BADSTK): Likewise.
21311         (FPE_INTDIV): Likewise.
21312         (FPE_INTOVF): Likewise.
21313         (FPE_FLTDIV): Likewise.
21314         (FPE_FLTOVF): Likewise.
21315         (FPE_FLTUND): Likewise.
21316         (FPE_FLTRES): Likewise.
21317         (FPE_FLTINV): Likewise.
21318         (FPE_FLTSUB): Likewise.
21319         (SEGV_MAPERR): Likewise.
21320         (SEGV_ACCERR): Likewise.
21321         (BUS_ADRALN): Likewise.
21322         (BUS_ADRERR): Likewise.
21323         (BUS_OBJERR): Likewise.
21324         (BUS_MCEERR_AR): Likewise.
21325         (BUS_MCEERR_AO): Likewise.
21326         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21327         (TRAP_TRACE): Likewise.
21328         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21329         __USE_XOPEN2K8].
21330         (CLD_KILLED): Likewise.
21331         (CLD_DUMPED): Likewise.
21332         (CLD_TRAPPED): Likewise.
21333         (CLD_STOPPED): Likewise.
21334         (CLD_CONTINUED): Likewise.
21335         (POLL_IN): Likewise.
21336         (POLL_OUT): Likewise.
21337         (POLL_MSG): Likewise.
21338         (POLL_ERR): Likewise.
21339         (POLL_PRI): Likewise.
21340         (POLL_HUP): Likewise.
21341         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21342         (ILL_ILLOPN): Likewise.
21343         (ILL_ILLADR): Likewise.
21344         (ILL_ILLTRP): Likewise.
21345         (ILL_PRVOPC): Likewise.
21346         (ILL_PRVREG): Likewise.
21347         (ILL_COPROC): Likewise.
21348         (ILL_BADSTK): Likewise.
21349         (FPE_INTDIV): Likewise.
21350         (FPE_INTOVF): Likewise.
21351         (FPE_FLTDIV): Likewise.
21352         (FPE_FLTOVF): Likewise.
21353         (FPE_FLTUND): Likewise.
21354         (FPE_FLTRES): Likewise.
21355         (FPE_FLTINV): Likewise.
21356         (FPE_FLTSUB): Likewise.
21357         (SEGV_MAPERR): Likewise.
21358         (SEGV_ACCERR): Likewise.
21359         (BUS_ADRALN): Likewise.
21360         (BUS_ADRERR): Likewise.
21361         (BUS_OBJERR): Likewise.
21362         (BUS_MCEERR_AR): Likewise.
21363         (BUS_MCEERR_AO): Likewise.
21364         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21365         (TRAP_TRACE): Likewise.
21366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21367         __USE_XOPEN2K8].
21368         (CLD_KILLED): Likewise.
21369         (CLD_DUMPED): Likewise.
21370         (CLD_TRAPPED): Likewise.
21371         (CLD_STOPPED): Likewise.
21372         (CLD_CONTINUED): Likewise.
21373         (POLL_IN): Likewise.
21374         (POLL_OUT): Likewise.
21375         (POLL_MSG): Likewise.
21376         (POLL_ERR): Likewise.
21377         (POLL_PRI): Likewise.
21378         (POLL_HUP): Likewise.
21379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21380         (ILL_ILLOPN): Likewise.
21381         (ILL_ILLADR): Likewise.
21382         (ILL_ILLTRP): Likewise.
21383         (ILL_PRVOPC): Likewise.
21384         (ILL_PRVREG): Likewise.
21385         (ILL_COPROC): Likewise.
21386         (ILL_BADSTK): Likewise.
21387         (FPE_INTDIV): Likewise.
21388         (FPE_INTOVF): Likewise.
21389         (FPE_FLTDIV): Likewise.
21390         (FPE_FLTOVF): Likewise.
21391         (FPE_FLTUND): Likewise.
21392         (FPE_FLTRES): Likewise.
21393         (FPE_FLTINV): Likewise.
21394         (FPE_FLTSUB): Likewise.
21395         (SEGV_MAPERR): Likewise.
21396         (SEGV_ACCERR): Likewise.
21397         (BUS_ADRALN): Likewise.
21398         (BUS_ADRERR): Likewise.
21399         (BUS_OBJERR): Likewise.
21400         (BUS_MCEERR_AR): Likewise.
21401         (BUS_MCEERR_AO): Likewise.
21402         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21403         (TRAP_TRACE): Likewise.
21404         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21405         __USE_XOPEN2K8].
21406         (CLD_KILLED): Likewise.
21407         (CLD_DUMPED): Likewise.
21408         (CLD_TRAPPED): Likewise.
21409         (CLD_STOPPED): Likewise.
21410         (CLD_CONTINUED): Likewise.
21411         (POLL_IN): Likewise.
21412         (POLL_OUT): Likewise.
21413         (POLL_MSG): Likewise.
21414         (POLL_ERR): Likewise.
21415         (POLL_PRI): Likewise.
21416         (POLL_HUP): Likewise.
21417         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21418         (ILL_ILLOPN): Likewise.
21419         (ILL_ILLADR): Likewise.
21420         (ILL_ILLTRP): Likewise.
21421         (ILL_PRVOPC): Likewise.
21422         (ILL_PRVREG): Likewise.
21423         (ILL_COPROC): Likewise.
21424         (ILL_BADSTK): Likewise.
21425         (ILL_DBLFLT): Likewise.
21426         (ILL_HARDWALL): Likewise.
21427         (FPE_INTDIV): Likewise.
21428         (FPE_INTOVF): Likewise.
21429         (FPE_FLTDIV): Likewise.
21430         (FPE_FLTOVF): Likewise.
21431         (FPE_FLTUND): Likewise.
21432         (FPE_FLTRES): Likewise.
21433         (FPE_FLTINV): Likewise.
21434         (FPE_FLTSUB): Likewise.
21435         (SEGV_MAPERR): Likewise.
21436         (SEGV_ACCERR): Likewise.
21437         (BUS_ADRALN): Likewise.
21438         (BUS_ADRERR): Likewise.
21439         (BUS_OBJERR): Likewise.
21440         (BUS_MCEERR_AR): Likewise.
21441         (BUS_MCEERR_AO): Likewise.
21442         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21443         (TRAP_TRACE): Likewise.
21444         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21445         __USE_XOPEN2K8].
21446         (CLD_KILLED): Likewise.
21447         (CLD_DUMPED): Likewise.
21448         (CLD_TRAPPED): Likewise.
21449         (CLD_STOPPED): Likewise.
21450         (CLD_CONTINUED): Likewise.
21451         (POLL_IN): Likewise.
21452         (POLL_OUT): Likewise.
21453         (POLL_MSG): Likewise.
21454         (POLL_ERR): Likewise.
21455         (POLL_PRI): Likewise.
21456         (POLL_HUP): Likewise.
21457         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21458         (ILL_ILLOPN): Likewise.
21459         (ILL_ILLADR): Likewise.
21460         (ILL_ILLTRP): Likewise.
21461         (ILL_PRVOPC): Likewise.
21462         (ILL_PRVREG): Likewise.
21463         (ILL_COPROC): Likewise.
21464         (ILL_BADSTK): Likewise.
21465         (FPE_INTDIV): Likewise.
21466         (FPE_INTOVF): Likewise.
21467         (FPE_FLTDIV): Likewise.
21468         (FPE_FLTOVF): Likewise.
21469         (FPE_FLTUND): Likewise.
21470         (FPE_FLTRES): Likewise.
21471         (FPE_FLTINV): Likewise.
21472         (FPE_FLTSUB): Likewise.
21473         (SEGV_MAPERR): Likewise.
21474         (SEGV_ACCERR): Likewise.
21475         (BUS_ADRALN): Likewise.
21476         (BUS_ADRERR): Likewise.
21477         (BUS_OBJERR): Likewise.
21478         (BUS_MCEERR_AR): Likewise.
21479         (BUS_MCEERR_AO): Likewise.
21480         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21481         (TRAP_TRACE): Likewise.
21482         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21483         __USE_XOPEN2K8].
21484         (CLD_KILLED): Likewise.
21485         (CLD_DUMPED): Likewise.
21486         (CLD_TRAPPED): Likewise.
21487         (CLD_STOPPED): Likewise.
21488         (CLD_CONTINUED): Likewise.
21489         (POLL_IN): Likewise.
21490         (POLL_OUT): Likewise.
21491         (POLL_MSG): Likewise.
21492         (POLL_ERR): Likewise.
21493         (POLL_PRI): Likewise.
21494         (POLL_HUP): Likewise.
21495         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21496         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21498         [BZ #16670]
21499         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21500         before #include of <time.h>.
21501         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21502         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21503         (test-xfail-UNIX98/sched.h/conform): Likewise.
21505 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21507         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21508         error absence of trapping exception support.
21509         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21511 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21513         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21514         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21515         * timezone/Makefile (testdata): Move definition above include of
21516         Rules.
21517         (test-zones): New variable.
21518         (tests-special): Add zone files.
21519         (build-testdata): Use $(evaluate-test).
21521         * elf/Makefile (tests-special): Rename tests to end with .out.
21522         ($(objpfx)noload-mem): Likewise.
21523         ($(objpfx)tst-leaks1-mem): Likewise.
21524         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21525         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21526         $(objpfx)test-iconvconfig.out.
21527         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21528         set -e inside subshell and redirect output to file.
21529         * iconvdata/Makefile (generated): Rename tests to end with .out.
21530         Correct type.
21531         (tests-special): Rename tests to end with .out.
21532         ($(objpfx)mtrace-tst-loading): Likewise.
21533         * intl/Makefile (generated): Likewise.
21534         (tests-special): Likewise.
21535         ($(objpfx)mtrace-tst-gettext): Likewise.
21536         * misc/Makefile (generated): Likewise.
21537         (tests-special): Likewise.
21538         ($(objpfx)tst-error1-mem): Likewise.
21539         * nptl/Makefile (tests-special): Likewise.
21540         ($(objpfx)tst-stack3-mem): Likewise.
21541         (generated): Likewise.
21542         * posix/Makefile (generated): Likewise.
21543         (tests-special): Likewise.
21544         (xtests-special): Likewise.
21545         ($(objpfx)tst-fnmatch-mem): Likewise.
21546         ($(objpfx)bug-regex2-mem): Likewise.
21547         ($(objpfx)bug-regex14-mem): Likewise.
21548         ($(objpfx)bug-regex21-mem): Likewise.
21549         ($(objpfx)bug-regex31-mem): Likewise.
21550         ($(objpfx)tst-vfork3-mem): Likewise.
21551         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21552         ($(objpfx)tst-pcre-mem): Likewise.
21553         ($(objpfx)tst-boost-mem): Likewise.
21554         ($(objpfx)bug-ga2-mem): Likewise.
21555         ($(objpfx)bug-glob2-mem): Likewise.
21556         * resolv/Makefile (generate): Likewise.
21557         (tests-special): Likewise.
21558         (xtests-special): Likewise.
21559         (generated): Likewise.
21560         ($(objpfx)mtrace-tst-leaks): Likewise.
21561         ($(objpfx)mtrace-tst-leaks2): Likewise.
21563         * scripts/merge-test-results.sh: New file.
21564         * Makefile (tests-special-notdir): New variable.
21565         (tests): Run merge-test-results.sh.
21566         (xtests): Likewise.
21567         * Rules (tests-special-notdir): New variable.
21568         (xtests-special-notdir): Likewise.
21569         (tests): Run merge-test-results.sh
21570         (xtests): Likewise.
21572         * Makeconfig (test-xfail-name): New variable.
21573         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21574         compute variable name for expected failures.
21575         * conform/Makefile (conformtest-headers-data): New variable.
21576         (conformtest-standards): Likewise.
21577         (conformtest-headers-ISO): Likewise.
21578         (conformtest-headers-ISO99): Likewise.
21579         (conformtest-headers-ISO11): Likewise.
21580         (conformtest-headers-POSIX): Likewise.
21581         (conformtest-headers-XPG3): Likewise.
21582         (conformtest-headers-XPG4): Likewise.
21583         (conformtest-headers-UNIX98): Likewise.
21584         (conformtest-headers-XOPEN2K): Likewise.
21585         (conformtest-headers-POSIX2008): Likewise.
21586         (conformtest-headers-XOPEN2K8): Likewise.
21587         (conformtest-header-list-base): Likewise.
21588         (conformtest-header-list-tests): Likewise.
21589         (conformtest-header-base): Likewise.
21590         (conformtest-header-tests): Likewise.
21591         (tests-special): Add $(conformtest-header-list-tests).  If
21592         [$(fast-check) && !$(cross-compiling)], add
21593         $(conformtest-header-tests) instead of
21594         $(objpfx)run-conformtest.out.
21595         (generated): Add $(conformtest-header-list-base).  If
21596         [$(fast-check) && !$(cross-compiling)], add
21597         $(conformtest-header-base).  Remove previous setting.
21598         ($(conformtest-header-list-tests)): New target.
21599         (test-xfail-run-conformtest): Remove variable.
21600         ($(objpfx)run-conformtest.out): Remove target.
21601         (test-xfail-ISO11/complex.h/conform): New variable.
21602         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21603         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21604         (test-xfail-XPG3/varargs.h/conform): Likewise.
21605         (test-xfail-XPG4/varargs.h/conform): Likewise.
21606         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21607         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21608         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21609         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21610         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21611         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21612         (test-xfail-XPG3/ftw.h/conform): Likewise.
21613         (test-xfail-XPG3/grp.h/conform): Likewise.
21614         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21615         (test-xfail-XPG3/limits.h/conform): Likewise.
21616         (test-xfail-XPG3/pwd.h/conform): Likewise.
21617         (test-xfail-XPG3/search.h/conform): Likewise.
21618         (test-xfail-XPG3/signal.h/conform): Likewise.
21619         (test-xfail-XPG3/stdio.h/conform): Likewise.
21620         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21621         (test-xfail-XPG3/string.h/conform): Likewise.
21622         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21623         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21624         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21625         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21626         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21627         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21628         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21629         (test-xfail-XPG3/termios.h/conform): Likewise.
21630         (test-xfail-XPG3/time.h/conform): Likewise.
21631         (test-xfail-XPG3/unistd.h/conform): Likewise.
21632         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21633         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21634         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21635         (test-xfail-XPG4/netdb.h/conform): Likewise.
21636         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21637         (test-xfail-XPG4/signal.h/conform): Likewise.
21638         (test-xfail-XPG4/stdio.h/conform): Likewise.
21639         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21640         (test-xfail-XPG4/stropts.h/conform): Likewise.
21641         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21642         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21643         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21644         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21645         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21646         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21647         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21648         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21649         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21650         (test-xfail-XPG4/termios.h/conform): Likewise.
21651         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21652         (test-xfail-XPG4/unistd.h/conform): Likewise.
21653         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21654         (test-xfail-POSIX/sched.h/conform): Likewise.
21655         (test-xfail-POSIX/signal.h/conform): Likewise.
21656         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21657         (test-xfail-POSIX/tar.h/conform): Likewise.
21658         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21659         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21660         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21661         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21662         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21663         (test-xfail-UNIX98/sched.h/conform): Likewise.
21664         (test-xfail-UNIX98/signal.h/conform): Likewise.
21665         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21666         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21667         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21668         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21669         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21670         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21671         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21672         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21673         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21674         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21675         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21676         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21677         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21678         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21679         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21680         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21681         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21682         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21683         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21684         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21685         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21686         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21687         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21688         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21689         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21690         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21691         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21692         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21693         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21694         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21695         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21696         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21697         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21698         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21699         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21700         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21701         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21702         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21703         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21704         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21705         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21706         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21707         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21708         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21709         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21710         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21711         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21712         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21713         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21714         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21715         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21716         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21717         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21718         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21719         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21720         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21721         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21722         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21723         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21724         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21725         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21726         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21727         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21728         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21729         (conformtest-cc-flags): Likewise.
21730         ($(conformtest-header-tests): New target.
21731         * conform/check-header-lists.sh: New file.
21732         * conform/run-conformtest.sh: Remove.
21734         * conform/conformtest.pl: Allow ' and \ in values given for
21735         constants.
21736         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21737         inclusion.
21738         [POSIX] (sys/types.h): Likewise.
21739         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21740         inclusion.
21741         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21742         inclusion.
21743         * conform/data/signal.h-data (SIGIO): Remove expectation.
21744         [XPG3] (SIGBUS): Do not expect.
21745         [POSIX || XPG3] (SIGPOLL): Likewise.
21746         [POSIX || XPG3] (SIGPROF): Likewise.
21747         [POSIX || XPG3] (SIGSYS): Likewise.
21748         [XPG3] (SIGTRAP): Likewise.
21749         [POSIX || XPG3] (SIGURG): Likewise.
21750         [POSIX || XPG3] (SIGVTALRM): Likewise.
21751         [POSIX || XPG3] (SIGXCPU): Likewise.
21752         [POSIX || XPG3] (SIGXFSZ): Likewise.
21753         [POSIX] (SA_SIGINFO): Expect.
21754         [XPG3] (siginfo_t): Do not expect type or contents.
21755         [POSIX] (si_pid): Do not expect element.
21756         [POSIX] (si_uid): Likewise.
21757         [POSIX] (si_addr): Likewise.
21758         [POSIX] (si_status): Likewise.
21759         [POSIX] (si_band): Likewise.
21760         [XPG4] (si_value): Likewise.
21761         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21762         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21763         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21764         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21765         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21766         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21767         [POSIX || XPG3] (ILL_COPROC): Likewise.
21768         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21769         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21770         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21771         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21772         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21773         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21774         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21775         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21776         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21777         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21778         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21779         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21780         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21781         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21782         [POSIX || XPG3] (CLD_EXITED): Likewise.
21783         [POSIX || XPG3] (CLD_KILLED): Likewise.
21784         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21785         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21786         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21787         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21788         [POSIX || XPG3] (POLL_IN): Likewise.
21789         [POSIX || XPG3] (POLL_OUT): Likewise.
21790         [POSIX || XPG3] (POLL_MSG): Likewise.
21791         [POSIX || XPG3] (POLL_ERR): Likewise.
21792         [POSIX || XPG3] (POLL_PRI): Likewise.
21793         [POSIX || XPG3] (POLL_HUP): Likewise.
21794         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21795         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21796         (SIG*): Do not allow.
21797         [XPG3] (si_*): Likewise.
21798         [XPG3] (SI_*): Likewise.
21799         [XPG3 || XPG4] (sigev_*): Likewise.
21800         [XPG3 || XPG4] (SIGEV_*): Likewise.
21801         [XPG3 || XPG4] (sival_*): Likewise.
21802         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21803         [POSIX || XPG3] (BUS_*): Likewise.
21804         [POSIX || XPG3] (CLD_*): Likewise.
21805         [POSIX || XPG3] (FPE_*): Likewise.
21806         [POSIX || XPG3] (ILL_*): Likewise.
21807         [POSIX || XPG3] (POLL_*): Likewise.
21808         [POSIX || XPG3] (SEGV_*): Likewise.
21809         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21810         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21811         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21812         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21813         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21814         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21815         Specify type and value.
21816         (TVERSLEN): Likewise.
21817         (REGTYPE): Likewise.
21818         (AREGTYPE): Likewise.
21819         (LNKTYPE): Likewise.
21820         (SYMTYPE): Likewise.
21821         (CHRTYPE): Likewise.
21822         (BLKTYPE): Likewise.
21823         (DIRTYPE): Likewise.
21824         (FIFOTYPE): Likewise.
21825         (CONTTYPE): Likewise.
21826         (TSUID): Likewise.
21827         (TSGID): Likewise.
21828         (TSVTX): Likewise.
21829         (TUREAD): Likewise.
21830         (TUWRITE): Likewise.
21831         (TUEXEC): Likewise.
21832         (TGREAD): Likewise.
21833         (TGWRITE): Likewise.
21834         (TGEXEC): Likewise.
21835         (TOREAD): Likewise.
21836         (TOWRITE): Likewise.
21837         (TOEXEC): Likewise.
21838         [POSIX] (TSVTX): Expect constant.
21840 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21842         * Makefile (tests): Change dependencies to ....
21843         (tests-special): ... additions to this variable.
21844         (tests): Depend on $(tests-special).
21845         * Makerules (check-abi-list): New variable.
21846         (check-abi): Depend on $(check-abi-list).
21847         [$(subdir) = elf] (tests-special): Add
21848         $(objpfx)check-abi-libc.out.
21849         [$(build-shared) = yes && subdir] (tests-special): Add
21850         $(check-abi-list).
21851         [$(build-shared) = yes && subdir] (tests): Do not depend on
21852         check-abi.
21853         * Rules (tests): Depend on $(tests-special).
21854         (xtests): Depend on $(xtests-special).
21855         * catgets/Makefile (tests): Change dependencies to ....
21856         (tests-special): ... additions to this variable.
21857         * conform/Makefile (tests): Change dependencies to ....
21858         (tests-special): ... additions to this variable.
21859         * elf/Makefile (tests): Change dependencies to ....
21860         (tests-special): ... additions to this variable.
21861         * grp/Makefile (tests): Change dependencies to ....
21862         (tests-special): ... additions to this variable.
21863         * iconv/Makefile (xtests): Change dependencies to ....
21864         (xtests-special): ... additions to this variable.
21865         * iconvdata/Makefile (tests): Change dependencies to ....
21866         (tests-special): ... additions to this variable.
21867         * intl/Makefile (tests): Change dependencies to ....
21868         (tests-special): ... additions to this variable.  Also add
21869         $(objpfx)tst-gettext.out.
21870         * io/Makefile (tests): Change dependencies to ....
21871         (tests-special): ... additions to this variable.
21872         * libio/Makefile (tests): Change dependencies to ....
21873         (tests-special): ... additions to this variable.
21874         * malloc/Makefile (tests): Change dependencies to ....
21875         (tests-special): ... additions to this variable.
21876         * misc/Makefile (tests): Change dependencies to ....
21877         (tests-special): ... additions to this variable.
21878         * nptl/Makefile (tests): Change dependencies to ....
21879         (tests-special): ... additions to this variable.
21880         * nptl_db/Makefile (tests): Change dependencies to ....
21881         (tests-special): ... additions to this variable.
21882         * posix/Makefile (tests): Change dependencies to ....
21883         (tests-special): ... additions to this variable.
21884         (xtests): Change dependencies to ....
21885         (xtests-special): ... additions to this variable.
21886         * resolv/Makefile (tests): Change dependencies to ....
21887         (tests-special): ... additions to this variable.
21888         (xtests): Change dependencies to ....
21889         (xtests-special): ... additions to this variable.
21890         * stdio-common/Makefile (tests): Change dependencies to ....
21891         (tests-special): ... additions to this variable.
21892         (do-tst-unbputc): Remove target.
21893         (do-tst-printf): Likewise.
21894         * stdlib/Makefile (tests): Change dependencies to ....
21895         (tests-special): ... additions to this variable.
21896         * string/Makefile (tests): Change dependencies to ....
21897         (tests-special): ... additions to this variable.
21898         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21899         (tests-special): ... additions to this variable.
21901         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21902         whole file.
21903         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21904         whole file.
21905         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21906         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21908         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21909         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21910         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21911         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21912         * conform/data/libgen.h-data [XPG3]: Likewise.
21913         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21914         * conform/data/ndbm.h-data [XPG3]: Likewise.
21915         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21916         * conform/data/netdb.h-data [XPG3]: Likewise.
21917         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21918         * conform/data/poll.h-data [XPG3]: Likewise.
21919         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21920         * conform/data/strings.h-data [XPG3]: Likewise.
21921         * conform/data/stropts.h-data [XPG3]: Likewise.
21922         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21923         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21924         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21925         Likewise.
21926         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21927         * conform/data/sys/time.h-data [XPG3]: Likewise.
21928         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21929         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21930         * conform/data/sys/un.h-data [XPG3]: Likewise.
21931         * conform/data/syslog.h-data [XPG3]: Likewise.
21932         * conform/data/ucontext.h-data [XPG3]: Likewise.
21933         * conform/data/utmpx.h-data [XPG3]: Likewise.
21934         * conform/data/varargs.h-data [UNIX98]: Enable file.
21936         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21938         * math/libm-test.inc (struct test_f_f_data): Move expected results
21939         into structure for each rounding mode.
21940         (struct test_ff_f_data): Likewise.
21941         (struct test_ff_f_data_nexttoward): Likewise.
21942         (struct test_fi_f_data): Likewise.
21943         (struct test_fl_f_data): Likewise.
21944         (struct test_if_f_data): Likewise.
21945         (struct test_fff_f_data): Likewise.
21946         (struct test_c_f_data): Likewise.
21947         (struct test_f_f1_data): Likewise.
21948         (struct test_fF_f1_data): Likewise.
21949         (struct test_ffI_f1_data): Likewise.
21950         (struct test_c_c_data): Likewise.
21951         (struct test_cc_c_data): Likewise.
21952         (struct test_f_i_data): Likewise.
21953         (struct test_ff_i_data): Likewise.
21954         (struct test_f_l_data): Likewise.
21955         (struct test_f_L_data): Likewise.
21956         (struct test_fFF_11_data): Likewise.
21957         (RM_): New macro.
21958         (RM_FE_DOWNWARD): Likewise.
21959         (RM_FE_TONEAREST): Likewise.
21960         (RM_FE_TOWARDZERO): Likewise.
21961         (RM_FE_UPWARD): Likewise.
21962         (RUN_TEST_LOOP_f_f): Update references to expected results.
21963         (RUN_TEST_LOOP_2_f): Likewise.
21964         (RUN_TEST_LOOP_fff_f): Likewise.
21965         (RUN_TEST_LOOP_c_f): Likewise.
21966         (RUN_TEST_LOOP_f_f1): Likewise.
21967         (RUN_TEST_LOOP_fF_f1): Likewise.
21968         (RUN_TEST_LOOP_fI_f1): Likewise.
21969         (RUN_TEST_LOOP_ffI_f1): Likewise.
21970         (RUN_TEST_LOOP_c_c): Likewise.
21971         (RUN_TEST_LOOP_cc_c): Likewise.
21972         (RUN_TEST_LOOP_f_i): Likewise.
21973         (RUN_TEST_LOOP_f_i_tg): Likewise.
21974         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21975         (RUN_TEST_LOOP_f_b): Likewise.
21976         (RUN_TEST_LOOP_f_b_tg): Likewise.
21977         (RUN_TEST_LOOP_f_l): Likewise.
21978         (RUN_TEST_LOOP_f_L): Likewise.
21979         (RUN_TEST_LOOP_fFF_11): Likewise.
21980         * math/gen-libm-test.pl (parse_args): Output four copies of
21981         expected results for each test.
21983         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21984         (__ASSUME_UTIMES): Remove.
21985         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21986         (__ASSUME_UTIMES): Likewise.
21988         * math/gen-auto-libm-tests.c: Update comment on output format.
21989         (output_for_one_input_case): Generate before-rounding and
21990         after-rounding information as conditions on output flags not
21991         floating-point format.
21992         * math/auto-libm-test-out: Regenerated.
21993         * math/gen-libm-test.pl (cond_value): New function.
21994         (or_cond_value): Use cond_value.
21995         (generate_testfile): Handle conditional exceptions.
21997 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21999         * math/libm-test.inc (max_valid_error): New variable.
22000         (init_max_error): Take new argument specifying whether function
22001         results are exactly determined.  Set max_valid_error and bound
22002         other variables for errors based on this argument.
22003         (set_max_error): Do not record results above max_valid_error.
22004         (check_float_internal): Only accept errors of up to 0.5ulps if
22005         also at most max_valid_error.
22006         (START): Take new argument EXACT and pass it to init_max_error.
22007         (acos_test): Update call to START.
22008         (acos_test_tonearest): Likewise.
22009         (acos_test_towardzero): Likewise.
22010         (acos_test_downward): Likewise.
22011         (acos_test_upward): Likewise.
22012         (acosh_test): Likewise.
22013         (asin_test): Likewise.
22014         (asin_test_tonearest): Likewise.
22015         (asin_test_towardzero): Likewise.
22016         (asin_test_downward): Likewise.
22017         (asin_test_upward): Likewise.
22018         (asinh_test): Likewise.
22019         (atan_test): Likewise.
22020         (atanh_test): Likewise.
22021         (atan2_test): Likewise.
22022         (cabs_test): Likewise.
22023         (cacos_test): Likewise.
22024         (cacosh_test): Likewise.
22025         (carg_test): Likewise.
22026         (casin_test): Likewise.
22027         (casinh_test): Likewise.
22028         (catan_test): Likewise.
22029         (catanh_test): Likewise.
22030         (cbrt_test): Likewise.
22031         (ccos_test): Likewise.
22032         (ccosh_test): Likewise.
22033         (ceil_test): Likewise.
22034         (cexp_test): Likewise.
22035         (cimag_test): Likewise.
22036         (clog_test): Likewise.
22037         (clog10_test): Likewise.
22038         (conj_test): Likewise.
22039         (copysign_test): Likewise.
22040         (cos_test): Likewise.
22041         (cos_test_tonearest): Likewise.
22042         (cos_test_towardzero): Likewise.
22043         (cos_test_downward): Likewise.
22044         (cos_test_upward): Likewise.
22045         (cosh_test): Likewise.
22046         (cosh_test_tonearest): Likewise.
22047         (cosh_test_towardzero): Likewise.
22048         (cosh_test_downward): Likewise.
22049         (cosh_test_upward): Likewise.
22050         (cpow_test): Likewise.
22051         (cproj_test): Likewise.
22052         (creal_test): Likewise.
22053         (csin_test): Likewise.
22054         (csinh_test): Likewise.
22055         (csqrt_test): Likewise.
22056         (ctan_test): Likewise.
22057         (ctan_test_tonearest): Likewise.
22058         (ctan_test_towardzero): Likewise.
22059         (ctan_test_downward): Likewise.
22060         (ctan_test_upward): Likewise.
22061         (ctanh_test): Likewise.
22062         (ctanh_test_tonearest): Likewise.
22063         (ctanh_test_towardzero): Likewise.
22064         (ctanh_test_downward): Likewise.
22065         (ctanh_test_upward): Likewise.
22066         (erf_test): Likewise.
22067         (erfc_test): Likewise.
22068         (exp_test): Likewise.
22069         (exp_test_tonearest): Likewise.
22070         (exp_test_towardzero): Likewise.
22071         (exp_test_downward): Likewise.
22072         (exp_test_upward): Likewise.
22073         (exp10_test): Likewise.
22074         (exp10_test_tonearest): Likewise.
22075         (exp10_test_towardzero): Likewise.
22076         (exp10_test_downward): Likewise.
22077         (exp10_test_upward): Likewise.
22078         (pow10_test): Likewise.
22079         (exp2_test): Likewise.
22080         (expm1_test): Likewise.
22081         (expm1_test_tonearest): Likewise.
22082         (expm1_test_towardzero): Likewise.
22083         (expm1_test_downward): Likewise.
22084         (expm1_test_upward): Likewise.
22085         (fabs_test): Likewise.
22086         (fdim_test): Likewise.
22087         (floor_test): Likewise.
22088         (fma_test): Likewise.
22089         (fma_test_towardzero): Likewise.
22090         (fma_test_downward): Likewise.
22091         (fma_test_upward): Likewise.
22092         (fmax_test): Likewise.
22093         (fmin_test): Likewise.
22094         (fmod_test): Likewise.
22095         (fpclassify_test): Likewise.
22096         (frexp_test): Likewise.
22097         (hypot_test): Likewise.
22098         (ilogb_test): Likewise.
22099         (isfinite_test): Likewise.
22100         (finite_test): Likewise.
22101         (isgreater_test): Likewise.
22102         (isgreaterequal_test): Likewise.
22103         (isinf_test): Likewise.
22104         (isless_test): Likewise.
22105         (islessequal_test): Likewise.
22106         (islessgreater_test): Likewise.
22107         (isnan_test): Likewise.
22108         (isnormal_test): Likewise.
22109         (issignaling_test): Likewise.
22110         (isunordered_test): Likewise.
22111         (j0_test): Likewise.
22112         (j1_test): Likewise.
22113         (jn_test): Likewise.
22114         (ldexp_test): Likewise.
22115         (lgamma_test): Likewise.
22116         (gamma_test): Likewise.
22117         (lrint_test): Likewise.
22118         (lrint_test_tonearest): Likewise.
22119         (lrint_test_towardzero): Likewise.
22120         (lrint_test_downward): Likewise.
22121         (lrint_test_upward): Likewise.
22122         (llrint_test): Likewise.
22123         (llrint_test_tonearest): Likewise.
22124         (llrint_test_towardzero): Likewise.
22125         (llrint_test_downward): Likewise.
22126         (llrint_test_upward): Likewise.
22127         (log_test): Likewise.
22128         (log10_test): Likewise.
22129         (log1p_test): Likewise.
22130         (log2_test): Likewise.
22131         (logb_test): Likewise.
22132         (logb_test_downward): Likewise.
22133         (lround_test): Likewise.
22134         (llround_test): Likewise.
22135         (modf_test): Likewise.
22136         (nearbyint_test): Likewise.
22137         (nextafter_test): Likewise.
22138         (nexttoward_test): Likewise.
22139         (pow_test): Likewise.
22140         (pow_test_tonearest): Likewise.
22141         (pow_test_towardzero): Likewise.
22142         (pow_test_downward): Likewise.
22143         (pow_test_upward): Likewise.
22144         (remainder_test): Likewise.
22145         (drem_test): Likewise.
22146         (remainder_test_tonearest): Likewise.
22147         (drem_test_tonearest): Likewise.
22148         (remainder_test_towardzero): Likewise.
22149         (drem_test_towardzero): Likewise.
22150         (remainder_test_downward): Likewise.
22151         (drem_test_downward): Likewise.
22152         (remainder_test_upward): Likewise.
22153         (drem_test_upward): Likewise.
22154         (remquo_test): Likewise.
22155         (rint_test): Likewise.
22156         (rint_test_tonearest): Likewise.
22157         (rint_test_towardzero): Likewise.
22158         (rint_test_downward): Likewise.
22159         (rint_test_upward): Likewise.
22160         (round_test): Likewise.
22161         (scalb_test): Likewise.
22162         (scalbn_test): Likewise.
22163         (scalbln_test): Likewise.
22164         (signbit_test): Likewise.
22165         (sin_test): Likewise.
22166         (sin_test_tonearest): Likewise.
22167         (sin_test_towardzero): Likewise.
22168         (sin_test_downward): Likewise.
22169         (sin_test_upward): Likewise.
22170         (sincos_test): Likewise.
22171         (sinh_test): Likewise.
22172         (sinh_test_tonearest): Likewise.
22173         (sinh_test_towardzero): Likewise.
22174         (sinh_test_downward): Likewise.
22175         (sinh_test_upward): Likewise.
22176         (sqrt_test): Likewise.
22177         (sqrt_test_tonearest): Likewise.
22178         (sqrt_test_towardzero): Likewise.
22179         (sqrt_test_downward): Likewise.
22180         (sqrt_test_upward): Likewise.
22181         (tan_test): Likewise.
22182         (tan_test_tonearest): Likewise.
22183         (tan_test_towardzero): Likewise.
22184         (tan_test_downward): Likewise.
22185         (tan_test_upward): Likewise.
22186         (tanh_test): Likewise.
22187         (tgamma_test): Likewise.
22188         (trunc_test): Likewise.
22189         (y0_test): Likewise.
22190         (y1_test): Likewise.
22191         (yn_test): Likewise.
22192         (significand_test): Likewise.
22194         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22195         individual tests in comment.
22196         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22197         (prev_max_error): New variable.
22198         (prev_real_max_error): Likewise.
22199         (prev_imag_max_error): Likewise.
22200         (compare_ulp_data): Don't refer to test names in comment.
22201         (find_test_ulps): Remove function.
22202         (find_function_ulps): Likewise.
22203         (find_complex_function_ulps): Likewise.
22204         (init_max_error): Take function name as argument.  Look up ulps
22205         for that function.
22206         (print_ulps): Remove function.
22207         (print_max_error): Use prev_max_error instead of calling
22208         find_function_ulps.
22209         (print_complex_max_error): Use prev_real_max_error and
22210         prev_imag_max_error instead of calling find_complex_function_ulps.
22211         (check_float_internal): Take max_ulp parameter instead of calling
22212         find_test_ulps.  Don't call print_ulps.
22213         (check_float): Update call to check_float_internal.
22214         (check_complex): Update calls to check_float_internal.
22215         (START): Pass argument to init_max_error.
22216         * math/gen-libm-test.pl (%results): Don't include "kind"
22217         information.
22218         (parse_ulps): Don't handle ulps of individual tests.
22219         (print_ulps_file): Likewise.
22220         (output_ulps): Likewise.
22221         * math/README.libm-test: Update.
22222         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22223         individual tests.
22224         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22225         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22226         * sysdeps/arm/libm-test-ulps: Likewise.
22227         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22228         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22229         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22230         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22231         * sysdeps/microblaze/libm-test-ulps: Likewise.
22232         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22233         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22235         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22236         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22237         * sysdeps/sh/libm-test-ulps: Likewise.
22238         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22239         * sysdeps/tile/libm-test-ulps: Likewise.
22240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22242 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22244         * math/libm-test.inc (print_complex_max_error): Check separately
22245         whether real and imaginary errors are within allowed range and
22246         pass 0 to print_complex_function_ulps instead of value within
22247         allowed range.
22249 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22251         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22252         formatting.
22253         (get_handles_fopen): Likewise.
22254         (do_write_test): Likewise.
22256         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22258         * libio/fileops.c (do_ftell): Use cached offset when
22259         available.
22260         * libio/iofwide.c (do_ftell_wide): Likewise.
22261         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22262         _IO_file_attach.
22263         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22265         [BZ #16532]
22266         * libio/libioP.h (get_file_offset): New function.
22267         * libio/fileops.c (get_file_offset): Likewise.
22268         (do_ftell): Likewise.
22269         (_IO_new_file_seekoff): Split out ftell logic.
22270         * libio/wfileops.c (do_ftell_wide): Likewise.
22271         (_IO_wfile_seekoff): Split out ftell logic.
22272         * libio/tst-ftell-active-handler.c: New test case.
22273         * libio/Makefile (tests): Add it.
22275 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22277         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22278         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22280 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22282         [BZ #16639]
22283         * nscd/connections.c (nscd_init): Call do_exit.
22284         (start_threads): Call do_exit and notify_parent.
22285         (begin_drop_privileges): Call do_exit.
22286         (finish_drop_privileges): Likewise.
22287         * nscd/selinux.c (preserve_capabilities): Likewise.
22288         (install_real_capabilities): Likewise.
22289         (nscd_selinux_enabled): Likewise.
22290         (avc_create_thread): Likewise.
22291         (avc_alloc_lock): Likewise.
22292         (nscd_avc_init): Likewise.
22293         * nscd/nscd.c (parent_fd): New static variable.
22294         (main): Create a pipe between parent and child processes.
22295         Skip closing parent_fd.
22296         (monitor_child): New function.
22297         (do_exit): Likewise.
22298         (notify_parent): Likewise.
22299         * nscd/nscd.h (notify_parent): Likewise.
22300         (do_exit): Likewise.
22302 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22304         * malloc/malloc.c (__libc_calloc): Revert last change.
22306 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22310 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22312         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22314         implementation.
22315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22316         (__libc_ifunc_impl_list): Likewise.
22317         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22318         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22319         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22320         * string/strrchr.c: Define STRRCHR.
22322 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22324         * benchtest/bench-strtok.c (simple_strtok): Delete.
22325         (strtok_string): Use as benchmark.
22326         * string/strtok (STRTOK): New macro.
22328 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22330         * manual/threads.texi: Add header and standard comments to all
22331         functions.
22333         * elf/dl-lookup.c (check_match): New function.
22334         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22335         (do_lookup_x): Remove nested function check_match. Use non-nested
22336         function check_match.
22338 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22340         * csu/Makefile (generated, before-compile): Use += rather than =.
22341         * catgets/Makefile (generated, generated-dirs): Likewise.
22342         * debug/Makefile (generated): Likewise.
22343         * dlfcn/Makefile (generated): Likewise.
22344         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22345         * iconvdata/Makefile (before-compile, generated): Likewise.
22346         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22347         * libio/Makefile (generated): Likewise.
22348         * malloc/Makefile (generated): Likewise.
22349         * manual/Makefile (generated, generated-dirs): Likewise.
22350         * misc/Makefile (generated): Likewise.
22351         * posix/Makefile (generated): Likewise.
22352         * resolv/Makefile (generated): Likewise.
22353         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22354         * timezone/Makefile (generated, generated-dirs): Likewise.
22356         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22358 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22360         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22361         power8 implementation.
22362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22363         file: POWER8 llround ifunc implementation.
22364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22365         (__lllround): Add POWER8 implementation.
22366         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22367         POWER8 llround implementation.
22369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22370         power8 implementation.
22371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22372         file: POWER8 llrint ifunc implementation.
22373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22374         Add POWER8 implementation.
22375         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22376         POWER8 llrint implementation.
22378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22379         power8 implementation.
22380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22381         file: POWER8 finite ifunc implementation.
22382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22383         Add POWER8 implementation.
22384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22385         Likewise.
22386         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22387         POWER8 finite implementation.
22388         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22391         power8 implementation.
22392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22393         file: POWER8 isinf ifunc implementation.
22394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22395         POWER8 implementation.
22396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22397         Likewise.
22398         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22399         isinf implementation.
22400         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22402         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22403         (INIT_ARCH): Add hwcap2 initialization.
22404         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22405         power8 implementation.
22406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22407         file: POWER8 isnan ifunc implementation.
22408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22409         POWER8 implementation.
22410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22411         Likewise.
22412         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22413         isnan implementation.
22414         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22416 2014-02-27  Joey Ye  <joey.ye@arm.com>
22418         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22419         (_FP_NANFRAC_Q): Set to zero.
22421 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22423         [BZ #16623]
22424         * math/auto-libm-test-in: New test inputs.
22425         * math/auto-libm-test-out: Regenerate.
22426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22427         and DA.
22428         (__cos): Likewise.
22429         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22431 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22433         * scripts/evaluate-test.sh: Take new argument indicating whether
22434         failure is expected.
22435         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22436         indicating whether failure is expected.
22437         * conform/Makefile (test-xfail-run-conformtest): New variable.
22438         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22439         level.
22440         * posix/Makefile (test-xfail-annexc): New variable.
22441         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22443 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22445         * argp/Makefile: Include Makeconfig immediately after defining
22446         subdir.
22447         * assert/Makefile: Likewise.
22448         * benchtests/Makefile: Likewise.
22449         * catgets/Makefile: Likewise.
22450         * conform/Makefile: Likewise.
22451         * crypt/Makefile: Likewise.
22452         * csu/Makefile: Likewise.
22453         (all): Remove target.
22454         * ctype/Makefile: Include Makeconfig immediately after defining
22455         subdir.
22456         * debug/Makefile: Likewise.
22457         * dirent/Makefile: Likewise.
22458         * dlfcn/Makefile: Likewise.
22459         * gmon/Makefile: Likewise.
22460         * gnulib/Makefile: Likewise.
22461         * grp/Makefile: Likewise.
22462         * gshadow/Makefile: Likewise.
22463         * hesiod/Makefile: Likewise.
22464         * hurd/Makefile: Likewise.
22465         (all): Remove target.
22466         * iconvdata/Makefile: Include Makeconfig immediately after
22467         defining subdir.
22468         * inet/Makefile: Likewise.
22469         * intl/Makefile: Likewise.
22470         * io/Makefile: Likewise.
22471         * libio/Makefile: Likewise.
22472         (all): Remove target.
22473         * locale/Makefile: Include Makeconfig immediately after defining
22474         subdir.
22475         * login/Makefile: Likewise.
22476         * mach/Makefile: Likewise.
22477         (all): Remove target.
22478         * malloc/Makefile: Include Makeconfig immediately after defining
22479         subdir.
22480         (all): Remove target.
22481         * manual/Makefile: Include Makeconfig immediately after defining
22482         subdir.
22483         * math/Makefile: Likewise.
22484         * misc/Makefile: Likewise.
22485         * nis/Makefile: Likewise.
22486         * nss/Makefile: Likewise.
22487         * po/Makefile: Likewise.
22488         (all): Remove target.
22489         * posix/Makefile: Include Makeconfig immediately after defining
22490         subdir.
22491         * pwd/Makefile: Likewise.
22492         * resolv/Makefile: Likewise.
22493         * resource/Makefile: Likewise.
22494         * rt/Makefile: Likewise.
22495         * setjmp/Makefile: Likewise.
22496         * shadow/Makefile: Likewise.
22497         * signal/Makefile: Likewise.
22498         * socket/Makefile: Likewise.
22499         * soft-fp/Makefile: Likewise.
22500         * stdio-common/Makefile: Likewise.
22501         * stdlib/Makefile: Likewise.
22502         * streams/Makefile: Likewise.
22503         * string/Makefile: Likewise.
22504         * sunrpc/Makefile: Likewise.
22505         (all): Remove target.
22506         * sysvipc/Makefile: Include Makeconfig immediately after defining
22507         subdir.
22508         * termios/Makefile: Likewise.
22509         * time/Makefile: Likewise.
22510         * timezone/Makefile: Likewise.
22511         (all): Remove target.
22512         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22513         subdir.
22514         * wctype/Makefile: Likewise.
22516 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22518         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22519         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22520         (libc_feholdexcept_setround_mips): Ditto.
22521         (libc_feholdsetround): New.
22522         (libc_feholdsetroundf): New.
22523         (libc_feholdsetroundl): New.
22524         (libc_feupdateenv_test_mips): New.
22525         (libc_feupdateenv_test): New.
22526         (libc_feupdateenv_testf): New.
22527         (libc_feupdateenv_testl): New.
22528         (libc_feresetround): New.
22529         (libc_feresetroundf): New.
22530         (libc_feresetroundl): New.
22531         (libc_fetestexcept_mips): New.
22532         (libc_fetestexcept): New.
22533         (libc_fetestexceptf): New.
22534         (libc_fetestexceptl): New.
22535         (HAVE_RM_CTX): New.
22536         (libc_feholdexcept_setround_mips_ctx): New.
22537         (libc_feholdexcept_setround_ctx): New.
22538         (libc_feholdexcept_setroundf_ctx): New.
22539         (libc_feholdexcept_setroundl_ctx): New.
22540         (libc_fesetenv_mips_ctx): New.
22541         (libc_fesetenv_ctx): New.
22542         (libc_fesetenv_ctxf): New.
22543         (libc_fesetenv_ctxl): New.
22544         (libc_feupdateenv_mips_ctx): New.
22545         (libc_feupdateenv_ctx): New.
22546         (libc_feupdateenvf_ctx): New.
22547         (libc_feupdateenvl_ctx): New.
22548         (libc_feholdsetround_mips_ctx): New.
22549         (libc_feholdsetround_ctx): New.
22550         (libc_feholdsetroundf_ctx): New.
22551         (libc_feholdsetroundl_ctx): New.
22552         (libc_feresetround_mips_ctx): New.
22553         (libc_feresetround_ctx): New.
22554         (libc_feresetroundf_ctx): New.
22555         (libc_feresetroundl_ctx): New.
22557 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22559         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22561         * manual/ipc.texi: New file.
22562         * manual/Makefile (chapters): Add ipc.
22563         * manual/job.texi: Add "Inter-Process Communication" to next.
22564         * manual/process.texi: Add "Inter-Process Communication" to prev.
22566 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22570 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22572         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22574         * manual/arith.texi: Fix spaces after sentences.
22575         * manual/charset.texi: Likewise.
22576         * manual/errno.texi: Likewise.
22577         * manual/install.texi: Likewise.
22578         * manual/llio.texi: Likewise.
22579         * manual/locale.texi: Likewise.
22580         * manual/maint.texi: Likewise.
22581         * manual/math.texi: Likewise.
22582         * manual/memory.texi: Likewise.
22583         * manual/message.texi: Likewise.
22584         * manual/probes.texi: Likewise.
22585         * manual/resource.texi: Likewise.
22586         * manual/signal.texi: Likewise.
22587         * manual/socket.texi: Likewise.
22588         * manual/stdio.texi: Likewise.
22589         * manual/string.texi: Likewise.
22590         * manual/time.texi: Likewise.
22591         * manual/users.texi: Likewise.
22593 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22595         [BZ #16632]
22596         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22597         _DEFAULT_SOURCE is defined.
22599 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22600             Carlos O'Donell  <carlos@redhat.com>
22602         [BZ #16613]
22603         * elf/dl-tls.c (_dl_count_modids): New function.
22604         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22605         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22606         audit library and increment generation counter.
22607         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22608         * elf/tst-audit9.c: New file.
22609         * elf/tst-auditmod9a.c: New file.
22610         * elf/tst-auditmod9b.c: New file.
22611         * elf/Makefile: Add rules to build and run tst-audit9.
22613 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22615         [BZ #15347]
22616         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22618 2014-02-25  Will Newton  <will.newton@linaro.org>
22620         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22621         (__longjmp): Restore sp and lr before restoring callee
22622         saved registers.  Add longjmp and longjmp_target
22623         SystemTap probe point.
22624         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22625         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22626         Define to zero to match jmpbuf layout.
22627         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22628         (__sigsetjmp): Save sp and lr before saving callee
22629         saved registers.  Add setjmp SystemTap probe point.
22631 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22633         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22635 2014-02-24  Andreas Schwab  <schwab@suse.de>
22637         [BZ #15804]
22638         * elf/pldd.c (wait_for_ptrace_stop): New function.
22639         (main): Call it after attaching.
22641 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22643         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22644         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22645         Versions files is now verboten.
22646         * hurd/Versions (libc: GLIBC_2.0):
22647         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22648         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22649         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22650         * mach/Versions: Likewise.
22652         * csu/Versions: Remove unused %include.
22653         * resolv/Versions: Likewise.
22655 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22657         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22658         ($(objpfx)check-local-headers.out): Likewise.
22659         ($(objpfx)begin-end-check.out): Likewise.
22660         * Makerules (check-abi-%.out): Likewise.
22661         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22662         ($(objpfx)test2.cat): Likewise.
22663         ($(objpfx)de/libc.cat): Likewise.
22664         ($(objpfx)test-gencat.out): Likewise.
22665         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22666         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22667         ($(objpfx)noload-mem): Likewise.
22668         ($(objpfx)tst-pathopt.out): Likewise.
22669         ($(objpfx)tst-rtld-load-self.out): Likewise.
22670         ($(objpfx)tst-array1-cmp.out): Likewise.
22671         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22672         ($(objpfx)tst-array2-cmp.out): Likewise.
22673         ($(objpfx)tst-array3-cmp.out): Likewise.
22674         ($(objpfx)tst-array4-cmp.out): Likewise.
22675         ($(objpfx)tst-array5-cmp.out): Likewise.
22676         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22677         ($(objpfx)check-textrel.out): Likewise.
22678         ($(objpfx)check-execstack.out): Likewise.
22679         ($(objpfx)check-localplt.out): Likewise.
22680         ($(objpfx)order2-cmp.out): Likewise.
22681         ($(objpfx)tst-leaks1-mem): Likewise.
22682         ($(objpfx)tst-leaks1-static-mem): Likewise.
22683         ($(objpfx)tst-initorder-cmp.out): Likewise.
22684         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22685         ($(objpfx)tst-unused-dep.out): Likewise.
22686         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22687         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22688         * iconv/Makefile (test-iconvconfig): Likewise.
22689         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22690         ($(objpfx)iconv-test.out): Likewise.
22691         ($(objpfx)tst-tables.out): Likewise.
22692         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22693         ($(objpfx)tst-gettext.out): Likewise.
22694         ($(objpfx)tst-translit.out): Likewise.
22695         ($(objpfx)tst-gettext2.out): Likewise.
22696         ($(objpfx)tst-gettext4.out): Likewise.
22697         ($(objpfx)tst-gettext6.out): Likewise.
22698         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22699         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22700         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22701         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22702         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22703         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22704         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22705         ($(objpfx)wordexp-tst.out): Likewise.
22706         ($(objpfx)annexc.out): Likewise.
22707         ($(objpfx)tst-fnmatch-mem): Likewise.
22708         ($(objpfx)bug-regex2-mem): Likewise.
22709         ($(objpfx)bug-regex14-mem): Likewise.
22710         ($(objpfx)bug-regex21-mem): Likewise.
22711         ($(objpfx)bug-regex31-mem): Likewise.
22712         ($(objpfx)tst-vfork3-mem): Likewise.
22713         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22714         ($(objpfx)tst-pcre-mem): Likewise.
22715         ($(objpfx)tst-boost-mem): Likewise.
22716         ($(objpfx)tst-getconf.out): Likewise.
22717         ($(objpfx)bug-ga2-mem): Likewise.
22718         ($(objpfx)bug-glob2-mem): Likewise.
22719         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22720         ($(objpfx)mtrace-tst-leaks2): Likewise.
22721         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22722         ($(objpfx)tst-printf.out): Likewise.
22723         ($(objpfx)tst-setvbuf1.out): Likewise.
22724         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22725         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22726         ($(objpfx)tst-fmtmsg.out): Likewise.
22727         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22728         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22730         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22731         * bits/sigaction.h [__USE_MISC]: Likewise.
22732         * bits/waitstatus.h: Update #endif comments.
22733         * ctype/ctype.h: Likewise.
22734         * dirent/dirent.h: Likewise.
22735         [__USE_MISC]: Remove redundant conditionals.
22736         * grp/grp.h: Update #endif comments.
22737         [__USE_GNU]: Remove redundant conditionals.
22738         [__USE_MISC]: Likewise.
22739         * inet/netinet/in.h [__USE_GNU]: Likewise.
22740         * io/sys/stat.h [__USE_MISC]: Likewise.
22741         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22742         * libio/bits/stdio.h: Update #endif comments.
22743         [__USE_MISC]: Remove redundant conditionals.
22744         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22745         * libio/stdio.h: Update #endif comments.
22746         [__USE_MISC]: Remove redundant conditionals.
22747         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22748         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22749         * math/math.h: Update #else and #endif comments.
22750         [__USE_MISC]: Remove redundant conditionals.
22751         * misc/sys/uio.h: Update #endif comments.
22752         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22753         * posix/glob.h [__USE_MISC]: Likewise.
22754         * posix/sys/types.h: Update #endif comments.
22755         [__USE_MISC]: Remove redundant conditionals.
22756         * posix/sys/wait.h: Update #endif comments.
22757         [__USE_MISC]: Remove redundant conditionals.
22758         * posix/unistd.h: Update #endif comments.
22759         [__USE_MISC]: Remove redundant conditionals.
22760         * pwd/pwd.h [__USE_GNU]: Likewise.
22761         [__USE_MISC]: Likewise.
22762         * resolv/netdb.h [__USE_GNU]: Likewise.
22763         * signal/signal.h: Update #endif comments.
22764         [__USE_MISC]: Remove redundant conditionals.
22765         * stdlib/stdlib.h: Update #else and #endif comments.
22766         [__USE_MISC]: Remove redundant conditionals.
22767         [__USE_GNU]: Likewise.
22768         * string/bits/string2.h [__USE_MISC]: Likewise.
22769         * string/string.h: Update #endif comments.
22770         [__USE_MISC]: Remove redundant conditionals.
22771         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22772         Likewise.
22773         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22774         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22775         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22776         Likewise.
22777         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22778         Likewise.
22779         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22780         comments.
22781         [__USE_MISC]: Remove redundant conditionals.
22782         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22783         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22784         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22785         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22786         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22787         Likewise.
22788         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22789         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22790         Likewise.
22791         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22792         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22793         Likewise.
22794         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22795         Likewise.
22796         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22797         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22798         Likewise.
22799         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22800         Likewise.
22801         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22802         * sysdeps/x86/bits/string.h: Update #endif comments.
22803         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22804         conditionals.
22805         * time/sys/time.h: Update #endif comments.
22806         * time/time.h: Likewise.
22807         [__USE_MISC]: Remove redundant conditionals.
22809 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22811         [BZ #16600]
22812         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22814 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22816         * Versions.def (librt): Add GLIBC_2.17.
22818 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22820         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22821         synonym for _SYS_AUXV_H to allow direct inclusion.
22822         * sysdeps/sparc/bits/hwcap.h: Likewise.
22823         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22824         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22825         * sysdeps/sparc/sysdep.h: Likewise.
22827 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22829         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22831 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22833         * benchtests/bench-strrchr.c: Print length instead of position.
22835 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22837         [BZ #16611]
22838         * sysdeps/unix/sysv/linux/kernel-features.h
22839         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22840         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22841         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22842         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22843         Likewise.
22844         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22845         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22846         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22847         (__ASSUME_SENDMMSG): Define instead of using previous
22848         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22849         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22850         (__ASSUME_SENDMMSG_SYSCALL): Define.
22851         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22852         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22853         Likewise.
22854         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22855         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22856         Likewise.
22857         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22858         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22859         Likewise.
22860         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22861         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22862         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22863         [__ASSUME_SENDMMSG]: Change conditionals to
22864         [__ASSUME_SENDMMSG_SOCKETCALL].
22865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22866         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22867         Define.
22868         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22869         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22870         Likewise.
22871         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22872         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22873         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22874         [!__ASSUME_SENDMMSG]: Change conditional to
22875         [!__ASSUME_SENDMMSG_SOCKETCALL].
22876         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22877         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22878         Define.
22880         [BZ #16610]
22881         * sysdeps/unix/sysv/linux/kernel-features.h
22882         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22883         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22884         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22885         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22886         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22887         [__i386__ || __sparc__]
22888         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22889         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22890         (__ASSUME_RECVMMSG): Define instead of using previous
22891         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22892         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22893         (__ASSUME_RECVMMSG_SYSCALL): Define.
22894         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22895         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22896         Likewise.
22897         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22898         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22899         Likewise.
22900         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22901         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22902         Likewise.
22903         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22904         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22905         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22906         [__ASSUME_RECVMMSG]: Change condition to
22907         [__ASSUME_RECVMMSG_SOCKETCALL].
22908         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22909         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22910         Define.
22911         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22912         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22913         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22914         Likewise.
22915         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22916         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22917         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22918         [!__ASSUME_RECVMMSG]: Change condition to
22919         [!__ASSUME_RECVMMSG_SOCKETCALL].
22920         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22921         (__ASSUME_RECVMMSG_SYSCALL): Define.
22923         [BZ #16609]
22924         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22925         __powerpc__ || __s390__ || __sh__ || __sparc__]
22926         (__ASSUME_SOCKETCALL): Define.
22927         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22928         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22929         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22930         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22931         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22932         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22933         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22934         (__ASSUME_ACCEPT4): Define instead of using previous
22935         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22936         __powerpc__ || __sparc__ || __s390__)] condition.
22937         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22938         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22939         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22940         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22941         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22942         [!__ASSUME_ACCEPT4]: Change condition to
22943         [!__ASSUME_ACCEPT4_SOCKETCALL].
22944         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22945         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22946         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22947         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22948         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22949         __ASSUME_ACCEPT4_SYSCALL.
22950         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22951         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22952         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22953         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22954         __ASSUME_ACCEPT4_SYSCALL.
22955         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22956         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22957         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22958         [__ASSUME_ACCEPT4]: Change condition to
22959         [__ASSUME_ACCEPT4_SOCKETCALL].
22960         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22961         (__ASSUME_SOCKETCALL): Define.
22962         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22964         (__ASSUME_SOCKETCALL): Define.
22965         (__ASSUME_ACCEPT4): Remove.
22966         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22967         Define.
22968         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22969         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22970         Likewise.
22971         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22972         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22974         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22975         macro.
22976         (HWCAP_ARM_LPAE): Likewise.
22977         (HWCAP_ARM_EVTSTRM): Likewise.
22978         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22979         Add vpfd32, lpae and evtstrm.
22980         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22981         Increase to 22.
22983 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22985         * math/auto-libm-test-in: Add tests of clog10.
22986         * math/auto-libm-test-out: Regenerated.
22987         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22988         * sysdeps/i386/fpu/libm-test-ulps: Update.
22989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22991 2014-02-18  Andreas Schwab  <schwab@suse.de>
22993         [BZ #16574]
22994         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22995         Store non-zero if the second buffer was newly allocated.
22996         (send_dg): Likewise.
22997         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22998         to send_vc and send_dg.
22999         (res_nsend): Pass NULL for ansp2_malloced.
23000         * resolv/res_query.c (__libc_res_nquery): Add parameter
23001         answerp2_malloced and pass it down to __libc_res_nsend.
23002         (res_nquery): Pass additional NULL to __libc_res_nquery.
23003         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23004         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23005         second answer buffer if answerp2_malloced was set.
23006         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23007         (__libc_res_nquerydomain): Add parameter
23008         answerp2_malloced and pass it down to __libc_res_nquery.
23009         (res_nquerydomain): Pass additional NULL to
23010         __libc_res_nquerydomain.
23011         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23012         additional NULL to __libc_res_nsend and __libc_res_nquery.
23013         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23014         additional NULL to __libc_res_nsearch.
23015         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23016         parameter of __libc_res_nsearch to check for separately allocated
23017         second buffer.
23018         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23019         __libc_res_nquery.
23020         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23021         additional NULL to __libc_res_nquery.
23022         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23023         __libc_res_nsearch.
23024         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23025         * include/resolv.h: Update prototypes of __libc_res_nquery,
23026         __libc_res_nsearch, __libc_res_nsend.
23028 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23030         * math/auto-libm-test-in: Add tests of fma.
23031         * math/auto-libm-test-out: Regenerated.
23032         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23033         (fma_towardzero_test_data): Likewise.
23034         (fma_downward_test_data): Likewise.
23035         (fma_upward_test_data): Likewise.
23036         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23037         mpc_mode.
23038         (rounding_modes): Add values for new field.
23039         (func_calc_method): Add value mpfr_fff_f.
23040         (func_calc_desc): Add mpfr_fff_f union field.
23041         (test_function): Add field exact_args.
23042         (FUNC): Add macro argument EXACT_ARGS.
23043         (FUNC_mpfr_f_f): Update call to FUNC.
23044         (FUNC_mpfr_f_f): Likewise.
23045         (FUNC_mpfr_ff_f): Likewise.
23046         (FUNC_mpfr_if_f): Likewise.
23047         (FUNC_mpc_c_f): Likewise.
23048         (FUNC_mpc_c_c): Likewise.
23049         (test_functions): Add fma.  Update calls to FUNC.
23050         (handle_input_arg): Add argument exact_args.
23051         (add_test): Update call to handle_input_arg.
23052         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23053         (output_for_one_input_case): Update call to calc_generic_results.
23054         Recalculate exact zero results in each rounding mode.
23056         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23057         non-negative before setting low bit.
23058         * math/auto-libm-test-in: Mark one asin test possibly having
23059         spurious underflow.
23060         * math/auto-libm-test-out: Regenerated.
23061         * sysdeps/i386/fpu/libm-test-ulps: Update.
23062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23064 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23066         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23067         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23068         ports/sysdeps/unix/sysv/linux/microblaze.
23069         * README: Add missing listing for microblaze*-*-linux-gnu.
23071 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23073         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23074         duplicate code
23076 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23078         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23079         * sysdeps/unix/sysv/linux/ia64: Move directory from
23080         ports/sysdeps/unix/sysv/linux/ia64.
23081         * README: Update listing for ia64-*-linux-gnu.
23083 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23084             Joseph Myers  <joseph@codesourcery.com>
23086         * Makeconfig (test-name): New variable.
23087         (evaluate-test): Likewise.
23088         * Makerules (do-test-clean): Remove .test-result files.
23089         (common-mostlyclean): Likewise.
23090         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23091         * scripts/evaluate-test.sh: New file.
23093 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23095         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23096         separate $(objpfx)tst-fopenloc-cmp.out and
23097         $(objpfx)tst-fopenloc-mem.out targets.
23098         (tests): Update dependencies.
23099         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23100         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23101         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23102         (tst-rxspencer-no-utf8-ARGS): New variable.
23103         (tst-rxspencer-no-utf8-ENV): Likewise.
23104         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23105         instead of $(objpfx)tst-rxspencer-mem.
23106         ($(objpfx)tst-rxspencer-mem): Change target to
23107         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23108         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23109         * posix/tst-rxspencer-no-utf8.c: New file.
23111         * elf/Makefile ($(objpfx)order.out): Remove rule.
23112         [$(run-built-tests) = yes] (tests): Depend on
23113         $(objpfx)order-cmp.out.
23114         ($(objpfx)order-cmp.out): New rule.
23115         [$(run-built-tests) = yes] (tests): Depend on
23116         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23117         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23118         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23119         $(objpfx)tst-array5-static-cmp.out.
23120         ($(objpfx)tst-array1.out): Remove rule.
23121         ($(objpfx)tst-array1-cmp.out): New rule.
23122         ($(objpfx)tst-array1-static.out): Remove rule.
23123         ($(objpfx)tst-array1-static-cmp.out): New rule.
23124         ($(objpfx)tst-array2.out): Remove rule.
23125         ($(objpfx)tst-array2-cmp.out): New rule.
23126         ($(objpfx)tst-array3.out): Remove rule.
23127         ($(objpfx)tst-array3-cmp.out): New rule.
23128         ($(objpfx)tst-array4.out): Remove rule.
23129         ($(objpfx)tst-array4-cmp.out): New rule.
23130         ($(objpfx)tst-array5.out): Remove rule.
23131         ($(objpfx)tst-array5-cmp.out): New rule.
23132         ($(objpfx)tst-array5-static.out): Remove rule.
23133         ($(objpfx)tst-array5-static-cmp.out): New rule.
23134         [$(run-built-tests) = yes] (tests): Depend on
23135         $(objpfx)order2-cmp.out.
23136         ($(objpfx)order2.out): Remove rule.
23137         ($(objpfx)order2-cmp.out): New rule.
23138         ($(objpfx)tst-initorder.out): Remove rule.
23139         [$(run-built-tests) = yes] (tests): Depend on
23140         $(objpfx)tst-initorder-cmp.out.
23141         ($(objpfx)tst-initorder-cmp.out): New rule.
23142         ($(objpfx)tst-initorder2.out): Remove rule.
23143         [$(run-built-tests) = yes] (tests): Depend on
23144         $(objpfx)tst-initorder2-cmp.out.
23145         ($(objpfx)tst-initorder2-cmp.out): New rule.
23146         [$(run-built-tests) = yes] (tests): Depend on
23147         $(objpfx)tst-unused-dep-cmp.out.
23148         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23149         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23150         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23151         on $(objpfx)tst-setvbuf1-cmp.out.
23152         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23153         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23154         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23155         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23156         ($(objpfx)tst-svc.out): Remove rule.
23157         ($(objpfx)tst-svc-cmp.out): New rule.
23159 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23161         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23162         * ctype/ctype.h [__USE_MISC]: Likewise.
23163         * dirent/dirent.h [__USE_MISC]: Likewise.
23164         * grp/grp.h [__USE_MISC]: Likewise.
23165         * io/fcntl.h [__USE_MISC]: Likewise.
23166         * io/sys/stat.h [__USE_MISC]: Likewise.
23167         * libio/stdio.h [__USE_MISC]: Likewise.
23168         * posix/unistd.h [__USE_MISC]: Likewise.
23169         * pwd/pwd.h [__USE_MISC]: Likewise.
23170         * stdlib.h [__USE_MISC]: Likewise.
23171         * string/bits/string2.h [__USE_MISC]: Likewise.
23172         * string/string.h [__USE_MISC]: Likewise.
23173         * time/time.h [__USE_MISC]: Likewise.
23175 2014-02-13  Andreas Schwab  <schwab@suse.de>
23177         [BZ #16574]
23178         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23179         second answer buffer if it was separately allocated.
23181 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23183         * sysdeps/mips/math-tests.h: Include <features.h>.
23184         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23185         (ROUNDING_TESTS_long_double): Do not define.
23186         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23187         (EXCEPTION_TESTS_long_double): Likewise.
23188         * sysdeps/mips/mips64/libm-test-ulps: Update.
23190         * include/features.h (__USE_BSD): Remove macro definitions.
23191         (__USE_SVID): Likewise.
23192         (_BSD_SOURCE): Likewise.
23193         (_SVID_SOURCE): Likewise.
23194         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23195         from definition of _DEFAULT_SOURCE.
23196         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23197         [_DEFAULT_SOURCE].
23198         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23199         * bits/mman.h [__USE_BSD]: Likewise.
23200         * bits/termios.h [__USE_BSD]: Likewise.
23201         * bits/waitstatus.h [__USE_BSD]: Likewise.
23202         * ctype/ctype.h [__USE_SVID]: Likewise.
23203         * dirent/dirent.h [__USE_BSD]: Likewise.
23204         * grp/grp.h [__USE_SVID]: Likewise.
23205         [__USE_BSD]: Likewise.
23206         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23207         * io/fcntl.h [__USE_BSD]: Likewise.
23208         * io/ftw.h [__USE_BSD]: Likewise.
23209         * io/sys/stat.h [__USE_BSD]: Likewise.
23210         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23211         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23212         * libio/stdio.h [__USE_SVID]: Likewise.
23213         [__USE_BSD]: Likewise.
23214         * math/math.h [__USE_SVID]: Likewise.
23215         [__USE_BSD]: Likewise.
23216         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23217         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23218         * misc/search.h [__USE_SVID]: Likewise.
23219         * misc/sys/mman.h [__USE_BSD]: Likewise.
23220         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23221         * misc/sys/uio.h [__USE_BSD]: Likewise.
23222         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23223         * posix/glob.h [__USE_BSD]: Likewise.
23224         * posix/regex.h [__USE_BSD]: Likewise.
23225         * posix/sys/types.h [__USE_BSD]: Likewise.
23226         [__USE_SVID]: Likewise.
23227         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23228         * posix/sys/wait.h [__USE_BSD]: Likewise.
23229         [__USE_SVID]: Likewise.
23230         * posix/unistd.h [__USE_BSD]: Likewise.
23231         [__USE_SVID]: Likewise.
23232         * pwd/pwd.h [__USE_SVID]: Likewise.
23233         * resolv/netdb.h [__USE_BSD]: Likewise.
23234         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23235         * signal/signal.h [__USE_BSD]: Likewise.
23236         [__USE_SVID]: Likewise.
23237         * socket/sys/socket.h [__USE_BSD]: Likewise.
23238         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23239         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23240         [__USE_SVID]: Likewise.
23241         * string/bits/string2.h [__USE_BSD]: Likewise.
23242         [__USE_SVID]: Likewise.
23243         * string/bits/string3.h [__USE_BSD]: Likewise.
23244         * string/endian.h [__USE_BSD]: Likewise.
23245         * string/string.h [__USE_SVID]: Likewise.
23246         [__USE_BSD]: Likewise.
23247         * string/strings.h [__USE_BSD]: Likewise.
23248         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23249         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23250         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23251         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23252         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23253         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23254         Likewise.
23255         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23256         Likewise.
23257         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23258         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23259         Likewise.
23260         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23261         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23262         Likewise.
23263         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23264         Likewise.
23265         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23266         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23267         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23268         Likewise.
23269         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23270         Likewise.
23271         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23272         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23273         * termios/termios.h [__USE_BSD]: Likewise.
23274         * time/sys/time.h [__USE_BSD]: Likewise.
23275         * time/time.h [__USE_BSD]: Likewise.
23276         [__USE_SVID]: Likewise.
23278         * Makefile (subdir_targets): Remove subdir_lint.out.
23280         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23281         (do-tst-printf): Likewise.
23282         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23283         $(objpfx)tst-printf.out.
23285         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23287         * Makerules (check-abi-%): Change target to
23288         $(objpfx)check-abi-%.out.
23289         (check-abi target): Update dependencies.
23290         (check-abi-pattern variable): Redirect output of diff to $@.
23291         (check-abi variable): Likewise.
23292         * elf/Makefile (check-abi): Update dependencies.
23294         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23295         unused.
23296         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23297         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23298         subnormal range.
23299         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23300         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23301         value has largest subnormal exponent.
23302         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23303         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23304         * sysdeps/aarch64/soft-fp/sfp-machine.h
23305         (_FP_TININESS_AFTER_ROUNDING): New macro.
23306         * sysdeps/alpha/soft-fp/sfp-machine.h
23307         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23308         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23309         Likewise.
23310         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23311         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23312         * sysdeps/mips/soft-fp/sfp-machine.h
23313         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23314         * sysdeps/powerpc/soft-fp/sfp-machine.h
23315         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23316         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23317         Likewise.
23318         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23319         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23320         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23321         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23322         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23323         Likewise.
23325 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23327         [BZ #16545]
23328         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23329         model 1.
23331 2014-02-12  Richard Henderson  <rth@redhat.com>
23333         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23334         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23335         * sysdeps/unix/sysv/linux/alpha: Move directory from
23336         ports/sysdeps/unix/sysv/linux/alpha.
23337         * README: Update listing for alpha-*-linux-gnu.
23339 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23341         * include/features.h: Update comment documenting feature test
23342         macros.
23343         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23344         _DEFAULT_SOURCE.
23345         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23346         (_SVID_SOURCE): Likewise.
23347         (_DEFAULT_SOURCE): Update description of default features.
23348         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23349         with _GNU_SOURCE.
23350         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23351         (S_ISVTX): Likewise.
23352         * manual/math.texi (Mathematical Constants): Likewise.
23353         * manual/signal.texi (Interrupted Primitives): Likewise.
23354         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23355         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23356         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23357         Don't refer to _SVID_SOURCE in warning text.
23359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23361         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23362         already defined.
23363         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23364         * sysdeps/mips/dl-lookup.c: Remove.
23365         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23367 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23369         [BZ #16447]
23370         * math/auto-libm-test-in: Add testcase for expl.
23371         * math/auto-libm-test-out: Regenerate.
23372         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23373         calculation of unsafe.
23374         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23376 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23378         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23379         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23380         ports/sysdeps/unix/sysv/linux/aarch64.
23381         * README: Update listing for aarch64*-*-linux-gnu.
23383 2014-02-11  Will Newton  <will.newton@linaro.org>
23385         * manual/probes.texi (Mathematical Function Probes): Use
23386         "triggered" instead of "hit".
23388         * manual/probes.texi (Internal Probes): Add documentation
23389         of setjmp, longjmp and longjmp_target probes.
23391         * include/stap-probe.h: Add comment about probe argument
23392         format.
23394         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23395         definition.  (tr_where, tr_freehook, tr_mallochook,
23396         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23398 2014-02-11  David S. Miller  <davem@davemloft.net>
23400         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23401         processing int_tests.
23403 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23405         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23406         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23407         * sysdeps/unix/sysv/linux/mips: Move directory from
23408         ports/sysdeps/unix/sysv/linux/mips.
23409         * README: Update listing for mips-*-linux-gnu and
23410         mips64-*-linux-gnu.
23412 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23414         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23415         * sysdeps/unix/sysv/linux/m68k: Move directory from
23416         ports/sysdeps/unix/sysv/linux/m68k.
23417         * README: Update listing for m68k-*-linux-gnu.
23419 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23421         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23422         * sysdeps/unix/sysv/linux/generic: Move directory from
23423         ports/sysdeps/unix/sysv/linux/generic.
23424         * sysdeps/unix/sysv/linux/tile: Move directory from
23425         ports/sysdeps/unix/sysv/linux/tile.
23426         * README: Update listing for tile*-*-linux-gnu.
23428 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23430         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23431         __builtin_expect.
23432         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23433         * catgets/open_catalog.c (__open_catalog): Likewise.
23434         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23435         * debug/confstr_chk.c: Likewise.
23436         * debug/fread_chk.c (__fread_chk): Likewise.
23437         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23438         * debug/getgroups_chk.c: Likewise.
23439         * debug/mbsnrtowcs_chk.c: Likewise.
23440         * debug/mbsrtowcs_chk.c: Likewise.
23441         * debug/mbstowcs_chk.c: Likewise.
23442         * debug/memcpy_chk.c: Likewise.
23443         * debug/memmove_chk.c: Likewise.
23444         * debug/mempcpy_chk.c: Likewise.
23445         * debug/memset_chk.c: Likewise.
23446         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23447         * debug/strcat_chk.c (__strcat_chk): Likewise.
23448         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23449         * debug/strncat_chk.c (__strncat_chk): Likewise.
23450         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23451         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23452         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23453         * debug/wcpncpy_chk.c: Likewise.
23454         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23455         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23456         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23457         * debug/wcsncpy_chk.c: Likewise.
23458         * debug/wcsnrtombs_chk.c: Likewise.
23459         * debug/wcsrtombs_chk.c: Likewise.
23460         * debug/wcstombs_chk.c: Likewise.
23461         * debug/wmemcpy_chk.c: Likewise.
23462         * debug/wmemmove_chk.c: Likewise.
23463         * debug/wmempcpy_chk.c: Likewise.
23464         * debug/wmemset_chk.c: Likewise.
23465         * dirent/scandirat.c (SCANDIRAT): Likewise.
23466         * dlfcn/dladdr1.c (dladdr1): Likewise.
23467         * dlfcn/dladdr.c (dladdr): Likewise.
23468         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23469         * dlfcn/dlerror.c (__dlerror): Likewise.
23470         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23471         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23472         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23473         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23474         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23475         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23476         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23477         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23478         Likewise.
23479         * elf/dl-conflict.c: Likewise.
23480         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23481         * elf/dl-dst.h: Likewise.
23482         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23483         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23484         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23485         * elf/dl-init.c (call_init, _dl_init): Likewise.
23486         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23487         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23488         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23489         Likewise.
23490         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23491         Likewise.
23492         * elf/dl-minimal.c (__libc_memalign): Likewise.
23493         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23494         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23495         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23496         * elf/dl-sym.c (do_sym): Likewise.
23497         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23498         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23499         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23500         * elf/dl-writev.h (_dl_writev): Likewise.
23501         * elf/ldconfig.c (search_dir): Likewise.
23502         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23503         (dl_main): Likewise.
23504         * elf/setup-vdso.h (setup_vdso): Likewise.
23505         * grp/compat-initgroups.c (compat_call): Likewise.
23506         * grp/fgetgrent.c (fgetgrent): Likewise.
23507         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23508         * grp/putgrent.c (putgrent): Likewise.
23509         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23510         Likewise.
23511         * hurd/hurdinit.c: Likewise.
23512         * iconvdata/8bit-gap.c (struct): Likewise.
23513         * iconvdata/ansi_x3.110.c : Likewise.
23514         * iconvdata/big5.c : Likewise.
23515         * iconvdata/big5hkscs.c : Likewise.
23516         * iconvdata/cp1255.c: Likewise.
23517         * iconvdata/cp1258.c : Likewise.
23518         * iconvdata/cp932.c : Likewise.
23519         * iconvdata/euc-cn.c: Likewise.
23520         * iconvdata/euc-jisx0213.c : Likewise.
23521         * iconvdata/euc-jp.c: Likewise.
23522         * iconvdata/euc-jp-ms.c : Likewise.
23523         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23524         * iconvdata/gb18030.c : Likewise.
23525         * iconvdata/gbbig5.c (const): Likewise.
23526         * iconvdata/gbgbk.c: Likewise.
23527         * iconvdata/gbk.c : Likewise.
23528         * iconvdata/ibm1364.c : Likewise.
23529         * iconvdata/ibm930.c : Likewise.
23530         * iconvdata/ibm932.c: Likewise.
23531         * iconvdata/ibm933.c : Likewise.
23532         * iconvdata/ibm935.c : Likewise.
23533         * iconvdata/ibm937.c : Likewise.
23534         * iconvdata/ibm939.c : Likewise.
23535         * iconvdata/ibm943.c: Likewise.
23536         * iconvdata/iso_11548-1.c: Likewise.
23537         * iconvdata/iso-2022-cn.c : Likewise.
23538         * iconvdata/iso-2022-cn-ext.c : Likewise.
23539         * iconvdata/iso-2022-jp-3.c: Likewise.
23540         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23541         * iconvdata/iso-2022-kr.c : Likewise.
23542         * iconvdata/iso646.c (gconv_end): Likewise.
23543         * iconvdata/iso_6937-2.c : Likewise.
23544         * iconvdata/iso_6937.c : Likewise.
23545         * iconvdata/iso8859-1.c: Likewise.
23546         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23547         * iconvdata/shift_jisx0213.c : Likewise.
23548         * iconvdata/sjis.c : Likewise.
23549         * iconvdata/t.61.c : Likewise.
23550         * iconvdata/tcvn5712-1.c : Likewise.
23551         * iconvdata/tscii.c: Likewise.
23552         * iconvdata/uhc.c : Likewise.
23553         * iconvdata/unicode.c (gconv_end): Likewise.
23554         * iconvdata/utf-16.c (gconv_end): Likewise.
23555         * iconvdata/utf-32.c (gconv_end): Likewise.
23556         * iconvdata/utf-7.c (base64): Likewise.
23557         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23558         * iconv/gconv_close.c (__gconv_close): Likewise.
23559         * iconv/gconv_open.c (__gconv_open): Likewise.
23560         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23561         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23562         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23563         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23564         (ucs4le_internal_loop_single): Likewise.
23565         * iconv/iconv.c (iconv): Likewise.
23566         * iconv/iconv_close.c: Likewise.
23567         * iconv/loop.c (SINGLE): Likewise.
23568         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23569         * include/atomic.h: Likewise.
23570         * inet/inet6_option.c (option_alloc): Likewise.
23571         * intl/bindtextdom.c (set_binding_values): Likewise.
23572         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23573         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23574         * intl/localealias.c (read_alias_file): Likewise.
23575         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23576         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23577         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23578         * libio/fmemopen.c (fmemopen): Likewise.
23579         * libio/iofgets.c (_IO_fgets): Likewise.
23580         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23581         * libio/iofgetws.c (fgetws): Likewise.
23582         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23583         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23584         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23585         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23586         * locale/findlocale.c (_nl_find_locale): Likewise.
23587         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23588         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23589         Likewise.
23590         * locale/setlocale.c (setlocale): Likewise.
23591         * login/programs/pt_chown.c (main): Likewise.
23592         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23593         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23594         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23595         (mmap, mmap64, mremap, munmap): Likewise.
23596         * math/e_exp2l.c: Likewise.
23597         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23598         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23599         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23600         * math/s_catan.c (__catan): Likewise.
23601         * math/s_catanf.c (__catanf): Likewise.
23602         * math/s_catanh.c (__catanh): Likewise.
23603         * math/s_catanhf.c (__catanhf): Likewise.
23604         * math/s_catanhl.c (__catanhl): Likewise.
23605         * math/s_catanl.c (__catanl): Likewise.
23606         * math/s_ccosh.c (__ccosh): Likewise.
23607         * math/s_ccoshf.c (__ccoshf): Likewise.
23608         * math/s_ccoshl.c (__ccoshl): Likewise.
23609         * math/s_cexp.c (__cexp): Likewise.
23610         * math/s_cexpf.c (__cexpf): Likewise.
23611         * math/s_cexpl.c (__cexpl): Likewise.
23612         * math/s_clog10.c (__clog10): Likewise.
23613         * math/s_clog10f.c (__clog10f): Likewise.
23614         * math/s_clog10l.c (__clog10l): Likewise.
23615         * math/s_clog.c (__clog): Likewise.
23616         * math/s_clogf.c (__clogf): Likewise.
23617         * math/s_clogl.c (__clogl): Likewise.
23618         * math/s_csin.c (__csin): Likewise.
23619         * math/s_csinf.c (__csinf): Likewise.
23620         * math/s_csinh.c (__csinh): Likewise.
23621         * math/s_csinhf.c (__csinhf): Likewise.
23622         * math/s_csinhl.c (__csinhl): Likewise.
23623         * math/s_csinl.c (__csinl): Likewise.
23624         * math/s_csqrt.c (__csqrt): Likewise.
23625         * math/s_csqrtf.c (__csqrtf): Likewise.
23626         * math/s_csqrtl.c (__csqrtl): Likewise.
23627         * math/s_ctan.c (__ctan): Likewise.
23628         * math/s_ctanf.c (__ctanf): Likewise.
23629         * math/s_ctanh.c (__ctanh): Likewise.
23630         * math/s_ctanhf.c (__ctanhf): Likewise.
23631         * math/s_ctanhl.c (__ctanhl): Likewise.
23632         * math/s_ctanl.c (__ctanl): Likewise.
23633         * math/w_pow.c: Likewise.
23634         * math/w_powf.c: Likewise.
23635         * math/w_powl.c: Likewise.
23636         * math/w_scalb.c (sysv_scalb): Likewise.
23637         * math/w_scalbf.c (sysv_scalbf): Likewise.
23638         * math/w_scalbl.c (sysv_scalbl): Likewise.
23639         * misc/error.c (error_tail): Likewise.
23640         * misc/pselect.c (__pselect): Likewise.
23641         * nis/nis_callback.c (__nis_create_callback): Likewise.
23642         * nis/nis_call.c (__nisfind_server): Likewise.
23643         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23644         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23645         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23646         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23647         * nis/nis_lookup.c (nis_lookup): Likewise.
23648         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23649         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23650         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23651         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23652         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23653         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23654         * nis/nss_compat/compat-initgroups.c (add_group)
23655         (internal_getgrent_r): Likewise.
23656         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23657         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23658         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23659         (internal_getspnam_r): Likewise.
23660         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23661         (_nss_nis_getaliasbyname_r): Likewise.
23662         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23663         (_nss_nis_getntohost_r): Likewise.
23664         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23665         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23666         (_nss_nis_getgrgid_r): Likewise.
23667         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23668         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23669         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23670         (_nss_nis_gethostbyname4_r): Likewise.
23671         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23672         (initgroups_netid): Likewise.
23673         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23674         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23675         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23676         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23677         (_nss_nis_getprotobynumber_r): Likewise.
23678         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23679         (_nss_nis_getsecretkey): Likewise.
23680         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23681         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23682         (_nss_nis_getpwuid_r): Likewise.
23683         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23684         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23685         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23686         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23687         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23688         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23689         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23690         Likewise.
23691         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23692         (_nss_nisplus_getntohost_r): Likewise.
23693         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23694         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23695         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23696         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23697         Likewise.
23698         * nis/nss_nisplus/nisplus-initgroups.c
23699         (_nss_nisplus_initgroups_dyn): Likewise.
23700         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23701         (_nss_nisplus_getnetbyaddr_r): Likewise.
23702         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23703         (_nss_nisplus_getprotobynumber_r): Likewise.
23704         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23705         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23706         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23707         Likewise.
23708         * nis/nss_nisplus/nisplus-service.c
23709         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23710         (_nss_nisplus_getservbyport_r): Likewise.
23711         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23712         (_nss_nisplus_getspnam_r): Likewise.
23713         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23714         Likewise.
23715         * nscd/aicache.c (addhstaiX): Likewise.
23716         * nscd/cache.c (cache_search, prune_cache): Likewise.
23717         * nscd/connections.c (register_traced_file, send_ro_fd)
23718         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23719         (main_loop_epoll): Likewise.
23720         * nscd/grpcache.c (addgrbyX): Likewise.
23721         * nscd/hstcache.c (addhstbyX): Likewise.
23722         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23723         * nscd/mem.c (gc, mempool_alloc): Likewise.
23724         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23725         (addinnetgrX): Likewise.
23726         * nscd/nscd-client.h (__nscd_acquire_maplock)
23727         (__nscd_drop_map_ref): Likewise.
23728         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23729         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23730         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23731         Likewise.
23732         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23733         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23734         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23735         (__nscd_get_map_ref): Likewise.
23736         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23737         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23738         Likewise.
23739         * nscd/pwdcache.c (addpwbyX): Likewise.
23740         * nscd/selinux.c (preserve_capabilities): Likewise.
23741         * nscd/servicescache.c (addservbyX): Likewise.
23742         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23743         * posix/fnmatch.c (fnmatch): Likewise.
23744         * posix/getopt.c (_getopt_internal_r): Likewise.
23745         * posix/glob.c (glob, glob_in_dir): Likewise.
23746         * posix/wordexp.c (exec_comm_child): Likewise.
23747         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23748         (getanswer_r, gaih_getanswer_slice): Likewise.
23749         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23750         * resolv/res_init.c: Likewise.
23751         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23752         * resolv/res_query.c (__libc_res_nquery): Likewise.
23753         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23754         Likewise.
23755         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23756         * stdio-common/perror.c (perror): Likewise.
23757         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23758         * stdio-common/tmpnam.c (tmpnam): Likewise.
23759         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23760         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23761         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23762         Likewise.
23763         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23764         * stdlib/putenv.c (putenv): Likewise.
23765         * stdlib/setenv.c (__add_to_environ): Likewise.
23766         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23767         * stdlib/strtol_l.c (INTERNAL): Likewise.
23768         * string/memmem.c (memmem): Likewise.
23769         * string/strerror.c (strerror): Likewise.
23770         * string/strnlen.c (__strnlen): Likewise.
23771         * string/test-memmem.c (simple_memmem): Likewise.
23772         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23773         * sunrpc/pm_getport.c (__get_socket): Likewise.
23774         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23775         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23776         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23777         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23778         Likewise.
23779         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23780         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23781         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23782         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23783         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23784         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23785         Likewise.
23786         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23787         Likewise.
23788         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23789         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23790         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23791         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23792         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23793         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23794         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23795         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23796         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23797         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23798         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23799         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23800         Likewise.
23801         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23802         Likewise.
23803         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23804         Likewise.
23805         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23806         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23807         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23808         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23809         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23810         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23811         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23812         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23813         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23814         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23815         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23816         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23817         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23818         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23819         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23820         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23821         Likewise.
23822         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23823         Likewise.
23824         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23825         Likewise.
23826         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23827         Likewise.
23828         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23829         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23830         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23831         Likewise.
23832         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23833         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23834         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23835         * sysdeps/posix/sleep.c: Likewise.
23836         * sysdeps/posix/tempname.c: Likewise.
23837         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23838         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23839         Likewise.
23840         * sysdeps/powerpc/powerpc32/dl-machine.h
23841         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23842         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23844         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23845         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23846         Likewise.
23847         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23848         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23849         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23850         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23851         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23852         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23853         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23854         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23855         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23856         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23857         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23858         (elf_machine_lazy_rel): Likewise.
23859         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23860         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23861         (elf_machine_lazy_rel): Likewise.
23862         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23863         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23864         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23865         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23866         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23867         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23868         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23869         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23870         Likewise.
23871         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23872         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23873         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23874         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23875         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23876         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23877         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23878         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23879         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23880         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23881         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23882         Likewise.
23883         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23884         (__posix_fallocate64_l64): Likewise.
23885         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23886         (posix_fallocate): Likewise.
23887         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23888         Likewise.
23889         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23890         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23891         (getifaddrs_internal): Likewise.
23892         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23893         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23894         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23895         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23896         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23897         (__posix_fallocate64_l64): Likewise.
23898         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23899         Likewise.
23900         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23901         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23902         (__get_clockfreq): Likewise.
23903         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23904         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23905         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23906         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23908         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23909         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23910         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23911         Likewise.
23912         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23913         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23914         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23915         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23916         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23917         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23918         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23919         Likewise.
23920         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23921         (posix_fallocate): Likewise.
23922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23923         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23924         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23925         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23926         (elf_machine_rela, elf_machine_rela_relative)
23927         (elf_machine_lazy_rel): Likewise.
23928         * time/asctime.c (asctime_internal): Likewise.
23929         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23930         * time/tzset.c (__tzset_parse_tz): Likewise.
23931         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23932         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23933         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23934         * wcsmbs/wcsmbsload.h: Likewise.
23936         [BZ #15894]
23937         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23939         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23940         (arena_get2): Remove THREAD_STATS conditionals.
23941         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23942         (__malloc_stats, int): Likewise.
23944 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23946         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23947         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23949         * manual/setjmp.texi: Fix typos/grammar errors.
23951         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23952         Only return early when n is <= 0.  Delete unused return statement.
23954         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23955         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23956         * debug/tst-longjmp_chk3.c: New file.
23958         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23959         (test_main): Replace code with set_fortify_handler call.
23960         * debug/test-strcpy_chk.c: Likewise.
23961         * debug/tst-chk1.c: Likewise.
23962         * debug/tst-longjmp_chk.c: Likewise.
23963         * test-skeleton.c: Include fcntl.h & paths.h
23964         (set_fortify_handler): Define.
23966         * debug/tst-longjmp_chk.c: Add header comment and include
23967         ../test-skeleton.c.
23968         (do_test): Mark static.
23969         (TEST_FUNCTION): Define.
23971         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23972         (IP_PMTUDISC_INTERFACE): Likewise.
23973         (IP_MULTICAST_IF): Likewise.
23974         (IP_MULTICAST_TTL): Likewise.
23975         (IP_MULTICAST_LOOP): Likewise.
23976         (IP_ADD_MEMBERSHIP): Likewise.
23977         (IP_DROP_MEMBERSHIP): Likewise.
23978         (IP_UNBLOCK_SOURCE): Likewise.
23979         (IP_BLOCK_SOURCE): Likewise.
23980         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23981         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23982         (IP_MSFILTER): Likewise.
23983         (MCAST_JOIN_GROUP): Likewise.
23984         (MCAST_BLOCK_SOURCE): Likewise.
23985         (MCAST_UNBLOCK_SOURCE): Likewise.
23986         (MCAST_LEAVE_GROUP): Likewise.
23987         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23988         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23989         (MCAST_MSFILTER): Likewise.
23990         (IP_MULTICAST_ALL): Likewise.
23991         (IP_UNICAST_IF): Likewise.
23993         * timezone/Makefile: Delete $(have-ksh) check.
23994         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23995         * timezone/tzselect.ksh: Add +x mode bits.
23997         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23998         (ANON_INODE_FS_MAGIC): Likewise.
23999         (BDEVFS_MAGIC): Likewise.
24000         (BINFMTFS_MAGIC): Likewise.
24001         (BTRFS_TEST_MAGIC): Likewise.
24002         (CRAMFS_MAGIC_WEND): Likewise.
24003         (DEBUGFS_MAGIC): Likewise.
24004         (ECRYPTFS_SUPER_MAGIC): Likewise.
24005         (EXT3_SUPER_MAGIC): Likewise.
24006         (EXT4_SUPER_MAGIC): Likewise.
24007         (FUTEXFS_SUPER_MAGIC): Likewise.
24008         (HOSTFS_SUPER_MAGIC): Likewise.
24009         (HUGETLBFS_MAGIC): Likewise.
24010         (MINIX3_SUPER_MAGIC): Likewise.
24011         (MTD_INODE_FS_MAGIC): Likewise.
24012         (NILFS_SUPER_MAGIC): Likewise.
24013         (OPENPROM_SUPER_MAGIC): Likewise.
24014         (PIPEFS_MAGIC): Likewise.
24015         (PSTOREFS_MAGIC): Likewise.
24016         (QNX6_SUPER_MAGIC): Likewise.
24017         (RAMFS_MAGIC): Likewise.
24018         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24019         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24020         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24021         (SECURITYFS_MAGIC): Likewise.
24022         (SELINUX_MAGIC): Likewise.
24023         (SMACK_MAGIC): Likewise.
24024         (SOCKFS_MAGIC): Likewise.
24025         (SQUASHFS_MAGIC): Likewise.
24026         (STACK_END_MAGIC): Likewise.
24027         (TMPFS_MAGIC): Likewise.
24028         (USBDEVICE_SUPER_MAGIC): Likewise.
24029         (V9FS_MAGIC): Likewise.
24030         (XENFS_SUPER_MAGIC): Likewise.
24031         (CRAMFS_MAGIC): Fix typo in comment.
24032         (EXT2_SUPER_MAGIC): Update comment.
24033         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24035 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24037         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24038         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24039         * sysdeps/unix/sysv/linux/arm: Move directory from
24040         ports/sysdeps/unix/sysv/linux/arm.
24041         * README: Update listing for arm-*-linux-gnueabi.
24043         * README: Remove mention of am33.
24045 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24047         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24048         than the comma operator, to avoid "rhs of comma has no effect"
24049         compiler warnings.
24050         (__sigfillset, __sigandset, __sigorset): Likewise.
24051         * include/signal.h (__sigemptyset): Likewise.
24052         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24054 2014-02-07  Allan McRae  <allan@archlinux.org>
24056         * version.h (RELEASE): Set to "development".
24057         (VERSION): Set to "2.19.90"
24058         * NEWS: Add 2.20 section.
24060 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24062         [BZ #16529]
24063         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24065 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24067         * manual/contrib.texi: Update entry for Carlos O'Donell,
24068         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24070 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24072         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24074         * sysdeps/unix/sysv/linux/kernel-features.h
24075         [__LINUX_KERNEL_VERSION >= 0x020621]
24076         (__ASSUME_PROC_PID_TASK_COMM): Define.
24078 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24080         [BZ #16398]
24081         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24082         conversion when destination buffer does not have enough space.
24083         * libio/tst-ftell-partial-wide.c: New test case.
24084         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24086         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24087         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24088         Leonard and Allan McRae.
24090 2014-02-04  David S. Miller  <davem@davemloft.net>
24092         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24093         32-bit.
24095 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24098         New file
24099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24100         New file
24101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24102         New file.
24103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24104         New file.
24105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24106         New file.
24107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24108         New file.
24109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24110         New file.
24111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24112         New file.
24113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24114         New file.
24115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24116         New file.
24117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24118         New file.
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24120         New file.
24121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24122         New file.
24124 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24126         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24127         * shlib-versions: Likewise.
24129 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24130             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24132         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24133         (abilist-pattern): New variable, set to %-le.abilist.
24135         * Makerules (abilist-pattern): New variable.
24136         (vpath): Use $(abilist-pattern) in place of %.abilist.
24137         (check-abi-% pattern rule): Likewise.
24138         (check-abi, update-abi): Likewise.
24140 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24144 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24146         * manual/startup.texi: Add next, previous, and top entries for
24147         the `Program Arguments' and `Environment Variables' nodes.
24149 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24151         * manual/macros.texi: Add comments before MTASC-safety macros.
24153         * manual/users.texi: Document MTASC-safety properties.
24155         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24156         (pthread_getspecific, pthread_setspecific): Format with
24157         @deftypefun, and add @safety note.
24158         * manual/signal.texi: Move comments that analyze the above
24159         functions to their home place.
24161 2014-02-03  Allan McRae  <allan@archlinux.org>
24163         * po/sl.po: Update Slovenian translation from translation project.
24165 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24167         * manual/time.texi (timegm): Add missing blank after @c.
24168         Reported by Joseph Myers <joseph@codesourcery.com>.
24170 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24172         * manual/check-safety.sh: New.
24173         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24175         * manual/terminal.texi: Document MTASC-safety properties.
24177         * manual/filesys.texi: Document MTASC-safety properties.
24179         * manual/errno.texi: Document MTASC-safety properties.
24181         * manual/intro.texi: Document safety identifiers and
24182         conditionals.
24184         * manual/string.texi (wcstok): Fix prototype.
24185         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24187         * manual/time.texi: Document MTASC-safety properties.
24189         * manual/string.texi: Document MTASC-safety properties.
24191         * manual/threads.texi: Document MTASC-safety properties.
24193         * manual/stdio.texi: Document MTASC-safety properties.
24195         * manual/syslog.texi: Document MTASC-safety properties.
24197         * manual/sysinfo.texi: Document MTASC-safety properties.
24199         * manual/startup.texi: Document MTASC-safety properties.
24201         * manual/socket.texi: Document MTASC-safety properties.
24203         * manual/signal.texi: Document MTASC-safety properties.
24205 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24207         * manual/setjmp.texi: Document MTASC-safety properties.
24209         * manual/search.texi: Document MTASC-safety properties.
24211         * manual/resource.texi: Document MTASC-safety properties.
24213         * manual/process.texi: Document MTASC-safety properties.
24215         * manual/platform.texi: Document MTASC-safety properties.
24217         * manual/pipe.texi: Document MTASC-safety properties.
24219         * manual/pattern.texi: Document MTASC-safety properties.
24221         * manual/message.texi: Document MTASC-safety properties.
24223         [BZ #12751]
24224         * manual/memory.texi: Document MTASC-safety properties.
24226         * manual/math.texi: Document MTASC-safety properties.
24228         * manual/locale.texi: Document MTASC-safety properties.
24230         * manual/llio.texi: Document MTASC-safety properties.
24232         * manual/libdl.texi: New.
24234         * manual/lang.texi: Document MTASC-safety properties.
24236         * manual/job.texi: Document MTASC-safety properties.
24238         * manual/getopt.texi: Document MTASC-safety properties.
24240         * manual/ctype.texi: Document MTASC-safety properties.
24242 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24244         [BZ #16046]
24245         * csu/libc-tls.c (static_map): Remove variable.
24246         (__libc_setup_tls): Use main executable's link map for TLS data.
24247         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24248         casing for LM_ID_BASE and GL(dl_nns).
24249         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24250         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24251         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24252         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24253         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24254         member.
24255         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24256         l_phnum members.
24258 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24260         * manual/debug.texi: Document MTASC-safety properties.
24262 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24264         [BZ #16510]
24265         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24266         of __x86_64__ when disabling x87 inline functions.
24268 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24270         * manual/charset.texi: Document MTASC-safety properties.
24272         * manual/crypt.texi: Document MTASC-safety properties.
24274         * manual/conf.texi: Document MTASC-safety properties.
24276         * manual/arith.texi: Document MTASC-safety properties.
24278         * manual/argp.texi: Document MTASC-safety properties.
24280         * manual/macros.texi: Introduce macros to document multi
24281         thread, asynchronous signal and asynchronous cancellation
24282         safety properties.
24283         * manual/intro.texi: Introduce the properties themselves.
24285 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24287         * sysdeps/sh/sh4/Makefile: New file.
24289 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24291         * math/gen-libm-test.pl ($srcdir): New variable.
24292         ($auto_input): Use it.
24294 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24296         [BZ #16506]
24297         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24298         access beyond array bounds when parsing netgroups file.
24300         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24301         the old buffer before realloc.
24303 2014-01-27  Allan McRae  <allan@archlinux.org>
24305         * po/fr.po: Update French translation from translation project.
24307 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24309         * sysdeps/sh/libm-test-ulps: Regenerate.
24311 2014-01-24  David S. Miller  <davem@davemloft.net>
24313         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24315 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24317         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24318         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24320 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24322         [BZ #16474]
24323         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24324         string pointers after reallocation.
24326 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24328         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24329         __SH4A__ instead of __SH_FPU_ANY__.
24331 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24333         * sysdeps/sh/fpu_control.h: New file.
24334         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24335         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24336         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24337         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24338         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24339         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24340         * sysdeps/sh/sys/ucontext.h: Remove.
24341         * sysdeps/sh/sys: Remove directory.
24343 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24345         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24346         s390/sys/ucontext.h.
24347         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24348         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24350 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24352         [BZ #15605]
24353         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24355 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24357         [BZ#16431]
24358         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24359         Adjust the vDSO correctly for internal calls.
24360         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24362 2014-01-20  Allan McRae  <allan@archlinux.org>
24364         * po/ca.po: Update Catalan translation from translation project.
24366 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24368         * sysdeps/s390/sotruss-lib.c: New file.
24370 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24372         [BZ#16430]
24373         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24374         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24375         local calls issues by not having a PLT stub required for IFUNC calls.
24376         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24378 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24380         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24381         * math/test-fpucw-static.c: Likewise.
24383 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24385         [BZ #16453]
24386         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24388 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24390         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24391         implementation for powerpc.
24393 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24395         [BZ #14782]
24396         * sysdeps/posix/system.c (__libc_system): Do not enable
24397         asynchronous cancellation.
24399 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24401         [BZ #16427]
24402         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24403         handling only for numbers special also in the IEEE case.
24405 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24407         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24409 2014-01-11  Allan McRae  <allan@archlinux.org>
24411         * po/bg.po: Update Bulgarian translation from translation project.
24413         * po/de.po: Update German translation from translation project.
24415 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24417         * sysdeps/generic/gcc-compat.h: New file.
24419 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24421         * benchtests/asin-inputs: Correct slow inputs.
24422         * benchtests/acos-inputs: Likewise.
24424 2014-01-10  Allan McRae  <allan@archlinux.org>
24426         * po:sv.po: Update Swedish translation from translation project.
24428         * po/vi.po: Update Vietnamese translation from translation project.
24430         * po/eo.po: Update Esperanto translation from translation project.
24432         * po/cs.po: Update Czech translation from translation project.
24434         * po/nl.po: Update Dutch translation from translation project.
24436         * po/pl.po: Update Polish translation from translation project.
24438         * po/ru.po: Update Russian translation from translation project.
24440         * po/uk.po: Update Ukrainian translation from translation project.
24442 2014-01-08  Brooks Moses  <bmoses@google.com>
24444         * elf/dl-load.c: Fix comment typo.
24446 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24448         * po/header.pot: Rename to...
24449         * po/pot.header: ... this.
24450         * po/Makefile: Use pot.header.
24452 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24453             Maxim Kuvyrkov  <maxim@kugelworks.com>
24455         [BZ #16394]
24456         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24457         SRC and DEST against LEN.
24459 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24461         [BZ #16414]
24462         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24463         implementation.
24464         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24466 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24470 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24472         [BZ #16408]
24473         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24474         for large positive arguments.
24476 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24478         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24480         * math/auto-libm-test-in: Mark various tests with
24481         xfail-rounding:ldbl-128ibm.
24482         * math/auto-libm-test-out: Regenerated.
24484         [BZ #16407]
24485         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24486         Increase overflow threshold.
24488 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24490         [BZ #14286]
24491         * stdio-common/vfprintf.c: Check for integer overflow.
24493 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24495         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24496         the first argument and return value of __tls_get_addr_internal.
24498 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24500         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24501         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24503 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24505         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24506         * sysdeps/s390/rtld-global-offsets.sym: New file.
24507         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24508         GLIBC_2.19 symbol.
24509         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24510         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24512         ... this.
24513         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24514         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24515         ... this.
24516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24517         Regenerate.
24518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24519         Regenerate.
24520         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24521         halfs of GPRs for high_gprs contexts.
24522         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24523         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24524         field.
24525         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24526         uc_flags field.
24527         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24528         64 bit versions:
24529         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24530         for high GPRs (uc_high_gprs) and for future extensions
24531         (__reserved).
24532         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24533         for future extensions (__reserved).
24534         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24535         64 bit versions:
24536         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24537         SC_HIGHGPRS offset definition.
24538         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24539         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24541         * Versions.def: Add GLIBC_2.19 for libpthread.
24542         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24543         siglongjmp for libpthread with GLIBC_2.19 symver.
24544         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24545         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24546         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24547         * sysdeps/s390/__longjmp.c: New file.
24548         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24549         * sysdeps/s390/longjmp.c: New file.
24550         * sysdeps/s390/setjmp.S: New file.
24551         * sysdeps/s390/sigjmp.S: New file.
24552         * sysdeps/s390/v1-longjmp.c: New file.
24553         * sysdeps/s390/v1-setjmp.h: New file.
24554         * sysdeps/s390/v1-sigjmp.c: New file.
24555         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24556         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24557         GLIBC_2.19 version.
24558         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24559         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24560         versioned symbols for ____longjmp_chk.
24561         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24562         Likewise.
24563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24564         Regenerate.
24565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24566         Regenerate.
24567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24568         Regenerate.
24569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24570         Regenerate.
24571         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24572         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24573         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24574         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24575         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24576         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24577         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24578         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24579         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24580         * sysdeps/s390/rtld-__longjmp.c: New file.
24581         * sysdeps/s390/rtld-setjmp.S: New file.
24583 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24585         [BZ #16400]
24586         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24587         Return -__logl (x) for small positive arguments without evaluating
24588         a polynomial.
24590 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24592         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24593         Rename to ...
24594         (__ptrace_peeksiginfo_args): ... this.
24595         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24596         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24597         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24599 2014-01-06  Allan McRae  <allan@archlinux.org>
24601         * inet/netinet/in.h: Fix typo in comment.
24603 2014-01-05  Andreas Jaeger  <aj@suse.de>
24605         * sysdeps/i386/fpu/libm-test-ulps: Update.
24607 2014-01-05  Allan McRae  <allan@archlinux.org>
24609         * po/libc.pot: Regenerated.
24611         * malloc/memusagestat.c: Fix gettext call formatting.
24613 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24615         * nscd/nscd.c: Improve usage() output.
24617 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24619         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24620         * sysdeps/unix/sysv/linux/configure: Regenerated.
24621         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24622         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24624 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24626         [BZ #16390]
24627         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24628         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24630 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24632         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24633         extra tokens at end of #undef directive.
24634         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24635         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24636         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24638 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24640         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24642         * math/auto-libm-test-in: Mark various tests with
24643         xfail-rounding:ldbl-128ibm.
24644         * math/auto-libm-test-out: Regenerated.
24646 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24648         [BZ #16386]
24649         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24650         numbers with subnormal high part when calculating exponent.
24652         [BZ #16385]
24653         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24654         fabs.
24656         [BZ #16384]
24657         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24658         M_LN2l.
24659         (__ieee754_acoshl): Use __log1pl not __log1p.
24661 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24663         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24664         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24665         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24666         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24667         (reused_arena, arena_get2): Convert to GNU style.
24668         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24669         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24670         (memalign_check, __malloc_set_state): Likewise.
24671         * malloc/mallocbug.c (main): Likewise.
24672         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24673         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24674         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24675         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24676         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24677         (__posix_memalign, malloc_info): Likewise.
24678         * malloc/malloc.h: Likewise.
24679         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24680         (mallochook, memalignhook, reallochook, mabort): Likewise.
24681         * malloc/mcheck.h: Likewise.
24682         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24683         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24684         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24685         * malloc/morecore.c (__default_morecore): Likewise.
24686         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24687         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24688         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24689         (print_and_abort): Likewise.
24690         * malloc/obstack.h: Likewise.
24691         * malloc/set-freeres.c (__libc_freeres): Likewise.
24692         * malloc/tst-mallocstate.c (main): Likewise.
24693         * malloc/tst-mtrace.c (main): Likewise.
24694         * malloc/tst-realloc.c (do_test): Likewise.
24696 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24698         [BZ #16366]
24699         * nscd/netgroupcache.c (do_notfound): New function.
24700         (addgetnetgrentX): Use it.
24702         [BZ # 16365]
24703         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24704         NSS_STATUS_NOTFOUND.
24706 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24708         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24711 2014-01-01  Allan McRae  <allan@archlinux.org>
24713         * scripts/update-copyrights: Update configure input file suffix.
24715         * NEWS: Update copyright year.
24716         * catgets/gencat.c: Likewise.
24717         * csu/version.c: Likewise.
24718         * debug/catchsegv.sh: Likewise.
24719         * debug/pcprofiledump.c: Likewise.
24720         * debug/xtrace.sh: Likewise.
24721         * elf/ldconfig.c: Likewise.
24722         * elf/ldd.bash.in: Likewise.
24723         * elf/pldd.c: Likewise.
24724         * elf/sotruss.ksh: Likewise.
24725         * elf/sprof.c: Likewise.
24726         * iconv/iconv_prog.c: Likewise.
24727         * iconv/iconvconfig.c: Likewise.
24728         * locale/programs/locale.c: Likewise.
24729         * locale/programs/localedef.c: Likewise.
24730         * login/programs/pt_chown.c: Likewise.
24731         * malloc/memusage.sh: Likewise.
24732         * malloc/memusagestat.c: Likewise.
24733         * malloc/mtrace.pl: Likewise.
24734         * manual/libc.texinfo: Likewise.
24735         * nscd/nscd.c: Likewise.
24736         * nss/getent.c: Likewise.
24737         * nss/makedb.c: Likewise.
24738         * posix/getconf.c: Likewise.
24739         * scripts/test-installation.pl: Likewise.
24741         * All files with FSF copyright notices: Update copyright dates
24742         using scripts/update-copyrights.
24743         * intl/plural.c: Regenerated.
24744         * locale/programs/charmap-kw.h: Likewise.
24745         * locale/programs/locfile-kw.h: Likewise.
24747 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24749         * sysdeps/unix/sysv/linux/configure: Regenerated.
24750         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24751         the linux/fanotify.h header.
24752         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24753         HAVE_LINUX_FANOTIFY_H is defined.
24755 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24757         * benchtests/cos-inputs: New inputs.
24758         * benchtests/sin-inputs: Likewise.
24760         * benchtests/atan-inputs: New inputs. Fix name of multiple
24761         precision fallback inputs.
24763         * benchtests/atanh-inputs: New inputs.
24764         * benchtests/tanh-inputs: Likewise.
24766         * benchtests/acosh-inputs: New inputs.
24767         * benchtests/asinh-inputs: Likewise.
24769         * benchtests/cosh-inputs: New inputs.
24770         * benchtests/sinh-inputs: Likewise.
24772         * benchtests/acos-inputs: Add more inputs.
24773         * benchtests/asin-inputs: Likewise.
24775 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24777         [BZ #16375]
24778         * manual/arith.texi: Fix spelling.
24779         * manual/charset.texi: Likewise.
24780         * manual/errno.texi: Likewise.
24781         * manual/filesys.texi: Likewise.
24782         * manual/lang.texi: Likewise.
24783         * manual/llio.texi: Likewise.
24784         * manual/locale.texi: Likewise.
24785         * manual/message.texi: Likewise.
24786         * manual/resource.texi: Likewise.
24787         * manual/search.texi: Likewise.
24788         * manual/setjmp.texi: Likewise.
24789         * manual/stdio.texi: Likewise.
24790         * manual/string.texi: Likewise.
24791         * manual/sysinfo.texi: Likewise.
24792         * manual/time.texi: Likewise.
24794 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24796         * po/sl.po: New file.
24798 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24800         * .gitignore: Add core/.gdbinit/.gdb_history.
24802 2013-12-27  Allan McRae  <allan@archlinux.org>
24804         [BZ #16369]
24805         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24806         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24808 2013-12-24  Brooks Moses  <bmoses@google.com>
24810         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24811         all compilers that claim C++98 compliance, not just GCC.
24812         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24813         Likewise.
24815 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24817         * NEWS: Restore accidentally deleted bug-fix entries.
24819 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24820             Ondřej Bílka  <neleai@seznam.cz>
24822         [BZ #15073]
24823         * malloc/malloc.c (_int_free): Perform sanity check only if we
24824         have_lock.
24826 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24828         [BZ #12986]
24829         * manual/stdio.texi (String Input Conversions): Clarify that character
24830         classes are not supported.
24832 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24836 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24838         [BZ #16337]
24839         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24840         Calculate results for small negative arguments directly rather
24841         than using reflection formula with special underflow handling.
24843         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24844         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24845         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24846         (fchflags): Likewise.
24847         (revoke): Likewise.
24848         (setlogin): Likewise.
24849         (sigaltstack): Likewise.
24850         (wait4): Likewise.
24851         (sigblock): Remove.
24852         (sigsetmask): Likewise.
24853         (wait3): Likewise.
24854         (waitpid): Likewise.
24855         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24856         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24857         file.
24858         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24859         * sysdeps/unix/bsd/Makefile: ... here.
24860         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24861         * sysdeps/unix/bsd/Versions: ... here.
24862         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24863         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24864         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24865         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24866         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24867         * sysdeps/unix/bsd/sigblock.c: ... here.
24868         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24869         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24870         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24871         * sysdeps/unix/bsd/sigvec.c: ... here.
24872         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24873         * sysdeps/unix/bsd/tcdrain.c: ... here.
24874         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24875         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24876         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24877         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24878         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24879         * sysdeps/unix/bsd/wait.c: ... here.
24880         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24881         * sysdeps/unix/bsd/wait3.c: ... here.
24882         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24883         * sysdeps/unix/bsd/waitpid.c: ... here.
24885 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24887         [BZ #16356]
24888         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24889         round-to-nearest for [!USE_AS_EXPM1L].
24890         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24891         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24892         more tests of exp and exp10.  Expect some exp10 tests to miss
24893         exceptions or fail in directed rounding modes.
24894         * math/auto-libm-test-out: Regenerated.
24895         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24896         (exp10_test_tonearest): New function.
24897         (exp10_towardzero_test_data): New array.
24898         (exp10_test_towardzero): New function.
24899         (exp10_downward_test_data): New array.
24900         (exp10_test_downward): New function.
24901         (exp10_upward_test_data): New array.
24902         (exp10_test_upward): New function.
24903         (main): Call the new functions.
24904         * sysdeps/i386/fpu/libm-test-ulps: Update.
24905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24907 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24909         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24910         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24911         * math/auto-libm-test-out: Regenerated.
24912         * math/libm-test.inc (acosh_test_data): Add more tests.
24913         (atanh_test_data): Likewise.
24914         (ceil_test_data): Likewise.
24915         (copysign_test_data): Likewise.
24916         * sysdeps/i386/fpu/libm-test-ulps: Update.
24917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24919         * timezone/checktab.awk: Update from tzcode 2013i.
24920         * timezone/private.h: Likewise.
24921         * timezone/scheck.c: Likewise.
24922         * timezone/tzfile.h: Likewise.
24923         * timezone/tzselect.ksh: Likewise.
24924         * timezone/zdump.c: Likewise.
24925         * timezone/zic.c: Likewise.
24927         * math/auto-libm-test-in: Add tests of cpow.
24928         * math/auto-libm-test-out: Regenerated.
24929         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24930         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24931         mpc_cc_c.
24932         (func_calc_desc): Add mpc_cc_c union field.
24933         (test_functions): Add cpow.
24934         (special_fill_2pi): New function.
24935         (special_real_inputs): Add 2pi.
24936         (calc_generic_results): Handle mpc_cc_c.
24937         * sysdeps/i386/fpu/libm-test-ulps: Update.
24938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24940         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24941         csqrt, ctan and ctanh.
24942         * math/auto-libm-test-out: Regenerated.
24943         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24944         (TEST_COND_x86): Likewise.
24945         (ccos_test_data): Use AUTO_TESTS_c_c.
24946         (ccosh_test_data): Likewise.
24947         (cexp_test_data): Likewise.
24948         (clog_test_data): Likewise.
24949         (csqrt_test_data): Likewise.
24950         (ctan_test_data): Likewise.
24951         (ctan_tonearest_test_data): Likewise.
24952         (ctan_towardzero_test_data): Likewise.
24953         (ctan_downward_test_data): Likewise.
24954         (ctan_upward_test_data): Likewise.
24955         (ctanh_test_data): Likewise.
24956         (ctanh_tonearest_test_data): Likewise.
24957         (ctanh_towardzero_test_data): Likewise.
24958         (ctanh_downward_test_data): Likewise.
24959         (ctanh_upward_test_data): Likewise.
24960         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24961         mpc_c_c.
24962         (func_calc_desc): Add mpc_c_c union field.
24963         (FUNC_mpc_c_c): New macro.
24964         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24965         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24966         ctanh.
24967         (special_fill_min_subnorm_p120): New function.
24968         (special_real_inputs): Add min_subnorm_p120.
24969         (calc_generic_results): Handle mpc_c_c.
24970         * sysdeps/i386/fpu/libm-test-ulps: Update.
24971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24973 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24975         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24976         (do_sin_slow): New functions.
24977         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24978         (cslow2, csloww1, csloww2): Use the new functions.
24980         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24981         Use M to change sign of result instead of X.  Assume X is
24982         positive.
24983         (csloww1): Likewise.
24984         (__sin): Adjust.
24985         (__cos): Adjust.
24987         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24988         arguments A and DA.
24989         (__sin): Adjust.
24990         (__cos): Likewise.
24992         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24993         (__cos): Likewise.
24994         (sloww1): Don't adjust sign of DX.
24995         (csloww1): Likewise.
24996         (sloww2): Use X directly and don't adjust sign of DX.
24997         (csloww2): Likewise.
24999 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25001         * math/auto-libm-test-in: Add tests of cabs and carg.
25002         * math/auto-libm-test-out: Regenerated.
25003         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25004         (carg_test_data): Likewise.
25005         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25006         mpc_c_f.
25007         (func_calc_desc): Add mpc_c_f union field.
25008         (test_functions): Add cabs and carg.
25009         (calc_generic_results): Handle mpc_c_f.
25011         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25012         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25013         as a macro and a compat symbol.
25014         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25015         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25016         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25017         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25018         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25019         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25020         not use .hidden.
25021         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25022         Likewise.
25023         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25024         Likewise.
25025         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25026         Likewise.
25027         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25028         Likewise.
25029         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25030         Likewise.
25031         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25032         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25033         from GLIBC_2.3.2.
25035 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25039 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25041         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25042         trailing whitespace removed.
25043         * scripts/config.guess: Update to version 2013-11-29.
25044         * scripts/config.sub: Update to version 2013-10-01.
25046         * math/auto-libm-test-in: Add tests of sincos.
25047         * math/auto-libm-test-out: Regenerated.
25048         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25049         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25050         mpfr_f_11.
25051         (func_calc_desc): Add mpfr_f_11 union field.
25052         (test_functions): Add sincos.
25053         (calc_generic_results): Handle mpfr_f_11.
25054         * sysdeps/i386/fpu/libm-test-ulps: Update.
25055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25057 2013-12-19  Andreas Schwab  <schwab@suse.de>
25059         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25060         CALL_MCOUNT.
25061         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25062         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25063         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25065 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25067         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25068         * sysdeps/i386/fpu/libm-test-ulps: Update.
25069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25071         [BZ #16293]
25072         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25073         round-to-nearest mode when using frndint.
25074         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25075         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25077         Likewise.
25078         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25079         sinh test to fail.
25080         * math/auto-libm-test-out: Regenerated.
25081         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25082         (TEST_COND_x86): Likewise.
25083         (expm1_tonearest_test_data): New array.
25084         (expm1_test_tonearest): New function.
25085         (expm1_towardzero_test_data): New array.
25086         (expm1_test_towardzero): New function.
25087         (expm1_downward_test_data): New array.
25088         (expm1_test_downward): New function.
25089         (expm1_upward_test_data): New array.
25090         (expm1_test_upward): New function.
25091         (main): Run the new test functions.
25092         * sysdeps/i386/fpu/libm-test-ulps: Update.
25093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25095         * include/features.h: Update comment documenting feature test
25096         macros.  Mention _DEFAULT_SOURCE in comment.
25097         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25098         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25099         _BSD_SOURCE and _SVID_SOURCE.
25100         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25101         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25102         !_SVID_SOURCE]: Likewise.
25103         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25104         (__USE_POSIX_IMPLICITLY): Define.
25105         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25106         (_POSIX_SOURCE): Undefine and redefine.
25107         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25108         (_POSIX_C_SOURCE): Likewise.
25109         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25110         (Feature Test Macros): Update documentation of default features.
25112 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25114         * benchtests/Makefile: Add bench-strtok.
25115         * benchtests/bench-strtok.c: New file: strtok benchtest.
25117 2013-12-19  Allan McRae  <allan@archlinux.org>
25119         * manual/install.texi: Suppress menu for plain text output.
25120         * INSTALL: Regenerated.
25122 2013-12-18  Brooks Moses  <bmoses@google.com>
25124         [BZ #15846]
25125         * misc/getauxval.c: Include errno.h.
25126         (__getauxval): Set errno to ENOENT if the requested type is not
25127         found.
25128         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25129         don't declare with __attribute_const__.
25130         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25131         * manual/startup.texi: Document that getauxval sets errno.
25133 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25135         * math/auto-libm-test-in: Add tests of jn and yn.
25136         * math/auto-libm-test-out: Regenerated.
25137         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25138         (yn_test_data): Likewise.
25139         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25140         mpfr_if_f.
25141         (func_calc_desc): Add mpfr_if_f union field.
25142         (FUNC_mpfr_if_f): New macro.
25143         (test_functions): Add jn and yn.
25144         (calc_generic_results): Assert type of second input for
25145         mpfr_ff_f.  Handle mpfr_if_f.
25146         (output_for_one_input_case): Disable all checking for arguments
25147         fitting floating-point types in case of an integer argument.
25148         * sysdeps/i386/fpu/libm-test-ulps: Update.
25149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25152         Don't expect fegetround reference in libm.so.
25154 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25156         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25157         $(config-cflags-nofma).
25159 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25161         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25162         * math/auto-libm-test-out: Regenerated.
25164         [BZ #16338]
25165         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25166         to determine exponent and adjust argument to have exponent of -1.
25167         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25168         log2.
25169         * math/auto-libm-test-out: Regenerated.
25170         * sysdeps/i386/fpu/libm-test-ulps: Update.
25171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25173 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25175         * manual/probes.texi: Remove cases when per-thread arenas are
25176         disabled.
25178 2013-12-18  Andreas Schwab  <schwab@suse.de>
25180         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25181         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25182         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25183         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25184         * sysdeps/i386/i686/multiarch/Makefile: Update.
25185         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25187 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25189         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25190         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25192 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25194         [BZ #15968]
25195         Support TZ transition times < 00:00:00.
25196         This is needed for version-3 tz-format files; it supports time
25197         stamps past 2037 for America/Godthab (the only entry in the tz
25198         database for which this change is relevant).
25199         * manual/time.texi (TZ Variable): Document transition times
25200         from -167:59:59 through -00:00:01.
25201         * time/tzset.c (tz_rule): Time of day is now signed.
25202         (__tzset_parse_tz): Parse negative time of day.
25204         Document TZ transition times >= 25:00:00.
25205         * manual/time.texi (TZ Variable): Document transition times from
25206         25:00:00 through 167:59:59.  These are already supported, and this
25207         support will help with version-3 tz-format files.
25209         * manual/time.texi (TZ Variable): Modernize North America example
25210         to reflect current (i.e., 2007-and-later) daylight saving rules.
25212         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25214 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25216         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25217         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25219         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25220         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25221         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25222         * sysdeps/unix/bsd/clock.c: Likewise.
25223         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25224         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25225         * sysdeps/unix/bsd/init-posix.c: Likewise.
25226         * sysdeps/unix/bsd/poll.c: Likewise.
25227         * sysdeps/unix/bsd/ptsname.c: Likewise.
25228         * sysdeps/unix/bsd/seekdir.c: Likewise.
25229         * sysdeps/unix/bsd/setegid.c: Likewise.
25230         * sysdeps/unix/bsd/seteuid.c: Likewise.
25231         * sysdeps/unix/bsd/setgid.c: Likewise.
25232         * sysdeps/unix/bsd/setrgid.c: Likewise.
25233         * sysdeps/unix/bsd/setruid.c: Likewise.
25234         * sysdeps/unix/bsd/setsid.c: Likewise.
25235         * sysdeps/unix/bsd/setuid.c: Likewise.
25236         * sysdeps/unix/bsd/sigaction.c: Likewise.
25237         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25238         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25239         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25240         * sysdeps/unix/bsd/telldir.c: Likewise.
25241         * sysdeps/unix/bsd/times.c: Likewise.
25242         * sysdeps/unix/bsd/usleep.c: Likewise.
25244         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25245         ($(objpfx)libbsd-compat.a): Remove rule.
25247         * include/features.h (__FAVOR_BSD): Do not define.
25248         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25249         features conflicting with POSIX.
25250         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25251         (_BSD_SOURCE): Remove description of not being a subset of other
25252         feature test macros.
25253         * manual/job.texi (getpgrp): Do not document BSD version.
25254         (getpgid): Do not document by reference to BSD getpgrp.
25255         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25256         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25257         * signal/signal.h [__FAVOR_BSD]: Likewise.
25258         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25259         instead of making contents conditional on [__FAVOR_BSD].
25260         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25262 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25266 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25268         [BZ #16314]
25269         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25270         values below 2**-450, not 2**-500.
25271         * math/auto-libm-test-in: Don't allow spurious underflow from
25272         hypot.
25273         * math/auto-libm-test-out: Regenerated.
25275         [BZ #16316]
25276         [BZ #16330]
25277         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25278         values of ha and hb and sort them after adjusting subnormal
25279         arguments.
25280         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25281         Likewise.
25282         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25283         values of ea and eb and sort them after adjusting subnormal
25284         arguments.
25285         * math/auto-libm-test-in: Do not expect some hypot tests of
25286         subnormals to fail.  Add more hypot tests.
25287         * math/auto-libm-test-out: Regenerated.
25289 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25291         [BZ #13304]
25292         * sysdeps/sh/s_fma.c: New file.
25293         * sysdeps/sh/s_fmaf.c: New file.
25294         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25295         version.
25296         * sysdeps/sh/Implies: Add sh/soft-fp.
25298 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25300         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25301         level of indirection to members `objname', `errstring', `malloced'.
25302         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25303         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25304         it as the __longjmp argument (just pass 1 instead).
25305         (_dl_catch_error): Initialize C with argument pointers and address of
25306         volatile local ERRCODE rather than copying values out of C at return.
25308 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25310         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25311         * math/auto-libm-test-out: Regenerated.
25312         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25313         (hypot_test_data): Likewise.
25314         (pow_test_data): Likewise.
25315         (pow_tonearest_test_data): Likewise.
25316         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25317         mpfr_ff_f.
25318         (func_calc_desc): Add mpfr_ff_f union field.
25319         (FUNC_mpfr_ff_f): New macro.
25320         (test_functions): Add atan2, hypot and pow.
25321         (special_fill_min): New function.
25322         (special_fill_minus_min): Likewise.
25323         (special_fill_min_subnorm): Likewise.
25324         (special_fill_minus_min_subnorm): Likewise.
25325         (special_real_inputs): Add min, -min, min_subnorm and
25326         -min_subnorm.
25327         (calc_generic_results): Handle mpfr_ff_f.
25328         * sysdeps/i386/fpu/libm-test-ulps: Update.
25329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25331 2013-12-16  Will Newton  <will.newton@linaro.org>
25333         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25334         (Aligned Memory Blocks): Add documentation for aligned_alloc
25335         and suggest it as an alternative to posix_memalign.
25336         (Hooks for Malloc): Document __memalign_hook is also called
25337         for aligned_alloc.  (Summary of Malloc): Add summary for
25338         aligned alloc.  Document __memalign_hook is also called
25339         for aligned_alloc.
25341 2013-12-16  Will Newton  <will.newton@linaro.org>
25343         * manual/memory.texi (Malloc Examples): Clarify default
25344         alignment documentation.  Suggest posix_memalign rather
25345         than memalign or valloc.
25346         (Aligned Memory Blocks): Remove suggestion to use memalign
25347         or valloc.  Remove obsolete comment about BSD.
25348         Document memalign errno values and mark the function obsolete.
25349         Document posix_memalign returned error codes.  Mark valloc
25350         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25351         called for posix_memalign and valloc.
25352         (Summary of Malloc): Add posix_memalign to function summary.
25353         __memalign_hook is also called for posix_memalign and valloc.
25355 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25357         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25358         TAYLOR_SIN.
25359         (__sin): Adjust.
25360         (__cos): Likewise.
25361         (sloww): Use mynumber union.  Expand ternary operator into
25362         if-else statements.
25363         (cslow): use mynumber union.
25365 2013-12-16  Allan McRae  <allan@archlinux.org>
25367         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25368         * configure: Regenerated.
25370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25372         [BZ #14120]
25373         * configure.ac: Added --enable-maintainer-mode. Check for
25374         autoconf when enabled.
25375         * configure: Regenerated.
25377         * nscd/nscd.service: New file.
25378         * nscd/nscd.tmpfiles: New file.
25380 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25382         [BZ #12100]
25383         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25384         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25385         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25386         (strstr): Add __strstr_sse2_unaligned ifunc.
25387         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25388         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25389         (strcasestr): Remove __strcasestr_sse42 ifunc.
25390         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25394 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25396         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25397         * sysdeps/sh/bits/fenv.h: ... here.
25398         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25400 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25402         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25404         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25405         hypotf multiarch implementations.
25406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25408         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25409         multiarch hypot for PPC64.
25410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25412         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25413         multiarch hypotf for PPC64.
25415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25416         modff multiarch implementations.
25417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25420         multiarch modf for PPC64.
25421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25424         multiarch modff for PPC64.
25426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25427         and logl multiarch implementations.
25428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25431         multiarch logb for PPC64.
25432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25435         multiarch logb for PPC64.
25436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25439         multiarch logb for PPC64.
25441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25442         isinff multiarch implementation.
25443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25444         file.
25445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25447         multiarch isinf for PPC64.
25448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25449         file.
25450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25451         multiarch isinff for PPC64.
25453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25454         finitef multiarch implementation.
25455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25456         file.
25457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25459         multiarch finite for PPC64.
25460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25461         file.
25462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25463         multiarch finitef for PPC64.
25465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25466         lrint multiarch implementation.
25467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25468         file.
25469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25471         multiarch llrint for PPC64.
25472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25473         multiarch lrint for PPC64.
25475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25476         copysignf multiarch implementation.
25477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25478         file.
25479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25480         file.
25481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25482         multiarch copysign for PPC64.
25483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25484         multiarch copysignf for PPC64.
25486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25487         multiarch implementation.
25488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25489         file.
25490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25491         file.
25492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25493         file.
25494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25495         file.
25496         multiarch llround for PPC64.
25497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25498         multiarch trunc for PPC64.
25499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25500         multiarch truncf for PPC64.
25502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25503         multiarch implementation.
25504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25505         file.
25506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25507         file.
25508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25509         file.
25510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25511         file.
25512         multiarch llround for PPC64.
25513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25514         multiarch round for PPC64.
25515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25516         multiarch roundf for PPC64.
25518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25519         multiarch implementation.
25520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25521         file.
25522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25523         file.
25524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25525         file.
25526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25527         file.
25528         multiarch llround for PPC64.
25529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25530         multiarch floor for PPC64.
25531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25532         multiarch floorf for PPC64.
25534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25535         multiarch implementation.
25536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25537         file.
25538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25539         file.
25540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25541         file.
25542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25543         file.
25544         multiarch llround for PPC64.
25545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25546         multiarch ceil for PPC64.
25547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25548         multiarch ceilf for PPC64.
25550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25551         multiarch implementation.
25552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25553         file.
25554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25555         file.
25556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25557         file.
25558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25559         multiarch llround for PPC64.
25560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25561         multiarch lround for PPC64.
25563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25564         multiarch implementation.
25565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25568         file.
25569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25572         multiarch isnan for PPC64.
25573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25574         multiarch isnanf for PPC64.
25576         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25577         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25578         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25579         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25580         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25583         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25584         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25589         multiarch implementations.
25590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25591         (__libc_ifunc_impl_list): Likewise.
25592         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25593         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25594         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25595         multiarch stpcpy for PPC64.
25597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25598         multiarch implementations.
25599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25600         (__libc_ifunc_impl_list): Likewise.
25601         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25602         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25603         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25604         multiarch strcpy for PPC64.
25606         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25607         redefine function name.
25608         (_wordcopy_fwd_dest_aligned): Likewise.
25609         (_wordcopy_bwd_aligned): Likewise.
25610         (_wordcopy_bwd_dest_aligned): Likewise.
25611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25612         multiarch implementations.
25613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25614         (__libc_ifunc_impl_list): Likewise.
25615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25617         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25618         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25619         multiarch wcscpy for PPC64.
25621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25622         multiarch implementations.
25623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25624         (__libc_ifunc_impl_list): Likewise.
25625         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25627         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25628         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25629         multiarch wcscpy for PPC64.
25631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25632         multiarch implementations.
25633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25634         (__libc_ifunc_impl_list): Likewise.
25635         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25636         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25637         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25638         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25639         multiarch wcsrchr for PPC64.
25641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25642         multiarch implementations.
25643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25644         (__libc_ifunc_impl_list): Likewise.
25645         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25646         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25647         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25648         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25649         multiarch wcschr for PPC64.
25651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25652         multiarch implementations.
25653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25654         (__libc_ifunc_impl_list): Likewise.
25655         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25656         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25657         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25658         multiarch strchrnul for PPC64.
25660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25661         implementations.
25662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25663         (__libc_ifunc_impl_list): Likewise.
25664         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25665         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25666         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25667         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25668         strchr for PPC64.
25670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25671         implementations.
25672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25673         (__libc_ifunc_impl_list): Likewise.
25674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25675         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25676         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25677         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25678         strncmp for PPC64.
25680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25681         multiarch implementations.
25682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25683         (__libc_ifunc_impl_list): Likewise.
25684         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25685         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25686         strncasecmp for PPC64.
25687         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25688         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25689         multiarch strncasecmp_l for PPC64.
25691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25692         multiarch implementations.
25693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25694         (__libc_ifunc_impl_list): Likewise.
25695         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25696         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25697         multiarch strcasecmp for PPC64.
25698         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25699         file.
25700         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25701         multiarch strcasecmp_l for PPC64.
25703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25704         implementations.
25705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25706         (__libc_ifunc_impl_list): Likewise.
25707         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25708         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25709         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25710         strnlen for PPC64.
25712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25713         implementations.
25714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25715         (__libc_ifunc_impl_list): Likewise.
25716         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25717         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25718         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25719         strlen for PPC64.
25721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25722         implementations.
25723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25724         (__libc_ifunc_impl_list): Likewise.
25725         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25726         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25727         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25728         rawmemrchr for PPC64.
25730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25731         implementation.
25732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25733         (__libc_ifunc_impl_list): Likewise.
25734         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25735         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25736         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25737         memrchr for PPC64.
25739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25740         implementation.
25741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25742         (__libc_ifunc_impl_list): Likewise.
25743         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25744         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25745         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25746         memchr for PPC64.
25748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25749         implementation.
25750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25751         (__libc_ifunc_impl_list): Likewise.
25752         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25753         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25754         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25755         mempcpy for PPC64.
25757         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25758         avoid cretion of __bzero symbol.
25759         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25760         Likewise.
25761         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25762         Likewise.
25763         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25764         Likewise.
25765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25766         multiarch implementations.
25767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25768         (__libc_ifunc_impl_list): Likewise.
25769         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25771         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25772         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25773         bzero for PPC32.
25774         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25775         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25776         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25777         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25778         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25779         memset for PPC64.
25780         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25782         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25784         implementations.
25785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25786         (__libc_ifunc_impl_list): Likewise.
25787         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25788         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25789         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25790         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25791         memcmp for PPC64.
25793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25794         multiarch for POWER/PPC64.
25795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25796         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25801         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25802         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25803         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25804         memcpy for PPC64.
25806         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25807         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25808         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25809         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25810         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25811         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25812         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25813         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25814         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25815         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25816         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25817         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25818         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25819         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25820         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25829 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25831         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25833 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25835         * benchtests/Makefile (bench): Add exp2 and log2.
25836         (LDLIBS-bench-exp2): Add -lm.
25837         (LDLIBS-bench-log2): Likewise.
25838         * benchtests/exp2-inputs: New inputs file.
25839         * benchtests/log2-inputs: New inputs file.
25840         * benchtests/log-inputs: Add new inputs.
25841         * benchtests/tan-inputs: Likewise.
25843 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25845         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25846         definition...
25847         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25848         (csloww2): ... from here.
25850         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25851         instead of structures.
25852         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25853         (POLYNOMIAL): Likewise.
25854         (TAYLOR_SLOW): Likewise.
25855         (__sin): Likewise.
25856         (__cos): Likewise.
25857         (slow1): Likewise.
25858         (slow2): Likewise.
25859         (sloww): Likewise.
25860         (sloww1); Likewise.
25861         (sloww2): Likewise.
25862         (bsloww1): Likewise.
25863         (bsloww2): Likewise.
25864         (cslow2): Likewise.
25865         (csloww): Likewise.
25866         (csloww1): Likewise.
25867         (csloww2): Likewise.
25869 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25871         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25872         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25873         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25874         * malloc/hooks.c (realloc_check): Likewise.
25876         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25877         * malloc/arena.c: Remove PER_THREAD conditional.
25878         [!PER_THREAD]: Remove code.
25879         (ptmalloc_unlock_all2): Likewise.
25880         (ptmalloc_init): Likewise.
25881         (_int_new_arena): Likewise.
25882         (arena_get2): Likewise.
25883         * malloc/hooks.c (__malloc_get_state): Likewise.
25884         (__malloc_set_state): Likewise.
25885         * malloc/malloc.c: Likewise.
25886         (struct malloc_state): Likewise.
25887         (struct malloc_par): Likewise.
25888         (__libc_realloc): Likewise.
25889         (__libc_mallopt): Likewise.
25891 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25893         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25895 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25897         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25898         macro to a function.  Check for zero perturb_byte.
25899         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25901         * malloc/malloc.c: (force_reg): Remove.
25902         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25903         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25904         force_reg by atomic_forced_read.
25905         * malloc/arena.c (ptmalloc_init): Likewise.
25906         * malloc/hooks.c (top_check): Likewise.
25908 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25912 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25916 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25918         * math/auto-libm-test-in: Add tests of lgamma.
25919         * math/auto-libm-test-out: Regenerated.
25920         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25921         (M_LOG_2_SQRT_PIl): Likewise.
25922         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25923         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25924         mpfr_f_f1.
25925         (func_calc_desc): Add mpfr_f_f1 union field.
25926         (ARGS1): New macro.
25927         (ARGS2): Likewise.
25928         (ARGS3): Likewise.
25929         (ARGS4): Likewise.
25930         (RET1): Likewise.
25931         (RET2): Likewise.
25932         (CALC): Likewise.
25933         (FUNC): Likewise.
25934         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25935         (test_functions): Add lgamma.
25936         (calc_generic_results): Handle mpfr_f_f1.
25937         * sysdeps/i386/fpu/libm-test-ulps: Update.
25938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25940 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25942         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25943         __mpn_add_n for PowerPC64/POWER7.
25944         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25945         __mpn_sub_n for PowerPC64/POWER7.
25947         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25948         __mpn_addmul_1 for PowerPC64.
25949         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25950         __mpn_submul_1 for PowerPC64.
25951         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25952         for PowerPC64.
25953         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25954         for PowerPC64.
25956 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25958         [BZ #15089]
25959         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25961 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25963         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25965         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25966         add multiarch folders.
25967         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25968         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25969         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25970         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25971         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25972         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25973         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25974         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25975         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25976         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25977         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25986         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25988         New file.
25989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25990         New file.
25991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25992         multiarch __ieee754_hypot for PowerPC32.
25993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25994         New file.
25995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25996         New file.
25997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25998         multiarch __ieee754_hypotf for PowerPC32.
26000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26001         long_double_symbol only if __logbl is defined.
26002         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26003         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26004         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26005         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26006         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26007         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26008         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26009         path for implementation.
26010         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26011         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26013         logb, and logbl multiarch implementations for PowerPC32.
26014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26015         file.
26016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26017         file.
26018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26019         multiarch logb for PowerPC32.
26020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26021         file.
26022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26023         file.
26024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26025         multiarch logbf for PowerPC32.
26026         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26028         file.
26029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26030         multiarch logbl implementation for PowerPC32.
26032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26033         and modff multiarch implementations.
26034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26035         New file.
26036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26037         New file.
26038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26039         multiarch modf for PowerPC32.
26040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26041         New file.
26042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26043         New file.
26044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26045         multiarch modff for PowerPC32.
26047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26048         and lrintf multiarch implementations.
26049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26050         New file.
26051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26052         New file.
26053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26054         multiarch lrint for PowerPC32.
26055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26056         file: multiarch lrintf for PowerPC32.
26058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26059         and lroundf multiarch implementations.
26060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26061         New file.
26062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26063         New file.
26064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26065         New file.
26066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26067         multiarch lround for PowerPC32.
26068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26069         file: multiarch lroundf for PowerPC32.
26071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26072         copysign and copysignf multiarch implementations.
26073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26074         New file.
26075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26076         New file.
26077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26078         file: multiarch copysign for PowerPC32.
26079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26080         file: multiarch copysignf for PowerPC32.
26082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26083         and truncf multiarch implementations.
26084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26085         New file.
26086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26087         file.
26088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26089         multiarch trunc for PowerPC32.
26090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26091         New file.
26092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26093         New file.
26094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26095         multiarch truncf for PowerPC32.
26097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26098         and roundf multiarch implementations.
26099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26100         New file.
26101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26102         file.
26103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26104         multiarch round for PowerPC32.
26105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26106         New file.
26107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26108         New file.
26109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26110         multiarch roundf for PowerPC32.
26112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26113         and floorf multiarch implementations.
26114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26115         New file.
26116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26117         file.
26118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26119         multiarch floor for PowerPC32.
26120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26121         New file.
26122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26123         New file.
26124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26125         multiarch floorf for PowerPC32.
26127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26128         and ceilf multiarch implementations.
26129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26130         New file.
26131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26132         file.
26133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26134         multiarch ceil for PowerPC32.
26135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26136         New file.
26137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26138         file.
26139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26140         multiarch ceilf for PowerPC32.
26142         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26143         is defined.
26144         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26145         FINITEF is defined.
26146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26147         and finitef multiarch implementations.
26148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26149         New file.
26150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26151         file.
26152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26153         multiarch finite for PowerPC32.
26154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26155         New file.
26156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26157         file: multiarch finitef for PowerPC32.
26159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26160         and isinff multiarch implementations.
26161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26162         file.
26163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26164         file.
26165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26166         multiarch isinf for PowerPC32.
26167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26168         New file.
26169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26170         multiarch isinff for PowerPC32.
26172         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26173         alias when __isnan is defined.
26174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26175         and isnanf multiarch implementations.
26176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26177         file.
26178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26179         file.
26180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26181         file.
26182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26183         file.
26184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26185         multiarch isnan for PowerPC32.
26186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26187         New file.
26188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26189         New file.
26190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26191         multiarch isnanf for PowerPC32.
26193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26194         and sqrtf multiarch implementations.
26195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26196         file.
26197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26198         file.
26199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26200         multiarch sqrt for PowerPC32.
26201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26202         file.
26203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26204         file.
26205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26206         multiarch sqrtf for PowerPC32.
26208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26209         and llroundf multiarch implementations.
26210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26211         New file.
26212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26213         New file.
26214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26215         New file.
26216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26217         file: multiarch llround for PowerPC32.
26218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26219         file: multiarch llroundf for PowerPC32.
26221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26222         multiarch PowerPC32 fpu implementations.
26223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26224         New file.
26225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26226         New file.
26227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26228         multiarch llrint for PowerPC32.
26229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26230         New file.
26231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26232         New file.
26233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26234         file.
26236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26238         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26239         file.
26240         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26241         file.
26242         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26243         file.
26244         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26245         multiarch wordcopy for PPC32.
26246         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26247         wordcopy objects.
26248         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26249         (__libc_ifunc_impl_list): Likewise.
26250         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26251         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26252         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26253         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26254         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26255         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26257         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26259         file.
26260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26261         file.
26262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26263         file.
26264         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26265         multiarch wcscpy for PPC32.
26266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26267         multiarch objects.
26268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26269         (__libc_ifunc_impl_list): Likewise.
26270         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26271         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26272         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26273         sysdeps/powerpc/power6/wcscpy.c.
26275         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26277         file.
26278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26279         file.
26280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26281         file.
26282         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26283         multiarch wcsrchr for PPC32.
26284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26285         multiarch objects.
26286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26287         (__libc_ifunc_impl_list): Likewise.
26288         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26289         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26290         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26291         sysdeps/powerpc/power6/wcsrchr.c.
26293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26294         file.
26295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26296         file.
26297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26299         multiarch wcschr for PPc32.
26300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26301         multiarch objects.
26302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26303         (__libc_ifunc_impl_list): Likewise.
26304         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26305         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26306         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26307         sysdeps/powerpc/power6/wcschr.c.
26309         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26310         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26311         file.
26312         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26313         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26314         file: multiarch strchr for PPC32.
26315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26316         multiarch objects.
26317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26318         (__libc_ifunc_impl_list): Likewise.
26320         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26321         name.
26322         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26323         file.
26324         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26325         file.
26326         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26327         multiarch strchrnul for PPC32.
26328         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26329         multiarch objects.
26330         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26331         (__libc_ifunc_impl_list): Likewise.
26333         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26334         file.
26335         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26336         multiarch strncasecmp for PPC32.
26337         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26338         file.
26339         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26340         multiarch strncasecmp_l for PPC32.
26341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26342         strncasecmp multiarch objects.
26343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26344         (__libc_ifunc_impl_list): Likewise.
26346         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26347         file.
26348         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26349         multiarch strncasecmp for PPC32.
26350         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26351         New file.
26352         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26353         multiarch strcasecmp_l for PPC32.
26354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26355         multiarch objects.
26356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26357         (__libc_ifunc_impl_list): Likewise.
26359         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26360         file.
26361         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26362         file.
26363         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26364         multiarch strncmp for PPC32.
26365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26366         multiarch objects.
26367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26368         (__libc_ifunc_impl_list): Likewise.
26370         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26371         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26372         file.
26373         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26374         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26376         multiarch objects.
26377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26378         (__libc_ifunc_impl_list): Likewise.
26380         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26381         file.
26382         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26383         file.
26384         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26386         multiarch objects.
26387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26388         (__libc_ifunc_impl_list): Likewise.
26390         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26391         file.
26392         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26393         file.
26394         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26395         multiarch rawmemchr for PPC32.
26396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26397         multiarch objects.
26398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26399         (__libc_ifunc_impl_list): Likewise.
26401         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26402         file.
26403         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26404         file.
26405         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26406         file: memrchr multiarch for PPC32.
26407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26408         multiarch objects.
26409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26410         (__libc_ifunc_impl_list): Likewise.
26412         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26413         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26414         file.
26415         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26416         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26417         multiarch memchr for PPC32.
26418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26419         multiarch objects.
26420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26421         (__libc_ifunc_impl_list): Likewise.
26423         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26424         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26425         file.
26426         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26427         file.
26428         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26429         file: multiarch mempcpy for PPC32.
26430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26431         multiarch objects.
26432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26433         (__libc_ifunc_impl_list): Likewise.
26435         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26438         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26439         multiarch bzero for PPC32.
26440         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26441         file.
26442         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26443         file.
26444         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26445         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26446         file: multiarch memset for PPC32.
26447         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26448         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26449         memset multiarch objects.
26450         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26451         (__libc_ifunc_impl_list): Likewise.
26453         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26454         file.
26455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26456         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26457         memcmp for PPC32.
26458         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26460         multiarch objects.
26461         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26462         (__libc_ifunc_impl_list): Likewise.
26464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26467         file.
26468         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26469         file.
26470         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26471         file.
26472         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26473         multiarch memcpy for PPC32.
26474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26475         multiarch objects.
26476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26477         (__libc_ifunc_impl_list): Likewise.
26479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26480         support multiarch for POWER/PPC32.
26481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26482         Likewise.
26483         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26485         Implies file to make multiarch folder appers before the fpu and
26486         default folder for power4 configuration.
26488 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26490         * scripts/bench.pl: Append volatile keyword to type.
26492 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26494         * sysdeps/sh/sotruss-lib.c: New file.
26495         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26497 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26501 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26503         [BZ #6810]
26504         * math/w_tgamma.c: Include <errno.h>.
26505         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26506         * math/w_tgammaf.c: Include <errno.h>.
26507         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26508         * math/w_tgammal.c: Include <errno.h>.
26509         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26510         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26511         underflow.  Add more tgamma tests.
26512         * math/auto-libm-test-out: Regenerated.
26513         * sysdeps/i386/fpu/libm-test-ulps: Update.
26514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26516         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26517         sin, sinh, tan, tanh, tgamma, y0 and y1.
26518         * math/auto-libm-test-out: Regenerated.
26519         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26520         (TEST_COND_x86): Likewise.
26521         (M_E2l): Remove macro.
26522         (M_E3l): Likewise.
26523         (M_2_SQRT_PIl): Likewise.
26524         (M_SQRT_PIl): Likewise.
26525         (M_1_DIV_El): Likewise.
26526         (log_test_data): Use AUTO_TESTS_f_f.
26527         (log10_test_data): Likewise.
26528         (log1p_test_data): Likewise.
26529         (log2_test_data): Likewise.
26530         (sin_test_data): Likewise.
26531         (sin_tonearest_test_data): Likewise.
26532         (sin_towardzero_test_data): Likewise.
26533         (sin_downward_test_data): Likewise.
26534         (sin_upward_test_data): Likewise.
26535         (sinh_test_data): Likewise.
26536         (sinh_tonearest_test_data): Likewise.
26537         (sinh_towardzero_test_data): Likewise.
26538         (sinh_downward_test_data): Likewise.
26539         (sinh_upward_test_data): Likewise.
26540         (tan_test_data): Likewise.
26541         (tan_tonearest_test_data): Likewise.
26542         (tan_towardzero_test_data): Likewise.
26543         (tan_downward_test_data): Likewise.
26544         (tan_upward_test_data): Likewise.
26545         (tanh_test_data): Likewise.
26546         (tgamma_test_data): Likewise.
26547         (y0_test_data): Likewise.
26548         (y1_test_data): Likewise.
26549         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26550         (special_real_inputs): Add pi/4.
26551         * sysdeps/i386/fpu/libm-test-ulps: Update.
26552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26554 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26556         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26557         "longjmp_target" static probes.
26558         (__longjmp): Rename to __longjmp_symbol.
26559         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26560         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26561         on which longjmp to generate.
26562         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26563         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26564         probe.
26565         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26566         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26567         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26568         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26569         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26570         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26572         __longjmp_symbol based on which __longjmp to generate.
26573         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26574         probe.
26575         (setjmp): Rename to setjmp_symbol.
26576         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26577         (_setjmp): Rename to _setjmp_symbol.
26578         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26579         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26580         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26581         which setjmp to generate.
26582         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26583         "longjmp_target" static probes.
26585 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26587         * benchtests/README: Add note about output arguments.
26588         * benchtests/bench-sincos.c: Remove file.
26589         * benchtests/sincos-inputs: New file.
26590         * scripts/bench.pl: Identify output arguments and define
26591         static variables for them.
26593         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26595         [BZ #15941]
26596         * Makefile (INSTALL): Add install-plain.texi as the primary
26597         dependency.
26598         * manual/install-plain.texi: New file.
26599         * manual/install.texi: Include node directive only for
26600         non-plaintext output.
26602 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26604         * stdlib/longlong.h: Update from GCC.
26606         [BZ #6807]
26607         [BZ #15901]
26608         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26609         * math/w_j0f.c (y0f): Likewise.
26610         * math/w_j0l.c (__y0l): Likewise.
26611         * math/w_j1.c (y1): Likewise.
26612         * math/w_j1f.c (y1f): Likewise.
26613         * math/w_j1l.c (__y1l): Likewise
26614         * math/w_jn.c (yn): Likewise.
26615         * math/w_jnf.c (ynf): Likewise.
26616         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26617         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26618         value for Bessel function domain errors outside _SVID_ mode.
26619         Adjust sign of return value for yn (negative integer, 0).
26620         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26621         by zero in return for negative x and set sign appropriately for
26622         negative n.
26623         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26624         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26625         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26626         expectations in error cases.
26627         (y1_test_data): Likewise.
26628         (yn_test_data): Likewise.
26629         * sysdeps/i386/fpu/libm-test-ulps: Update.
26630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26632 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26634         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26635         "64" to "64-v1".  Add "64-v2".
26636         (abi-64-options): Rename to ...
26637         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26638         (abi-64-condition): Rename to ...
26639         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26640         (abi-64-ld-soname): Rename to ...
26641         (abi-64-v1-ld-soname): ... this.
26642         (abi-64-v2-options): Define.
26643         (abi-64-v2-condition): Likewise.
26644         (abi-64-v2-ld-soname): Likewise.
26645         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26646         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26651 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26652             Alan Modra  <amodra@gmail.com>
26654         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26655         New versions for use with the ELFv2 ABI.
26656         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26657         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26658         declaration.
26659         (struct La_ppc64v2_retval): Likewise.
26660         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26661         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26662         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26663         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26664         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26665         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26666         Do not save or restore CR.
26667         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26668         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26669         return values for ELFv2 ABI.  Fix location of FPR return registers.
26670         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26671         updated values for _CALL_ELF == 2.
26672         (La_regs, La_retval, int_retval): Likewise.
26674 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26676         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26677         (FRAME_MIN_SIZE_PARM): Likewise.
26678         (FRAME_BACKCHAIN): Likewise.
26679         (FRAME_CR_SAVE): Likewise.
26680         (FRAME_LR_SAVE): Likewise.
26681         (FRAME_TOC_SAVE): Likewise.
26682         (FRAME_PARM_SAVE): Likewise.
26683         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26684         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26685         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26686         (call_mcount_parm_offset): New macro.
26687         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26688         (PROF): Use symbolic stack frame offsets.
26689         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26690         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26691         Redefine in terms of FRAME_MIN_SIZE.
26692         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26693         (_dl_profile_resolve): Likewise.  Update comment.
26694         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26695         symbols stack frame offsets.
26696         (__sigsetjmp): Likewise.
26697         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26698         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26699         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26700         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26703         (FRAME_BACKCHAIN): Remove.
26704         (FRAME_CR_SAVE): Likewise.
26705         (FRAME_LR_SAVE): Likewise.
26706         (FRAME_COMPILER_DW): Likewise.
26707         (FRAME_LINKER_DW): Likewise.
26708         (FRAME_TOC_SAVE): Likewise.
26709         (FRAME_PARM_SAVE): Likewise.
26710         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26711         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26712         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26714         (CHECK_SP): Use symbolic stack frame offsets.
26715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26716         zone" instead of caller's parameter save area for temp storage.
26717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26718         Likewise.  Also, use symbolic stack frame offsets.
26719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26720         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26721         our own stack frame instead of the caller's.
26722         (__socket): Use symbolic stack frame offsets.
26724 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26725             Alan Modra  <amodra@gmail.com>
26727         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26728         Define.
26729         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26730         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26731         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26732         New function.
26733         (elf_machine_fixup_plt): Call it.
26734         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26735         reloc arguments.
26736         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26737         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26738         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26739         r2 before calling target.
26741 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26742             Alan Modra  <amodra@gmail.com>
26744         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26745         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26746         versions of macros to support ELFv2 ABI.
26747         (LOCALENTRY): New macro.
26748         (ENTRY, EALIGN): Use it.
26749         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26750         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26751         fall through into ENTRY entry point.
26752         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26753         Only define if _CALL_ELF != 2.
26755         (elf_machine_matches_host): Verify ABI version matches.
26756         (RTLD_START): Use LOCALENTRY.
26757         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26758         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26759         (PLT_ENTRY_WORDS): New macro.
26760         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26761         (elf_machine_runtime_setup): Support ELFv2 ABI.
26762         (elf_machine_fixup_plt): Likewise.
26763         (elf_machine_plt_conflict): Likewise.
26764         (resolve_ifunc): Likewise.
26765         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26767         Likewise.
26768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26769         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26771         (makecontext): Support ELFv2 ABI.
26772         * elf/elf.h (EF_PPC64_ABI): Define.
26774 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26776         * sysdeps/powerpc/powerpc64/sysdep.h
26777         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26778         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26779         (ENTRY) [ASSEMBLER]: ... but instead here ...
26780         (EALIGN) [ASSEMBLER]: ... and here.
26781         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26782         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26783         (ENTRY_2) [!ASSEMBLER]: Use it.
26784         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26785         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26786         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26787         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26788         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26790         Use PPC64_LOAD_FUNCPTR.
26792         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26794 2013-12-04  Alan Modra  <amodra@gmail.com>
26796         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26797         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26798         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26799         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26801         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26802         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26803         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26804         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26805         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26806         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26808 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26811         (__makecontext): Fix incorrect CFI when backtracing out of
26812         context created via makecontext.
26813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26814         (__setcontext): Fix incorrect CFI during switch to new context.
26815         (__novec_setcontext): Likewise.
26817 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26819         [BZ #4772]
26820         * time/strptime_l.c (__strptime_internal): Allow modifiers
26821         in strptime.
26822         * time/tst-strptime.c (day_tests): Add testcase.
26824 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26826         * scripts/bench.pl: Skip over blank lines.
26828 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26830         [BZ #926]
26831         * manual/time.texi (Calendar Time): Clarify what timezone functions
26832         use.
26834 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26838 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26840         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26841         implementation.
26842         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26843         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26844         * debug/memset_chk.c (__memset_chk): Likewise.
26845         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26846         * debug/strncpy_chk.c: Likewise.
26848 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26850         [BZ #15268]
26851         [BZ #15425]
26852         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26853         (__ieee754_exp): For possibly underflowing results, check size of
26854         result and force underflow exception if required.
26855         * math/auto-libm-test-in: Add more tests of exp.
26856         * math/auto-libm-test-out: Regenerated.
26857         * sysdeps/i386/fpu/libm-test-ulps: Update.
26858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26860         [BZ #16283]
26861         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26862         * math/w_exp2f.c (__exp2f): Likewise.
26863         * math/w_exp2l.c (__exp2l): Likewise.
26864         * math/auto-libm-test-in: Do not allow missing errno on exp2
26865         underflow.
26866         * math/auto-libm-test-out: Regenerated.
26868 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26870         [BZ #16274]
26871         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26872         handle filename validation.
26873         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26874         (do_open): Delete.
26876 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26878         [BZ #6786]
26879         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26880         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26881         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26882         <float.h>.
26883         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26884         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26885         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26887         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26888         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26889         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26890         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26891         Add more erfc tests.
26892         * math/auto-libm-test-out: Regenerated.
26893         * sysdeps/i386/fpu/libm-test-ulps: Update.
26894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26896         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26897         exp2, expm1, j0 and j1.
26898         * math/auto-libm-test-out: Regenerated.
26899         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26900         (erfc_test_data): Likewise.
26901         (exp_test_data): Likewise.
26902         (exp_tonearest_test_data): Likewise.
26903         (exp_towardzero_test_data): Likewise.
26904         (exp_downward_test_data): Likewise.
26905         (exp_upward_test_data): Likewise.
26906         (exp10_test_data): Likewise.
26907         (exp2_test_data): Likewise.
26908         (expm1_test_data): Likewise.
26909         (j0_test_data): Likewise.
26910         (j1_test_data): Likewise.
26911         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26912         (input_flag_type): Add flag_xfail_rounding.
26913         (input_flags): Add xfail-rounding.
26914         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26915         (output_for_one_input_case): Handle flag_xfail_rounding.
26916         * sysdeps/i386/fpu/libm-test-ulps: Update.
26917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26919 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26921         [BZ #16289]
26922         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26923         division by 0.
26925 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26927         [BZ #16195]
26928         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26929         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26930         (STAP_PROBE0): New macro.
26931         (STAP_PROBE1): Likewise.
26932         (STAP_PROBE2): Likewise.
26933         (STAP_PROBE3): Likewise.
26934         (STAP_PROBE4): Likewise.
26936 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26938         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26940 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26942         * benchtests/Makefile (bench): Add sqrt.
26943         (LDLIBS-bench-sqrt): New.
26944         * benchtests/sqrt-input: New.
26946 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26948         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26949         (GAIH_EAI): Likewise.
26950         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26951         (gaih_inet): Likewise.
26952         (getaddrinfo): Don't use GAIH_EAI.
26954         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26955         (struct gaih): Remove definition.
26957 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26959         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26960         Use HERRNOP directly.
26962 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26966 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26968         * math/gen-auto-libm-tests.c (test_functions): Add more
26969         single-argument functions.
26970         (special_fill_pi_2): New function.
26971         (special_fill_minus_pi_2): Likewise.
26972         (special_fill_pi_6): Likewise.
26973         (special_fill_minus_pi_6): Likewise.
26974         (special_fill_pi_3): Likewise.
26975         (special_fill_2pi_3): Likewise.
26976         (special_fill_e): Likewise.
26977         (special_fill_1_e): Likewise.
26978         (special_fill_e_minus_1): Likewise.
26979         (special_real_inputs): Add more special inputs.
26980         (output_for_one_input_case): Do not require ERANGE on underflow to
26981         zero if round-to-nearest result does not underflow to zero, unless
26982         exact results required.
26983         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26984         atan, atanh, cbrt, cos and cosh.
26985         * math/auto-libm-test-out: Regenerated.
26986         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26987         (acos_tonearest_test_data): Likewise.
26988         (acos_towardzero_test_data): Likewise.
26989         (acos_downward_test_data): Likewise.
26990         (acos_upward_test_data): Likewise.
26991         (acosh_test_data): Likewise.
26992         (asin_test_data): Likewise.
26993         (asin_tonearest_test_data): Likewise.
26994         (asin_towardzero_test_data): Likewise.
26995         (asin_upward_test_data): Likewise.
26996         (asinh_test_data): Likewise.
26997         (atan_test_data): Likewise.
26998         (atanh_test_data): Likewise.
26999         (cbrt_test_data): Likewise.
27000         (cos_test_data): Likewise.
27001         (cos_tonearest_test_data): Likewise.
27002         (cos_towardzero_test_data): Likewise.
27003         (cos_downward_test_data): Likewise.
27004         (cos_upward_test_data): Likewise.
27005         (cosh_test_data): Likewise.
27006         (cosh_tonearest_test_data): Likewise.
27007         (cosh_towardzero_test_data): Likewise.
27008         (cosh_downward_test_data): Likewise.
27009         (cosh_upward_test_data): Likewise.
27010         * sysdeps/i386/fpu/libm-test-ulps: Update.
27011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27013 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27015         [BZ #6787]
27016         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27017         * math/w_exp10f.c (__exp10f): Likewise.
27018         * math/w_exp10l.c (__exp10l): Likewise.
27019         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27020         errno settings in existing tests.
27022         [BZ #14032]
27023         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27024         precision control set to double precision.
27025         * sysdeps/i386/fpu/w_sqrt.c: New file.
27026         * math/auto-libm-test-in: Add more tests.
27027         * math/auto-libm-test-out: Update.
27029         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27030         (sqrt_test_tonearest): New function.
27031         (sqrt_towardzero_test_data): New variable.
27032         (sqrt_test_towardzero): New function.
27033         (sqrt_downward_test_data): New variable.
27034         (sqrt_test_downward): New function.
27035         (sqrt_upward_test_data): New variable.
27036         (sqrt_test_upward): New function.
27037         (main): Call the new functions.
27039         * math/gen-auto-libm-tests.c: New file.
27040         * math/auto-libm-test-in: Likewise.
27041         * math/auto-libm-test-out: New generated file.
27042         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27043         variables.
27044         (%beautify): Add generated representations of zero.
27045         (top level): Set $auto_input and call parse_auto_input.
27046         (beautify): Remove trailing "f" from hex float constants.
27047         (parse_args): Handle XFAIL_TEST.
27048         (convert_condition): New function.
27049         (or_value): Likewise.
27050         (or_cond_value): Likewise.
27051         (generate_testfile): Handle AUTO_TESTS_* lines.
27052         (parse_auto_input): New function.
27053         * math/libm-test.inc (XFAIL_TEST): New macro.
27054         (ERRNO_UNCHANGED): Update value.
27055         (ERRNO_EDOM): Likewise.
27056         (ERRNO_ERANGE): Likewise.
27057         (IGNORE_RESULT): Likewise.
27058         (TEST_COND_flt_32): New macro.
27059         (TEST_COND_dbl_64): Likewise.
27060         (TEST_COND_ldbl_96_intel): Likewise.
27061         (TEST_COND_ldbl_96_m68k): Likewise.
27062         (TEST_COND_ldbl_128): Likewise.
27063         (TEST_COND_ldbl_128ibm): Likewise.
27064         (TEST_COND_long32): Likewise.
27065         (TEST_COND_long64): Likewise.
27066         (TEST_COND_before_rounding): Likewise.
27067         (TEST_COND_after_rounding): Likewise.
27068         (enable_test): Handle XFAIL_TEST flag.
27069         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27070         with finite results.
27071         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27072         auto-libm-test-out.
27074 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27075             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27077         [BZ #16214]
27078         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27079         __tls_get_addr_internal instead of __tls_get_offset in order to
27080         avoid GOT pointer dependency.  Make rtld export
27081         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27082         __tls_get_addr since we are a __tls_get_offset platform.
27083         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27084         GOT pointer being set up before.
27085         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27087 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27089         * manual/math.texi (Errors in Math Functions): Document accuracy
27090         goals.
27092         [BZ #15004]
27093         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27094         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27095         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27096         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27097         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27098         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27099         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27100         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27101         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27102         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27103         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27104         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27105         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27106         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27107         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27108         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27110         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27111         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27112         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27113         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27114         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27115         Likewise.
27116         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27117         Likewise.
27118         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27119         Likewise.
27120         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27121         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27122         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27123         atomic-feupdateenv and flt-rounds.
27124         * sysdeps/powerpc/nofpu/Versions (libc): Add
27125         __atomic_feholdexcept, __atomic_feclearexcept,
27126         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27127         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27128         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27129         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27130         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27131         here.
27132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27133         Update.
27135         * manual/arith.texi (FP Exceptions): Document that exceptions may
27136         not be raised when matherr is used.
27137         (Math Error Reporting): Document overflow in directed rounding
27138         modes.  Document that errno may not be set when finite values are
27139         returned on overflow.  Document intent to set errno on underflow
27140         only for underflow to zero.
27142         [BZ #16271]
27143         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27144         round-to-nearest then adjust result for other rounding modes.
27145         * include/fenv.h (fegetround): Use libm_hidden_proto.
27146         * math/fegetround.c (fegetround): Use libm_hidden_def.
27147         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27148         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27149         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27150         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27151         Likewise.
27152         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27153         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27154         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27155         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27157 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27159         [BZ #16077]
27160         * nss/Versions (libnss_files): Add
27161         _nss_files_gethostbyname3_r.
27162         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27163         New function.
27164         (HOST_DB_LOOKUP): Remove macro.
27165         (_nss_files_gethostbyname_r): Implement function without the
27166         HOST_DB_LOOKUP macro.
27167         (_nss_files_gethostbyname2_r): Likewise.
27169 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27171         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27173 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27175         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27176         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27177         warning.
27179 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27181         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27182         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27183         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27184         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27185         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27186         __fe_nomask_env_priv and attribute_hidden.
27187         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27188         (libc_feupdateenv_test_ppc): Likewise.
27189         (libc_feresetround_ppc): Likewise.
27190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27191         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27192         compat_symbol macro.
27193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27194         (__fe_nomask_env): Likewise.
27195         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27197 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27199         * string/Makefile: Remove ifunc tests.
27200         * string/test-string.h: Define TEST_IFUNC.
27201         * string/test-bcopy-ifunc.c: Remove.
27202         * string/test-bzero-ifunc.c: Likewise.
27203         * string/test-memccpy-ifunc.c: Likewise.
27204         * string/test-memchr-ifunc.c: Likewise.
27205         * string/test-memcmp-ifunc.c: Likewise.
27206         * string/test-memcpy-ifunc.c: Likewise.
27207         * string/test-memmem-ifunc.c: Likewise.
27208         * string/test-memmove-ifunc.c: Likewise.
27209         * string/test-mempcpy-ifunc.c: Likewise.
27210         * string/test-memrchr-ifunc.c: Likewise.
27211         * string/test-memset-ifunc.c: Likewise.
27212         * string/test-rawmemchr-ifunc.c: Likewise.
27213         * string/test-stpcpy-ifunc.c: Likewise.
27214         * string/test-stpncpy-ifunc.c: Likewise.
27215         * string/test-strcasecmp-ifunc.c: Likewise.
27216         * string/test-strcasestr-ifunc.c: Likewise.
27217         * string/test-strcat-ifunc.c: Likewise.
27218         * string/test-strchr-ifunc.c: Likewise.
27219         * string/test-strchrnul-ifunc.c: Likewise.
27220         * string/test-strcmp-ifunc.c: Likewise.
27221         * string/test-strcpy-ifunc.c: Likewise.
27222         * string/test-strcspn-ifunc.c: Likewise.
27223         * string/test-strlen-ifunc.c: Likewise.
27224         * string/test-strncasecmp-ifunc.c: Likewise.
27225         * string/test-strncat-ifunc.c: Likewise.
27226         * string/test-strncmp-ifunc.c: Likewise.
27227         * string/test-strncpy-ifunc.c: Likewise.
27228         * string/test-strnlen-ifunc.c: Likewise.
27229         * string/test-strpbrk-ifunc.c: Likewise.
27230         * string/test-strrchr-ifunc.c: Likewise.
27231         * string/test-strspn-ifunc.c: Likewise.
27232         * string/test-strstr-ifunc.c: Likewise.
27234 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27236         * benchtests/Makefile: Remove ifunc tests.
27237         * benchtests/bench-string.h: Define TEST_IFUNC.
27238         * benchtests/bench-bcopy-ifunc.c: Remove.
27239         * benchtests/bench-bzero-ifunc.c: Likewise.
27240         * benchtests/bench-memccpy-ifunc.c: Likewise.
27241         * benchtests/bench-memchr-ifunc.c: Likewise.
27242         * benchtests/bench-memcmp-ifunc.c: Likewise.
27243         * benchtests/bench-memcpy-ifunc.c: Likewise.
27244         * benchtests/bench-memmem-ifunc.c: Likewise.
27245         * benchtests/bench-memmove-ifunc.c: Likewise.
27246         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27247         * benchtests/bench-memrchr-ifunc.c: Likewise.
27248         * benchtests/bench-memset-ifunc.c: Likewise.
27249         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27250         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27251         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27252         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27253         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27254         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27255         * benchtests/bench-strcat-ifunc.c: Likewise.
27256         * benchtests/bench-strchr-ifunc.c: Likewise.
27257         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27258         * benchtests/bench-strcmp-ifunc.c: Likewise.
27259         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27260         * benchtests/bench-strcpy-ifunc.c: Likewise.
27261         * benchtests/bench-strcspn-ifunc.c: Likewise.
27262         * benchtests/bench-strlen-ifunc.c: Likewise.
27263         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27264         * benchtests/bench-strncat-ifunc.c: Likewise.
27265         * benchtests/bench-strncmp-ifunc.c: Likewise.
27266         * benchtests/bench-strncpy-ifunc.c: Likewise.
27267         * benchtests/bench-strnlen-ifunc.c: Likewise.
27268         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27269         * benchtests/bench-strrchr-ifunc.c: Likewise.
27270         * benchtests/bench-strsep-ifunc.c: Likewise.
27271         * benchtests/bench-strspn-ifunc.c: Likewise.
27272         * benchtests/bench-strstr-ifunc.c: Likewise.
27274 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27276         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27278 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27280         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27281         * rt/aio.h: Likewise.
27282         * sysdeps/gnu/bits/utmp.h: Likewise.
27283         * sysdeps/gnu/bits/utmpx.h: Likewise.
27284         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27285         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27286         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27287         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27288         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27289         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27290         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27291         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27292         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27293         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27294         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27295         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27296         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27298         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27299         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27300         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27301         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27302         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27303         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27304         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27305         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27306         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27307         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27308         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27309         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27310         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27311         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27312         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27313         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27314         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27315         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27316         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27317         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27318         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27319         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27320         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27321         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27322         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27323         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27324         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27325         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27327 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27329         [BZ #16245]
27330         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27331         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27333 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27335         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27336         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27337         Likewise.
27339 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27341         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27342         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27343         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27344         (__fesetround): Remove define.
27345         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27346         rounding and exceptions handling.
27347         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27348         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27349         (__fe_nomask_env): Likewise.
27350         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27351         __fegetround instead of fegetround.
27352         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27353         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27355 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27357         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27358         it's there.
27360         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27362 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27364         [BZ #11157]
27365         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27366         (encrypt_r): Likewise.
27367         * malloc/obstack.h (obstack_free): Likewise.
27368         * posix/unistd.h (encrypt): Likewise.
27370 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27372         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27373         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27374         DL_CALL_DT_FINI() that call the functions directly.
27375         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27376         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27377         * elf/dl-fini.c: Likewise.
27379 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27381         * malloc/hooks.c (memalign_check): Add alignment rounding.
27382         * malloc/malloc.c (_mid_memalign): New function.
27383         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27384         Implement by calling _mid_memalign.
27385         * manual/probes.texi (Memory Allocation Probes): Remove
27386         memory_valloc_retry and memory_pvalloc_retry.
27388 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27390         * locale/programs/locarchive.c (open_archive): Add const
27391         qualifier to ARCHIVEFNAME and copy default fname to
27392         DEFAULT_FNAME.
27394         [BZ #15601]
27395         * libio/tst-widetext.input: Rename Oriya to Odia.
27396         * locale/iso-639.def: Likewise.
27398         * manual/probes.texi (Mathematical Function Probes): Add
27399         documentation for sin, cos, asin and acos probes.
27400         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27401         (__sin32): Add slowasin probe.
27402         (__cos32): Add slowacos probe.
27403         (__mpsin): Add slowsin probe.
27404         (__mpcos): Add slowcos probe.
27406 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27408         [BZ #15483]
27409         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27410         thread-local __sim_exceptions_thread and global
27411         __sim_exceptions_global.
27412         (__sim_disabled_exceptions): Change to thread-local
27413         __sim_disabled_exceptions_thread and global
27414         __sim_disabled_exceptions_global.
27415         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27416         and global __sim_round_mode_global.
27417         (__simulate_exceptions): Use thread-local floating-point state and
27418         set global state from it as needed.
27419         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27420         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27421         __sim_round_mode_thread.
27422         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27423         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27424         and global __sim_exceptions_global.
27425         (__sim_disabled_exceptions): Change to thread-local
27426         __sim_disabled_exceptions_thread and global
27427         __sim_disabled_exceptions_global.
27428         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27429         and global __sim_round_mode_global.
27430         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27431         (SIM_SET_GLOBAL): Likewise.
27432         * sysdeps/powerpc/soft-fp/sfp-machine.h
27433         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27434         __sim_round_mode_thread.
27435         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27436         __sim_disabled_exceptions_thread.
27437         (__sim_exceptions): Change to __sim_exceptions_thread.
27438         (__sim_disabled_exceptions): Change to
27439         __sim_disabled_exceptions_thread.
27440         (__sim_round_mode): Change to __sim_round_mode_thread.
27441         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27442         thread-local floating-point state and set global state from it as
27443         needed.
27444         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27445         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27446         (__sim_disabled_exceptions): Remove extern declaration.
27447         (feenableexcept): Use thread-local floating-point state and set
27448         global state from it as needed.
27449         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27450         extern declaration.
27451         (__sim_disabled_exceptions): Likewise.
27452         (__sim_round_mode): Likewise.
27453         (__fegetenv): Use thread-local floating-point state.
27454         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27455         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27456         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27457         floating-point state and set global state from it as needed.
27458         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27459         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27460         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27461         Likewise.
27462         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27463         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27464         Likewise.
27465         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27466         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27467         Use __sim_round_mode_thread.
27468         * math/test-fenv-tls.c: New file.
27469         * math/Makefile (tests): Add test-fenv-tls.
27470         ($(objpfx)test-fenv-tls): Depend on
27471         $(common-objpfx)nptl/libpthread.so.
27473 2013-11-19  Andreas Schwab  <schwab@suse.de>
27475         * locale/programs/locale.c (show_info): Decode wordarray elements.
27476         * locale/categories.def (LC_MONETARY): Add element for
27477         _NL_MONETARY_CRNCYSTR.
27478         * locale/C-monetary.c (conversion_rate): New variable.
27479         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27480         element.
27482 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27484         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27485         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27487 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27489         * elf/Makefile (tst-auxv): New test.
27490         * elf/tst-auxv.c: New
27491         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27493 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27495         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27496         (hidden_proto): Caller changed.
27497         (hidden_tls_proto): New macro.
27498         (libc_hidden_tls_proto): Likewise.
27499         (rtld_hidden_tls_proto): Likewise.
27500         (libm_hidden_tls_proto): Likewise.
27501         (libresolv_hidden_tls_proto): Likewise.
27502         (librt_hidden_tls_proto): Likewise.
27503         (libdl_hidden_tls_proto): Likewise.
27504         (libnss_files_hidden_tls_proto): Likewise.
27505         (libnsl_hidden_tls_proto): Likewise.
27506         (libnss_nisplus_hidden_tls_proto): Likewise.
27507         (libutil_hidden_tls_proto): Likewise.
27509 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27511         [BZ #10253]
27512         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27513         (decompose_rpath): Defer expansion to fillin_rpath.
27514         (_dl_init_paths): Pass linkmap to fillin_rpath.
27516 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27518         * benchtests/Makefile: Add strsep.
27519         * benchtests/bench-strsep.c: New file: strsep benchtest.
27520         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27522 2013-11-18  Andreas Schwab  <schwab@suse.de>
27524         * locale/programs/locale.c (show_info) [case byte]: Check for
27525         '\377' instead of '\177'.
27526         * locale/C-monetary.c (not_available): Always use "\377".
27527         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27528         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27529         detect unavailable sign_posn locale elements.
27530         * locale/localeconv.c (__localeconv): For grouping and
27531         mon_grouping handle "\177" and "\377" like no grouping.
27532         (INT_ELEM): New macro.  Use it to set all numeric members.
27533         * locale/programs/ld-monetary.c (monetary_read)
27534         <tok_mon_grouping>: Normalize single -1 to the empty string.
27535         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27536         Likewise.
27538 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27540         [BZ #16055]
27541         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27542         when we match (nil).
27543         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27545 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27547         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27548         (NO_TEST_INLINE): Update value.
27549         (ERRNO_UNCHANGED): Likewise.
27550         (ERRNO_EDOM): Likewise.
27551         (ERRNO_ERANGE): Likewise.
27552         (IGNORE_RESULT): Likewise.
27553         (check_float_internal): Check signs of NaN results if
27554         TEST_NAN_SIGN used.
27555         (check_complex): Pass TEST_NAN_SIGN flag through to second
27556         check_float_internal call.
27557         (copysign_test_data): Add tests with quiet NaNs as second
27558         argument.  Use TEST_NAN_SIGN.
27559         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27560         TEST_NAN_SIGN.
27561         (signbit_test_data): Add tests of quiet NaN argument.
27562         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27564         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27565         $ignore_result.
27566         (parse_args): Handle function results specified as IGNORE.
27567         * math/libm-test.inc (IGNORE_RESULT): New macro.
27568         (check_float_internal): Do not check numerical result if flag
27569         IGNORE_RESULT set.
27570         (check_complex): Pass through IGNORE_RESULT to second
27571         check_float_internal call.
27572         (check_int): Do not check numerical result if flag IGNORE_RESULT
27573         set.
27574         (check_long): Likewise.
27575         (check_bool): Likewise.
27576         (check_longlong): Likewise.
27577         (lrint_test_data): Add tests of infinite and NaN arguments.
27578         (lrint_tonearest_test_data): Likewise.
27579         (lrint_towardzero_test_data): Likewise.
27580         (lrint_downward_test_data): Likewise.
27581         (lrint_upward_test_data): Likewise.
27582         (llrint_test_data): Likewise.
27583         (llrint_tonearest_test_data): Likewise.
27584         (llrint_towardzero_test_data): Likewise.
27585         (llrint_downward_test_data): Likewise.
27586         (llrint_upward_test_data): Likewise.
27587         (lround_test_data): Likewise.
27588         (llround_test_data): Likewise.
27590         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27591         (ERRNO_UNCHANGED): Update value.
27592         (ERRNO_EDOM): Likewise.
27593         (ERRNO_ERANGE): Likewise.
27594         (NO_TEST_INLINE_FLOAT): New macro.
27595         (NO_TEST_INLINE_DOUBLE): Likewise.
27596         (enable_test): New function.
27597         (RUN_TEST_f_f): Check enable_test before running test.
27598         (RUN_TEST_2_f): Likewise.
27599         (RUN_TEST_fff_f): Likewise.
27600         (RUN_TEST_c_f): Likewise.
27601         (RUN_TEST_f_f1): Likewise.
27602         (RUN_TEST_fF_f1): Likewise.
27603         (RUN_TEST_fI_f1): Likewise.
27604         (RUN_TEST_ffI_f1): Likewise.
27605         (RUN_TEST_c_c): Likewise.
27606         (RUN_TEST_cc_c): Likewise.
27607         (RUN_TEST_f_i): Likewise.
27608         (RUN_TEST_f_i_tg): Likewise.
27609         (RUN_TEST_ff_i_tg): Likewise.
27610         (RUN_TEST_f_b): Likewise.
27611         (RUN_TEST_f_b_tg): Likewise.
27612         (RUN_TEST_f_l): Likewise.
27613         (RUN_TEST_f_L): Likewise.
27614         (RUN_TEST_fFF_11): Likewise.
27615         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27616         conditionals.
27617         (cosh_test_data): Likewise.
27618         (exp_test_data): Likewise.
27619         (expm1_test_data): Likewise.
27620         (hypot_test_data): Likewise.
27621         (pow_test_data): Likewise.
27622         (sinh_test_data): Likewise.
27623         (tanh_test_data): Likewise.
27624         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27625         flags argument.
27627         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27628         tests with quiet NaN input and output.
27629         (acosh_test_data): Likewise.
27630         (asin_test_data): Likewise.
27631         (asinh_test_data): Likewise.
27632         (atan_test_data): Likewise.
27633         (atanh_test_data): Likewise.
27634         (atan2_test_data): Likewise.
27635         (cbrt_test_data): Likewise.
27636         (cos_test_data): Likewise.
27637         (cosh_test_data): Likewise.
27638         (erf_test_data): Likewise.
27639         (erfc_test_data): Likewise.
27640         (exp_test_data): Likewise.
27641         (exp10_test_data): Likewise.
27642         (exp2_test_data): Likewise.
27643         (expm1_test_data): Likewise.
27644         (hypot_test_data): Likewise.
27645         (j0_test_data): Likewise.
27646         (j1_test_data): Likewise.
27647         (jn_test_data): Likewise.
27648         (lgamma_test_data): Likewise.
27649         (log_test_data): Likewise.
27650         (log10_test_data): Likewise.
27651         (log1p_test_data): Likewise.
27652         (log2_test_data): Likewise.
27653         (pow_test_data): Likewise.
27654         (scalb_test_data): Likewise.
27655         (sin_test_data): Likewise.
27656         (sincos_test_data): Likewise.
27657         (sinh_test_data): Likewise.
27658         (tan_test_data): Likewise.
27659         (tanh_test_data): Likewise.
27660         (tgamma_test_data): Likewise.
27661         (y0_test_data): Likewise.
27662         (y1_test_data): Likewise.
27663         (yn_test_data): Likewise.
27665         [BZ #16167]
27666         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27667         argument being NaN and avoid computations with second argument in
27668         that case.
27669         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27670         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27671         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27673 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27675         * locale/iso-639.def: Add Chitwani Tharu (the).
27677 2013-11-14  Andreas Schwab  <schwab@suse.de>
27679         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27680         word instead of empty string.
27682 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27685         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27687         (__fe_nomask_env): Likewise.
27689 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27691         * benchtests/bench-timing.h: Include time.h.
27693 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27695         [BZ #15997]
27696         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27697         to 3.4.0 for x32.
27698         * sysdeps/unix/sysv/linux/configure: Regenerated.
27700 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27702         [BZ #16151]
27703         * stdlib/strtod_l.c (round_and_return): Do not consider
27704         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27705         exponent one less than half the least subnormal exponent.
27706         * stdlib/test-strtod-round-data: Add more tests.
27707         * stdlib/tst-strtod-round.c (tests): Regenerated.
27709 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27711         [BZ #14143]
27712         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27713         (__fe_mask_env): Likewise.
27714         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27715         libm_hidden_proto and add function prototype.
27716         (__fe_mask_env): Add function prototype.
27717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27718         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27720         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27722         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27724 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27726         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27727         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27729 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27731         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27732         of htab_find_slot().
27734 2013-11-11  David S. Miller  <davem@davemloft.net>
27736         [BZ #16150]
27737         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27738         symbol in the non-vis3 case in static builds.
27739         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27740         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27741         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27742         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27744 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27746         [BZ #387]
27747         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27748         it is empty.
27750 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27752         * benchtests/Makefile: Add bench-strtod.
27753         * benchtests/bench-strtod.c: New file: strtod benchtest
27755 2013-11-11  Andreas Schwab  <schwab@suse.de>
27757         [BZ #16153]
27758         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27759         terminating NUL in key length.
27761 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27763         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27764         Add artificial ODP entry for vDSO symbol for PPC64.
27765         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27766         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27768 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27770         [BZ #15374]
27771         * nss/getent.c (services_keys): Recognize services starting with digit.
27773 2013-11-06  David S. Miller  <davem@davemloft.net>
27775         [BZ #15985]
27776         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27777         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27779 2013-11-06  Will Newton  <will.newton@linaro.org>
27781         * manual/memory.texi (Malloc Examples): Remove register
27782         keyword from examples.
27784 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27786         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27788 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27790         [BZ #6981]
27791         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27792         depending on [__GCC_IEC_559 > 0].
27793         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27794         depending on [__GCC_IEC_559_COMPLEX > 0].
27796 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27798         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27799         to iso-639.def.
27801 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27803         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27805 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27807         [BZ #16112]
27808         * malloc/malloc (malloc_info): Do not handle first bin as
27809         special case.
27811 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27813         * locale/iso-639.def: Add Central Nahuatl (nhn).
27815 2013-11-01  Bruno Haible  <bruno@clisp.org>
27817         [BZ #7003]
27818         * manual/math.texi (BSD Random): Specify range upper bound as
27819         in POSIX.
27821 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27823         * locale/iso-639.def: Add Meadow Mari (mhr).
27825 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27827         [BZ #14752], [BZ #15763]
27828         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27829         Validate name.
27830         * rt/tst_shm.c: Add test for escaping directory.
27832 2013-10-31  Andreas Schwab  <schwab@suse.de>
27834         [BZ #15917]
27835         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27836         followed by 'x' as part of digit sequence.
27837         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27839 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27841         [BZ #16037]
27842         * configure.ac: allow GNU Make 4.0 and greater.
27843         * configure: Regenerated.
27845 2013-10-30  Will Newton  <will.newton@linaro.org>
27847         [BZ #16038]
27848         * malloc/hooks.c (memalign_check): Limit alignment to the
27849         maximum representable power of two.
27850         * malloc/malloc.c (__libc_memalign): Likewise.
27851         * malloc/tst-memalign.c (do_test): Add test for very
27852         large alignment values.
27853         * malloc/tst-posix_memalign.c (do_test): Likewise.
27855 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27857         [BZ #11087]
27858         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27859         (munmap_chunk): Likewise.
27860         (mremap_chunk): Likewise.
27862 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27864         [BZ #15799]
27865         * stdlib/div.c (div): Remove obsolete code.
27866         * stdlib/ldiv.c (ldiv): Likewise.
27867         * stdlib/lldiv.c (lldiv): Likewise.
27869 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27871         [BZ #16071]
27872         * nss/nss_files/files-XXX.c (get_contents_ret): New
27873         enumerator.
27874         (get_contents): New function.
27875         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27877 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27879         * configure.in: Moved to ...
27880         * configure.ac: ... here. Change reference to configure.in
27881         to configure.ac.
27882         * sysdeps/arm/preconfigure.ac: ... here.
27883         configure.in to configure.ac.
27884         * sysdeps/gnu/configure.in: Moved to ...
27885         * sysdeps/gnu/configure.ac: ... here.
27886         * sysdeps/i386/configure.in: Moved to ...
27887         * sysdeps/i386/configure.ac: ... here.
27888         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27889         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27890         * sysdeps/mach/configure.in: Moved to ...
27891         * sysdeps/mach/configure.ac: ... here.
27892         * sysdeps/mach/hurd/configure.in: Moved to ...
27893         * sysdeps/mach/hurd/configure.ac: ... here.
27894         * sysdeps/powerpc/configure.in: Moved to ...
27895         * sysdeps/powerpc/configure.ac: ... here.
27896         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27897         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27898         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27899         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27900         * sysdeps/s390/s390-32/configure.in: Moved to ...
27901         * sysdeps/s390/s390-32/configure.ac: ... here.
27902         * sysdeps/s390/s390-64/configure.in: Moved to ...
27903         * sysdeps/s390/s390-64/configure.ac: ... here.
27904         * sysdeps/sh/configure.in: Moved to ...
27905         * sysdeps/sh/configure.ac: ... here.
27906         * sysdeps/sparc/configure.in: Moved to ...
27907         * sysdeps/sparc/configure.ac: ... here.
27908         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27909         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27910         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27911         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27912         * sysdeps/x86_64/configure.in: Moved to ...
27913         * sysdeps/x86_64/configure.ac: ... here.
27914         * sysdeps/x86_64/preconfigure.in: Moved to ...
27915         * sysdeps/x86_64/preconfigure.ac: ... here.
27916         * aclocal.m4: Change reference to configure.in to configure.ac.
27917         * config.h.in: Likewise.
27918         * manual/install.texi: Likewise.
27919         * manual/maint.texi: Likewise.
27920         * Makefile: Likewise.
27921         * malloc/Makefile: Likewise.
27922         * nscd/Makefile: Likewise.
27923         * Makeconfig: Change reference to configure.in and
27924         preconfigure.in to configure.ac and preconfigure.ac
27925         respectively.
27926         * INSTALL: Regenerated.
27927         * configure: Likewise.
27928         * sysdeps/gnu/configure: Likewise.
27929         * sysdeps/i386/configure: Likewise.
27930         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27931         * sysdeps/mach/configure: Likewise.
27932         * sysdeps/mach/hurd/configure: Likewise.
27933         * sysdeps/powerpc/configure: Likewise.
27934         * sysdeps/powerpc/powerpc32/configure: Likewise.
27935         * sysdeps/powerpc/powerpc64/configure: Likewise.
27936         * sysdeps/s390/s390-32/configure: Likewise.
27937         * sysdeps/s390/s390-64/configure: Likewise.
27938         * sysdeps/sh/configure: Likewise.
27939         * sysdeps/sparc/configure: Likewise.
27940         * sysdeps/unix/sysv/linux/configure: Likewise.
27941         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27942         * sysdeps/x86_64/configure: Likewise.
27943         * sysdeps/x86_64/preconfigure: Likewise.
27945 2013-10-29  Andreas Schwab  <schwab@suse.de>
27947         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27949 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27951         * benchtests/pow-inputs: Add new inputs.
27953         * benchtests/exp-inputs: Add new inputs.
27955         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27956         conditional check for return value.
27957         (__cos32): Likewise.
27959 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27961         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27962         to provide a boost for large inputs with word alignment.
27963         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27964         implementation based on optimized PPC64 strcpy.
27965         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27966         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27967         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27968         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27970 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27972         [BZ #2801]
27973         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27975 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27977         [BZ #14876]
27978         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27979         * time/tst-strptime.c (day_tests): Add testcase.
27981 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27983         [BZ #14029]
27984         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27986 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27988         [BZ #16074]
27989         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27990         MAP_FAILED on error.
27992 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27994         [BZ #16072]
27995         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27996         heap for large requests.
27998 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28000         [BZ #9954]
28001         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28002         result if the result has no associated interface.
28003         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28004         interface for all 127.X.Y.Z addresses.
28006 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28008         * locale/iso-639.def: Add Ligurian (lij)
28010 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28012         [BZ #15825]
28013         * sunrpc/rpc_main.c: Document rpcgen -5.
28015 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28017         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28019 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28021         [BZ #10278]
28022         * posix/glob.c: Match only directories when trailing slash is present.
28023         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28024         (main): Add testcase.
28026 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28028         [BZ #15670]
28029         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28031 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28033         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28034         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28035         AUTH_DES and cindex for FIPS 140-2.
28036         (DES Encryption): Add cindex FIPS 46-3.
28038         * locale/locarchive.h (struct locarhandle): Add fname.
28039         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28040         if an optional argument was specified to --list-archive,
28041         otherwise NULL.
28042         * locale/programs/locarchive.c (show_archive_content): Take new
28043         argument fname and pass it via ah.fname to open_archive.
28044         * locale/programs/localedef.h: Update decl.
28045         (open_archive): If AH->fname is non-null, open that file
28046         rather than the default file name, and don't ignore ENOENT.
28047         (create_archive): Set AH.fname to NULL.
28048         (delete_locales_from_archive): Likewise.
28049         (add_locales_to_archive): Likewise.
28050         * locale/programs/locfile.c (write_all_categories): Likewise.
28052 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28053             Aldy Hernandez  <aldyh@redhat.com>
28055         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28056         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28057         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28058         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28059         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28060         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28061         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28062         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28063         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28064         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28065         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28066         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28067         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28068         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28069         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28070         Likewise.
28071         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28072         Likewise.
28073         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28074         Likewise.
28075         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28076         Likewise.
28077         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28078         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28079         Likewise.
28080         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28081         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28082         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28083         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28084         Likewise.
28085         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28086         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28087         * sysdeps/powerpc/preconfigure: Likewise.
28088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28089         Likewise.
28090         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28091         Replace contents of file by #include of <fenv_libc.h>.
28092         * sysdeps/powerpc/soft-fp/sfp-machine.h
28093         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28094         and <sys/prctl.h>.
28095         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28099         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28100         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28106         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28108         Allow copysignl PLT reference to be missing.
28110 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28111             Joseph Myers  <joseph@codesourcery.com
28113         [BZ #15948]
28114         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28115         single character.
28116         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28118 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28120         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28121         * elf/tst-tls1.c: Likewise.
28122         * elf/tst-tls10.h: Likewise.
28123         * elf/tst-tls14.c: Likewise.
28124         * elf/tst-tls2.c: Likewise.
28125         * elf/tst-tls3.c: Likewise.
28126         * elf/tst-tls4.c: Likewise.
28127         * elf/tst-tls5.c: Likewise.
28128         * elf/tst-tls6.c: Likewise.
28129         * elf/tst-tls7.c: Likewise.
28130         * elf/tst-tls8.c: Likewise.
28131         * elf/tst-tls9.c: Likewise.
28132         * elf/tst-tlsmod1.c: Likewise.
28133         * elf/tst-tlsmod13.c: Likewise.
28134         * elf/tst-tlsmod13a.c: Likewise.
28135         * elf/tst-tlsmod14a.c: Likewise.
28136         * elf/tst-tlsmod16a.c: Likewise.
28137         * elf/tst-tlsmod16b.c: Likewise.
28138         * elf/tst-tlsmod2.c: Likewise.
28139         * elf/tst-tlsmod3.c: Likewise.
28140         * elf/tst-tlsmod4.c: Likewise.
28141         * elf/tst-tlsmod5.c: Likewise.
28142         * elf/tst-tlsmod6.c: Likewise.
28144 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28146         [BZ #12486]
28147         * malloc/malloc.c: remove checks for statistics.
28149 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28151         [BZ #15277]
28152         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28153         * inet/tst-network.c: Add testcase.
28155 2013-10-17  Andreas Schwab  <schwab@suse.de>
28157         [BZ #15218]
28158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28159         to determine canonical name.
28161 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28163         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28164         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28166         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28167         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28168         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28169         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28170         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28171         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28172         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28173         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28174         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28175         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28176         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28177         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28178         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28179         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28180         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28181         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28182         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28183         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28184         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28185         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28186         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28187         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28188         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28189         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28190         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28191         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28192         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28193         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28194         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28195         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28196         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28197         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28198         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28199         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28200         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28201         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28202         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28203         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28204         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28205         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28206         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28207         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28208         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28209         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28210         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28211         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28212         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28213         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28214         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28215         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28216         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28217         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28218         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28219         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28220         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28222 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28224         [BZ #16041]
28225         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28226         make result into a quiet NaN.
28228 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28230         * soft-fp/adddf3.c: Fix horizontal whitespace.
28231         * soft-fp/addsf3.c: Likewise.
28232         * soft-fp/addtf3.c: Likewise.
28233         * soft-fp/divdf3.c: Likewise.
28234         * soft-fp/divsf3.c: Likewise.
28235         * soft-fp/divtf3.c: Likewise.
28236         * soft-fp/double.h: Likewise.
28237         * soft-fp/eqdf2.c: Likewise.
28238         * soft-fp/eqsf2.c: Likewise.
28239         * soft-fp/eqtf2.c: Likewise.
28240         * soft-fp/extenddftf2.c: Likewise.
28241         * soft-fp/extended.h: Likewise.
28242         * soft-fp/extendsfdf2.c: Likewise.
28243         * soft-fp/extendsftf2.c: Likewise.
28244         * soft-fp/extendxftf2.c: Likewise.
28245         * soft-fp/fixdfdi.c: Likewise.
28246         * soft-fp/fixdfsi.c: Likewise.
28247         * soft-fp/fixdfti.c: Likewise.
28248         * soft-fp/fixsfdi.c: Likewise.
28249         * soft-fp/fixsfsi.c: Likewise.
28250         * soft-fp/fixsfti.c: Likewise.
28251         * soft-fp/fixtfdi.c: Likewise.
28252         * soft-fp/fixtfsi.c: Likewise.
28253         * soft-fp/fixtfti.c: Likewise.
28254         * soft-fp/fixunsdfdi.c: Likewise.
28255         * soft-fp/fixunsdfsi.c: Likewise.
28256         * soft-fp/fixunsdfti.c: Likewise.
28257         * soft-fp/fixunssfdi.c: Likewise.
28258         * soft-fp/fixunssfsi.c: Likewise.
28259         * soft-fp/fixunssfti.c: Likewise.
28260         * soft-fp/fixunstfdi.c: Likewise.
28261         * soft-fp/fixunstfsi.c: Likewise.
28262         * soft-fp/fixunstfti.c: Likewise.
28263         * soft-fp/floatdidf.c: Likewise.
28264         * soft-fp/floatdisf.c: Likewise.
28265         * soft-fp/floatditf.c: Likewise.
28266         * soft-fp/floatsidf.c: Likewise.
28267         * soft-fp/floatsisf.c: Likewise.
28268         * soft-fp/floatsitf.c: Likewise.
28269         * soft-fp/floattidf.c: Likewise.
28270         * soft-fp/floattisf.c: Likewise.
28271         * soft-fp/floattitf.c: Likewise.
28272         * soft-fp/floatundidf.c: Likewise.
28273         * soft-fp/floatundisf.c: Likewise.
28274         * soft-fp/floatunditf.c: Likewise.
28275         * soft-fp/floatunsidf.c: Likewise.
28276         * soft-fp/floatunsisf.c: Likewise.
28277         * soft-fp/floatunsitf.c: Likewise.
28278         * soft-fp/floatuntidf.c: Likewise.
28279         * soft-fp/floatuntisf.c: Likewise.
28280         * soft-fp/floatuntitf.c: Likewise.
28281         * soft-fp/fmadf4.c: Likewise.
28282         * soft-fp/fmasf4.c: Likewise.
28283         * soft-fp/fmatf4.c: Likewise.
28284         * soft-fp/gedf2.c: Likewise.
28285         * soft-fp/gesf2.c: Likewise.
28286         * soft-fp/getf2.c: Likewise.
28287         * soft-fp/ledf2.c: Likewise.
28288         * soft-fp/lesf2.c: Likewise.
28289         * soft-fp/letf2.c: Likewise.
28290         * soft-fp/muldf3.c: Likewise.
28291         * soft-fp/mulsf3.c: Likewise.
28292         * soft-fp/multf3.c: Likewise.
28293         * soft-fp/negdf2.c: Likewise.
28294         * soft-fp/negsf2.c: Likewise.
28295         * soft-fp/negtf2.c: Likewise.
28296         * soft-fp/op-1.h: Likewise.
28297         * soft-fp/op-2.h: Likewise.
28298         * soft-fp/op-4.h: Likewise.
28299         * soft-fp/op-8.h: Likewise.
28300         * soft-fp/op-common.h: Likewise.
28301         * soft-fp/quad.h: Likewise.
28302         * soft-fp/single.h: Likewise.
28303         * soft-fp/soft-fp.h: Likewise.
28304         * soft-fp/sqrtdf2.c: Likewise.
28305         * soft-fp/sqrtsf2.c: Likewise.
28306         * soft-fp/sqrttf2.c: Likewise.
28307         * soft-fp/subdf3.c: Likewise.
28308         * soft-fp/subsf3.c: Likewise.
28309         * soft-fp/subtf3.c: Likewise.
28310         * soft-fp/truncdfsf2.c: Likewise.
28311         * soft-fp/trunctfdf2.c: Likewise.
28312         * soft-fp/trunctfsf2.c: Likewise.
28313         * soft-fp/trunctfxf2.c: Likewise.
28314         * soft-fp/unorddf2.c: Likewise.
28315         * soft-fp/unordsf2.c: Likewise.
28316         * soft-fp/unordtf2.c: Likewise.
28318 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28320         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28321         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28323 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28325         * elf/dl-libc.c: Clear initfini list after freeing.
28327 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28329         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28330         * soft-fp/addsf3.c: Likewise.
28331         * soft-fp/addtf3.c: Likewise.
28332         * soft-fp/divdf3.c: Likewise.
28333         * soft-fp/divsf3.c: Likewise.
28334         * soft-fp/divtf3.c: Likewise.
28335         * soft-fp/double.h: Likewise.
28336         * soft-fp/eqdf2.c: Likewise.
28337         * soft-fp/eqsf2.c: Likewise.
28338         * soft-fp/eqtf2.c: Likewise.
28339         * soft-fp/extenddftf2.c: Likewise.
28340         * soft-fp/extended.h: Likewise.
28341         * soft-fp/extendsfdf2.c: Likewise.
28342         * soft-fp/extendsftf2.c: Likewise.
28343         * soft-fp/extendxftf2.c: Likewise.
28344         * soft-fp/fixdfdi.c: Likewise.
28345         * soft-fp/fixdfsi.c: Likewise.
28346         * soft-fp/fixdfti.c: Likewise.
28347         * soft-fp/fixsfdi.c: Likewise.
28348         * soft-fp/fixsfsi.c: Likewise.
28349         * soft-fp/fixsfti.c: Likewise.
28350         * soft-fp/fixtfdi.c: Likewise.
28351         * soft-fp/fixtfsi.c: Likewise.
28352         * soft-fp/fixtfti.c: Likewise.
28353         * soft-fp/fixunsdfdi.c: Likewise.
28354         * soft-fp/fixunsdfsi.c: Likewise.
28355         * soft-fp/fixunsdfti.c: Likewise.
28356         * soft-fp/fixunssfdi.c: Likewise.
28357         * soft-fp/fixunssfsi.c: Likewise.
28358         * soft-fp/fixunssfti.c: Likewise.
28359         * soft-fp/fixunstfdi.c: Likewise.
28360         * soft-fp/fixunstfsi.c: Likewise.
28361         * soft-fp/fixunstfti.c: Likewise.
28362         * soft-fp/floatdidf.c: Likewise.
28363         * soft-fp/floatdisf.c: Likewise.
28364         * soft-fp/floatditf.c: Likewise.
28365         * soft-fp/floatsidf.c: Likewise.
28366         * soft-fp/floatsisf.c: Likewise.
28367         * soft-fp/floatsitf.c: Likewise.
28368         * soft-fp/floattidf.c: Likewise.
28369         * soft-fp/floattisf.c: Likewise.
28370         * soft-fp/floattitf.c: Likewise.
28371         * soft-fp/floatundidf.c: Likewise.
28372         * soft-fp/floatundisf.c: Likewise.
28373         * soft-fp/floatunsidf.c: Likewise.
28374         * soft-fp/floatunsisf.c: Likewise.
28375         * soft-fp/floatuntidf.c: Likewise.
28376         * soft-fp/floatuntisf.c: Likewise.
28377         * soft-fp/floatuntitf.c: Likewise.
28378         * soft-fp/fmadf4.c: Likewise.
28379         * soft-fp/fmasf4.c: Likewise.
28380         * soft-fp/fmatf4.c: Likewise.
28381         * soft-fp/gedf2.c: Likewise.
28382         * soft-fp/gesf2.c: Likewise.
28383         * soft-fp/getf2.c: Likewise.
28384         * soft-fp/ledf2.c: Likewise.
28385         * soft-fp/lesf2.c: Likewise.
28386         * soft-fp/letf2.c: Likewise.
28387         * soft-fp/muldf3.c: Likewise.
28388         * soft-fp/mulsf3.c: Likewise.
28389         * soft-fp/multf3.c: Likewise.
28390         * soft-fp/negdf2.c: Likewise.
28391         * soft-fp/negsf2.c: Likewise.
28392         * soft-fp/negtf2.c: Likewise.
28393         * soft-fp/op-1.h: Likewise.
28394         * soft-fp/op-2.h: Likewise.
28395         * soft-fp/op-4.h: Likewise.
28396         * soft-fp/op-8.h: Likewise.
28397         * soft-fp/op-common.h: Likewise.
28398         * soft-fp/quad.h: Likewise.
28399         * soft-fp/single.h: Likewise.
28400         * soft-fp/soft-fp.h: Likewise.
28401         * soft-fp/sqrtdf2.c: Likewise.
28402         * soft-fp/sqrtsf2.c: Likewise.
28403         * soft-fp/sqrttf2.c: Likewise.
28404         * soft-fp/subdf3.c: Likewise.
28405         * soft-fp/subsf3.c: Likewise.
28406         * soft-fp/subtf3.c: Likewise.
28407         * soft-fp/truncdfsf2.c: Likewise.
28408         * soft-fp/trunctfdf2.c: Likewise.
28409         * soft-fp/trunctfsf2.c: Likewise.
28410         * soft-fp/trunctfxf2.c: Likewise.
28411         * soft-fp/unorddf2.c: Likewise.
28412         * soft-fp/unordsf2.c: Likewise.
28413         * soft-fp/unordtf2.c: Likewise.
28415 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28417         [BZ #15672]
28418         * misc/error.c (error_tail): Fix possible buffer overflow.
28420 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28422         [BZ #13028]
28423         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28424         address.
28426 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28428         [BZ #832]
28429         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28430         testing pipefail option.
28432 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28434         * soft-fp/double.h: Indent preprocessor directives inside #if.
28435         * soft-fp/extended.h: Likewise.
28436         * soft-fp/op-2.h: Likewise.
28437         * soft-fp/op-4.h: Likewise.
28438         * soft-fp/op-common.h: Likewise.
28439         * soft-fp/quad.h: Likewise.
28440         * soft-fp/single.h: Likewise.
28441         * soft-fp/soft-fp.h: Likewise.
28443 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28445         * iconv/iconv_prog.c: Fix typos.
28446         * stdio-common/psiginfo-data.h: Likewise.
28448 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28450         [BZ #15764]
28451         * locale/setlocale.c: Fix typo.
28453 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28455         [BZ #16036]
28456         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28457         signaling NaN arguments.
28458         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28459         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28461         [BZ #14910]
28462         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28463         unordered operands.
28464         * soft-fp/gesf2.c (__gesf2): Likewise.
28465         * soft-fp/getf2.c (__getf2): Likewise.
28466         * soft-fp/ledf2.c (__ledf2): Likewise.
28467         * soft-fp/lesf2.c (__lesf2): Likewise.
28468         * soft-fp/letf2.c (__letf2): Likewise.
28470         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28471         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28472         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28473         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28474         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28475         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28476         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28477         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28478         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28479         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28480         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28481         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28482         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28483         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28484         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28485         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28486         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28487         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28488         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28489         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28490         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28491         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28492         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28493         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28494         * soft-fp/floattidf.c (__floattidf): Likewise.
28495         * soft-fp/floattisf.c (__floattisf): Likewise.
28496         * soft-fp/floattitf.c (__floattitf): Likewise.
28497         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28498         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28499         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28500         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28501         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28502         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28503         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28504         * soft-fp/gesf2.c (__gesf2): Likewise.
28505         * soft-fp/getf2.c (__getf2): Likewise.
28506         * soft-fp/ledf2.c (__ledf2): Likewise.
28507         * soft-fp/lesf2.c (__lesf2): Likewise.
28508         * soft-fp/letf2.c (__letf2): Likewise.
28510         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28511         Undefine and redefine.
28512         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28513         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28514         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28515         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28516         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28517         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28518         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28519         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28520         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28521         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28522         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28523         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28524         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28525         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28526         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28528         [BZ #16032]
28529         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28530         without decrementing exponent if mantissa >= that for the
28531         denominator, not >.
28532         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28533         denominator, not >.  Decrement exponent in < case instead of
28534         incrementing in >= case.
28535         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28536         without decrementing exponent if mantissa >= that for the
28537         denominator, not >.
28539         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28540         computing saturated result for unsigned overflow.
28542 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28543             Jeff Law  <law@redhat.com>
28545         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28546         (atan2Mp): Add systemtap probe marker.
28547         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28548         (__ieee754_log): Add systemtap probe marker.
28549         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28550         (atanMp): Add systemtap probe marker.
28551         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28552         (tanMp): Add systemtap probe marker.
28553         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28554         (__slowexp): Add systemtap probe marker.
28555         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28556         (__slowpow): Add systemtap probe marker.
28557         * manual/probes.texi: Document probes.
28559 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28561         [BZ #15362]
28562         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28563         written.
28564         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28565         written.
28566         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28567         written to buffer but not flushed.
28568         * libio/iofwrite_u.c:  Likewise.
28569         * libio/iopadn.c:  Return bytes returned even if EOF was
28570         encountered.
28571         * libio/iowpadn.c:  Likewise.
28572         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28573         if _IO_padn does not write the whole buffer.
28574         [!COMPILE_WPRINTF] (PAD): Likewise.
28576 2013-10-10  David S. Miller  <davem@davemloft.net>
28578         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28579         directory block.
28581 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28583         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28584         instead of FSF address.
28585         * soft-fp/fixdfti.c: Likewise.
28586         * soft-fp/fixsfti.c: Likewise.
28587         * soft-fp/fixtfti.c: Likewise.
28588         * soft-fp/fixunsdfti.c: Likewise.
28589         * soft-fp/fixunssfti.c: Likewise.
28590         * soft-fp/fixunstfti.c: Likewise.
28591         * soft-fp/floattidf.c: Likewise.
28592         * soft-fp/floattisf.c: Likewise.
28593         * soft-fp/floattitf.c: Likewise.
28594         * soft-fp/floatuntidf.c: Likewise.
28595         * soft-fp/floatuntisf.c: Likewise.
28596         * soft-fp/floatuntitf.c: Likewise.
28597         * soft-fp/trunctfxf2.c: Likewise.
28599         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28600         * soft-fp/fixdfti.c: Likewise.
28601         * soft-fp/fixsfti.c: Likewise.
28602         * soft-fp/fixtfti.c: Likewise.
28603         * soft-fp/fixunsdfti.c: Likewise.
28604         * soft-fp/fixunssfti.c: Likewise.
28605         * soft-fp/fixunstfti.c: Likewise.
28606         * soft-fp/floattidf.c: Likewise.
28607         * soft-fp/floattisf.c: Likewise.
28608         * soft-fp/floattitf.c: Likewise.
28609         * soft-fp/floatuntidf.c: Likewise.
28610         * soft-fp/floatuntisf.c: Likewise.
28611         * soft-fp/floatuntitf.c: Likewise.
28612         * soft-fp/trunctfxf2.c: Likewise.
28614 2013-10-10  David S. Miller  <davem@davemloft.net>
28616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28618 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28620         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28621         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28622         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28623         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28624         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28625         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28626         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28628         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28629         for NaNs before doing comparisons on argument.
28630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28631         Likewise.
28633 2013-10-10  Will Newton  <will.newton@linaro.org>
28635         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28636         passed to _int_memalign does not overflow.
28638 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28640         * scripts/bench.pl: Add include-sources directive.
28641         * benchtests/README: Update documentation.
28643 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28645         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28646         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28647         instead of FP_INIT_ROUNDMODE.
28648         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28649         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28651         [BZ #16034]
28652         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28653         copy class of input value.
28654         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28655         not handle exceptions.
28656         * soft-fp/negsf2.c (__negsf2): Likewise.
28657         * soft-fp/negtf2.c (__negtf2): Likewise.
28658         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28660 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28662         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28663         semicolon.  From Linux kernel.
28665 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28667         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28669 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28671         [BZ #156]
28672         * manual/socket.texi: Added statement about buffer
28673         for gethostbyname2_r.
28675 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28677         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28678         Use .p2align directive instead, throughout.
28679         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28680         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28681         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28682         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28683         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28684         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28685         * sysdeps/x86_64/strchr.S: Likewise.
28686         * sysdeps/x86_64/strrchr.S: Likewise.
28688 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28690         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28692         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28694         * sysdeps/generic/math_private.h (__mpsin1): Remove
28695         declaration.
28696         (__mpcos1): Likewise.
28697         (__mpsin): New argument __range_reduce.
28698         (__mpcos): Likewise.
28699         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28700         (slow): Use __mpsin and __mpcos.
28701         (slow1): Likewise.
28702         (slow2): Likewise.
28703         (sloww): Likewise.
28704         (sloww1): Likewise.
28705         (sloww2): Likewise.
28706         (bsloww): Likewise.
28707         (bsloww1): Likewise.
28708         (bsloww2): Likewise.
28709         (cslow2): Likewise.
28710         (csloww): Likewise.
28711         (csloww1): Likewise.
28712         (csloww2): Likewise.
28713         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28714         range_reduce.  Merge in __mpsin1.
28715         (__mpcos): Likewise.
28716         (__mpsin1): Remove.
28717         (__mpcos1): Likewise.
28719 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28721         * locale/loadlocale.c (_nl_intern_locale_data): Use
28722         LOCFILE_ALIGNED_P.
28723         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28724         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28725         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28726         obstack data is appropriately aligned.
28727         (obstack_int32_grow_fast): Likewise.
28728         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28729         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28730         (add_locale_uint32_array): Likewise.
28732 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28734         * benchtests/Makefile: Remove ARGLIST and RET variables.
28735         ($(objpfx)bench-%.c): Pass only function name to the script.
28736         * benchtests/README: Update documentation.
28737         * benchtests/acos-inputs: Add new directives.
28738         * benchtests/acosh-inputs: Likewise.
28739         * benchtests/asin-inputs: Likewise.
28740         * benchtests/asinh-inputs: Likewise.
28741         * benchtests/atan-inputs: Likewise.
28742         * benchtests/atanh-inputs: Likewise.
28743         * benchtests/cos-inputs: Likewise.
28744         * benchtests/cosh-inputs: Likewise.
28745         * benchtests/exp-inputs: Likewise.
28746         * benchtests/log-inputs: Likewise.
28747         * benchtests/pow-inputs: Likewise.
28748         * benchtests/rint-inputs: Likewise.
28749         * benchtests/sin-inputs: Likewise.
28750         * benchtests/sinh-inputs: Likewise.
28751         * benchtests/tan-inputs: Likewise.
28752         * benchtests/tanh-inputs: Likewise.
28753         * scripts/bench.pl: Add support for new directives.
28755 2013-10-07  Alan Modra  <amodra@gmail.com>
28757         * README: Fix careless merge.
28759 2013-10-05  Alan Modra  <amodra@gmail.com>
28761         * NEWS: Mention powerpc64le support and bugs fixed.
28762         * README: Both big-endian and little-endian powerpc64 supported.
28764 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28766         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28767         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28768         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28769         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28771 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28773         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28774         match prototype.
28776 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28778         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28779         Move -mhard-float appending from
28780         ports/sysdeps/powerpc/powerpc32/Makefile.
28781         [$(with-fp) = yes] (ASFLAGS): Likewise.
28782         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28783         * sysdeps/powerpc/nofpu: Move directory from
28784         ports/sysdeps/powerpc/nofpu.
28785         * sysdeps/powerpc/soft-fp: Move directory from
28786         ports/sysdeps/powerpc/soft-fp.
28787         * sysdeps/powerpc/powerpc32/405: Move directory from
28788         ports/sysdeps/powerpc/powerpc32/405.
28789         * sysdeps/powerpc/powerpc32/440: Move directory from
28790         ports/sysdeps/powerpc/powerpc32/440.
28791         * sysdeps/powerpc/powerpc32/464: Move directory from
28792         ports/sysdeps/powerpc/powerpc32/464.
28793         * sysdeps/powerpc/powerpc32/476: Move directory from
28794         ports/sysdeps/powerpc/powerpc32/476.
28795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28796         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28798         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28800         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28802         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28804         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28805         * README: Update for powerpc-*-linux-gnu software floating point
28806         support in libc.
28808         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28809         case to powerpc/powerpc32*.
28810         * sysdeps/unix/sysv/linux/configure: Regenerated.
28812         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28813         (_FPU_MASK_OM): Define as 0x04.
28814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28816         0x00c10080.
28817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28818         0x0000003c.
28819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28822         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28823         getcontext_e500.
28824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28825         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28826         setcontext_e500.
28827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28828         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28829         and setcontext_e500.
28831 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28833         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28835 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28837         * manual/threads.texi (Default Thread Attributes): Fix typo.
28839 2013-10-04  Will Newton  <will.newton@linaro.org>
28841         * malloc/Makefile: Add tst-memalign.
28842         * malloc/tst-memalign.c: New file.
28844         * malloc/tst-posix_memalign.c: Add comments.
28845         (do_test): Add comments and call free on all potentially
28846         allocated pointers. Add space after cast.
28848         * malloc/tst-pvalloc.c: Add comments.
28849         (do_test): Add comments and call free on all potentially
28850         allocated pointers. Remove duplicate check for NULL pointer.
28851         Add space after cast.
28853         * malloc/tst-valloc.c: Add comments.
28854         (do_test): Add comments and call free on all potentially
28855         allocated pointers. Remove duplicate check for NULL pointer.
28856         Add space after cast.
28858 2013-10-04  Alan Modra  <amodra@gmail.com>
28860         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28861         Use stdint types in rather than __attribute__((mode())).
28862         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28864 2013-10-04  Alan Modra  <amodra@gmail.com>
28866         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28867         Correct handling of unaligned relocs for little-endian.
28868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28870 2013-10-04  Alan Modra  <amodra@gmail.com>
28872         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28873         * configure: Regenerate.
28874         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28875         * shlib-versions: Likewise.
28877 2013-10-04  Alan Modra  <amodra@gmail.com>
28879         * string/tester.c (test_memrchr): Increment reported test cycle.
28881 2013-10-04  Alan Modra  <amodra@gmail.com>
28883         * string/test-memcpy.c (do_one_test): When reporting errors, print
28884         string address and don't overrun end of string.
28886 2013-10-04  Alan Modra  <amodra@gmail.com>
28888         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28889         insrdi.  Make better use of reg selection to speed exit slightly.
28890         Schedule entry path a little better.  Remove useless "are we done"
28891         checks on entry to main loop.  Handle wrapping around zero address.
28892         Correct main loop count.  Handle single left-over word from main
28893         loop inline rather than by using loop_small.  Remove extra word
28894         case in loop_small caused by wrong loop count.  Add little-endian
28895         support.
28896         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28897         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28898         cache hint.
28899         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28900         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28901         support.  Avoid rlwimi.
28902         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28904 2013-10-04  Alan Modra  <amodra@gmail.com>
28906         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28907         insrdi.  Formatting.
28908         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28909         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28910         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28911         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28912         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28913         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28915 2013-10-04  Alan Modra  <amodra@gmail.com>
28917         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28918         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28919         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28920         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28921         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28922         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28923         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28924         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28925         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28926         use of regs.  Use power7 mtocrf.  Tidy function tails.
28928 2013-10-04  Alan Modra  <amodra@gmail.com>
28930         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28931         Formatting.  Consistently use rXXX register defines or rN defines.
28932         Use early exit labels that avoid restoring unused non-volatile regs.
28933         Make cr field use more consistent with rWORDn compares.  Rename
28934         regs used as shift registers for unaligned loop, using rN defines
28935         for short lifetime/multiple use regs.
28936         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28937         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28938         addi 1,1,64 to pop stack frame.  Simplify return value code.
28939         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28941 2013-10-04  Alan Modra  <amodra@gmail.com>
28943         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28944         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28945         rather than rlwimi.
28946         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28947         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28948         little-endian support.  Correct typos.
28949         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28950         rather than rlwimi.
28951         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28952         in loop and entry code to keep "and." results.
28953         (strchr): Add little-endian support.  Comment.  Move cntlzd
28954         earlier in tail.
28955         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28957 2013-10-04  Alan Modra  <amodra@gmail.com>
28959         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28960         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28961         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28962         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28964 2013-10-04  Alan Modra  <amodra@gmail.com>
28966         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28967         (rTMP): Define as r11.
28968         (strcmp): Add little-endian support.  Optimise tail.
28969         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28970         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28971         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28972         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28973         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28974         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28975         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28977 2013-10-04  Alan Modra  <amodra@gmail.com>
28979         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28980         little-endian support.  Remove unnecessary "are we done" tests.
28981         Handle "s" wrapping around zero and extremely large "size".
28982         Correct main loop count.  Handle single left-over word from main
28983         loop inline rather than by using small_loop.  Correct comments.
28984         Delete "zero" tail, use "end_max" instead.
28985         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28987 2013-10-04  Alan Modra  <amodra@gmail.com>
28989         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28990         support.  Don't branch over align.
28991         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28992         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28993         support.  Rearrange tmp reg use to suit.  Comment.
28994         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28996 2013-10-04  Alan Modra  <amodra@gmail.com>
28998         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29000 2013-10-04  Alan Modra  <amodra@gmail.com>
29002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29003         conditional form of branch and link when obtaining pc.
29004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29006 2013-10-04  Alan Modra  <amodra@gmail.com>
29008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29009         HIWORD/LOWORD.
29010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29013 2013-10-04  Alan Modra  <amodra@gmail.com>
29015         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29016         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29017         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29018         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29019         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29020         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29021         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29022         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29023         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29024         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29026 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29027             Alistair Popple <alistair@ozlabs.au.ibm.com>
29028             Alan Modra <amodra@gmail.com>
29030         [BZ #15723]
29031         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29032         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29033         _dl_hwcap access for little-endian.
29034         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29035         destroy vmx regs when saving unaligned.
29036         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29037         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29038         destroy vmx regs when saving unaligned.
29040 2013-10-04  Alan Modra  <amodra@gmail.com>
29042         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29043         Don't use a union to pack hi/low value.
29045 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29047         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29048         for little-endian.
29049         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29050         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29051         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29052         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29053         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29055 2013-10-04  Alan Modra  <amodra@gmail.com>
29057         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29058         constants to usual value for .cst8 section, and remove redundant
29059         high address load.
29060         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29061         constant for 0x1p52.  Load little-endian words of double from
29062         correct stack offsets.
29064 2013-10-04  Alan Modra  <amodra@gmail.com>
29066         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29067         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29068         words of double from correct stack offsets.
29069         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29070         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29071         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29072         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29073         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29074         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29075         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29076         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29077         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29078         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29079         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29080         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29081         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29082         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29083         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29084         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29085         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29087 2013-10-04  Alan Modra  <amodra@gmail.com>
29089         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29090         64-bit int/double union.
29091         (_FPU_SETCW): Likewise.
29092         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29093         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29095 2013-10-04  Alan Modra  <amodra@gmail.com>
29097         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29098         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29100 2013-10-04  Alan Modra  <amodra@gmail.com>
29102         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29103         use vector int constants.
29104         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29106 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29108         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29109         array with long long.
29110         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29111         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29112         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29113         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29114         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29115         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29116         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29117         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29118         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29119         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29120         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29121         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29122         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29124 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29126         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29127         (__signbit): Likewise.  Correct for little-endian.
29128         (__signbitl): Call __signbit.
29129         (lrint): Correct for little-endian.
29130         (lrintf): Call lrint.
29132 2013-10-04  Alan Modra  <amodra@gmail.com>
29134         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29135         union 32-bit int array member with 64-bit int array.
29136         (t515, tm256): Double rather than long double.
29137         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29139 2013-10-04  Alan Modra  <amodra@gmail.com>
29141         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29142         Delete.
29143         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29144         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29145         version of math_ldbl.h.
29147 2013-10-04  Alan Modra  <amodra@gmail.com>
29149         [BZ #15734], [BZ #15735]
29150         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29151         all uses of ieee875 long double macros and unions.  Simplify test
29152         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29153         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29154         normalize after ldbl_extract_mantissa, and don't add hidden bit
29155         already handled.  Don't treat low word of ieee854 mantissa like
29156         low word of IBM long double and mask off bit when testing for
29157         zero.
29158         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29159         all uses of ieee875 long double macros and unions.  Simplify tests
29160         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29161         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29162         two1022, instead use their values.  Recognise that tests for large
29163         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29164         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29165         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29166         test for 0.0L and nan.  Correct negation.
29167         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29168         ieee875 long double macros and unions.  Correct output for large
29169         magnitude x.  Correct absolute value calculation.
29170         (__erfcl): Likewise.
29171         * math/libm-test.inc: Add tests for errors discovered in IBM long
29172         double versions of fmodl, remainderl, erfl and erfcl.
29174 2013-10-04  Alan Modra  <amodra@gmail.com>
29176         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29177         all uses of ieee854 long double macros and unions.  Simplify tests
29178         for long doubles that are fully specified by the high double.
29179         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29180         Likewise.
29181         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29182         Remove dead code too.
29183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29184         (__ieee754_ynl): Likewise.
29185         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29186         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29187         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29188         Remove dead code too.
29189         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29190         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29191         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29192         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29193         Simplify.
29194         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29195         Simplify.
29196         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29197         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29198         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29199         Comment on variable precision.
29200         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29201         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29202         Likewise.
29203         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29204         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29205         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29206         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29207         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29209 2013-10-04  Alan Modra  <amodra@gmail.com>
29211         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29212         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29213         all uses of ieee854 long double macros and unions.
29214         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29215         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29216         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29217         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29218         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29219         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29220         Likewise.
29221         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29222         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29223         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29224         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29225         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29226         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29227         Simplify sign and nan test too.
29228         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29229         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29230         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29231         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29232         Likewise.
29233         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29234         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29235         Likewise.
29236         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29237         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29238         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29239         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29240         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29241         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29243 2013-10-04  Alan Modra  <amodra@gmail.com>
29245         * stdio-common/printf_size.c (__printf_size): Don't use
29246         union ieee854_long_double in fpnum union.
29247         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29248         signbit macro to retrieve sign from long double.
29249         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29250         retrieve sign from long double.
29251         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29252         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29253         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29254         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29255         * math/test-misc.c (main): Don't use union ieee854_long_double.
29257 2013-10-04  Alan Modra  <amodra@gmail.com>
29259         [BZ #15680]
29260         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29261         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29262         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29263         calculation.  Remove unnecessary test for denormal exponent.
29264         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29265         Correct handling of denormals.  Avoid undefined shift behaviour.
29266         Correct normalisation of low mantissa when low double is denormal.
29267         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29268         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29269         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29270         Correct normalisation of low mantissa.  Test for overflow of high
29271         mantissa and normalise.
29272         (ldbl_nearbyint): Use more readable constant for two52.
29273         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29274         (__mpn_construct_long_double): Fix test for overflow of high
29275         mantissa and correct normalisation.  Avoid undefined shift.
29277 2013-10-04  Alan Modra  <amodra@gmail.com>
29279         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29280         (union ibm_extended_long_double): Define as an array of ieee754_double.
29281         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29282         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29283         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29284         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29285         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29286         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29287         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29288         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29289         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29290         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29291         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29293 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29295         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29296         page size instead of calling getpagesize.
29298         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29299         (LOCFILE_ALIGN_MASK): Likewise.
29300         (LOCFILE_ALIGN_UP): Likewise.
29301         (LOCFILE_ALIGNED_P): Likewise.
29302         * locale/programs/ld-collate.c (collate_output): Use the new
29303         macros instead of __alignof__ (int32_t).
29304         * locale/weight.h (findidx): Likewise.
29306 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29308         [BZ #431]
29309         * manual/string.texi: Fix strncat and wcsncat.
29311 2013-10-03  Brooks Moses  <bmoses@google.com>
29313         [BZ #15915]
29314         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29315         * Makerules: ...here, and adjust associated comments.
29317 2013-10-02  Will Newton  <will.newton@linaro.org>
29319         * malloc/Makefile: Add tst-pvalloc.
29320         * malloc/tst-pvalloc.c: New file.
29322 2013-10-02  Will Newton  <will.newton@linaro.org>
29324         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29325         improve test coverage.
29327 2013-10-02  Will Newton  <will.newton@linaro.org>
29329         * malloc/Makefile: Add tst-posix_memalign.
29330         * malloc/tst-posix_memalign.c: New file.
29332 2013-10-01  Eric Blake  <eblake@redhat.com>
29334         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29335         Use __THROWNL rather than __THROW on static functions.
29337 2013-09-30  Petr Machata  <pmachata@redhat.com>
29339         * elf/elf.h (R_AARCH64_ABS16): New macro.
29340         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29341         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29342         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29343         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29344         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29345         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29346         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29347         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29348         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29349         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29350         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29351         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29352         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29353         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29354         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29355         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29356         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29357         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29358         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29359         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29360         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29361         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29362         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29363         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29364         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29365         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29366         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29367         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29368         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29369         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29370         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29371         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29372         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29373         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29374         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29375         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29376         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29377         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29378         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29379         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29380         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29381         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29382         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29383         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29384         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29385         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29386         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29387         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29388         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29389         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29390         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29391         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29392         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29393         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29394         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29395         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29396         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29397         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29398         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29399         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29400         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29401         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29402         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29403         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29404         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29405         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29406         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29407         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29408         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29409         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29410         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29411         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29412         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29413         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29414         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29415         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29416         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29417         (R_AARCH64_TLSDESC_LDR): Likewise.
29418         (R_AARCH64_TLSDESC_ADD): Likewise.
29419         (R_AARCH64_TLSDESC_CALL): Likewise.
29421 2013-09-30  Andreas Schwab  <schwab@suse.de>
29423         [BZ #15048]
29424         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29425         the nss database lookup.
29426         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29427         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29429 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29431         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29433 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29435         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29436         ${Bash-specific parameter/pattern/string} parameter expansion.
29437         * sysdeps/unix/make-syscalls.sh: Likewise.
29439 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29441         * sysdeps/sh/stackguard-macros.h: New file.
29443 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29447         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29448         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29449         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29450         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29452 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29454         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29455         Fix thread ID register.
29457 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29459         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29460         [POSIX || UNIX98]: Require rather than permitting all symbols from
29461         <time.h>.
29462         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29463         element of struct sched_param.
29464         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29465         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29466         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29467         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29468         constant.
29470 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29472         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29473         argument calculation.
29475 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29477         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29478         Expect macro.
29479         [POSIX] (pthread_attr_t): Do not require type.
29480         [POSIX] (pthread_cond_t): Likewise.
29481         [POSIX] (pthread_condattr_t): Likewise.
29482         [POSIX] (pthread_key_t): Likewise.
29483         [POSIX] (pthread_mutex_t): Likewise.
29484         [POSIX] (pthread_mutexattr_t): Likewise.
29485         [POSIX] (pthread_once_t): Likewise.
29486         [POSIX] (pthread_t): Likewise.
29487         [POSIX-based standards] (pthread_atfork): Expect function.
29489 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29490             Richard Sandiford  <richard@codesourcery.com>
29492         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29493         (swap_endianness_p): New extern variable.
29494         (set_big_endian): New inline function.
29495         (maybe_swap_uint32): Likewise.
29496         (maybe_swap_uint32_array): Likewise.
29497         (maybe_swap_uint32_obstack): Likewise.
29498         * locale/programs/locfile.c: Include <stdbool.h>.
29499         (swap_endianness_p): New variable.
29500         (add_locale_uint32): Call maybe_swap_uint32.
29501         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29502         (write_locale_data): Call maybe_swap_uint32_array.
29503         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29504         maybe_swap_uint32.
29505         (obstack_int32_grow_fast): Likewise.
29506         (output_weightwc): Call maybe_swap_uint32_obstack.
29507         (collate_output): Likewise.
29508         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29509         (OPT_LITTLE_ENDIAN): Likewise.
29510         (options): Add --little-endian and --big-endian options.
29511         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29512         * locale/programs/locarchive.c: Include "locfile.h".
29513         (GET): New macro.
29514         (SET): Likewise.
29515         (INC): Likewise.
29516         (create_archive): Use the new macros to access fields of
29517         structures directly mapped from or written to locale archives.
29518         (oldlocrecentcmp): Likewise.
29519         (enlarge_archive): Likewise.
29520         (insert_name): Likewise.
29521         (add_alias): Likewise.
29522         (add_locale): Likewise.
29523         (delete_locales_from_archive): Likewise.
29524         (show_archive_content): Likewise.
29525         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29526         locale data.
29528 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29530         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29531         http://www.gnu.org/doc/freemanuals.texi.
29532         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29534 2013-09-24  Will Newton  <will.newton@linaro.org>
29536         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29537         macro.
29539 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29541         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29542         unsigned char.
29544 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29546         * manual/threads.texi (POSIX Threads): Fix a typo.
29548 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29550         [BZ #14547]
29551         * string/tst-strcoll-overflow.c: New test case.
29552         * string/Makefile (xtests): Add tst-strcoll-overflow.
29553         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29554         cache if string sizes may cause integer overflow.
29556         [BZ #14547]
29557         * string/strcoll_l.c (coll_seq): New members rule, idx,
29558         save_idx and back_us.
29559         (get_next_seq_nocache): New function.
29560         (do_compare_nocache): New function.
29561         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29562         when malloc fails.
29564 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29566         [BZ #15754]
29567         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29568         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29569         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29571         [BZ #15754]
29572         * elf/Makefile (tests): Add tst-ptrguard1.
29573         (tests-static): Add tst-ptrguard1-static.
29574         (tst-ptrguard1-ARGS): Define.
29575         (tst-ptrguard1-static-ARGS): Define.
29576         * elf/tst-ptrguard1.c: New file.
29577         * elf/tst-ptrguard1-static.c: New file.
29578         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29579         * sysdeps/i386/stackguard-macros.h: Likewise.
29580         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29581         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29582         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29583         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29584         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29585         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29587 2013-09-23  Hector Marco  <hecmargi@upv.es>
29588             Ismael Ripoll  <iripoll@disca.upv.es>
29589             Carlos O'Donell  <carlos@redhat.com>
29591         [BZ #15754]
29592         * sysdeps/generic/stackguard-macros.h: Define
29593         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29594         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29595         Define __pointer_chk_guard_local.
29596         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29597         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29599 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29601         [BZ #15859]
29602         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29604 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29606         * include/string.h (__ffs): Declare as hidden.
29607         * string/ffs.c (__ffs): Define as hidden.
29608         * sysdeps/i386/ffs.c (__ffs): Likewise.
29609         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29610         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29611         * sysdeps/s390/ffs.c (__ffs): Likewise.
29612         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29614 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29616         * NEWS: Mention malloc probes.
29618         * malloc/arena.c (new_heap): New memory_heap_new probe.
29619         (grow_heap): New memory_heap_more probe.
29620         (shrink_heap): New memory_heap_less probe.
29621         (heap_trim): New memory_heap_free probe.
29622         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29623         (systrim): New memory_sbrk_less probe.
29624         * manual/probes.texi: Document them.
29626         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29627         * manual/probes.texi: Document it.
29629         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29630         (__libc_realloc): Add memory_realloc_retry probe.
29631         (__libc_memalign): Add memory_memalign_retry probe.
29632         (__libc_valloc): Add memory_valloc_retry probe.
29633         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29634         (__libc_calloc): Add memory_calloc_retry probe.
29635         * manual/probes.texi: Document them.
29637         * malloc/arena.c (get_free_list): Add probe
29638         memory_arena_reuse_free_list.
29639         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29640         and memory_arena_reuse.
29641         (arena_get2) [!PER_THREAD]: Likewise.
29642         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29643         memory_arena_reuse_realloc.
29644         * manual/probes.texi: Document them.
29646         * malloc/malloc.c (__libc_free): Add
29647         memory_mallopt_free_dyn_thresholds probe.
29648         (__libc_mallopt): Add multiple memory_mallopt probes.
29649         * manual/probes.texi: Document them.
29651         * malloc/malloc.c: Include stap-probe.h.
29652         (__libc_mallopt): Add memory_mallopt probe.
29653         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29654         * manual/probes.texi: New.
29655         * manual/Makefile (chapters): Add probes.
29656         * manual/threads.texi: Set next node.
29658 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29660         [BZ #15963, #13985]
29661         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29662         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29663         Add `Chinese' to `nan' entry name.
29665 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29667         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29668         (POLYNOMIAL): Likewise.
29669         (TAYLOR_SINCOS): Likewise.
29670         (TAYLOR_SLOW): Likewise.
29671         (__sin): Use TAYLOR_SINCOS.
29672         (__cos): Likewise.
29673         (slow): Use TAYLOR_SLOW.
29674         (sloww): Likewise.
29675         (bsloww): Likewise.
29676         (csloww): Likewise.
29678 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29680         * stdlib/strtod_l.c: Fix buffer overrun.
29682 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29684         * benchtests/Makefile (bench): Add sincos.
29685         * benchtests/bench-sincos.c: New file.
29687         * math/libm-test.inc (cos_test_data): New test inputs.
29688         (sin_test_data): Likewise.
29690         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29691         macro.
29692         (__sin): Use it.
29693         (__cos): Likewise.
29694         (slow1): Likewise.
29695         (slow2): Likewise.
29696         (sloww1): Likewise.
29697         (sloww2): Likewise.
29698         (bsloww1): Likewise.
29699         (bsloww2): Likewise.
29700         (cslow2): Likewise.
29701         (csloww1): Likewise.
29702         (csloww2): Likewise.
29704         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29705         function.
29706         (__sin): Use it.
29707         (__cos): Likewise.
29709         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29710         gotos.
29711         (__cos): Likewise.
29713 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29715         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29716         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29717         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29718         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29719         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29720         * elf/cache.c (print_entry): Handle the new cache flags.
29722 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29723             Aldy Hernandez  <aldyh@redhat.com>
29725         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29726         Change condition to [_SOFT_FLOAT].
29727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29739         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29742         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29743         declaration.
29745 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29747         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29748         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29749         (__longjmp): Use LOAD_GP to load saved GPRs.
29750         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29751         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29752         (__sigsetjmp): Use SAVE_GP to save GPRs.
29754         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29755         Do not append -msoft-float.
29756         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29758 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29760         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29762 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29764         [BZ #15966]
29765         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29766         (_FPU_GETCW): Use initial "__" on variable and field names but not
29767         on macro parameter name.
29768         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29769         parentheses around reference to macro parameter.
29771 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29773         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29774         prototype.
29775         (ctype_startup): Use uint32_t in cast and sizeof for
29776         ctype->charnames.
29778 2013-09-11  Jia Liu  <proljc@gmail.com>
29780         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29781         __daddr_t_defined.
29782         [__FreeBSD__]: Likewise.
29784 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29787         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29788         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29789         (strchr): Remove __strchr_sse42 ifunc selection.
29790         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29791         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29793 2013-09-11  Will Newton  <will.newton@linaro.org>
29795         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29796         parameter to RES. Remove hardcoded 1000 value.
29797         * benchtests/bench-skeleton.c (main): Pass RES parameter
29798         to TIMING_INIT and multiply result by 1000.
29800 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29804 2013-09-11  Andreas Schwab  <schwab@suse.de>
29806         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29807         if not defined.
29808         (O_TMPFILE) [__USE_GNU]: Define.
29809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29810         Define.
29812 2013-09-11  Will Newton  <will.newton@linaro.org>
29814         [BZ #15857]
29815         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29816         does not overflow.
29818 2013-09-11  Will Newton  <will.newton@linaro.org>
29820         [BZ #15856]
29821         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29822         does not overflow.
29824 2013-09-11  Will Newton  <will.newton@linaro.org>
29826         [BZ #15855]
29827         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29828         does not overflow.
29830 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29832         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29833         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29834         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29835         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29836         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29838 2013-09-10  Allan McRae  <allan@archlinux.org>
29840         [BZ #15748]
29841         * manual/arith.texi (Parsing of Floats): Clarify
29842         cross-reference.
29844         [BZ #15849]
29845         * manual/install.texi (Running make install): Mention
29846         --enable-pt-chown.
29847         * INSTALL: Regenerated.
29849 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29851         * csu/init-first.c (_init): Remove the !SHARED condition around
29852         FPU control word initialization.
29853         * elf/dl-support.c (_dl_fpu_control): New variable.
29854         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29855         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29856         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29857         * math/test-fpucw-static.c: New file.
29858         * math/test-fpucw-ieee.c: New file.
29859         * math/test-fpucw-ieee-static.c: New file.
29860         * math/Makefile (tests): Add `test-fpucw-ieee' and
29861         `$(tests-static)'.
29862         (tests-static): New variable.
29863         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29864         dependency to...
29865         [($(build-shared),yes)]
29866         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29867         ... this.
29868         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29869         New dependency.
29871 2013-09-09  Allan McRae  <allan@archlinux.org>
29873         [BZ #15939]
29874         * manual/string.texi (Collation Functions): Fix typo in
29875         strcoll example.
29876         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29878         [BZ #15893]
29879         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29881         [BZ #15892]
29882         * libio/memstream.c (open_memstream): Fix memory leak.
29883         * libio/wmemstream.c (open_wmemstream): Likewise.
29885         [BZ #15895]
29886         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29888 2013-09-09  Will Newton  <will.newton@linaro.org>
29890         * malloc/Makefile: Add tst-realloc to tests.
29891         * malloc/tst-realloc.c: New file.
29893 2013-09-09  Allan McRae  <allan@archlinux.org>
29895         [BZ #15844]
29896         * COPYING: Update from GNU website to fix FSF address.
29897         * COPYING.LIB: Likewise.
29899 2013-09-06  David S. Miller  <davem@davemloft.net>
29901         * po/zh_TW.po: Update Chinese (traditional) translation from
29902         translation project.
29904 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29905             Joseph Myers  <joseph@codesourcery.com>
29907         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29908         "localeinfo.h".
29909         (obstack_chunk_alloc): New macro.
29910         (obstack_chunk_free): Likewise.
29911         (record_offset): New function.
29912         (init_locale_data): Likewise.
29913         (align_locale_data): Likewise.
29914         (add_locale_empty): Likewise.
29915         (add_locale_raw_data): Likewise.
29916         (add_locale_raw_obstack): Likewise.
29917         (add_locale_string): Likewise.
29918         (add_locale_wstring): Likewise.
29919         (add_locale_uint32): Likewise.
29920         (add_locale_uint32_array): Likewise.
29921         (add_locale_char): Likewise.
29922         (start_locale_structure): Likewise.
29923         (end_locale_structure): Likewise.
29924         (start_locale_prelude): Likewise.
29925         (end_locale_prelude): Likewise.
29926         (write_locale_data): Take locale_file structure rather than an
29927         iovec.
29928         * locale/programs/locfile.h: Include "obstack.h".
29929         (struct locale_file): Change to store locale file contents instead
29930         of header.
29931         (init_locale_data): New prototype.
29932         (align_locale_data): Likewise.
29933         (add_locale_empty): Likewise.
29934         (add_locale_raw_data): Likewise.
29935         (add_locale_raw_obstack): Likewise.
29936         (add_locale_string): Likewise.
29937         (add_locale_wstring): Likewise.
29938         (add_locale_uint32): Likewise.
29939         (add_locale_uint32_array): Likewise.
29940         (add_locale_char): Likewise.
29941         (start_locale_structure): Likewise.
29942         (end_locale_structure): Likewise.
29943         (start_locale_prelude): Likewise.
29944         (end_locale_prelude): Likewise.
29945         (write_locale_data): Update prototype.
29946         * locale/programs/3level.h (struct TABLE): Remove result field.
29947         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29948         Use new locale_file interface.
29949         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29950         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29951         * locale/programs/ld-address.c (address_output): Use new
29952         locale_file interface.
29953         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29954         NO_ADD_LOCALE.
29955         (collate_finish): Don't call collseq_table_finalize.
29956         (collate_output): Use new locale_file interface.
29957         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29958         in file.
29959         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29960         (TABLE): Move defines earlier in file.
29961         (ELEMENT): Likewise.
29962         (DEFAULT): Likewise.
29963         (wctrans_table_add): Move macro and inline function earlier in
29964         file.
29965         (struct wctype_table): Move type earlier in file.
29966         (add_locale_wctype_table): New static prototype.
29967         (struct locale_ctype_t): Use logical types instead of struct iovec
29968         pointers for members.
29969         (ctype_output): Use new locale_file interface.
29970         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29971         new locale_file interface.
29972         (allocate_arrays): Update for use of new locale_file interface.
29973         * locale/programs/ld-identification.c (identification_output): Use
29974         new locale_file interface.
29975         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29976         * locale/programs/ld-messages.c (messages_output): Likewise.
29977         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29978         * locale/programs/ld-name.c (name_output): Likewise.
29979         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29980         * locale/programs/ld-paper.c (paper_output): Likewise.
29981         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29982         * locale/programs/ld-time.c (time_output): Likewise.
29984 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29986         * benchtests/Makefile: Add memrchr benchmark.
29987         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29988         benchmark as memrchr.
29989         * benchtests/bench-memrchr-ifunc.c: New file.
29990         * benchtests/bench-memrchr.c: New file.
29992 2013-09-06   Will Newton  <will.newton@linaro.org>
29994         * benchtests/Makefile (string-bench): Add memcpy.
29996 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29997             Cong Wang  <amwang@redhat.com>
29999         [BZ #15850]
30000         * sysdeps/unix/sysv/linux/bits/in.h
30001         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30002         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30003         before __USE_KERNEL_IPV6_DEFS uses.
30004         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30005         IPPROTO_BEETPH.
30006         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30007         sockaddr_in6, or ipv6_mreq.
30009 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30011         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30012         memory access for final bytes in some large inputs.
30013         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30015 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30017         * string/test-memrchr.c: New file.
30018         * string/test-memrchr-ifunc.c: New file.
30019         * string/Makefile: Add new memrchr testcase.
30021 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30023         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30024         fanotify_init returns EPERM.
30026 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30028         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30029         errors.
30030         (top level): Treat second token from macro or constant entries for
30031         allowed headers as allowed.
30032         * include/complex.h: Condition internal declarations on
30033         [!_ISOMAC].
30034         * include/fenv.h: Condition include of <stdbool.h> and internal
30035         declarations on [!_ISOMAC].
30037 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30039         [BZ #15923]
30040         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30042 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30044         * configure.in (--enable-versioning): Remove configure option.
30045         (libc_cv_asm_symver_directive): Remove configure test.
30046         (libc_cv_ld_version_script_option): Likewise.
30047         (VERSIONING): Remove variable and AC_SUBST.
30048         (DO_VERSIONING): Remove AC_DEFINE.
30049         * configure: Regenerated.
30050         * config.h.in (DO_VERSIONING): Remove macro.
30051         * Makerules [$(versioning) = yes]: Change conditionals to
30052         [$(build-shared) = yes].
30053         * config.make.in (versioning): Remove variable.
30054         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30055         [$(build-shared) = yes].
30056         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30057         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30058         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30059         [$(build-shared) = yes].
30060         * extra-lib.mk [$(versioning) = yes]: Likewise.
30061         * hurd/Makefile [$(versioning) = yes]: Likewise.
30062         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30063         [SHARED].
30064         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30065         [SHARED].
30066         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30067         [SHARED && !NO_HIDDEN].
30068         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30069         [SHARED].
30070         [SHARED && DO_VERSIONING]: Likewise..
30071         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30072         [$(build-shared) = yes].
30073         * manual/install.texi (--disable-versioning): Remove
30074         documentation.
30075         * INSTALL: Regenerated.
30076         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30077         to [SHARED].
30078         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30079         [$(build-shared) = yes].
30080         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30081         * sysdeps/i386/i686/multiarch/strstr-c.c
30082         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30083         [SHARED && !NO_HIDDEN].
30084         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30085         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30086         * sysdeps/powerpc/powerpc32/dl-machine.c
30087         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30088         * sysdeps/powerpc/powerpc32/sysdep.h
30089         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30090         to [SHARED && PIC && !NO_HIDDEN].
30091         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30092         conditional to [SHARED].
30094 2013-09-04   Will Newton  <will.newton@linaro.org>
30096         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30097         * benchtests/bench-string.h: Include bench-timing.h instead
30098         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30099         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30100         call to HP_TIMING_DIFF_INIT.
30101         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30102         instead of hp-timing.h macros.
30103         * benchtests/bench-memchr.c: Likewise.
30104         * benchtests/bench-memcmp.c: Likewise.
30105         * benchtests/bench-memcpy.c: Likewise.
30106         * benchtests/bench-memmem.c: Likewise.
30107         * benchtests/bench-memmove.c: Likewise.
30108         * benchtests/bench-memset.c: Likewise.
30109         * benchtests/bench-rawmemchr.c: Likewise.
30110         * benchtests/bench-strcasecmp.c: Likewise.
30111         * benchtests/bench-strcasestr.c: Likewise.
30112         * benchtests/bench-strcat.c: Likewise.
30113         * benchtests/bench-strchr.c: Likewise.
30114         * benchtests/bench-strcmp.c: Likewise.
30115         * benchtests/bench-strcpy.c: Likewise.
30116         * benchtests/bench-strcpy_chk.c: Likewise.
30117         * benchtests/bench-strlen.c: Likewise.
30118         * benchtests/bench-strncasecmp.c: Likewise.
30119         * benchtests/bench-strncat.c: Likewise.
30120         * benchtests/bench-strncmp.c: Likewise.
30121         * benchtests/bench-strncpy.c: Likewise.
30122         * benchtests/bench-strnlen.c: Likewise.
30123         * benchtests/bench-strpbrk.c: Likewise.
30124         * benchtests/bench-strrchr.c: Likewise.
30125         * benchtests/bench-strspn.c: Likewise.
30126         * benchtests/bench-strstr.c: Likewise.
30128 2013-09-04  Will Newton  <will.newton@linaro.org>
30130         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30132 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30134         [BZ #15427]
30135         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30136         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30137         * math/libm-test.inc (lgamma_test_data): Add more tests.
30138         * sysdeps/i386/fpu/libm-test-ulps: Update.
30139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30141 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30143         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30145         Add ifunc.
30146         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30147         Add strcmp-sse2-unaligned
30148         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30150 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30152         * Versions.def (libc): Add GLIBC_2.19.
30154 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30156         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30157         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30159 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30161         [BZ #14155]
30162         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30163         intermediate calculations in recurrence.
30164         (__ieee754_ynf): Likewise.
30165         * math/libm-test.inc (jn_test_data): Do not allow spurious
30166         underflow exception.  Add more tests.
30167         (yn_test_data): Add more tests.
30168         * sysdeps/i386/fpu/libm-test-ulps: Update.
30169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30171 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30173         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30175 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30177         * csu/init-first.c: Fix then/than typos.
30178         * locale/programs/ld-collate.c: Likewise.
30179         * locale/programs/linereader.h: Likewise.
30180         * manual/charset.texi: Likewise.
30181         * manual/filesys.texi: Likewise.
30182         * manual/stdio.texi: Likewise.
30183         * manual/string.texi: Likewise.
30184         * stdlib/fmtmsg.c: Likewise.
30185         * sysdeps/i386/stpncpy.S: Likewise.
30186         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30187         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30188         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30189         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30191 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30193         * elf/dl-open.c: Fix typos.
30194         * iconvdata/gbbig5.c: Likewise.
30195         * iconvdata/iso-2022-jp.c: Likewise.
30196         * iconv/gconv_int.h: Likewise.
30197         * iconv/loop.c: Likewise.
30198         * nis/rpcsvc/nis.h: Likewise.
30199         * resolv/ns_name.c: Likewise.
30200         * stdio-common/vfscanf.c: Likewise.
30201         * streams/stropts.h: Likewise.
30202         * sunrpc/rpc_thread.c: Likewise.
30203         * sysdeps/i386/strpbrk.S: Likewise.
30204         * sysdeps/ieee754/k_standard.c: Likewise.
30205         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30206         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30207         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30208         * sysdeps/mach/hurd/profil.c: Likewise.
30209         * sysdeps/s390/dl-procinfo.h: Likewise.
30210         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30211         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30212         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30213         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30214         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30216 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30218         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30221 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30223         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30224         aix specific files.
30225         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30226         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30227         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30228         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30229         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30230         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30231         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30232         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30234 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30235             Roland McGrath  <roland@hack.frob.com>
30237         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30238         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30240 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30242         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30243         __executable_start symbol instead of _start.
30245 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30247         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30248         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30249         Move macros to...
30250         * sysdeps/gnu/ldsodefs.h: ... this new file.
30252         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30253         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30254         instead of ELFOSABI_LINUX.
30256         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30257         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30258         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30259         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30260         Likewise.
30261         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30262         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30263         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30264         Likewise.
30265         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30266         (ibm_extended_long_double): Add ieee_nan member.
30267         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30268         (do_test): New function.
30270         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30271         TEST_TRUNC.
30272         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30273         functions, renamed from truncdfsf_test, trunctfsf_test,
30274         trunctfdf_test.
30275         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30276         functions.
30277         (do_test): Run all these.
30279 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30281         * argp/argp-help.c: Fix typos.
30282         * argp/argp-parse.c: Likewise.
30283         * debug/backtracesyms.c: Likewise.
30284         * elf/elf.h: Likewise.
30285         * malloc/malloc.c: Likewise.
30286         * nis/nis_print.c: Likewise.
30287         * resolv/res_comp.c: Likewise.
30288         * stdlib/stdlib.h: Likewise.
30289         * sunrpc/clnt_tcp.c: Likewise.
30290         * sunrpc/clnt_udp.c: Likewise.
30291         * sunrpc/clnt_unix.c: Likewise.
30292         * sysdeps/unix/bsd/ptsname.c: Likewise.
30293         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30294         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30296         Likewise.
30297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30298         Likewise.
30299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30300         Likewise.
30301         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30303 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30305         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30308 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30310         [BZ #15897]
30311         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30312         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30313         ($(objpfx)bug-dl-leaf): New rule.
30314         ($(objpfx)bug-dl-leaf.so): Likewise.
30315         ($(objpfx)bug-dl-leaf.out): Likewise.
30316         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30317         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30318         * dlfcn/bug-dl-leaf.c: New test.
30319         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30320         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30321         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30322         (dlclose): Likewise.
30323         (dlmopen): Likewise.
30325 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30327         * include/netdb.h [!_ISOMAC]:
30328         Don't include <tls.h>.
30329         (h_errno, __libc_h_errno): Move declaration and macros out of
30330         [_LIBC_REENTRANT].
30332         * include/resolv.h [_RESOLV_H_]:
30333         Don't include <tls.h>.
30334         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30335         * resolv/res_libc.c: Don't include <tls.h>.
30336         (_res): Use __attribute__ ((nocommon)) in place of
30337         __attribute__ ((section (".bss"))).
30339         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30340         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30342         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30344         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30345         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30347         * resolv/res_mkquery.c: Include <sys/time.h>.
30349         * inet/ifreq.c: Moved to ...
30350         * sysdeps/unix/ifreq.c: ... here.
30351         * inet/ifreq.c: New file, true stub version.
30353         * socket/sa_len.c: New file.
30354         * socket/Makefile (aux): Add it.
30355         * sysdeps/unix/sysv/linux/Makefile
30356         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30357         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30358         and #include <socket/sa_len.c>.
30359         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30360         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30362         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30363         * bits/socket.h: ... here.
30365         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30366         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30367         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30369 2013-08-27  Andreas Schwab  <schwab@suse.de>
30371         [BZ #15736]
30372         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30373         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30374         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30375         * string/test-strcasecmp.c (test_main): Run tests in several
30376         locales.
30377         * string/test-strncasecmp.c (test_main): Likewise.
30379         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30380         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30381         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30383         (__strncasecmp_ssse3) [PIC]: Likewise.
30385 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30387         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30389         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30390         instead of explicitly declaring xdecrypt.
30391         * nis/nss_nis/nis-publickey.c: Likewise.
30393 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30395         [BZ #15890]
30396         * nscd/aicache.c: Include res_hconf.h.
30397         (addhstaiX): Initialize res_hconf.
30399 2013-08-26  Andreas Schwab  <schwab@suse.de>
30401         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30402         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30404 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30406         * nscd/aicache.c (addhstaiX): Fix indentation.
30408 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30410         * configure.ac: Quote $build_pt_chown test.
30411         * configure: Regenerated.
30413 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30415         [BZ #15532]
30416         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30417         * math/s_cexpf.c (__cexpf): Likewise.
30418         * math/s_cexpl.c (__cexpl): Likewise.
30419         * math/libm-test.inc (cexp_test_data): Correct expected return
30420         value for NaN + i0.  Add another test.
30422 2013-08-22  David S. Miller  <davem@davemloft.net>
30424         * po/ca.po: Update Catalan translation from translation project.
30425         * po/uk.po: Add Ukrainian translations from translation project.
30427 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30429         [BZ #15797]
30430         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30431         is infinite, not alongside NaN test.
30432         * math/s_fdimf.c (__fdimf): Likewise.
30433         * math/s_fdiml.c (__fdiml): Likewise.
30434         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30435         errno is unchanged.
30437 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30439         * argp/argp-help.c: Fix typos.
30440         * crypt/speeds.c: Likewise.
30441         * csu/check_fds.c: Likewise.
30442         * elf/dl-load.c: Likewise.
30443         * elf/dl-open.c: Likewise.
30444         * elf/reldep3.c: Likewise.
30445         * elf/reldep.c: Likewise.
30446         * elf/sprof.c: Likewise.
30447         * iconv/iconv_charmap.c: Likewise.
30448         * iconv/skeleton.c: Likewise.
30449         * iconv/strtab.c: Likewise.
30450         * io/lockf64.c: Likewise.
30451         * libio/libioP.h: Likewise.
30452         * resolv/gai_notify.c: Likewise.
30453         * resolv/ns_name.c: Likewise.
30454         * resolv/ns_samedomain.c: Likewise.
30455         * resolv/res_send.c: Likewise.
30456         * stdlib/random.c: Likewise.
30457         * sunrpc/rpc/xdr.h: Likewise.
30458         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30459         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30460         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30461         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30463         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30464         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30465         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30466         * sysdeps/mach/hurd/check_fds.c: Likewise.
30467         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30468         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30470         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30471         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30472         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30473         * sysdeps/pthread/aio_notify.c: Likewise.
30474         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30475         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30476         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30477         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30478         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30480 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30482         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30483         version if bit_Slow_SSE4_2 is set.
30484         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30485         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30487 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30489         [BZ #15867]
30490         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30491         trampoline stack frame information.
30492         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30493         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30494         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30495         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30496         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30497         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30498         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30499         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30500         sa_flags value.
30501         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30502         interrupting a syscall and set with option SA_SIGINFO.
30504 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30506         [BZ #15531]
30507         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30508         argument is infinite.
30509         * math/s_cprojf.c (__cprojf): Likewise.
30510         * math/s_cprojl.c (__cprojl): Likewise.
30511         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30512         * math/libm-test.inc (cproj_test_data): Add more tests.
30514         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30516         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30517         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30518         size.  Use __ffs to determine corresponding shift.
30520 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30521             Roland McGrath  <roland@hack.frob.com>
30523         * Makefile (INSTALL): Remove trailing blank lines from output of
30524         makeinfo.
30526 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30528         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30529         Align 32 bit compat elf_greg to 8 bytes.
30531 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30533         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30535 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30537         * string/strcoll_l.c (coll_seq): New structure.
30538         (get_next_seq_cached): New function.
30539         (get_next_seq): New function.
30540         (do_compare): New function.
30541         (STRCOLL): Use GNU style definition.  Simplify implementation
30542         by using get_next_seq, get_next_seq_cached and do_compare.
30544 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30546         [BZ #14699]
30547         CVE-2013-4237
30548         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30549         member.
30550         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30551         member.
30552         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30553         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30554         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30555         conditional.
30556         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30557         GETDENTS_64BIT_ALIGNED.
30558         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30559         * manual/filesys.texi (Reading/Closing Directory): Document
30560         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30561         strongly.
30562         * manual/conf.texi (Limits for Files): Add portability note to
30563         NAME_MAX, PATH_MAX.
30564         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30566 2013-08-13  Andreas Schwab  <schwab@suse.de>
30568         [BZ #15749]
30569         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30570         of fabs.
30571         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30572         LDBL_MAX_EXP >= 16384]: Add tests for it.
30574 2013-08-12  David S. Miller  <davem@davemloft.net>
30576         * version.h (RELEASE): Set to "development".
30577         (VERSION): Set to "2.18.90".
30578         * NEWS: Add 2.19 section.
30580 2013-08-03  David S. Miller  <davem@davemloft.net>
30582         * po/ko.po: Update Korean translation from translation project.
30584 2013-08-01  David S. Miller  <davem@davemloft.net>
30586         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30587         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30588         Bilka.
30590 2013-07-30  David S. Miller  <davem@davemloft.net>
30592         * po/fr.po: Update French translation from translation project.
30594 2013-07-28  David S. Miller  <davem@davemloft.net>
30596         * po/cs.po: Update Czech translation from translation project.
30598         * po/sv.po: Update Swedish translation from translation project.
30600 2013-07-27  David S. Miller  <davem@davemloft.net>
30602         * po/eo.po: Update Esperanto translation from translation project.
30604         * po/vi.po: Update Vietnamese translation from translation project.
30606         * po/de.po: Update German translation from translation project.
30608 2013-07-26  David S. Miller  <davem@davemloft.net>
30610         * po/bg.po: Update Bulgarian translation from translation project.
30612         * po/nl.po: Update Dutch translation from translation project.
30613         * po/pl.po: Update Polish translation from translation project.
30614         * po/ru.po: Update Russian translation from translation project.
30616 2013-07-24  David S. Miller  <davem@davemloft.net>
30618         * po/libc.pot: Update.
30620 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30622         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30623         variable page size.
30624         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30625         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30626         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30628 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30630         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30632 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30633             Andreas Schwab  <schwab@suse.de>
30634             Roland McGrath  <roland@hack.frob.com>
30635             Joseph Myers  <joseph@codesourcery.com>
30636             Carlos O'Donell  <carlos@redhat.com>
30638         [BZ #15755]
30639         * config.h.in: Define HAVE_PT_CHOWN.
30640         * config.make.in (build-pt-chown): New variable.
30641         * configure.in (--enable-pt_chown): New configure option.
30642         * configure: Regenerate.
30643         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30644         build-pt-chown is enabled.
30645         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30646         pt_chown to fix pty ownership.
30647         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30648         CLOSE_ALL_FDS.
30649         * manual/install.texi (Configuring and compiling): Mention
30650         --enable-pt_chown. Add @findex for grantpt.
30651         * INSTALL: Regenerate.
30653 2013-07-20  David S. Miller  <davem@davemloft.net>
30655         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30656         difference between 32-bit and 64-bit.
30658 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30660         [BZ #15711]
30661         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30662         Avoid system header dependency with -ffreestanding.
30663         ($(objpfx)bits/syscall%d): Likewise.
30665 2013-07-13  David S. Miller  <davem@davemloft.net>
30667         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30668         underflows from atanl/atan2l due to bug 15319.
30669         (casinh_test_data): Likewise.
30671 2013-07-07  David S. Miller  <davem@davemloft.net>
30673         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30675 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30677         * sysdeps/i386/fpu/libm-test-ulps: Update.
30678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30680 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30682         * configure.in (--enable-lock-elision): Fix message text.
30683         * INSTALL: Regenerate.
30684         * configure: Regenerate.
30686 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30690 2013-07-03  Andreas Jaeger  <aj@suse.de>
30692         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30693         define.
30694         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30695         (ptrace_peeksiginfo_args): Add.
30696         (__ptrace_peeksiginfo_flags): Add.
30697         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30698         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30699         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30701 2013-07-03  Allan McRae  <allan@archlinux.org>
30703         * sysdeps/i386/fpu/libm-test-ulps: Update.
30705 2013-07-02  David S. Miller  <davem@davemloft.net>
30707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30709 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30713 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30715         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30718 2013-07-02  Andi Kleen <ak@linux.intel.com>
30720         * config.h.in (ENABLE_LOCK_ELISION): Add.
30721         * configure.in (--enable-lock-elision): Add option.
30722         * manual/install.texi: Document --enable lock elision.
30723         * configure: Regenerate
30724         * INSTALL: Regenerate.
30726 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30728         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30729         SSE4.2 strcasecmp for libc.a.
30730         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30732 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30734         [BZ #13304]
30735         * soft-fp/op-common.h (_FP_FMA): New macro.
30736         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30737         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30738         (_FP_MUL_MEAT_1_imm): ... here.
30739         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30740         (_FP_MUL_MEAT_1_wide): ... here.
30741         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30742         (_FP_MUL_MEAT_1_hard): ... here.
30743         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30744         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30745         (_FP_MUL_MEAT_2_wide): ... here.
30746         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30747         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30748         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30749         (_FP_MUL_MEAT_2_gmp): ... here.
30750         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30751         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30752         (_FP_MUL_MEAT_4_wide): ... here.
30753         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30754         (_FP_MUL_MEAT_4_gmp): ... here.
30755         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30756         (_FP_WFRACBITS_DW_S): Likewise.
30757         (_FP_WFRACXBITS_DW_S): Likewise.
30758         (_FP_HIGHBIT_DW_S): Likewise.
30759         (FP_FMA_S): Likewise.
30760         (_FP_FRAC_HIGH_DW_S): Likewise.
30761         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30762         (_FP_WFRACBITS_DW_D): Likewise.
30763         (_FP_WFRACXBITS_DW_D): Likewise.
30764         (_FP_HIGHBIT_DW_D): Likewise.
30765         (FP_FMA_D): Likewise.
30766         (_FP_FRAC_HIGH_DW_D): Likewise.
30767         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30768         (_FP_WFRACBITS_DW_E): Likewise.
30769         (_FP_WFRACXBITS_DW_E): Likewise.
30770         (_FP_HIGHBIT_DW_E): Likewise.
30771         (FP_FMA_E): Likewise.
30772         (_FP_FRAC_HIGH_DW_E): Likewise.
30773         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30774         (_FP_WFRACBITS_DW_Q): Likewise.
30775         (_FP_WFRACXBITS_DW_Q): Likewise.
30776         (_FP_HIGHBIT_DW_Q): Likewise.
30777         (FP_FMA_Q): Likewise.
30778         (_FP_FRAC_HIGH_DW_Q): Likewise.
30779         * soft-fp/fmasf4.c: New file.
30780         * soft-fp/fmadf4.c: Likewise.
30781         * soft-fp/fmatf4.c: Likewise.
30783 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30786         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30787         Silvermont.
30788         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30789         macro.
30790         (index_Slow_SSE4_2): Likewise.
30791         (index_Prefer_PMINUB_for_stringop): Likewise.
30792         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30793         bit_Slow_SSE4_2 is set.
30794         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30795         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30797 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30799         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30800         rtld_global._dl_hwcap2.
30801         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30802         POWER8.
30803         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30804         POWER8 feature descriptions defined in _dl_hwcap2.
30805         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30806         string handling for POWER8 feature bits.
30807         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30808         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30809         _dl_powerpc_cap_flags.
30810         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30811         * sysdeps/powerpc/rtld-global-offsets.sym
30812         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30813         _dl_hwcap2 in the rtld_global_ro structure.
30815 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30817         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30818         hardware capabilities in support of AT_HWCAP2.
30819         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30820         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30821         GLRO(dl_hwcap2).
30822         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30823         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30824         explicitly the unknown a_type display mechanism is used.
30825         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30826         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30827         struct member.
30828         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30829         to macro prototype for AT_HWCAP2 support.
30830         * sysdeps/i386/dl-procinfo.h: Likewise.
30831         * sysdeps/s390/dl-procinfo.h: Likewise.
30832         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30833         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30834         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30835         return -1 for unknown a_type display fallback.
30836         * sysdeps/sparc/dl-procinfo.h: Likewise.
30837         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30838         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30840 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30842         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30843         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30845 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30847         [BZ #12492]
30848         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30849         mprotect making __stack_prot writable.
30851 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30852             Joseph Myers  <joseph@codesourcery.com>
30854         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30855         as being properly aligned.
30857 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30859         * dlfcn/modstatic5.c: New file.
30860         * dlfcn/tststatic5.c: New file.
30861         * dlfcn/Makefile (tests): Add tststatic5.
30862         (tests-static): Likewise.
30863         (modules-names): Add modstatic5.
30864         (tststatic5-ENV): New variable.
30865         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30867         [BZ #15022]
30868         * elf/dl-support.c (_dl_main_map): New variable.
30869         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30870         (_dl_nns, _dl_load_adds): Set to 1.
30871         (_dl_initial_searchlist): Refer to _dl_main_map.
30872         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30873         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30874         call to _dl_get_origin.
30875         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30876         around call_map.
30877         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30878         * dlfcn/modstatic3.c: New file.
30879         * dlfcn/tststatic3.c: New file.
30880         * dlfcn/tststatic4.c: New file.
30881         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30882         (tests-static): Likewise.
30883         (modules-names): Add modstatic3.
30884         (tststatic3-ENV, tststatic4-ENV): New variables.
30885         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30886         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30888 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30890         * configure.in (CC): Require GCC version 4.4 or later.
30891         * configure: Regenerated.
30892         * manual/install.texi (Tools for Compilation): Update GCC version
30893         requirement.
30894         * INSTALL: Regenerated.
30896 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30898         [BZ #15674]
30899         * string/test-memcmp.c (check2): New.
30900         (main): Call check2.
30902         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30904 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30906         [BZ #15022]
30907         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30908         over to...
30909         (dl_open_worker) [!SHARED]: ... here.
30911 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30913         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30915 2013-06-25  Richard Henderson  <rth@redhat.com>
30917         * locale/programs/locarchive.c: Include <libc-internal.h>
30919 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30921         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30922         trailing whitespace removed.
30924 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30926         [BZ #10283]
30927         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30928         * locale/programs/locarchive.c: Include libc-mmap.h.
30929         (prepare_address_space): Take two new outputs (the mmap base and len).
30930         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30931         values.
30932         (create_archive): Declare new mmap base and len values for
30933         prepare_address_space, and store the result in ah.
30934         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30935         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30936         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30937         Declare new mmap base and len values for
30938         prepare_address_space, and store the result in new_ah.
30939         (open_archive): Declare new mmap base and len values for
30940         prepare_address_space, and store the result in ah.
30941         (close_archive): If ah->mmap_base is not NULL, use that and
30942         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30943         * sysdeps/generic/libc-mmap.h: New file.
30945 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30947         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30948         (ALIGN_UP): Likewise.
30949         (PTR_ALIGN_DOWN): Likewise.
30950         (PTR_ALIGN_UP): Likewise.
30952 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30954         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30955         entry mapped to PPC_PLATFORM_POWER8.
30956         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30957         POWER8.
30958         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30959         (_dl_string_platform): Add case for exporting platform position for
30960         POWER8.
30961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30962         search path to sysdeps/powerpc/powerpc32/power8 directory.
30963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30964         search path to sysdeps/powerpc/powerpc64/power8 directory.
30965         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30966         power7 directories.
30967         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30968         power7 directories.
30970 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30972         * INSTALL: Regenerate.
30974         * nscd/connections.c (nscd_init): Fix comment.
30976 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30978         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30980         [BZ #15667]
30981         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30982         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30984 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30986         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30987         DL_DST_REQ_STATIC.
30988         (DL_DST_REQ_STATIC): Remove macro.
30990 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30992         [BZ #7006]
30993         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30994         with a shift of 0 bits.
30996 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30998         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30999         $(tststatic-ENV).
31001 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31003         [BZ #15655]
31004         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31006 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31008         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31009         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31010         accepts -fno-tree-loop-distribute-patterns.
31011         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31012         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31013         recursive call.
31014         * string/memset.c (memset): Likewise.
31015         * string/test-memmove.c (simple_memmove): Disable loop transformation
31016         to library calls.
31017         * string/test-memset.c (simple_memset): Likewise.
31018         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31019         * benchtests/bench-memset.c (simple_memset): Likewise.
31020         * configure: Regenerated.
31022 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31024         * math/test-misc.c (main): Ignore fesetround failure when failures
31025         of subsequent rounding tests would be ignored.
31027         [BZ #15654]
31028         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31029         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31030         * math/fegetenv.c (__fegetenv): Return 0.
31031         * math/fegetexcept.c (fegetexcept): Return 0.
31032         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31033         FE_TONEAREST.
31034         * math/feholdexcpt.c (feholdexcept): Return 0.
31035         * math/fesetenv.c (__fesetenv): Return 0.
31036         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31037         argument FE_TONEAREST.
31038         * math/feupdateenv.c (__feupdateenv): Return 0.
31039         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31041 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31043         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31044         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31045         ($(objpfx)rtld-%.os rules): Use them.
31047 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31049         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31050         fields.
31052 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31054         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31055         length of target pattern, then descending length of dependency pattern.
31056         * configure.in (AWK): Require gawk 3.1.2 or newer.
31057         * manual/install.texi (Tools for Compilation): Say that we do.
31058         * configure: Regenerated.
31060         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31061         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31062         * scripts/sysd-rules.awk: ... this new script.
31063         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31064         than a glob-style pattern.
31066 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31068         * math/test-misc.c (main): Do not treat incorrectly rounded
31069         conversions as failure unless ROUNDING_TESTS passes.
31071 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31073         [BZ #15631]
31074         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31075         restore exception state around main square root computation, then
31076         check for inexactness explicitly.
31078         * math/libm-test.inc (fma_test_data): Add another test.
31080 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31082         * manual/threads.texi (Non-POSIX Extensions): New document
31083         node.  Document pthread_getattr_default_np and
31084         pthread_setattr_default_np.
31086         * Versions.def (libpthread): Add GLIBC_2.18.
31087         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31089         Likewise.
31090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31091         Likewise.
31092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31093         Likewise.
31094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31095         Likewise.
31096         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31097         Likewise.
31098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31099         Likewise.
31100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31101         Likewise.
31102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31103         Likewise.
31104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31105         Likewise.
31107 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31110         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31112 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31113             H.J. Lu  <hjl.tools@gmail.com>
31115         [BZ #15627]
31116         * sysdeps/x86_64/rtld-memset.c: Remove file.
31117         * sysdeps/x86_64/rtld-memset.S: New file.
31119 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31121         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31122         (test_in_one_mode): Take arguments for whether the rounding mode
31123         is supported for each floating-point type.
31124         (do_test): Pass new arguments to test_in_one_mode using
31125         ROUNDING_TESTS.
31127 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31129         * posix/tst-waitid.c (do_test): Distinguish different instances of
31130         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31131         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31132         before entering the kernel for waitpid.
31134 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31136         * NEWS: Fix note on clock function precision.  Text by Roland
31137         McGrath.
31139 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31141         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31142         it into place only when and if the sanity check passes.
31144 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31146         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31147         output for whether conversion result is exact.  Take argument
31148         indicating whether type is IBM long double.
31149         (round_for_all): Change need_exact field to ibm_ld.
31150         * stdlib/tst-strtod-round.c (struct exactness): New type.
31151         (struct test): Change bool ld_ok field to struct exactness exact.
31152         (TEST): Update all definitions for change to field.
31153         (tests): Regenerate array contents.
31154         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31155         field value.  Check for IBM long double here.
31156         (do_test): Update calls to test_in_one_mode.
31158 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31160         [BZ #12515]
31161         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31162         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31164 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31166         [BZ #15605]
31167         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31168         generated by the compiler on loop optimizations.
31169         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31170         general definitions.
31172 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31174         * math/bug-nextafter.c: Include <math-tests.h>.
31175         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31176         the relevant type.
31177         * math/bug-nexttoward.c: Include <math-tests.h>.
31178         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31179         the relevant type.
31180         * math/test-misc.c: Include <math-tests.h>.
31181         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31182         the relevant type.
31184 2013-06-12  Andreas Jaeger  <aj@suse.de>
31186         * po/ia.po: Update Interlingua translation from translation
31187         project.
31189 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31191         * include/fenv.h: Include stdbool.h.
31192         (struct rm_ctx): New structure.
31193         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31194         Define macro.
31195         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31196         (SET_RESTORE_ROUNDF): Likewise.
31197         (SET_RESTORE_ROUNDL): Likewise.
31198         (SET_RESTORE_ROUND_NOEX): Likewise.
31199         (SET_RESTORE_ROUND_NOEXF): Likewise.
31200         (SET_RESTORE_ROUND_NOEXL): Likewise.
31201         (SET_RESTORE_ROUND_53BIT): Likewise.
31202         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31203         (libc_feresetround_noexf_ctx): Likewise.
31204         (libc_feresetround_noexl_ctx): Likewise.
31205         (libc_feholdsetround_53bit_ctx): Likewise.
31206         (libc_feresetround_53bit_ctx): Likewise.
31207         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31208         (libc_feholdexcept_setround_sse_ctx): New function.
31209         (libc_fesetenv_sse_ctx): Likewise.
31210         (libc_feupdateenv_sse_ctx): Likewise.
31211         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31212         (libc_feholdexcept_setround_387_ctx): Likewise.
31213         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31214         (libc_feholdsetround_387_prec_ctx): Likewise.
31215         (libc_feholdsetround_387_ctx): Likewise.
31216         (libc_feholdsetround_387_53bit_ctx): Likewise.
31217         (libc_feholdsetround_sse_ctx): Likewise.
31218         (libc_feresetround_sse_ctx): Likewise.
31219         (libc_feresetround_387_ctx): Likewise.
31220         (libc_feupdateenv_387_ctx): Likewise.
31221         (libc_feholdexcept_setroundf_ctx): Define macro.
31222         (libc_fesetenvf_ctx): Likewise.
31223         (libc_feupdateenvf_ctx): Likewise.
31224         (libc_feholdsetroundf_ctx): Likewise.
31225         (libc_feresetroundf_ctx): Likewise.
31226         (libc_feholdexcept_setround_ctx): Likewise.
31227         (libc_fesetenv_ctx): Likewise.
31228         (libc_feupdateenv_ctx): Likewise.
31229         (libc_feholdsetround_ctx): Likewise.
31230         (libc_feresetround_ctx): Likewise.
31231         (libc_feholdexcept_setroundl_ctx): Likewise.
31232         (libc_feupdateenvl_ctx): Likewise.
31233         (libc_feholdsetroundl_ctx): Likewise.
31234         (libc_feresetroundl_ctx): Likewise.
31235         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31236         (libc_feresetround_53bit_ctx): Likewise.
31238 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31240         * locale/iso-639.def: Convert to UTF-8.
31242 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31244         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31245         (EXCEPTION_TESTS_double): Likewise.
31246         (EXCEPTION_TESTS_long_double): Likewise.
31247         (EXCEPTION_TESTS): Likewise.
31248         * math/libm-test.inc (test_exceptions): Only test exceptions if
31249         EXCEPTION_TESTS (FLOAT).
31251 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31253         * benchtests/Makefile (string-bench): Add strcpy_chk and
31254         stpcpy_chk.
31255         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31256         * benchtests/bench-stpcpy_chk.c: New file.
31257         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31258         * benchtests/bench-strcpy_chk.c: New file.
31259         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31260         code.
31261         (do_test): Likewise.
31263 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31265         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31266         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31267         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31268         with tabs where appropriate.
31269         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31270         dl-procinfo.h.
31271         [PPC_PLATFORM_PPC440]: Likewise.
31272         [PPC_PLATFORM_PPC464]: Likewise.
31273         [PPC_PLATFORM_PPC476]: Likewise.
31274         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31275         ppc464, and ppc476 platform strings merging from ports/
31276         dl-procinfo.h.
31278 2013-06-11  Andreas Schwab  <schwab@suse.de>
31280         [BZ #14991]
31281         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31282         (from_ucs4_idx): Regenerate.
31283         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31284         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31285         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31286         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31287         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31288         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31289         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31290         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31291         from FROM_LOOP and TO_LOOP specific macros.
31292         (BODY): Handle combining characters.
31293         * iconvdata/BIG5HKSCS.irreversible: Update.
31294         * iconvdata/BIG5HKSCS.precomposed: New file.
31295         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31296         characters.
31297         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31299 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31301         * include/sys/time.h: Fix indentation and add copyright header.
31303         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31304         (do_test): Likewise.
31305         * string/test-memchr.c (do_one_test): Likewise.
31306         (do_test): Likewise.
31307         * string/test-memcmp.c (do_one_test): Likewise.
31308         (do_test): Likewise.
31309         * string/test-memcpy.c (do_one_test): Likewise.
31310         (do_test): Likewise.
31311         * string/test-memmem.c (do_one_test): Likewise.
31312         (do_test): Likewise.
31313         (do_random_tests): Likewise.
31314         * string/test-memmove.c (do_one_test): Likewise.
31315         (do_test): Likewise.
31316         * string/test-memset.c (do_one_test): Likewise.
31317         (do_test): Likewise.
31318         * string/test-rawmemchr.c (do_one_test): Likewise.
31319         (do_test): Likewise.
31320         * string/test-strcasecmp.c (do_one_test): Likewise.
31321         (do_test): Likewise.
31322         * string/test-strcasestr.c (do_one_test): Likewise.
31323         (do_test): Likewise.
31324         * string/test-strcat.c (do_one_test): Likewise.
31325         (do_test): Likewise.
31326         * string/test-strchr.c (do_one_test): Likewise.
31327         (do_test): Likewise.
31328         * string/test-strcmp.c (do_one_test): Likewise.
31329         (do_test): Likewise.
31330         * string/test-strcpy.c (do_one_test): Likewise.
31331         (do_test): Likewise.
31332         * string/test-string.h: Likewise.
31333         (test_init): Likewise.
31334         * string/test-strlen.c (do_one_test): Likewise.
31335         (do_test): Likewise.
31336         * string/test-strncasecmp.c (do_one_test): Likewise.
31337         (do_test): Likewise.
31338         * string/test-strncat.c (do_one_test): Likewise.
31339         (do_test): Likewise.
31340         * string/test-strncmp.c (do_one_test): Likewise.
31341         (do_test_limit): Likewise.
31342         (do_test): Likewise.
31343         * string/test-strncpy.c (do_one_test): Likewise.
31344         (do_test): Likewise.
31345         * string/test-strnlen.c (do_one_test): Likewise.
31346         (do_test): Likewise.
31347         * string/test-strpbrk.c (do_one_test): Likewise.
31348         (do_test): Likewise.
31349         * string/test-strrchr.c (do_one_test): Likewise.
31350         (do_test): Likewise.
31351         * string/test-strspn.c (do_one_test): Likewise.
31352         (do_test): Likewise.
31353         * string/test-strstr.c (do_one_test): Likewise.
31354         (do_test): Likewise.
31356         * benchtests/Makefile (string-bench): Add string benchmarks.
31357         * benchtests/bench-bcopy-ifunc.c: New file.
31358         * benchtests/bench-bcopy.c: New file.
31359         * benchtests/bench-bzero-ifunc.c: New file.
31360         * benchtests/bench-bzero.c: New file.
31361         * benchtests/bench-memccpy-ifunc.c: New file.
31362         * benchtests/bench-memccpy.c: New file.
31363         * benchtests/bench-memchr-ifunc.c: New file.
31364         * benchtests/bench-memchr.c: New file.
31365         * benchtests/bench-memcmp-ifunc.c: New file.
31366         * benchtests/bench-memcmp.c: New file.
31367         * benchtests/bench-memmem-ifunc.c: New file.
31368         * benchtests/bench-memmem.c: New file.
31369         * benchtests/bench-memmove-ifunc.c: New file.
31370         * benchtests/bench-memmove.c: New file.
31371         * benchtests/bench-mempcpy-ifunc.c: New file.
31372         * benchtests/bench-mempcpy.c: New file.
31373         * benchtests/bench-memset-ifunc.c: New file.
31374         * benchtests/bench-memset.c: New file.
31375         * benchtests/bench-rawmemchr-ifunc.c: New file.
31376         * benchtests/bench-rawmemchr.c: New file.
31377         * benchtests/bench-stpcpy-ifunc.c: New file.
31378         * benchtests/bench-stpcpy.c: New file.
31379         * benchtests/bench-stpncpy-ifunc.c: New file.
31380         * benchtests/bench-stpncpy.c: New file.
31381         * benchtests/bench-strcasecmp-ifunc.c: New file.
31382         * benchtests/bench-strcasecmp.c: New file.
31383         * benchtests/bench-strcasestr-ifunc.c: New file.
31384         * benchtests/bench-strcasestr.c: New file.
31385         * benchtests/bench-strcat-ifunc.c: New file.
31386         * benchtests/bench-strcat.c: New file.
31387         * benchtests/bench-strchr-ifunc.c: New file.
31388         * benchtests/bench-strchr.c: New file.
31389         * benchtests/bench-strchrnul-ifunc.c: New file.
31390         * benchtests/bench-strchrnul.c: New file.
31391         * benchtests/bench-strcmp-ifunc.c: New file.
31392         * benchtests/bench-strcmp.c: New file.
31393         * benchtests/bench-strcpy-ifunc.c: New file.
31394         * benchtests/bench-strcpy.c: New file.
31395         * benchtests/bench-strcspn-ifunc.c: New file.
31396         * benchtests/bench-strcspn.c: New file.
31397         * benchtests/bench-strlen-ifunc.c: New file.
31398         * benchtests/bench-strlen.c: New file.
31399         * benchtests/bench-strncasecmp-ifunc.c: New file.
31400         * benchtests/bench-strncasecmp.c: New file.
31401         * benchtests/bench-strncat-ifunc.c: New file.
31402         * benchtests/bench-strncat.c: New file.
31403         * benchtests/bench-strncmp-ifunc.c: New file.
31404         * benchtests/bench-strncmp.c: New file.
31405         * benchtests/bench-strncpy-ifunc.c: New file.
31406         * benchtests/bench-strncpy.c: New file.
31407         * benchtests/bench-strnlen-ifunc.c: New file.
31408         * benchtests/bench-strnlen.c: New file.
31409         * benchtests/bench-strpbrk-ifunc.c: New file.
31410         * benchtests/bench-strpbrk.c: New file.
31411         * benchtests/bench-strrchr-ifunc.c: New file.
31412         * benchtests/bench-strrchr.c: New file.
31413         * benchtests/bench-strspn-ifunc.c: New file.
31414         * benchtests/bench-strspn.c: New file.
31415         * benchtests/bench-strstr-ifunc.c: New file.
31416         * benchtests/bench-strstr.c: New file.
31418         * benchtests/Makefile: Disable parallel execution of targets.
31419         (string-bench): Add memcpy.
31420         (benchset): New variable to store a list of benchmark sets.
31421         (bench-func): Renamed from bench.
31422         (bench-set): New target.
31423         (bench): Depend on bench-func and bench-set.
31424         * benchtests/README: Add section on benchmark sets.
31425         * benchtests/bench-memcpy-ifunc.c: New file.
31426         * benchtests/bench-memcpy.c: New file.
31427         * benchtests/bench-string.h: New file.
31429 2013-06-11  Andreas Schwab  <schwab@suse.de>
31431         [BZ #15577]
31432         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31433         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31434         values in the triple.
31435         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31436         terminator in the group key.
31438 2013-06-11  Andreas Jaeger  <aj@suse.de>
31440         * po/zh_TW.po: Update Chinese (traditional) translation from
31441         translation project.
31443 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31445         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31446         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31447         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31448         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31449         (clock_getcpuclockid): Likewise.
31450         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31451         Add weak_alias and libc_hidden_def.
31452         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31453         * rt/clock_gettime.c (clock_gettime): Rename to
31454         __clock_gettime.  Add weak_alias and libc_hidden_def.
31455         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31456         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31457         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31458         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31459         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31460         Likewise.
31461         * rt/clock_settime.c (clock_settime): Rename to
31462         __clock_settime.  Add weak_alias and libc_hidden_def.
31463         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31465 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31467         * mach/err_boot.sub: Remove trailing whitespace.
31468         * mach/err_ipc.sub: Likewise.
31469         * mach/err_mach.sub: Likewise.
31471         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31472         (ROUNDING_TESTS_double): Likewise.
31473         (ROUNDING_TESTS_long_double): Likewise.
31474         (ROUNDING_TESTS): Likewise.
31475         * math/libm-test.inc: Include <math-tests.h>.
31476         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31477         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31478         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31479         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31481 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31483         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31484         of assigning.
31486 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31488         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31489         otherwise empty TRANS lines.
31490         * sysdeps/gnu/errlist.c: Regenerated.
31492         * catgets/gencat.c (error_print): Use (void) in function
31493         definition.
31494         * crypt/crypt_util.c (__init_des): Likewise.
31495         * crypt/speeds.c (Stop): Likewise.
31496         (main): Likewise.
31497         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31498         * inet/ruserpass.c (token): Likewise.
31499         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31500         * intl/localealias.c (extend_alias_table): Likewise.
31501         * intl/plural-exp.c (init_germanic_plural): Likewise.
31502         * libio/fcloseall.c (__fcloseall): Likewise.
31503         * libio/genops.c (_IO_flush_all): Likewise.
31504         (_IO_flush_all_linebuffered): Likewise.
31505         (_IO_cleanup): Likewise.
31506         (_IO_iter_begin): Likewise.
31507         (_IO_iter_end): Likewise.
31508         (_IO_list_lock): Likewise.
31509         (_IO_list_unlock): Likewise.
31510         (_IO_list_resetlock): Likewise.
31511         * libio/getchar.c (getchar): Likewise.
31512         * libio/getchar_u.c (getchar_unlocked): Likewise.
31513         * libio/getwchar.c (getwchar): Likewise.
31514         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31515         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31516         * login/getpt.c (__getpt): Likewise.
31517         * login/tst-utmp.c (main): Likewise.
31518         * malloc/hooks.c (__malloc_check_init): Likewise.
31519         * malloc/malloc.c (__malloc_stats): Likewise.
31520         * malloc/mtrace.c (tr_break): Likewise.
31521         (mtrace): Likewise.
31522         (muntrace): Likewise.
31523         * misc/fstab.c (endfsent): Likewise.
31524         * misc/getclktck.c (__getclktck): Likewise.
31525         * misc/getdtsz.c (__getdtablesize): Likewise.
31526         * misc/gethostid.c (gethostid): Likewise.
31527         * misc/getpagesize.c (__getpagesize): Likewise.
31528         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31529         (__get_nprocs): Likewise.
31530         (__get_phys_pages): Likewise.
31531         (__get_avphys_pages): Likewise.
31532         * misc/getttyent.c (getttyent): Likewise.
31533         (setttyent): Likewise.
31534         (endttyent): Likewise.
31535         * misc/getusershell.c (getusershell): Likewise.
31536         (endusershell): Likewise.
31537         (setusershell): Likewise.
31538         (initshells): Likewise.
31539         * misc/hsearch.c (__hdestroy): Likewise.
31540         * misc/sync.c (sync): Likewise.
31541         * misc/syslog.c (closelog_internal): Likewise.
31542         (closelog): Likewise.
31543         * misc/ttyslot.c (ttyslot): Likewise.
31544         * misc/vhangup.c (vhangup): Likewise.
31545         * posix/fork.c (__fork): Likewise.
31546         * posix/getegid.c (__getegid): Likewise.
31547         * posix/geteuid.c (__geteuid): Likewise.
31548         * posix/getgid.c (__getgid): Likewise.
31549         * posix/getpid.c (__getpid): Likewise.
31550         * posix/getppid.c (__getppid): Likewise.
31551         * posix/getuid.c (__getuid): Likewise.
31552         * posix/pause.c (pause): Likewise.
31553         * posix/setpgrp.c (setpgrp): Likewise.
31554         * posix/setsid.c (__setsid): Likewise.
31555         * posix/test-vfork.c (noop): Likewise.
31556         * resolv/gethnamaddr.c (_endhtent): Likewise.
31557         (_gethtent): Likewise.
31558         (ht_endhostent): Likewise.
31559         (gethostent): Likewise.
31560         (dns_service): Likewise.
31561         * stdlib/drand48.c (drand48): Likewise.
31562         * stdlib/lrand48.c (lrand48): Likewise.
31563         * stdlib/mrand48.c (mrand48): Likewise.
31564         * stdlib/rand.c (rand): Likewise.
31565         * stdlib/random.c (__random): Likewise.
31566         * stdlib/setenv.c (clearenv): Likewise.
31567         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31568         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31569         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31570         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31571         (__get_nprocs): Likewise.
31572         (__get_phys_pages): Likewise.
31573         (__get_avphys_pages): Likewise.
31574         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31575         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31576         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31577         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31578         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31579         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31580         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31581         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31582         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31583         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31584         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31585         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31586         * sysdeps/posix/clock.c (clock): Likewise.
31587         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31588         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31589         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31590         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31591         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31592         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31593         (__get_nprocs_conf): Likewise.
31594         (__get_phys_pages): Likewise.
31595         (__get_avphys_pages): Likewise.
31596         * time/clock.c (clock): Likewise.
31597         * time/tzset.c (__tzname_max): Likewise.
31599 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31601         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31602         (__bswap_32): Do not use "register".
31603         * crypt/crypt.c (_ufc_doit_r): Likewise.
31604         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31605         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31606         * gmon/gmon.c (__monstartup): Likewise.
31607         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31608         * hurd/hurdmalloc.c (more_memory): Likewise.
31609         (malloc): Likewise.
31610         (free): Likewise.
31611         (realloc): Likewise.
31612         (malloc_fork_prepare): Likewise.
31613         (malloc_fork_parent): Likewise.
31614         (malloc_fork_child): Likewise.
31615         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31616         (_svcauth_des): Likewise.
31617         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31618         * inet/inet_net.c (inet_network): Likewise.
31619         * inet/inet_netof.c (inet_netof): Likewise.
31620         * inet/rcmd.c (__validuser2_sa): Likewise.
31621         * io/fts.c (fts_open): Likewise.
31622         (fts_load): Likewise.
31623         (fts_close): Likewise.
31624         (fts_read): Likewise.
31625         (fts_children): Likewise.
31626         (fts_build): Likewise.
31627         (fts_stat): Likewise.
31628         (fts_sort): Likewise.
31629         (fts_alloc): Likewise.
31630         (fts_lfree): Likewise.
31631         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31632         (_IO_file_xsgetn): Likewise.
31633         (_IO_file_xsgetn_mmap): Likewise.
31634         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31635         (_IO_cookie_write): Likewise.
31636         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31637         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31638         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31639         * malloc/obstack.c (_obstack_begin): Likewise.
31640         (_obstack_begin_1): Likewise.
31641         (_obstack_newchunk): Likewise.
31642         (_obstack_allocated_p): Likewise.
31643         (obstack_free): Likewise.
31644         (_obstack_memory_used): Likewise.
31645         * misc/getttyent.c (getttynam): Likewise.
31646         (getttyent): Likewise.
31647         (skip): Likewise.
31648         (value): Likewise.
31649         * misc/getusershell.c (initshells): Likewise.
31650         * misc/syslog.c (__vsyslog_chk): Likewise.
31651         * misc/ttyslot.c (ttyslot): Likewise.
31652         * nis/nis_hash.c (__nis_hash): Likewise.
31653         * posix/fnmatch_loop.c (FCT): Likewise.
31654         * posix/getconf.c (print_all): Likewise.
31655         (main): Likewise.
31656         * posix/getopt.c (exchange): Likewise.
31657         * posix/glob.c (globfree): Likewise.
31658         (prefix_array): Likewise.
31659         (__glob_pattern_type): Likewise.
31660         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31661         (NS_GET32): Likewise.
31662         (NS_PUT16): Likewise.
31663         (NS_PUT32): Likewise.
31664         * resolv/gethnamaddr.c (getanswer): Likewise.
31665         (gethostbyname2): Likewise.
31666         (gethostbyaddr): Likewise.
31667         (_gethtent): Likewise.
31668         (_gethtbyname2): Likewise.
31669         (_gethtbyaddr): Likewise.
31670         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31671         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31672         * resolv/res_init.c (__res_vinit): Likewise.
31673         (net_mask): Likewise.
31674         * resolv/res_mkquery.c (outchar): Likewise.
31675         (PRINT): Likewise.
31676         * stdio-common/printf_fp.c (outchar): Likewise.
31677         (PRINT): Likewise.
31678         * stdio-common/printf_fphex.c (outchar): Likewise.
31679         (PRINT): Likewise.
31680         * stdio-common/printf_size.c (outchar): Likewise.
31681         (PRINT): Likewise.
31682         * stdio-common/test_rdwr.c (main): Likewise.
31683         * stdio-common/tfformat.c (matches): Likewise.
31684         * stdio-common/vfprintf.c (outchar): Likewise.
31685         (printf_unknown): Likewise.
31686         (buffered_vfprintf): Likewise.
31687         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31688         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31689         (ReadFile): Likewise.
31690         * stdlib/qsort.c (SWAP): Likewise.
31691         (_quicksort): Likewise.
31692         * stdlib/setenv.c (__add_to_environ): Likewise.
31693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31694         * stdlib/strtol_l.c (__strtol_l): Likewise.
31695         * stdlib/tst-strtod.c (main): Likewise.
31696         * stdlib/tst-strtol.c (main): Likewise.
31697         * stdlib/tst-strtoll.c (main): Likewise.
31698         * string/bits/string2.h (__strcmp_cc): Likewise.
31699         (__strcmp_cg): Likewise.
31700         (__strcspn_c1): Likewise.
31701         (__strcspn_c2): Likewise.
31702         (__strcspn_c3): Likewise.
31703         (__strspn_c1): Likewise.
31704         (__strspn_c2): Likewise.
31705         (__strspn_c3): Likewise.
31706         (__strsep_1c): Likewise.
31707         (__strsep_2c): Likewise.
31708         (__strsep_3c): Likewise.
31709         * string/memccpy.c (__memccpy): Likewise.
31710         * string/stpcpy.c (__stpcpy): Likewise.
31711         * string/strcmp.c (strcmp): Likewise.
31712         * string/strrchr.c (strrchr): Likewise.
31713         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31714         Likewise.
31715         * sysdeps/mach/hurd/getcwd.c
31716         (_hurd_canonicalize_directory_name_internal): Likewise.
31717         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31718         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31719         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31720         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31721         Likewise, in both definitions.
31722         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31723         definitions.
31724         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31725         64] (__bswap_64): Likewise.
31726         * time/test_time.c (main): Likewise.
31727         * time/tzfile.c (__tzfile_read): Likewise.
31728         (__tzfile_compute): Likewise.
31729         * time/tzset.c (__tzset_parse_tz): Likewise.
31730         (tzset_internal): Likewise.
31731         (compute_change): Likewise.
31732         * wcsmbs/wcscat.c (__wcscat): Likewise.
31733         * wcsmbs/wcschr.c (wcschr): Likewise.
31734         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31735         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31736         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31737         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31738         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31739         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31740         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31741         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31742         * wcsmbs/wmemset.c (wmemset): Likewise.
31744 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31746         * scripts/config.guess: Update to version 2013-05-16.
31747         * scripts/config.sub: Update to version 2013-04-24.
31748         * scripts/install-sh: Update to version 2011-11-20.07.
31749         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31750         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31752 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31754         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31755         * elf/sln.c: Likewise.
31756         * hurd/hurd/ioctl.h: Likewise.
31757         * hurd/hurdmalloc.c: Likewise.
31758         * hurd/xattr.c: Likewise.
31759         * include/shlib-compat.h: Likewise.
31760         * inet/ruserpass.c: Likewise.
31761         * libio/iofgets_u.c: Likewise.
31762         * libio/iofgetws_u.c: Likewise.
31763         * locale/programs/ld-identification.c: Likewise.
31764         * locale/programs/ld-time.c: Likewise.
31765         * mach/msg-destroy.c: Likewise.
31766         * nss/nss_files/files-netgrp.c: Likewise.
31767         * resolv/res_data.c: Likewise.
31768         * soft-fp/op-1.h: Likewise.
31769         * soft-fp/op-2.h: Likewise.
31770         * soft-fp/op-4.h: Likewise.
31771         * soft-fp/op-common.h: Likewise.
31772         * stdio-common/printf_fphex.c: Likewise.
31773         * stdlib/strtod_l.c: Likewise.
31774         * sunrpc/rpc/clnt.h: Likewise.
31775         * sysdeps/generic/framestate.c: Likewise.
31776         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31777         * sysdeps/i386/bsd-setjmp.S: Likewise.
31778         * sysdeps/i386/__longjmp.S: Likewise.
31779         * sysdeps/i386/setjmp.S: Likewise.
31780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31781         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31782         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31783         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31784         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31785         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31786         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31787         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31788         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31789         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31790         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31791         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31792         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31793         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31794         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31795         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31796         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31797         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31798         * sysdeps/ieee754/support.c: Likewise.
31799         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31800         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31801         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31802         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31803         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31804         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31805         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31806         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31807         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31808         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31809         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31810         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31811         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31812         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31813         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31814         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31815         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31818 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31820         * posix/transbug.c: Remove executable mode.
31822 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31824         * crypt/speeds.c: Remove trailing whitespace.
31825         * dlfcn/default.c: Likewise.
31826         * elf/ifuncdep2.c: Likewise.
31827         * elf/ifuncmain1.c: Likewise.
31828         * elf/ifuncmain1vis.c: Likewise.
31829         * elf/testobj.h: Likewise.
31830         * elf/tst-stackguard1.c: Likewise.
31831         * gmon/sys/gmon.h: Likewise.
31832         * hurd/hurdmsg.c: Likewise.
31833         * hurd/new-fd.c: Likewise.
31834         * hurd/ports-get.c: Likewise.
31835         * iconvdata/ibm1008_420.c: Likewise.
31836         * inet/tst-getni1.c: Likewise.
31837         * inet/tst-getni2.c: Likewise.
31838         * libio/ioungetc.c: Likewise.
31839         * libio/wfiledoalloc.c: Likewise.
31840         * manual/libm-err-tab.pl: Likewise.
31841         * math/w_dremf.c: Likewise.
31842         * misc/ftruncate.c: Likewise.
31843         * posix/bug-glob2.c: Likewise.
31844         * posix/tst-pcre.c: Likewise.
31845         * posix/wait4.c: Likewise.
31846         * resolv/README: Likewise.
31847         * resolv/res_debug.h: Likewise.
31848         * resolv/tst-inet_ntop.c: Likewise.
31849         * setjmp/bug269-setjmp.c: Likewise.
31850         * soft-fp/extended.h: Likewise.
31851         * soft-fp/op-1.h: Likewise.
31852         * soft-fp/op-2.h: Likewise.
31853         * soft-fp/op-4.h: Likewise.
31854         * soft-fp/op-8.h: Likewise.
31855         * soft-fp/testit.c: Likewise.
31856         * stdio-common/bug16.c: Likewise.
31857         * stdlib/random.c: Likewise.
31858         * sunrpc/rpcsvc/rquota.x: Likewise.
31859         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31860         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31861         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31862         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31863         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31864         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31865         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31866         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31867         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31868         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31869         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31870         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31871         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31872         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31873         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31874         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31875         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31876         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31877         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31878         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31879         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31880         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31881         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31882         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31883         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31884         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31885         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31886         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31888         * sysdeps/ieee754/s_lib_version.c: Likewise.
31889         * sysdeps/mach/hurd/check_fds.c: Likewise.
31890         * sysdeps/mach/hurd/getsockname.c: Likewise.
31891         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31892         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31893         * sysdeps/powerpc/bits/link.h: Likewise.
31894         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31895         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31896         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31897         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31898         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31899         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31900         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31901         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31902         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31903         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31904         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31905         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31906         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31907         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31908         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31909         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31911         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31912         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31913         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31914         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31915         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31916         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31917         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31918         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31920         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31921         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31922         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31925         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31926         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31927         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31928         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31929         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31930         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31931         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31932         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31933         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31934         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31935         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31936         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31937         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31938         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31939         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31940         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31941         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31942         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31943         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31945         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31946         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31947         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31948         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31949         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31950         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31951         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31952         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31954         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31955         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31956         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31957         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31958         * sysdeps/powerpc/sysdep.h: Likewise.
31959         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31960         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31961         * sysdeps/sh/dl-trampoline.S: Likewise.
31962         * sysdeps/sh/memset.S: Likewise.
31963         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31964         * sysdeps/sh/strlen.S: Likewise.
31965         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31966         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31967         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31968         * sysdeps/sparc/sparc32/rem.S: Likewise.
31969         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31970         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31971         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31972         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31973         * sysdeps/sparc/sparc32/urem.S: Likewise.
31974         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31975         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31976         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31977         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31978         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31979         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31980         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31981         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31982         * sysdeps/unix/bsd/times.c: Likewise.
31983         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31984         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31988         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31989         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31990         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31991         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31992         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31993         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31994         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31995         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31996         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31997         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31998         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31999         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32000         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32001         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32002         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32003         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32004         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32005         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32006         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32007         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32008         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32009         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32010         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32011         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32012         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32013         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32014         * sysdeps/x86_64/strcspn.S: Likewise.
32016 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32018         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32019         generated file.  Regenerate properly from gen-translit.pl.
32020         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32021         locale/C-translit.h.
32023 2013-06-05  Andreas Schwab  <schwab@suse.de>
32025         [BZ #15100]
32026         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32027         week as 6 instead of -1.
32028         * time/tst-strptime.c (day_tests): Add test case.
32030 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32032         * sysdeps/generic/math_private.h
32033         (libc_feholdexcept_setround_53bit): Replace with
32034         libc_feholdsetround_53bit.
32035         (libc_feupdateenv_53bit): Replace with
32036         libc_feresetround_53bit.
32037         (SET_RESTORE_ROUND_53BIT): Adjust.
32039 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32041         * string/test-strchrnul.c: Add copyright header.
32043         * posix/tst-getaddrinfo4.c: Increase test timeout.
32045 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32047         [BZ #15536]
32048         * math/libm-test.inc (MAX_EXP): Remove
32049         (MIN_EXP): Define.
32050         (ulp): Use MIN_EXP - MANT_DIG.
32051         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32053 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32055         * po/be.po: Revert last change.
32056         * po/zh_CN.po: Likewise.
32057         * po/header.pot: Likewise.
32059 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32061         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32062         link-libc-deps to empty as target-specific variable.
32063         * Makerules (link-libc-args): New variable.
32064         (libc-for-link): Likewise.
32065         (link-libc-deps): Likewise.
32066         (lib%.so): Depend on $(link-libc-deps).  Link with
32067         $(link-libc-args).
32068         (build-module): Link with $(link-libc-args).
32069         (build-module-asneeded): Likewise.
32070         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32071         list of objects.
32072         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32073         target-specific variable.
32074         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32075         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32076         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32077         libc.
32078         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32079         libc and ld.so.
32080         ($(objpfx)libpcprofile.so): Likewise.
32081         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32082         libc_nonshared.a.
32083         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32084         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32085         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32086         $(link-libc-deps).
32087         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32088         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32089         * login/Makefile ($(objpfx)libutil.so): Likewise.
32090         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32091         * math/Makefile ($(objpfx)libm.so): Likewise.
32092         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32093         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32094         variable instead of depending directly on libc.
32095         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32096         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32097         $(link-libc-deps).
32098         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32099         libc.
32100         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32101         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32102         ($(objpfx)libanl.so): Likewise.
32103         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32104         ld.so.
32105         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32106         $(link-libc-deps).
32107         * sysdeps/i386/fpu/Makefile: Remove file.
32108         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32109         ($(objpfx)libm.so): Remove dependency on ld.so.
32111 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32113         [BZ # 15553]
32114         * nis/yp_xdr.c (XDRMAXNAME): Define.
32115         (XDRMAXRECORD): Define.
32116         (xdr_domainname): Use XDRMAXNAME.
32117         (xdr_mapname): Likewise.
32118         (xdr_peername): Likewise.
32119         (xdr_keydat): Use XDRMAXRECORD.
32120         (xdr_valdat): Likewise.
32122 2013-05-30  Jeff Law  <law@redhat.com>
32124         [BZ #14256]
32125         * manual/errno.texi (ESTALE): Update to account for more than
32126         just NFS file systems.
32127         * sysdeps/gnu/errlist.c: Regenerated.
32129 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32131         [BZ #15465]
32132         * elf/Makefile (tests): Add tst-null-argv.
32133         (modules-names):  Add tst-null-argv-lib.
32134         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32135         (tst-null-argv-ENV): Set environment for tst-null-argv.
32136         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32137         (RTLD_PROGNAME): New macro.
32138         * elf/tst-null-argv.c: New test case.
32139         * elf/tst-null-argv-lib.c: Library for test case.
32140         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32141         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32142         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32143         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32144         * elf/dl-init.c (call_init): Likewise.
32145         (_dl_init): Likewise.
32146         * elf/dl-load.c (print_search_path): Likewise.
32147         (_dl_map_object): Likewise.
32148         * elf/dl-lookup.c (do_lookup_x): Likewise.
32149         (add_dependency): Likewise.
32150         (_dl_lookup_symbol_x): Likewise.
32151         (_dl_debug_bindings): Likewise.
32152         * elf/dl-open.c (_dl_show_scope): Likewise.
32153         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32154         * elf/dl-version.c (match_symbol): Likewise.
32155         (_dl_check_map_versions): Likewise.
32156         * elf/rtld.c (dl_main): Likewise.
32157         (print_unresolved): Use RTLD_PROGNAME.
32158         (print_missing_version): Likewise.
32159         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32160         (elf_machine_rela): Likewise.
32161         * sysdeps/powerpc/powerpc32/dl-machine.c
32162         (__process_machine_rela): Likewise.
32163         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32164         Likewise.
32165         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32166         Likewise.
32167         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32168         Likewise.
32169         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32170         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32171         Likewise.
32172         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32173         Likewise.
32174         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32176 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32178         * po/be.po: Add descriptive title.
32179         * po/zh_CN.po: Likewise.
32180         * po/header.pot: Likewise.
32182 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32184         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32185         error message.
32186         (enlarge_archive): Likewise.
32188 2013-05-28  Ben North  <ben@redfrontdoor.org>
32190         * manual/arith.texi (frexp): It is the magnitude of the return
32191         value which lies in [0.5, 1), not the return value itself.
32193 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32197 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32199         * stdio-common/bug26.c (main): Correct fscanf template.
32201         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32202         declare _dl_skip_args.
32204         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32205         Don't declare.
32207         * manual/platform.texi: Add missing @end deftypefun.
32209 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32211         [BZ #15529]
32212         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32213         bit of mantissa of 2^16382.
32214         * math/libm-test.inc (hypot_test_data): Add more tests.
32216         * math/libm-test.inc: Add drem and pow10 to list of tested
32217         functions.
32218         (pow10_test): New function.
32219         (drem_test): Likewise.
32220         (drem_test_tonearest): Likewise.
32221         (drem_test_towardzero): Likewise.
32222         (drem_test_downward): Likewise.
32223         (drem_test_upward): Likewise.
32224         (main): Call the new functions.
32226         * math/libm-test.inc (finite_test_data): Remove.
32227         (finite_test): Run tests from isfinite_test_data.
32228         (gamma_test_data): Remove.
32229         (gamma_test): Run tests from lgamma_test_data.
32230         * sysdeps/i386/fpu/libm-test-ulps: Update.
32231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32233 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32235         * manual/platform.texi: Add PowerPC PPR function set documentation.
32236         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32237         implementation.
32239 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32241         * math/libm-test.inc (MAX_EXP): Define.
32242         (ULPDIFF): Define.
32243         (ulp): New function.
32244         (check_float_internal): Use ULPDIFF.
32245         (cpow_test): Disable failing test.
32246         (check_ulp): Test ulp() implemetnation.
32247         (main): Call check_ulp before starting tests.
32249 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32251         * math/gen-libm-test.pl (generate_testfile): Do not handle
32252         START_DATA and END_DATA.
32253         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32254         END_DATA.
32255         (acos_tonearest_test_data): Likewise.
32256         (acos_towardzero_test_data): Likewise.
32257         (acos_downward_test_data): Likewise.
32258         (acos_upward_test_data): Likewise.
32259         (acosh_test_data): Likewise.
32260         (asin_test_data): Likewise.
32261         (asin_tonearest_test_data): Likewise.
32262         (asin_towardzero_test_data): Likewise.
32263         (asin_downward_test_data): Likewise.
32264         (asin_upward_test_data): Likewise.
32265         (asinh_test_data): Likewise.
32266         (atan_test_data): Likewise.
32267         (atanh_test_data): Likewise.
32268         (atan2_test_data): Likewise.
32269         (cabs_test_data): Likewise.
32270         (cacos_test_data): Likewise.
32271         (cacosh_test_data): Likewise.
32272         (carg_test_data): Likewise.
32273         (casin_test_data): Likewise.
32274         (casinh_test_data): Likewise.
32275         (catan_test_data): Likewise.
32276         (catanh_test_data): Likewise.
32277         (cbrt_test_data): Likewise.
32278         (ccos_test_data): Likewise.
32279         (ccosh_test_data): Likewise.
32280         (ceil_test_data): Likewise.
32281         (cexp_test_data): Likewise.
32282         (cimag_test_data): Likewise.
32283         (clog_test_data): Likewise.
32284         (clog10_test_data): Likewise.
32285         (conj_test_data): Likewise.
32286         (copysign_test_data): Likewise.
32287         (cos_test_data): Likewise.
32288         (cos_tonearest_test_data): Likewise.
32289         (cos_towardzero_test_data): Likewise.
32290         (cos_downward_test_data): Likewise.
32291         (cos_upward_test_data): Likewise.
32292         (cosh_test_data): Likewise.
32293         (cosh_tonearest_test_data): Likewise.
32294         (cosh_towardzero_test_data): Likewise.
32295         (cosh_downward_test_data): Likewise.
32296         (cosh_upward_test_data): Likewise.
32297         (cpow_test_data): Likewise.
32298         (cproj_test_data): Likewise.
32299         (creal_test_data): Likewise.
32300         (csin_test_data): Likewise.
32301         (csinh_test_data): Likewise.
32302         (csqrt_test_data): Likewise.
32303         (ctan_test_data): Likewise.
32304         (ctan_tonearest_test_data): Likewise.
32305         (ctan_towardzero_test_data): Likewise.
32306         (ctan_downward_test_data): Likewise.
32307         (ctan_upward_test_data): Likewise.
32308         (ctanh_test_data): Likewise.
32309         (ctanh_tonearest_test_data): Likewise.
32310         (ctanh_towardzero_test_data): Likewise.
32311         (ctanh_downward_test_data): Likewise.
32312         (ctanh_upward_test_data): Likewise.
32313         (erf_test_data): Likewise.
32314         (erfc_test_data): Likewise.
32315         (exp_test_data): Likewise.
32316         (exp_tonearest_test_data): Likewise.
32317         (exp_towardzero_test_data): Likewise.
32318         (exp_downward_test_data): Likewise.
32319         (exp_upward_test_data): Likewise.
32320         (exp10_test_data): Likewise.
32321         (exp2_test_data): Likewise.
32322         (expm1_test_data): Likewise.
32323         (fabs_test_data): Likewise.
32324         (fdim_test_data): Likewise.
32325         (finite_test_data): Likewise.
32326         (floor_test_data): Likewise.
32327         (fma_test_data): Likewise.
32328         (fma_towardzero_test_data): Likewise.
32329         (fma_downward_test_data): Likewise.
32330         (fma_upward_test_data): Likewise.
32331         (fmax_test_data): Likewise.
32332         (fmin_test_data): Likewise.
32333         (fmod_test_data): Likewise.
32334         (fpclassify_test_data): Likewise.
32335         (frexp_test_data): Likewise.
32336         (gamma_test_data): Likewise.
32337         (hypot_test_data): Likewise.
32338         (ilogb_test_data): Likewise.
32339         (isfinite_test_data): Likewise.
32340         (isgreater_test_data): Likewise.
32341         (isgreaterequal_test_data): Likewise.
32342         (isinf_test_data): Likewise.
32343         (isless_test_data): Likewise.
32344         (islessequal_test_data): Likewise.
32345         (islessgreater_test_data): Likewise.
32346         (isnan_test_data): Likewise.
32347         (isnormal_test_data): Likewise.
32348         (issignaling_test_data): Likewise.
32349         (isunordered_test_data): Likewise.
32350         (j0_test_data): Likewise.
32351         (j1_test_data): Likewise.
32352         (jn_test_data): Likewise.
32353         (ldexp_test_data): Likewise.
32354         (lgamma_test_data): Likewise.
32355         (lrint_test_data): Likewise.
32356         (lrint_tonearest_test_data): Likewise.
32357         (lrint_towardzero_test_data): Likewise.
32358         (lrint_downward_test_data): Likewise.
32359         (lrint_upward_test_data): Likewise.
32360         (llrint_test_data): Likewise.
32361         (llrint_tonearest_test_data): Likewise.
32362         (llrint_towardzero_test_data): Likewise.
32363         (llrint_downward_test_data): Likewise.
32364         (llrint_upward_test_data): Likewise.
32365         (log_test_data): Likewise.
32366         (log10_test_data): Likewise.
32367         (log1p_test_data): Likewise.
32368         (log2_test_data): Likewise.
32369         (logb_test_data): Likewise.
32370         (logb_downward_test_data): Likewise.
32371         (lround_test_data): Likewise.
32372         (llround_test_data): Likewise.
32373         (modf_test_data): Likewise.
32374         (nearbyint_test_data): Likewise.
32375         (nextafter_test_data): Likewise.
32376         (nexttoward_test_data): Likewise.
32377         (pow_test_data): Likewise.
32378         (pow_tonearest_test_data): Likewise.
32379         (pow_towardzero_test_data): Likewise.
32380         (pow_downward_test_data): Likewise.
32381         (pow_upward_test_data): Likewise.
32382         (remainder_test_data): Likewise.
32383         (remainder_tonearest_test_data): Likewise.
32384         (remainder_towardzero_test_data): Likewise.
32385         (remainder_downward_test_data): Likewise.
32386         (remainder_upward_test_data): Likewise.
32387         (remquo_test_data): Likewise.
32388         (rint_test_data): Likewise.
32389         (rint_tonearest_test_data): Likewise.
32390         (rint_towardzero_test_data): Likewise.
32391         (rint_downward_test_data): Likewise.
32392         (rint_upward_test_data): Likewise.
32393         (round_test_data): Likewise.
32394         (scalb_test_data): Likewise.
32395         (scalbn_test_data): Likewise.
32396         (scalbln_test_data): Likewise.
32397         (signbit_test_data): Likewise.
32398         (sin_test_data): Likewise.
32399         (sin_tonearest_test_data): Likewise.
32400         (sin_towardzero_test_data): Likewise.
32401         (sin_downward_test_data): Likewise.
32402         (sin_upward_test_data): Likewise.
32403         (sincos_test_data): Likewise.
32404         (sinh_test_data): Likewise.
32405         (sinh_tonearest_test_data): Likewise.
32406         (sinh_towardzero_test_data): Likewise.
32407         (sinh_downward_test_data): Likewise.
32408         (sinh_upward_test_data): Likewise.
32409         (sqrt_test_data): Likewise.
32410         (tan_test_data): Likewise.
32411         (tan_tonearest_test_data): Likewise.
32412         (tan_towardzero_test_data): Likewise.
32413         (tan_downward_test_data): Likewise.
32414         (tan_upward_test_data): Likewise.
32415         (tanh_test_data): Likewise.
32416         (tgamma_test_data): Likewise.
32417         (trunc_test_data): Likewise.
32418         (y0_test_data): Likewise.
32419         (y1_test_data): Likewise.
32420         (yn_test_data): Likewise.
32421         (significand_test_data): Likewise.
32423         * math/gen-libm-test.pl (@functions): Remove variable.
32424         (generate_testfile): Don't handle START and END lines.
32425         * math/libm-test.inc (START): New macro.
32426         (END): Likewise.
32427         (END_COMPLEX): Likewise.
32428         (acos_test): Use END macro without arguments.
32429         (acos_test_tonearest): Likewise.
32430         (acos_test_towardzero): Likewise.
32431         (acos_test_downward): Likewise.
32432         (acos_test_upward): Likewise.
32433         (acosh_test): Likewise.
32434         (asin_test): Likewise.
32435         (asin_test_tonearest): Likewise.
32436         (asin_test_towardzero): Likewise.
32437         (asin_test_downward): Likewise.
32438         (asin_test_upward): Likewise.
32439         (asinh_test): Likewise.
32440         (atan_test): Likewise.
32441         (atanh_test): Likewise.
32442         (atan2_test): Likewise.
32443         (cabs_test): Likewise.
32444         (cacos_test): Use END_COMPLEX macro without arguments.
32445         (cacosh_test): Likewise.
32446         (carg_test): Use END macro without arguments.
32447         (casin_test): Use END_COMPLEX macro without arguments.
32448         (casinh_test): Likewise.
32449         (catan_test): Likewise.
32450         (catanh_test): Likewise.
32451         (cbrt_test): Use END macro without arguments.
32452         (ccos_test): Use END_COMPLEX macro without arguments.
32453         (ccosh_test): Likewise.
32454         (ceil_test): Use END macro without arguments.
32455         (cexp_test): Use END_COMPLEX macro without arguments.
32456         (cimag_test): Use END macro without arguments.
32457         (clog_test): Use END_COMPLEX macro without arguments.
32458         (clog10_test): Likewise.
32459         (conj_test): Likewise.
32460         (copysign_test): Use END macro without arguments.
32461         (cos_test): Likewise.
32462         (cos_test_tonearest): Likewise.
32463         (cos_test_towardzero): Likewise.
32464         (cos_test_downward): Likewise.
32465         (cos_test_upward): Likewise.
32466         (cosh_test): Likewise.
32467         (cosh_test_tonearest): Likewise.
32468         (cosh_test_towardzero): Likewise.
32469         (cosh_test_downward): Likewise.
32470         (cosh_test_upward): Likewise.
32471         (cpow_test): Use END_COMPLEX macro without arguments.
32472         (cproj_test): Likewise.
32473         (creal_test): Use END macro without arguments.
32474         (csin_test): Use END_COMPLEX macro without arguments.
32475         (csinh_test): Likewise.
32476         (csqrt_test): Likewise.
32477         (ctan_test): Likewise.
32478         (ctan_test_tonearest): Likewise.
32479         (ctan_test_towardzero): Likewise.
32480         (ctan_test_downward): Likewise.
32481         (ctan_test_upward): Likewise.
32482         (ctanh_test): Likewise.
32483         (ctanh_test_tonearest): Likewise.
32484         (ctanh_test_towardzero): Likewise.
32485         (ctanh_test_downward): Likewise.
32486         (ctanh_test_upward): Likewise.
32487         (erf_test): Use END macro without arguments.
32488         (erfc_test): Likewise.
32489         (exp_test): Likewise.
32490         (exp_test_tonearest): Likewise.
32491         (exp_test_towardzero): Likewise.
32492         (exp_test_downward): Likewise.
32493         (exp_test_upward): Likewise.
32494         (exp10_test): Likewise.
32495         (exp2_test): Likewise.
32496         (expm1_test): Likewise.
32497         (fabs_test): Likewise.
32498         (fdim_test): Likewise.
32499         (finite_test): Likewise.
32500         (floor_test): Likewise.
32501         (fma_test): Likewise.
32502         (fma_test_towardzero): Likewise.
32503         (fma_test_downward): Likewise.
32504         (fma_test_upward): Likewise.
32505         (fmax_test): Likewise.
32506         (fmin_test): Likewise.
32507         (fmod_test): Likewise.
32508         (fpclassify_test): Likewise.
32509         (frexp_test): Likewise.
32510         (gamma_test): Likewise.
32511         (hypot_test): Likewise.
32512         (ilogb_test): Likewise.
32513         (isfinite_test): Likewise.
32514         (isgreater_test): Likewise.
32515         (isgreaterequal_test): Likewise.
32516         (isinf_test): Likewise.
32517         (isless_test): Likewise.
32518         (islessequal_test): Likewise.
32519         (islessgreater_test): Likewise.
32520         (isnan_test): Likewise.
32521         (isnormal_test): Likewise.
32522         (issignaling_test): Likewise.
32523         (isunordered_test): Likewise.
32524         (j0_test): Likewise.
32525         (j1_test): Likewise.
32526         (jn_test): Likewise.
32527         (ldexp_test): Likewise.
32528         (lgamma_test): Likewise.
32529         (lrint_test): Likewise.
32530         (lrint_test_tonearest): Likewise.
32531         (lrint_test_towardzero): Likewise.
32532         (lrint_test_downward): Likewise.
32533         (lrint_test_upward): Likewise.
32534         (llrint_test): Likewise.
32535         (llrint_test_tonearest): Likewise.
32536         (llrint_test_towardzero): Likewise.
32537         (llrint_test_downward): Likewise.
32538         (llrint_test_upward): Likewise.
32539         (log_test): Likewise.
32540         (log10_test): Likewise.
32541         (log1p_test): Likewise.
32542         (log2_test): Likewise.
32543         (logb_test): Likewise.
32544         (logb_test_downward): Likewise.
32545         (lround_test): Likewise.
32546         (llround_test): Likewise.
32547         (modf_test): Likewise.
32548         (nearbyint_test): Likewise.
32549         (nextafter_test): Likewise.
32550         (nexttoward_test): Likewise.
32551         (pow_test): Likewise.
32552         (pow_test_tonearest): Likewise.
32553         (pow_test_towardzero): Likewise.
32554         (pow_test_downward): Likewise.
32555         (pow_test_upward): Likewise.
32556         (remainder_test): Likewise.
32557         (remainder_test_tonearest): Likewise.
32558         (remainder_test_towardzero): Likewise.
32559         (remainder_test_downward): Likewise.
32560         (remainder_test_upward): Likewise.
32561         (remquo_test): Likewise.
32562         (rint_test): Likewise.
32563         (rint_test_tonearest): Likewise.
32564         (rint_test_towardzero): Likewise.
32565         (rint_test_downward): Likewise.
32566         (rint_test_upward): Likewise.
32567         (round_test): Likewise.
32568         (scalb_test): Likewise.
32569         (scalbn_test): Likewise.
32570         (scalbln_test): Likewise.
32571         (signbit_test): Likewise.
32572         (sin_test): Likewise.
32573         (sin_test_tonearest): Likewise.
32574         (sin_test_towardzero): Likewise.
32575         (sin_test_downward): Likewise.
32576         (sin_test_upward): Likewise.
32577         (sincos_test): Likewise.
32578         (sinh_test): Likewise.
32579         (sinh_test_tonearest): Likewise.
32580         (sinh_test_towardzero): Likewise.
32581         (sinh_test_downward): Likewise.
32582         (sinh_test_upward): Likewise.
32583         (sqrt_test): Likewise.
32584         (tan_test): Likewise.
32585         (tan_test_tonearest): Likewise.
32586         (tan_test_towardzero): Likewise.
32587         (tan_test_downward): Likewise.
32588         (tan_test_upward): Likewise.
32589         (tanh_test): Likewise.
32590         (tgamma_test): Likewise.
32591         (trunc_test): Likewise.
32592         (y0_test): Likewise.
32593         (y1_test): Likewise.
32594         (yn_test): Likewise.
32595         (significand_test): Likewise.
32597 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32599         [BZ #15381]
32600         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32602 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32604         [BZ #14894]
32605         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32606         __ppc_mdoio and __ppc_mdoom.
32607         * manual/platform.texi: Document new functions __ppc_yield,
32608         __ppc_mdoio and __ppc_mdoom.
32610 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32612         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32613         (main): Mention "tls" pseudo-hwcap is legacy.
32614         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32616 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32618         * math/gen-libm-test.pl (parse_args): Output only string of
32619         arguments as text for test name, not full call or descriptions of
32620         tests for extra outputs.
32621         (generate_testfile): Do not pass function name to parse_args.
32622         Generate this_func variable from START.
32623         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32624         field to arg_str.
32625         (struct test_ff_f_data): Likewise.
32626         (test_ff_f_data_nexttoward): Likewise.
32627         (struct test_fi_f_data): Likewise.
32628         (struct test_fl_f_data): Likewise.
32629         (struct test_if_f_data): Likewise.
32630         (struct test_fff_f_data): Likewise.
32631         (struct test_c_f_data): Likewise.
32632         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32633         (struct test_fF_f1_data): Likewise.
32634         (struct test_ffI_f1_data): Likewise.
32635         (struct test_c_c_data): Rename test_name field to arg_str.
32636         (struct test_cc_c_data): Likewise.
32637         (struct test_f_i_data): Likewise.
32638         (struct test_ff_i_data): Likewise.
32639         (struct test_f_l_data): Likewise.
32640         (struct test_f_L_data): Likewise.
32641         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32642         and extra2_name.
32643         (COMMON_TEST_SETUP): New macro.
32644         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32645         (COMMON_TEST_CLEANUP): Likewise.
32646         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32647         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32648         macros.
32649         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32650         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32651         macros.
32652         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32653         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32654         cleanup macros.
32655         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32656         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32657         macros.
32658         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32659         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32660         macros.
32661         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32662         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32663         cleanup macros.
32664         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32665         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32666         cleanup macros.
32667         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32668         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32669         cleanup macros.
32670         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32671         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32672         macros.
32673         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32674         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32675         macros.
32676         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32677         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32678         macros.
32679         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32680         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32681         cleanup macros.
32682         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32683         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32684         cleanup macros.
32685         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32686         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32687         macros.
32688         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32689         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32690         cleanup macros.
32691         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32692         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32693         macros.
32694         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32695         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32696         macros.
32697         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32698         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32699         cleanup macros.
32700         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32702 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32704         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32705         to _sifields.sigfault.
32706         (si_addr_lsb): Define new macro.
32707         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32708         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32709         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32711 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32713         [BZ #15441]
32714         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32715         returns -1.
32716         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32717         null return -1.
32718         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32719         loading the domain.
32721 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32723         * math/gen-libm-test.pl (parse_args): Do not include expected
32724         result in test name.
32725         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32726         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32727         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32728         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32729         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32732 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32734         * benchtests/Makefile: Sort function entries.
32736         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32737         tanh, asinh, acosh, atanh.
32738         * benchtests/acos-inputs: New file.
32739         * benchtests/acosh-inputs: New file.
32740         * benchtests/asin-inputs: New file.
32741         * benchtests/asinh-inputs: New file.
32742         * benchtests/atanh-inputs: New file.
32743         * benchtests/cosh-inputs: New file.
32744         * benchtests/log-inputs: New file.
32745         * benchtests/sinh-inputs: New file.
32746         * benchtests/tanh-inputs: New file.
32748 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32750         [BZ #15339]
32751         * posix/tst-getaddrinfo4.c: New test.
32752         * posix/Makefile (tests): Add it.
32754 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32756         [BZ #15339]
32757         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32758         when no services were used.
32759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32760         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32762 2013-05-21  Andreas Schwab  <schwab@suse.de>
32764         [BZ #15014]
32765         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32766         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32767         successful.
32768         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32769         redundant variable declarations and reallocation of buffer when
32770         parsing as IPv6 address.  Always set NSS status when called from
32771         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32772         buffer too small.  Correct computation of needed size.
32773         * nss/Makefile (tests): Add test-digits-dots.
32774         * nss/test-digits-dots.c: New test.
32776 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32778         * benchtests/Makefile: Remove instructions for adding
32779         benchmark tests.
32780         * benchtests/README: New file to explain how to execute and
32781         enhance the benchmark tests.
32783 2013-05-21  Andreas Schwab  <schwab@suse.de>
32785         [BZ #15493]
32786         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32787         * setjmp/tst-sigsetjmp.c: New test.
32789 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32791         * sysdeps/x86_64/memset.S (memset): New implementation.
32792         (__bzero): Likewise.
32793         (__memset_tail): New function.
32795 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32797         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32798         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32799         __memcpy_sse2_unaligned ifunc selection.
32800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32801         Add memcpy-sse2-unaligned.S.
32802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32803         Add: __memcpy_sse2_unaligned.
32805 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32807         [BZ #15490]
32808         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32809         math_force_eval before restoring floating-point envrionment.
32810         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32811         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32812         Likewise.
32813         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32814         <math_private.h>.
32815         (__nearbyintl): Use math_force_eval before restoring
32816         floating-point environment.
32817         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32819         * math/gen-libm-test.pl (special_functions): Remove.
32820         (parse_args): Don't handle TEST_extra.  Handle functions with no
32821         return value.
32822         * math/libm-test.inc (struct test_sincos_data): Replace with
32823         struct test_fFF_11_data.
32824         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32825         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32826         (sincos_test_data): Change element type to struct
32827         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32828         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32829         RUN_TEST_LOOP_sincos.
32830         * math/README.libm-test: Don't mention special handling of
32831         individual functions.
32832         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32833         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32834         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32835         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32836         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32839         * math/gen-libm-test.pl (get_variable): Remove function.
32840         (parse_args): Don't show pointer parameters to call in test
32841         names.  Use "extra output N" in test names for extra outputs
32842         rather than naming variables.
32844 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32846         [BZ #15488]
32847         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32848         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32849         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32850         double tests.
32851         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32852         disable.
32853         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32854         check_long_double.
32856         * math/gen-libm-test.pl (@tests): Remove variable.
32857         ($count): Likewise.
32858         (new_test): Remove function.
32859         (show_exceptions): New function.
32860         (special_functions): Use show_exceptions instead of new_test.
32861         (parse_args): Likewise.
32862         (generate_testfile): Pass only function name in generated call to
32863         print_max_error or print_complex_max_error.
32864         (get_ulps): Do not handle complex tests specially.
32865         (output_test): Rename to ...
32866         (get_all_ulps_for_test): ... this.  Return a string rather than
32867         printing to a file.  Require ulps to be present.
32868         (output_ulps): Generate arrays rather than #defines.
32869         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32870         (struct ulp_data): New type.
32871         (BUILD_COMPLEX_ULP): Remove macro.
32872         (compare_ulp_data): New function.
32873         (find_ulps): Likewise.
32874         (find_test_ulps): Likewise.
32875         (find_function_ulps): Likewise.
32876         (find_complex_function_ulps): Likewise.
32877         (print_max_error): Determine allowed ulps using
32878         find_function_ulps.
32879         (print_complex_max_error): Determine allowed ulps using
32880         find_complex_function_ulps.
32881         (check_float_internal): Determine max ulps using find_test_ulps.
32882         (check_float): Do not take max_ulp parameter.  Update call to
32883         check_float_internal.
32884         (check_complex): Likewise.
32885         (check_int): Do not take max_ulp parameter.
32886         (check_long): Likewise.
32887         (check_bool): Likewise.
32888         (check_longlong): Likewise.
32889         (struct test_f_f_data): Remove max_ulp field.
32890         (struct test_ff_f_data): Likewise.
32891         (struct test_ff_f_data_nexttoward): Likewise.
32892         (struct test_fi_f_data): Likewise.
32893         (struct test_fl_f_data): Likewise.
32894         (struct test_if_f_data): Likewise.
32895         (struct test_fff_f_data): Likewise.
32896         (struct test_c_f_data): Likewise.
32897         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32898         (struct test_fF_f1_data): Likewise.
32899         (struct test_ffI_f1_data): Likewise.
32900         (struct test_c_c_data): Remove max_ulp field.
32901         (struct test_cc_c_data): Likewise.
32902         (struct test_f_i_data): Likewise.
32903         (struct test_ff_i_data): Likewise.
32904         (struct test_f_l_data): Likewise.
32905         (struct test_f_L_data): Likewise.
32906         (struct test_sincos_data): Likewise.
32907         (RUN_TEST_f_f): Do not handle ulps.
32908         (RUN_TEST_LOOP_f_f): Likewise.
32909         (RUN_TEST_2_f): Likewise.
32910         (RUN_TEST_LOOP_2_f): Likewise.
32911         (RUN_TEST_fff_f): Likewise.
32912         (RUN_TEST_LOOP_fff_f): Likewise.
32913         (RUN_TEST_c_f): Likewise.
32914         (RUN_TEST_LOOP_c_f): Likewise.
32915         (RUN_TEST_f_f1): Likewise.
32916         (RUN_TEST_LOOP_f_f1): Likewise.
32917         (RUN_TEST_fF_f1): Likewise.
32918         (RUN_TEST_LOOP_fF_f1): Likewise.
32919         (RUN_TEST_fI_f1): Likewise.
32920         (RUN_TEST_LOOP_fI_f1): Likewise.
32921         (RUN_TEST_ffI_f1): Likewise.
32922         (RUN_TEST_LOOP_ffI_f1): Likewise.
32923         (RUN_TEST_c_c): Likewise.
32924         (RUN_TEST_LOOP_c_c): Likewise.
32925         (RUN_TEST_cc_c): Likewise.
32926         (RUN_TEST_LOOP_cc_c): Likewise.
32927         (RUN_TEST_f_i): Likewise.
32928         (RUN_TEST_LOOP_f_i): Likewise.
32929         (RUN_TEST_f_i_tg): Likewise.
32930         (RUN_TEST_LOOP_f_i_tg): Likewise.
32931         (RUN_TEST_ff_i_tg): Likewise.
32932         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32933         (RUN_TEST_f_b): Likewise.
32934         (RUN_TEST_LOOP_f_b): Likewise.
32935         (RUN_TEST_f_b_tg): Likewise.
32936         (RUN_TEST_LOOP_f_b_tg): Likewise.
32937         (RUN_TEST_f_l): Likewise.
32938         (RUN_TEST_LOOP_f_l): Likewise.
32939         (RUN_TEST_f_L): Likewise.
32940         (RUN_TEST_LOOP_f_L): Likewise.
32941         (RUN_TEST_sincos): Likewise.
32942         (RUN_TEST_LOOP_sincos): Likewise.
32944 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32946         [BZ #15480]
32947         [BZ #15485]
32948         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32949         main case of finite arguments, set rounding mode to FE_TONEAREST
32950         and discard exceptions.
32951         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32952         exceptions.
32953         (remainder_tonearest_test_data): New variable.
32954         (remainder_test_tonearest): New function.
32955         (remainder_towardzero_test_data): New variable.
32956         (remainder_test_towardzero): New function.
32957         (remainder_downward_test_data): New variable.
32958         (remainder_test_downward): New function.
32959         (remainder_upward_test_data): New variable.
32960         (remainder_test_upward): New function.
32961         (main): Call the new test functions.
32963         * math/libm-test.inc (struct test_f_f1_data): Remove field
32964         extra_init.
32965         (struct test_fF_f1_data): Likewise.
32966         (struct test_ffI_f1_data): Likewise.
32967         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32968         based on value of EXTRA_EXPECTED.
32969         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32970         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32971         EXTRA_VAR based on value of EXTRA_EXPECTED.
32972         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32973         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32974         EXTRA_VAR based on value of EXTRA_EXPECTED.
32975         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32976         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32977         EXTRA_VAR based on value of EXTRA_EXPECTED.
32978         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32979         * math/gen-libm-test.pl (parse_args): Don't output initializers
32980         for extra output values.
32982         * math/libm-test.inc (check_int): Expect result to be exactly
32983         equal to expected value and do not handle ulps.
32984         (check_long): Likewise.
32985         (check_longlong): Likewise.
32987         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32988         exceptions.
32989         (cimag_test_data): Likewise.
32990         (conj_test_data): Likewise.
32991         (copysign_test_data): Likewise.
32992         (cproj_test_data): Likewise.
32993         (creal_test_data): Likewise.
32994         (fabs_test_data): Likewise.
32995         (fdim_test_data): Likewise.
32996         (finite_test_data): Likewise.
32997         (floor_test_data): Likewise.
32998         (fmax_test_data): Likewise.
32999         (fmin_test_data): Likewise.
33000         (fmod_test_data): Likewise.
33001         (fpclassify_test_data): Likewise.
33002         (frexp_test_data): Likewise.
33003         (ilogb_test_data): Likewise.
33004         (isfinite_test_data): Likewise.
33005         (isgreater_test_data): Likewise.
33006         (isgreaterequal_test_data): Likewise.
33007         (isinf_test_data): Likewise.
33008         (isless_test_data): Likewise.
33009         (islessequal_test_data): Likewise.
33010         (islessgreater_test_data): Likewise.
33011         (isnan_test_data): Likewise.
33012         (isnormal_test_data): Likewise.
33013         (issignaling_test_data): Likewise.
33014         (isunordered_test_data): Likewise.
33015         (ldexp_test_data): Likewise.
33016         (lrint_test_data): Likewise.
33017         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33018         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33019         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33020         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33021         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33022         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33023         test input.
33024         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33025         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33026         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33027         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33028         that test input.
33029         (lrint_downward_test_data): Test for "inexact" exceptions.
33030         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33031         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33032         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33033         test input.
33034         (lrint_upward_test_data): Test for "inexact" exceptions.
33035         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33036         test input.
33037         (llrint_test_data): Test for "inexact" exceptions.
33038         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33039         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33040         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33041         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33042         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33043         (llrint_downward_test_data): Test for "inexact" exceptions.
33044         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33045         (llrint_upward_test_data): Test for "inexact" exceptions.
33046         (logb_test_data): Likewise.
33047         (logb_downward_test_data): Likewise.
33048         (nextafter_test_data): Likewise.
33049         (nexttoward_test_data): Likewise.
33050         (remainder_test_data): Likewise.
33051         (remquo_test_data): Likewise.
33052         (scalbn_test_data): Likewise.
33053         (scalbln_test_data): Likewise.
33054         (signbit_test_data): Likewise.
33055         (sqrt_test_data): Likewise.
33056         (significand_test_data): Likewise.
33058 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33060         [BZ #15424]
33061         * benchtests/bench-modf.c (struct args): Mark arg0 as
33062         volatile.
33063         * scripts/bench.pl: Mark members of struct args as volatile.
33065 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33067         [BZ # 15497]
33068         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33069         negative infinity on POWER6 or lower.
33070         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33072 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33074         [BZ #15442]
33075         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33076         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33077         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33078         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33079         (_FP_SETQNAN): New macro.
33080         (_FP_SETQNAN_SEMIRAW): Likewise.
33081         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33082         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33083         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33084         (FP_EXTEND): Use _FP_FRAC_SNANP.
33085         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33086         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33087         into account.
33088         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33089         New macro.
33090         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33091         Likewise.
33093 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33095         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33096         with DIVIDE_BY_ZERO_EXCEPTION.
33097         (gamma_test_data): Likewise.
33098         (lgamma_test_data): Likewise.
33099         (log_test_data): Likewise.
33100         (log10_test_data): Likewise.
33101         (log2_test_data): Likewise.
33102         (tgamma_test_data): Likewise.
33104         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33105         (acos_test_tonearest): Likewise.
33106         (acos_test_towardzero): Likewise.
33107         (acos_test_downward): Likewise.
33108         (acos_test_upward): Likewise.
33109         (acosh_test): Likewise.
33110         (asin_test): Likewise.
33111         (asin_test_tonearest): Likewise.
33112         (asin_test_towardzero): Likewise.
33113         (asin_test_downward): Likewise.
33114         (asin_test_upward): Likewise.
33115         (asinh_test): Likewise.
33116         (atan_test): Likewise.
33117         (atanh_test): Likewise.
33118         (atan2_test): Likewise.
33119         (cabs_test): Likewise.
33120         (cacos_test): Likewise.
33121         (cacosh_test): Likewise.
33122         (casin_test): Likewise.
33123         (casinh_test): Likewise.
33124         (catan_test): Likewise.
33125         (catanh_test): Likewise.
33126         (cbrt_test): Likewise.
33127         (ccos_test): Likewise.
33128         (ccosh_test): Likewise.
33129         (cexp_test): Likewise.
33130         (clog_test): Likewise.
33131         (clog10_test): Likewise.
33132         (cos_test): Likewise.
33133         (cos_test_tonearest): Likewise.
33134         (cos_test_towardzero): Likewise.
33135         (cos_test_downward): Likewise.
33136         (cos_test_upward): Likewise.
33137         (cosh_test): Likewise.
33138         (cosh_test_tonearest): Likewise.
33139         (cosh_test_towardzero): Likewise.
33140         (cosh_test_downward): Likewise.
33141         (cosh_test_upward): Likewise.
33142         (cpow_test): Likewise.
33143         (csin_test): Likewise.
33144         (csinh_test): Likewise.
33145         (csqrt_test): Likewise.
33146         (ctan_test): Likewise.
33147         (ctan_test_tonearest): Likewise.
33148         (ctan_test_towardzero): Likewise.
33149         (ctan_test_downward): Likewise.
33150         (ctan_test_upward): Likewise.
33151         (ctanh_test): Likewise.
33152         (ctanh_test_tonearest): Likewise.
33153         (ctanh_test_towardzero): Likewise.
33154         (ctanh_test_downward): Likewise.
33155         (ctanh_test_upward): Likewise.
33156         (erf_test): Likewise.
33157         (erfc_test): Likewise.
33158         (exp_test): Likewise.
33159         (exp_test_tonearest): Likewise.
33160         (exp_test_towardzero): Likewise.
33161         (exp_test_downward): Likewise.
33162         (exp_test_upward): Likewise.
33163         (exp10_test): Likewise.
33164         (exp2_test): Likewise.
33165         (expm1_test): Likewise.
33166         (fmod_test): Likewise.
33167         (gamma_test): Likewise.
33168         (hypot_test): Likewise.
33169         (j0_test): Likewise.
33170         (j1_test): Likewise.
33171         (jn_test): Likewise.
33172         (lgamma_test): Likewise.
33173         (log_test): Likewise.
33174         (log10_test): Likewise.
33175         (log1p_test): Likewise.
33176         (log2_test): Likewise.
33177         (logb_test_downward): Likewise.
33178         (pow_test): Likewise.
33179         (pow_test_tonearest): Likewise.
33180         (pow_test_towardzero): Likewise.
33181         (pow_test_downward): Likewise.
33182         (pow_test_upward): Likewise.
33183         (remainder_test): Likewise.
33184         (remquo_test): Likewise.
33185         (sin_test): Likewise.
33186         (sin_test_tonearest): Likewise.
33187         (sin_test_towardzero): Likewise.
33188         (sin_test_downward): Likewise.
33189         (sin_test_upward): Likewise.
33190         (sincos_test): Likewise.
33191         (sinh_test): Likewise.
33192         (sinh_test_tonearest): Likewise.
33193         (sinh_test_towardzero): Likewise.
33194         (sinh_test_downward): Likewise.
33195         (sinh_test_upward): Likewise.
33196         (sqrt_test): Likewise.
33197         (tan_test): Likewise.
33198         (tan_test_tonearest): Likewise.
33199         (tan_test_towardzero): Likewise.
33200         (tan_test_downward): Likewise.
33201         (tan_test_upward): Likewise.
33202         (tanh_test): Likewise.
33203         (tgamma_test): Likewise.
33204         (y0_test): Likewise.
33205         (y1_test): Likewise.
33206         (yn_test): Likewise.
33208         * math/gen-libm-test.pl (adjust_arg): Remove function.
33209         (special_function): Remove argument $in_func.  Only handle
33210         generating output for tables of tests, not inside functions.
33211         (parse_args): Likewise.
33212         (generate_testfile): Remove variable $in_func.  Update call to
33213         parse_args.
33214         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33215         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33216         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33217         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33218         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33219         (MAX_VALUE_INIT): Rename macro to max_value.
33220         (MIN_VALUE_INIT): Rename macro to min_value.
33221         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33222         (plus_zero): Remove variable.
33223         (minus_zero): Likewise.
33224         (plus_infty): Likewise.
33225         (minus_infty): Likewise.
33226         (qnan_value): Likewise.
33227         (max_value): Likewise.
33228         (min_value): Likewise.
33229         (min_subnorm_value): Likewise.
33231 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33233         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33234         uint64_t or uint32_t usage.
33235         * crypt/sha256-block.c: Likewise.
33236         * crypt/sha256-crypt.c: Likewise.
33237         * crypt/sha256.c: Likewise.
33238         * crypt/sha512-block.c: Likewise.
33239         * crypt/sha512-crypt.c: Likewise.
33240         * crypt/sha512.c: Likewise.
33241         * debug/backtrace-tst.c: Likewise.
33242         * debug/pcprofiledump.c: Likewise.
33243         * elf/cache.c: Likewise.
33244         * elf/dl-cache.c: Likewise.
33245         * elf/dl-misc.c: Likewise.
33246         * elf/dl-profile.c: Likewise.
33247         * elf/dl-support.c: Likewise.
33248         * elf/ldconfig.c: Likewise.
33249         * elf/sprof.c: Likewise.
33250         * iconv/dummy-repertoire.c: Likewise.
33251         * iconv/iconv_charmap.c: Likewise.
33252         * iconv/skeleton.c: Likewise.
33253         * iconvdata/8bit-generic.c: Likewise.
33254         * iconvdata/cp737.h: Likewise.
33255         * iconvdata/cp775.h: Likewise.
33256         * iconvdata/ibm1008.h: Likewise.
33257         * iconvdata/ibm1025.h: Likewise.
33258         * iconvdata/ibm1046.h: Likewise.
33259         * iconvdata/ibm1097.h: Likewise.
33260         * iconvdata/ibm1112.h: Likewise.
33261         * iconvdata/ibm1122.h: Likewise.
33262         * iconvdata/ibm1123.h: Likewise.
33263         * iconvdata/ibm1124.h: Likewise.
33264         * iconvdata/ibm1129.h: Likewise.
33265         * iconvdata/ibm1130.h: Likewise.
33266         * iconvdata/ibm1132.h: Likewise.
33267         * iconvdata/ibm1133.h: Likewise.
33268         * iconvdata/ibm1137.h: Likewise.
33269         * iconvdata/ibm1140.h: Likewise.
33270         * iconvdata/ibm1141.h: Likewise.
33271         * iconvdata/ibm1142.h: Likewise.
33272         * iconvdata/ibm1143.h: Likewise.
33273         * iconvdata/ibm1144.h: Likewise.
33274         * iconvdata/ibm1145.h: Likewise.
33275         * iconvdata/ibm1146.h: Likewise.
33276         * iconvdata/ibm1147.h: Likewise.
33277         * iconvdata/ibm1148.h: Likewise.
33278         * iconvdata/ibm1149.h: Likewise.
33279         * iconvdata/ibm1153.h: Likewise.
33280         * iconvdata/ibm1154.h: Likewise.
33281         * iconvdata/ibm1155.h: Likewise.
33282         * iconvdata/ibm1156.h: Likewise.
33283         * iconvdata/ibm1157.h: Likewise.
33284         * iconvdata/ibm1158.h: Likewise.
33285         * iconvdata/ibm1160.h: Likewise.
33286         * iconvdata/ibm1161.h: Likewise.
33287         * iconvdata/ibm1162.h: Likewise.
33288         * iconvdata/ibm1163.h: Likewise.
33289         * iconvdata/ibm1164.h: Likewise.
33290         * iconvdata/ibm1166.h: Likewise.
33291         * iconvdata/ibm1167.h: Likewise.
33292         * iconvdata/ibm12712.h: Likewise.
33293         * iconvdata/ibm1390.h: Likewise.
33294         * iconvdata/ibm1399.h: Likewise.
33295         * iconvdata/ibm16804.h: Likewise.
33296         * iconvdata/ibm4517.h: Likewise.
33297         * iconvdata/ibm4899.h: Likewise.
33298         * iconvdata/ibm4909.h: Likewise.
33299         * iconvdata/ibm4971.h: Likewise.
33300         * iconvdata/ibm5347.h: Likewise.
33301         * iconvdata/ibm803.h: Likewise.
33302         * iconvdata/ibm856.h: Likewise.
33303         * iconvdata/ibm901.h: Likewise.
33304         * iconvdata/ibm902.h: Likewise.
33305         * iconvdata/ibm9030.h: Likewise.
33306         * iconvdata/ibm9066.h: Likewise.
33307         * iconvdata/ibm921.h: Likewise.
33308         * iconvdata/ibm922.h: Likewise.
33309         * iconvdata/ibm9448.h: Likewise.
33310         * iconvdata/isiri-3342.h: Likewise.
33311         * iconvdata/jis0201.h: Likewise.
33312         * include/link.h: Likewise.
33313         * include/netdb.h: Likewise.
33314         * inet/check_native.c: Likewise.
33315         * inet/check_pf.c: Likewise.
33316         * inet/getipv4sourcefilter.c: Likewise.
33317         * inet/getnameinfo.c: Likewise.
33318         * inet/getsourcefilter.c: Likewise.
33319         * inet/htonl.c: Likewise.
33320         * inet/setipv4sourcefilter.c: Likewise.
33321         * inet/setsourcefilter.c: Likewise.
33322         * inet/test-inet6_opt.c: Likewise.
33323         * inet/tst-network.c: Likewise.
33324         * locale/C-collate.c: Likewise.
33325         * locale/C-ctype.c: Likewise.
33326         * locale/C-time.c: Likewise.
33327         * locale/C-translit.h: Likewise.
33328         * locale/loadarchive.c: Likewise.
33329         * locale/programs/3level.h: Likewise.
33330         * locale/programs/charmap.c: Likewise.
33331         * locale/programs/charmap.h: Likewise.
33332         * locale/programs/ld-address.c: Likewise.
33333         * locale/programs/ld-collate.c: Likewise.
33334         * locale/programs/ld-ctype.c: Likewise.
33335         * locale/programs/ld-identification.c: Likewise.
33336         * locale/programs/ld-measurement.c: Likewise.
33337         * locale/programs/ld-messages.c: Likewise.
33338         * locale/programs/ld-monetary.c: Likewise.
33339         * locale/programs/ld-name.c: Likewise.
33340         * locale/programs/ld-numeric.c: Likewise.
33341         * locale/programs/ld-paper.c: Likewise.
33342         * locale/programs/ld-telephone.c: Likewise.
33343         * locale/programs/ld-time.c: Likewise.
33344         * locale/programs/linereader.c: Likewise.
33345         * locale/programs/locale.c: Likewise.
33346         * locale/programs/locarchive.c: Likewise.
33347         * locale/programs/locfile.h: Likewise.
33348         * locale/programs/repertoire.c: Likewise.
33349         * locale/programs/simple-hash.c: Likewise.
33350         * locale/programs/simple-hash.h: Likewise.
33351         * malloc/memusage.c: Likewise.
33352         * malloc/memusagestat.c: Likewise.
33353         * nis/nis_defaults.c: Likewise.
33354         * nis/nis_hash.c: Likewise.
33355         * nis/nis_print.c: Likewise.
33356         * nis/nis_xdr.c: Likewise.
33357         * nscd/connections.c: Likewise.
33358         * nscd/hstcache.c: Likewise.
33359         * nscd/nscd_gethst_r.c: Likewise.
33360         * nscd/nscd_getserv_r.c: Likewise.
33361         * nscd/nscd_helper.c: Likewise.
33362         * nscd/servicescache.c: Likewise.
33363         * nss/makedb.c: Likewise.
33364         * nss/nss_db/db-XXX.c: Likewise.
33365         * nss/nss_db/db-initgroups.c: Likewise.
33366         * nss/nss_db/db-netgrp.c: Likewise.
33367         * nss/nss_files/files-network.c: Likewise.
33368         * nss/nss_files/files-parse.c: Likewise.
33369         * posix/bug-regex5.c: Likewise.
33370         * posix/fnmatch_loop.c: Likewise.
33371         * posix/regcomp.c: Likewise.
33372         * posix/regexec.c: Likewise.
33373         * posix/tst-rfc3484-2.c: Likewise.
33374         * posix/tst-rfc3484-3.c: Likewise.
33375         * posix/tst-rfc3484.c: Likewise.
33376         * resolv/nss_dns/dns-canon.c: Likewise.
33377         * resolv/nss_dns/dns-network.c: Likewise.
33378         * resolv/res_init.c: Likewise.
33379         * resolv/res_mkquery.c: Likewise.
33380         * resolv/tst-aton.c: Likewise.
33381         * stdlib/cxa_atexit.c: Likewise.
33382         * stdlib/cxa_finalize.c: Likewise.
33383         * stdlib/gen-fpioconst.c: Likewise.
33384         * stdlib/strtol_l.c: Likewise.
33385         * string/tst-endian.c: Likewise.
33386         * sunrpc/auth_des.c: Likewise.
33387         * sunrpc/clnt_udp.c: Likewise.
33388         * sunrpc/rtime.c: Likewise.
33389         * sunrpc/svcauth_des.c: Likewise.
33390         * sunrpc/xdr.c: Likewise.
33391         * sunrpc/xdr_intXX_t.c: Likewise.
33392         * sunrpc/xdr_rec.c: Likewise.
33393         * sysdeps/generic/ldconfig.h: Likewise.
33394         * sysdeps/generic/ldsodefs.h: Likewise.
33395         * sysdeps/generic/memusage.h: Likewise.
33396         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33397         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33398         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33399         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33400         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33401         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33402         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33403         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33404         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33406         * sysdeps/posix/getaddrinfo.c: Likewise.
33407         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33408         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33409         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33410         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33411         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33412         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33413         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33414         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33415         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33416         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33417         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33418         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33419         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33420         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33421         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33422         * sysdeps/x86_64/dl-tls.h: Likewise.
33423         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33424         * time/alt_digit.c: Likewise.
33425         * time/era.c: Likewise.
33426         * wcsmbs/tst-c16c32-1.c: Likewise.
33428 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33430         * math/libm-test.inc (struct test_sincos_data): New type.
33431         (RUN_TEST_LOOP_sincos): New macro.
33432         (sincos_test_data): New variable.
33433         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33435 2013-05-16  Richard Henderson  <rth@redhat.com>
33437         * math/atest-exp2.c (LIMB64): New macro.
33438         (CONSTSZ): New macro.
33439         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33440         (hexdig): Move ...
33441         (print_mpn_fp): ... to function scope.
33442         (read_mpn_hex): Remove.
33443         (get_log2): Remove.
33444         (exp2_mpn): Use mp_log2.
33445         (main): Use mp_exp1.
33447 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33449         * math/libm-test.inc: Remove comment about not testing "inexact"
33450         exceptions.
33451         (INEXACT_EXCEPTION): New macro.
33452         (NO_INEXACT_EXCEPTION): Likewise.
33453         (INVALID_EXCEPTION_OK): Update value.
33454         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33455         (OVERFLOW_EXCEPTION_OK): Likewise.
33456         (UNDERFLOW_EXCEPTION_OK): Likewise.
33457         (IGNORE_ZERO_INF_SIGN): Likewise.
33458         (ERRNO_UNCHANGED): Likewise.
33459         (ERRNO_EDOM): Likewise.
33460         (ERRNO_ERANGE): Likewise.
33461         (test_exceptions): Handle testing "inexact" exceptions.
33462         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33463         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33464         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33465         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33466         INEXACT_EXCEPTION.
33467         (rint_towardzero_test_data): Likewise.
33468         (rint_downward_test_data): Likewise.
33469         (rint_upward_test_data): Likewise.
33471         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33472         with OVERFLOW_EXCEPTION.
33473         (exp10_test_data): Likewise.
33474         (exp2_test_data): Likewise.
33475         (expm1_test_data): Likewise.
33476         (lgamma_test_data): Likewise.
33477         (pow_test_data): Likewise.
33478         (tgamma_test_data): Likewise.
33479         (yn_test_data): Remove duplicate test of overflow.
33481         * math/libm-test.inc (struct test_cc_c_data): New type.
33482         (RUN_TEST_LOOP_cc_c): New macro.
33483         (cpow_test_data): New variable.
33484         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33486         * math/libm-test.inc (struct test_f_L_data): New type.
33487         (RUN_TEST_LOOP_f_L): New macro.
33488         (llrint_test_data): New variable.
33489         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33490         (llrint_tonearest_test_data): New variable.
33491         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33492         (llrint_towardzero_test_data): New variable.
33493         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33494         (llrint_downward_test_data): New variable.
33495         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33496         (llrint_upward_test_data): New variable.
33497         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33498         (llround_test_data): New variable.
33499         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33501 2013-05-13  Peter Collingbourne  <pcc@google.com>
33503         * math/atest-exp2.c (get_log2): Remove const attribute.
33505 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33507         * math/libm-test.inc (struct test_f_l_data): New type.
33508         (RUN_TEST_LOOP_f_l): New macro.
33509         (lrint_test_data): New variable.
33510         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33511         (lrint_tonearest_test_data): New variable.
33512         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33513         (lrint_towardzero_test_data): New variable.
33514         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33515         (lrint_downward_test_data): New variable.
33516         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33517         (lrint_upward_test_data): New variable.
33518         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33519         (lround_test_data): New variable.
33520         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33522 2013-05-15  Peter Collingbourne  <pcc@google.com>
33524         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33525         (EXTRACT_WORDS64) Use where appropriate.
33526         (INSERT_WORDS64) Likewise.
33528         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33529         constraints with x constraints.
33530         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33532         * malloc/obstack.c (_obstack_compat): Add initializer.
33534 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33536         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33537         si_trapno and add si_addr_lsb to _sifields.sigfault.
33538         (si_trapno): Remove macro.
33539         (si_addr_lsb): Define new macro.
33540         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33542 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33544         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33545         instead of TEST_f_l.
33546         (llrint_test_tonearest): Likewise.
33547         (llrint_test_towardzero): Likewise.
33548         (llrint_test_downward): Likewise.
33549         (llrint_test_upward): Likewise.
33550         (llround_test): Likewise.
33552         * math/libm-test.inc (struct test_f_i_data): Add comment.
33553         (RUN_TEST_LOOP_f_b): New macro.
33554         (RUN_TEST_LOOP_f_b_tg): Likewise.
33555         (finite_test_data): New variable.
33556         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33557         (isfinite_test_data): New variable.
33558         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33559         (isinf_test_data): New variable.
33560         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33561         (isnan_test_data): New variable.
33562         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33563         (isnormal_test_data): New variable.
33564         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33565         (issignaling_test_data): New variable.
33566         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33567         (signbit_test_data): New variable.
33568         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33570         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33571         with INVALID_EXCEPTION.
33572         (acosh_test_data): Likewise.
33573         (asin_test_data): Likewise.
33574         (atanh_test_data): Likewise.
33575         (fmod_test_data): Likewise.
33576         (log_test_data): Likewise.
33577         (log10_test_data): Likewise.
33578         (log2_test_data): Likewise.
33579         (pow_test_data): Likewise.
33580         (sqrt_test_data): Likewise.
33581         (y0_test_data): Likewise.
33582         (y1_test_data): Likewise.
33583         (yn_test_data): Likewise.
33585         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33586         function contents.
33588         * math/libm-test.inc (struct test_ff_i_data): New type.
33589         (RUN_TEST_LOOP_ff_i_tg): New macro.
33590         (isgreater_test_data): New variable.
33591         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33592         (isgreaterequal_test_data): New variable.
33593         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33594         (isless_test_data): New variable.
33595         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33596         (islessequal_test_data): New variable.
33597         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33598         (islessgreater_test_data): New variable.
33599         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33600         (isunordered_test_data): New variable.
33601         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33603 2013-05-14  David S. Miller  <davem@davemloft.net>
33605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33607 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33609         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33611         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33612         extra_test to int.
33613         (struct test_f_i_data): Change type of max_ulp to int.
33615         * math/libm-test.inc (test_ffI_f1_data): New type.
33616         (RUN_TEST_LOOP_ffI_f1): New macro.
33617         (remquo_test_data): New variable.
33618         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33620         * setjmp/tst-setjmp-fp.c: New file.
33621         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33622         (link-libm): New variable.
33623         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33625         * math/libm-test.inc (struct test_f_i_data): New type.
33626         (RUN_TEST_LOOP_f_i): New macro.
33627         (RUN_TEST_LOOP_f_i_tg): Likewise.
33628         (fpclassify_test_data): New variable.
33629         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33630         (ilogb_test_data): New variable.
33631         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33633         * math/libm-test.inc (scalbln_test): Correct function name in END
33634         call.
33636         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33637         (RUN_TEST_LOOP_fI_f1): New macro.
33638         (frexp_test_data): New variable.
33639         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33641         * math/libm-test.inc (struct test_fF_f1_data): New type.
33642         (RUN_TEST_LOOP_fF_f1): New macro.
33643         (modf_test_data): New variable.
33644         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33646         * math/libm-test.inc (struct test_f_f1_data): New type.
33647         (RUN_TEST_LOOP_f_f1): New macro.
33648         (gamma_test_data): New variable.
33649         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33650         (lgamma_test_data): New variable.
33651         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33653 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33655         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33656         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33657         (main): Comment "tls" pseudo-hwcap.
33659 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33661         * math/libm-test.inc (struct test_fl_f_data): New type.
33662         (RUN_TEST_LOOP_fl_f): New variable.
33663         (scalbln_test_data): New variable.
33664         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33666         * math/libm-test.inc (struct test_fi_f_data): New type.
33667         (RUN_TEST_LOOP_fi_f): New macro.
33668         (ldexp_test_data): New variable.
33669         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33670         (scalbn_test_data): New variable.
33671         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33673         * math/libm-test.inc (struct test_c_f_data): New type.
33674         (RUN_TEST_LOOP_c_f): New macro.
33675         (cabs_test_data): New variable.
33676         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33677         (carg_test_data): New variable.
33678         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33679         (cimag_test_data): New variable.
33680         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33681         (creal_test_data): New variable.
33682         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33684         * math/libm-test.inc (struct test_if_f_data): New type.
33685         (RUN_TEST_LOOP_if_f): New macro.
33686         (jn_test_data): New variable.
33687         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33688         (yn_test_data): New variable.
33689         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33691         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33693 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33695         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33696         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33698 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33700         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33701         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33702         (bench-deps): Add bench-timing.h.
33703         * benchtests-bench-skeleton.c: Include bench-timing.h.
33704         (main): Use TIMING_* macros instead of clock_gettime.
33705         * benchtests/bench-timing.h: New file.
33707         [BZ #14582]
33708         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33709         Renamed from _LIB_VERSION.
33710         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33712 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33714         * math/libm-test.inc (struct test_fff_f_data): New type.
33715         (RUN_TEST_LOOP_fff_f): New macro.
33716         (fma_test_data): New variable.
33717         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33718         (fma_towardzero_test_data): New variable.
33719         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33720         (fma_downward_test_data): New variable.
33721         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33722         (fma_upward_test_data): New variable.
33723         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33725         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33726         (struct test_c_c_data): New type.
33727         (RUN_TEST_LOOP_c_c): New macro.
33728         (cacos_test_data): New variable.
33729         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33730         (cacosh_test_data): New variable.
33731         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33732         (casin_test_data): New variable.
33733         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33734         (casinh_test_data): New variable.
33735         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33736         (catan_test_data): New variable.
33737         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33738         (catanh_test_data): New variable.
33739         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33740         (ccos_test_data): New variable.
33741         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33742         (ccosh_test_data): New variable.
33743         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33744         (cexp_test_data): New variable.
33745         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33746         (clog_test_data): New variable.
33747         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33748         (clog10_test_data): New variable.
33749         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33750         (conj_test_data): New variable.
33751         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33752         (cproj_test_data): New variable.
33753         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33754         (csin_test_data): New variable.
33755         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33756         (csinh_test_data): New variable.
33757         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33758         (csqrt_test_data): New variable.
33759         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33760         (ctan_test_data): New variable.
33761         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33762         (ctan_tonearest_test_data): New variable.
33763         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33764         (ctan_towardzero_test_data): New variable.
33765         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33766         (ctan_downward_test_data): New variable.
33767         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33768         (ctan_upward_test_data): New variable.
33769         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33770         (ctanh_test_data): New variable.
33771         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33772         (ctanh_tonearest_test_data): New variable.
33773         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33774         (ctanh_towardzero_test_data): New variable.
33775         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33776         (ctanh_downward_test_data): New variable.
33777         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33778         (ctanh_upward_test_data): New variable.
33779         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33780         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33781         of BUILD_COMPLEX.
33783         * math/libm-test.inc (struct test_ff_f_data): New type.
33784         (struct test_ff_f_data_nexttoward): Likewise.
33785         (RUN_TEST_LOOP_2_f): New macro.
33786         (RUN_TEST_LOOP_ff_f): Likewise.
33787         (atan2_test_data): New variable.
33788         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33789         (copysign_test_data): New variable.
33790         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33791         (fdim_test_data): New variable.
33792         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33793         (fmax_test_data): New variable.
33794         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33795         (fmin_test_data): New variable.
33796         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33797         (fmod_test_data): New variable.
33798         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33799         (hypot_test_data): New variable.
33800         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33801         (nextafter_test_data): New variable.
33802         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33803         (nexttoward_test_data): New variable.
33804         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33805         (pow_test_data): New variable.
33806         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33807         (pow_tonearest_test_data): New variable.
33808         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33809         (pow_towardzero_test_data): New variable.
33810         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33811         (pow_downward_test_data): New variable.
33812         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33813         (pow_upward_test_data): New variable.
33814         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33815         (remainder_test_data): New variable.
33816         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33817         (scalb_test_data): New variable.
33818         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33819         * sysdeps/i386/fpu/libm-test-ulps: Update.
33821 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33823         * math/libm-test.inc (fma_test): Use max_value instead of local
33824         variable fltmax.
33825         (nextafter_test): Likewise.
33827         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33828         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33829         (acos_downward_test_data): New variable.
33830         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33831         (acos_upward_test_data): New variable.
33832         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33833         (acosh_test_data): New variable.
33834         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33835         (asin_test_data): New variable.
33836         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33837         (asin_tonearest_test_data): New variable.
33838         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33839         (asin_towardzero_test_data): New variable.
33840         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33841         (asin_downward_test_data): New variable.
33842         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33843         (asin_upward_test_data): New variable.
33844         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33845         (asinh_test_data): New variable.
33846         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33847         (atan_test_data): New variable.
33848         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33849         (atanh_test_data): New variable.
33850         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33851         (cbrt_test_data): New variable.
33852         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33853         (ceil_test_data): New variable.
33854         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33855         (cos_test_data): New variable.
33856         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33857         (cos_tonearest_test_data): New variable.
33858         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33859         (cos_towardzero_test_data): New variable.
33860         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33861         (cos_downward_test_data): New variable.
33862         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33863         (cos_upward_test_data): New variable.
33864         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33865         (cosh_test_data): New variable.
33866         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33867         (cosh_tonearest_test_data): New variable.
33868         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33869         (cosh_towardzero_test_data): New variable.
33870         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33871         (cosh_downward_test_data): New variable.
33872         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33873         (cosh_upward_test_data): New variable.
33874         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33875         (erf_test_data): New variable.
33876         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33877         (erfc_test_data): New variable.
33878         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33879         (exp_test_data): New variable.
33880         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33881         (exp_tonearest_test_data): New variable.
33882         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33883         (exp_towardzero_test_data): New variable.
33884         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33885         (exp_downward_test_data): New variable.
33886         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33887         (exp_upward_test_data): New variable.
33888         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33889         (exp10_test_data): New variable.
33890         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33891         (exp2_test_data): New variable.
33892         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33893         (expm1_test_data): New variable.
33894         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33895         (fabs_test_data): New variable.
33896         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33897         (floor_test_data): New variable.
33898         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33899         (j0_test_data): New variable.
33900         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33901         (j1_test_data): New variable.
33902         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33903         (log_test_data): New variable.
33904         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33905         (log10_test_data): New variable.
33906         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33907         (log1p_test_data): New variable.
33908         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33909         (log2_test_data): New variable.
33910         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33911         (logb_test_data): New variable.
33912         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33913         (logb_downward_test_data): New variable.
33914         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33915         (nearbyint_test_data): New variable.
33916         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33917         (rint_test_data): New variable.
33918         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33919         (rint_tonearest_test_data): New variable.
33920         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33921         (rint_towardzero_test_data): New variable.
33922         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33923         (rint_downward_test_data): New variable.
33924         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33925         (rint_upward_test_data): New variable.
33926         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33927         (round_test_data): New variable.
33928         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33929         (sin_test_data): New variable.
33930         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33931         (sin_tonearest_test_data): New variable.
33932         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33933         (sin_towardzero_test_data): New variable.
33934         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33935         (sin_downward_test_data): New variable.
33936         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33937         (sin_upward_test_data): New variable.
33938         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33939         (sinh_test_data): New variable.
33940         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33941         (sinh_tonearest_test_data): New variable.
33942         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33943         (sinh_towardzero_test_data): New variable.
33944         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33945         (sinh_downward_test_data): New variable.
33946         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33947         (sinh_upward_test_data): New variable.
33948         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33949         (sqrt_test_data): New variable.
33950         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33951         (tan_test_data): New variable.
33952         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33953         (tan_tonearest_test_data): New variable.
33954         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33955         (tan_towardzero_test_data): New variable.
33956         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33957         (tan_downward_test_data): New variable.
33958         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33959         (tan_upward_test_data): New variable.
33960         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33961         (tanh_test_data): New variable.
33962         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33963         (tgamma_test_data): New variable.
33964         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33965         (trunc_test_data): New variable.
33966         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33967         (y0_test_data): New variable.
33968         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33969         (y1_test_data): New variable.
33970         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33971         (significand_test_data): New variable.
33972         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33974 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33976         [BZ #12387]
33977         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33979 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33981         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33983 2013-05-10  Andreas Jaeger  <aj@suse.de>
33985         [BZ #15448]
33986         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33987         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33989 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33991         * math/gen-libm-test.pl (adjust_arg): New function.
33992         (special_functions): Handle generating output in both functions
33993         and arrays.
33994         (parse_args): Likewise.
33995         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33996         $in_func argument to parse_args.
33997         * math/libm-test.inc (struct test_f_f_data): New type.
33998         (IF_ROUND_INIT_): New macro.
33999         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34000         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34001         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34002         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34003         (ROUND_RESTORE_): Likewise.
34004         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34005         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34006         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34007         (ROUND_RESTORE_FE_UPWARD): Likewise.
34008         (RUN_TEST_LOOP_f_f): New macro.
34009         (acos_test_data): New variable.
34010         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34011         (acos_tonearest_test_data): New variable.
34012         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34014 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34016         * benchtests/bench-skeleton.c (startup): Fix coding style.
34018 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34020         [BZ #6809]
34021         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34022         negative infinity argument.
34023         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34024         negative infinity argument.
34025         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34026         negative infinity argument.
34027         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34028         domain errors.
34030 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34032         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34033         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34034         * iconv/iconv_prog.c (main): Likewise.
34035         * locale/programs/charmap-dir.c (charmap_readdir)
34036         (fopen_uncompressed): Likewise.
34037         * locale/programs/locfile.c (siblings_uncached)
34038         (write_locale_data): Use lstat64 instead of lstat.
34039         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34040         stat.
34042 2013-05-10  Andreas Jaeger  <aj@suse.de>
34044         [BZ #15395]
34045         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34046         localization.
34047         Include <locale.h>.
34049 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34051         * elf/dl-close.c (_dl_close_worker): Add comments.
34053 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34055         [BZ #15359]
34056         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34057         high part of pi/2.
34058         (__ieee754_rem_pio2l): Update comments.
34060         [BZ #15429]
34061         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34062         high part of pi/2.
34063         (__ieee754_rem_pio2l): Update comments.
34065         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34066         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34068         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34069         M_PI_4l.
34071         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34072         (M_PI_34_LOG10El): Likewise.
34073         (M_PI2_LOG10El): Likewise.
34074         (M_PI4_LOG10El): Likewise.
34075         (M_PI_LOG10El): Likewise.
34077 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34081 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34083         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34084         (MINUS_ZERO_INIT): Likewise.
34085         (PLUS_INFTY_INIT): Likewise.
34086         (MINUS_INFTY_INIT): Likewise.
34087         (QNAN_VALUE_INIT): Likewise.
34088         (MAX_VALUE_INIT): Likewise.
34089         (MIN_VALUE_INIT): Likewise.
34090         (MIN_SUBNORM_VALUE_INIT): Likewise.
34091         (plus_zero): Initialize with PLUS_ZERO_INIT.
34092         (minus_zero): Initialize with MINUS_ZERO_INIT.
34093         (plus_infty): Initialize with PLUS_INFTY_INIT.
34094         (minus_infty): Initialize with MINUS_INFTY_INIT.
34095         (qnan_value): Initialize with QNAN_VALUE_INIT.
34096         (max_value): Initialize with MAX_VALUE_INIT.
34097         (min_value): Initialize with MIN_VALUE_INIT.
34098         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34100         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34101         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34102         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34103         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34105         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34106         (RUN_TEST_2_f): Likewise.
34107         (RUN_TEST_ff_f): Likewise.
34108         (RUN_TEST_fi_f): Likewise.
34109         (RUN_TEST_fl_f): Likewise.
34110         (RUN_TEST_fff_f): Likewise.
34111         (RUN_TEST_c_f): Likewise.
34112         (RUN_TEST_f_f1): Likewise.
34113         (RUN_TEST_fF_f1): Likewise.
34114         (RUN_TEST_fI_f1): Likewise.
34115         (RUN_TEST_ffI_f1): Likewise.
34116         (RUN_TEST_c_c): Likewise.
34117         (RUN_TEST_cc_c): Likewise.
34118         (RUN_TEST_f_i): Likewise.
34119         (RUN_TEST_f_i_tg): Likewise.
34120         (RUN_TEST_ff_i_tg): Likewise.
34121         (RUN_TEST_f_b): Likewise.
34122         (RUN_TEST_f_b_tg): Likewise.
34123         (RUN_TEST_f_l): Likewise.
34124         (RUN_TEST_f_L): Likewise.
34125         (RUN_TEST_sincos): Likewise.
34126         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34127         whether to show exceptions.  Do not include ");\n" in return
34128         value.
34129         (special_functions): Output call to RUN_TEST_sincos instead of
34130         check_float calls.  Update calls to new_test.
34131         (parse_args): Output call to single RUN_TEST_* macro instead of
34132         check_* calls and other assignments.  Update calls to new_test.
34134         [BZ #2546]
34135         [BZ #2560]
34136         [BZ #5159]
34137         [BZ #15426]
34138         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34139         input to result for tgamma overflow.
34140         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34141         (gamma_coeff): New variable.
34142         (NCOEFF): New macro.
34143         (gamma_positive): New function.
34144         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34145         underflow here.  Use gamma_positive instead of exp (lgamma) for
34146         other arguments.
34147         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34148         (gamma_coeff): New variable.
34149         (NCOEFF): New macro.
34150         (gammaf_positive): New function.
34151         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34152         underflow here.  Use gamma_positive instead of exp (lgamma) for
34153         other arguments.
34154         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34155         (gamma_coeff): New variable.
34156         (NCOEFF): New macro.
34157         (gammal_positive): New function.
34158         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34159         underflow here.  Use gamma_positive instead of exp (lgamma) for
34160         other arguments.
34161         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34162         (gamma_coeff): New variable.
34163         (NCOEFF): New macro.
34164         (gammal_positive): New function.
34165         (__ieee754_gammal_r): Handle positive infinity, overflow and
34166         underflow here.  Handle NaN the same as positive infinity.  Remove
34167         check x < 0xffffffff for negative integers.  Use gamma_positive
34168         instead of exp (lgamma) for other arguments.
34169         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34170         (gamma_coeff): New variable.
34171         (NCOEFF): New macro.
34172         (gammal_positive): New function.
34173         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34174         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34175         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34176         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34177         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34178         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34179         * sysdeps/generic/math_private.h (__gamma_productf): New
34180         prototype.
34181         (__gamma_product): Likewise.
34182         (__gamma_productl): Likewise.
34183         * math/Makefile (libm-calls): Add gamma_product.
34184         * math/libm-test.inc (tgamma_test): Add more tests.
34185         * sysdeps/i386/fpu/libm-test-ulps: Update.
34186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34188 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34190         * benchtests/bench-skeleton.c (main): Preheat CPU.
34192 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34194         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34196 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34198         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34199         and _dl_skip_args_internal.
34201 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34203         * manual/message.texi (Message Translation): Talk about users.
34204         Message to key mapping impacts design.
34206 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34208         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34210         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34212         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34213         * sysdeps/wordsize-64/glob64.c: ... here.
34215         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34216         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34217         New macros.
34219         * debug/getlogin_r_chk.c: Moved to ...
34220         * login/getlogin_r_chk.c: ... here.
34221         * debug/Makefile (routines): Move getlogin_r_chk to ...
34222         * login/Makefile (routines): ... here.
34223         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34224         * login/Versions (libc: GLIBC_2.4): ... here.
34226         * io/poll.c (__poll): Renamed from poll.
34227         Add libc_hidden_def.
34228         (poll): Define as weak alias.
34230         * debug/ptsname_r_chk.c: Moved to ...
34231         * login/ptsname_r_chk.c: ... here.
34232         * debug/Makefile (routines): Move ptsname_r_chk to ...
34233         * login/Makefile (routines): ... here.
34234         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34235         * login/Versions (libc: GLIBC_2.4): ... here.
34237         * posix/getlogin.c: Moved to ...
34238         * login/getlogin.c: ... here.
34239         * posix/getlogin_r.c: Moved to ...
34240         * login/getlogin_r.c: ... here.
34241         * posix/getlogin_r.c: Moved to ...
34242         * login/getlogin_r.c: ... here.
34243         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34244         * login/Makefile (routines): ... here.
34245         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34246         * login/Versions (libc: GLIBC_2.0): ... here.
34248         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34249         (setrlimit): Define as weak alias.
34251         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34252         Call __ names for open, ftruncate, and close.
34253         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34254         (truncate): Define as weak alias.
34256 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34258         * math/gen-libm-test.pl (parse_args): Initialize x before each
34259         test of frexp, modf and remquo.
34261         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34262         test signgam value.
34264 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34266         [BZ #15418]
34267         [BZ #15419]
34268         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34269         internal tests.
34270         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34272 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34274         * elf/dl-writev.h: New file.
34275         * elf/dl-misc.c: Include it.
34276         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34277         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34279 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34281         * math/libm-test.inc (noXFails): Remove variable.
34282         (noXPasses): Likewise.
34283         (BUILD_COMPLEX_INT): Remove macro.
34284         (print_screen): Remove xfail argument.
34285         (print_screen_max_error): Likewise.
34286         (update_stats): Likewise.
34287         (print_max_error): Likewise.  Update calls to other affected
34288         functions.
34289         (print_complex_max_error): Likewise.
34290         (test_single_exception): Update calls to print_screen.
34291         (test_single_errno): Likewise.
34292         (check_float_internal): Remove xfail argument.  Update calls to
34293         other affected functions.
34294         (check_float): Likewise.
34295         (check_complex): Likewise.
34296         (check_int): Likewise.
34297         (check_long): Likewise.
34298         (check_bool): Likewise.
34299         (check_longlong): Likewise.
34300         (main): Don't print noXFails and noXPasses.
34301         * math/gen-libm-test.pl (top level): Don't mention expected
34302         failure handling in comment.
34303         (new_test): Don't handle expected failures.
34304         (parse_args): Don't mention expected failure handling in comment.
34305         (generate_testfile): Don't handle expected failures.
34306         (parse_ulps): Likewise.
34307         (print_ulps_file): Likewise.
34308         (get_failure): Remove function.
34309         (output_test): Don't handle expected failures.
34310         * make/README.libm-test: Don't mention expected failure handling.
34312         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34313         (minus_zero): Likewise.
34314         (plus_infty): Likewise.
34315         (minus_infty): Likewise.
34316         (qnan_value): Likewise.
34317         (max_value): Likewise.
34318         (min_value): Likewise.
34319         (min_subnorm_value): Likewise.
34320         (initialize): Do not initialize those variables dynamically.
34322 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34324         * io/open.c (__open_2): Moved to ...
34325         * io/open_2.c: ... this new file.
34326         * io/open64.c (__open64_2): Moved to ...
34327         * io/open64_2.c: ... this new file.
34328         * io/openat.c (__openat_2): Moved to ...
34329         * io/openat_2.c: ... this new file.
34330         * io/openat64.c (__openat64_2): Moved to ...
34331         * io/openat64_2.c: ... this new file.
34332         * io/Makefile (routines): Add them.
34333         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34334         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34335         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34336         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34337         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34338         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34339         (__openat64): Add hidden_ver.
34340         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34341         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34343         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34344         Separately conditionalize setting of GLRO(dl_sysinfo) so
34345         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34346         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34348 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34350         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34351         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34352         definition.
34353         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34354         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34355         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34356         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34357         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34359 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34361         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34362         test signgam value.
34364         * math/libm-test.inc (hypot_test): Do not use
34365         IGNORE_ZERO_INF_SIGN.
34367 2013-05-03  Andreas Jaeger  <aj@suse.de>
34369         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34370         Linux 3.9.
34371         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34372         (PF_MAX): Adjust for VSOCK change.
34374 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34378 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34380         [BZ #15264]
34381         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34382         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34383         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34385 2013-05-02  David S. Miller  <davem@davemloft.net>
34387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34389 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34391         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34393 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34395         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34397 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34399         [BZ #14952]
34400         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34401         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34402         Use __attribute__ ((__gnu_inline__)).
34403         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34404         Don't use __attribute__ ((__gnu_inline__)).
34406 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34408         [BZ #15423]
34409         * math/s_catan.c (__catan): Handle small real or imaginary part of
34410         input specially to avoid spurious underflow.
34411         * math/s_catanf.c (__catanf): Likewise.
34412         * math/s_catanh.c (__catanh): Likewise.
34413         * math/s_catanhf.c (__catanhf): Likewise.
34414         * math/s_catanhl.c (__catanhl): Likewise.
34415         * math/s_catanl.c (__catanl): Likewise.
34416         * math/libm-test.inc (catan_test): Add more tests.
34417         (catanh_test): Likewise.
34418         * sysdeps/i386/fpu/libm-test-ulps: Update.
34419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34421 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34425 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34427         [BZ #15416]
34428         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34429         accurately for denominator in atan2.
34430         * math/s_catanf.c (__catanf): Likewise.
34431         * math/s_catanh.c (__catanh): Likewise.
34432         * math/s_catanhf.c (__catanhf): Likewise.
34433         * math/s_catanhl.c (__catanhl): Likewise.
34434         * math/s_catanl.c (__catanl): Likewise.
34435         * math/libm-test.inc (catan_test): Add more tests.
34436         (catanh_test): Likewise.
34437         * sysdeps/i386/fpu/libm-test-ulps: Update.
34438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34440 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34442         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34444         * benchtests/Makefile (bench): Remove slow benchmarks.
34445         * benchtests/atan-inputs: Add slow benchmark inputs.
34446         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34447         (BENCH_FUNC): Accept variant offset.
34448         (VARIANT): Define.
34449         * benchtests/bench-skeleton.c (main): Run benchmark for each
34450         variant.
34451         * benchtests/cos-inputs: Add slow benchmark inputs.
34452         * benchtests/exp-inputs: Likewise.
34453         * benchtests/pow-inputs: Likewise.
34454         * benchtests/sin-inputs: Likewise.
34455         * benchtests/slowatan-inputs: Remove.
34456         * benchtests/slowatan.c: Remove.
34457         * benchtests/slowcos-inputs: Remove.
34458         * benchtests/slowcos.c: Remove.
34459         * benchtests/slowexp-inputs: Remove.
34460         * benchtests/slowexp.c: Remove.
34461         * benchtests/slowpow-inputs: Remove.
34462         * benchtests/slowpow.c: Remove.
34463         * benchtests/slowsin-inputs: Remove.
34464         * benchtests/slowsin.c: Remove.
34465         * benchtests/slowtan-inputs: Remove.
34466         * benchtests/slowtan.c: Remove.
34467         * benchtests/tan-inputs: Add slow benchmark inputs.
34468         * scripts/bench.pl: Parse comments and directives.
34470         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34471         in CPPFLAGS.
34472         ($(objpfx)bench-%.c): Remove *-ITER.
34473         * benchtests/bench-modf.c: Remove definition of ITER.
34474         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34475         (main): Loop for DURATION seconds instead of fixed number of
34476         iterations.
34477         * scripts/bench.pl: Don't expect iterations in parameters.
34479 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34481         * io/fchdir.c (__fchdir): Renamed from fchdir.
34482         (fchdir): Define as weak alias.
34484 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34486         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34487         (ERRNO_EDOM): Likewise.
34488         (ERRNO_ERANGE): Likewise.
34489         (noErrnoTests): New variable.
34490         (init_max_error): Set errno to 0.
34491         (test_single_errno): New function.
34492         (test_errno): Likewise.
34493         (check_float_internal): Call test_errno.  Set errno to 0.
34494         (check_complex): Refer to errno tests in comment.
34495         (check_int): Call test_errno.  Set errno to 0.
34496         (check_long): Likewise.
34497         (check_bool): Likewise.
34498         (check_longlong): Likewise.
34499         (cos_test): Use ERRNO_* flags for errno tests instead of
34500         check_int.
34501         (expm1_test): Likewise.
34502         (fmod_test): Likewise.
34503         (ilogb_test): Likewise.
34504         (lgamma_test): Likewise.
34505         (pow_test): Likewise.
34506         (remainder_test): Likewise.
34507         (sin_test): Likewise.
34508         (tan_test): Likewise.
34509         (yn_test): Likewise.
34510         (initialize): Set errno to 0.
34511         (main): Print number of errno tests.
34512         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34514 2013-04-29  Andreas Jaeger  <aj@suse.de>
34516         [BZ #15084]
34517         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34518         and RES_USEVC.
34520         [BZ #15085]
34521         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34522         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34523         unimplemented.
34525         [BZ #15380]
34526         * stdlib/random.c (__initstate): Return NULL if
34527         __initstate fails.
34529         [BZ #15086]
34530         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34531         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34532         RES_SNGLKUPREOP.
34534 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34538 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34540         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34541         of individual tests.
34542         (casin_test): Likewise.
34543         (casinh_test): Likewise.
34545 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34547         [BZ #15409]
34548         * math/s_catan.c (__catan): Handle arguments with large real or
34549         imaginary part separately without squaring.
34550         * math/s_catanf.c (__catanf): Likewise.
34551         * math/s_catanh.c (__catanh): Likewise.
34552         * math/s_catanhf.c (__catanhf): Likewise.
34553         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34554         and redefine.
34555         (__catanhl): Handle arguments with large real or imaginary part
34556         separately without squaring.
34557         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34558         and redefine.
34559         (__catanl): Handle arguments with large real or imaginary part
34560         separately without squaring.
34561         * math/libm-test.inc (catan_test): Add more tests.
34562         (catanh_test): Likewise.
34563         * sysdeps/i386/fpu/libm-test-ulps: Update.
34564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34566 2013-04-27  Andreas Jaeger  <aj@suse.de>
34568         [BZ #15007]
34569         * stdlib/stdlib.h: Update guards for qecvt.
34570         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34571         <stdlib.h>.
34573 2013-04-27  Allan McRae  <allan@archlinux.org>
34575         * sysdeps/i386/fpu/libm-test-ulps: Update.
34577 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34579         [BZ #15406]
34580         * math/s_catan.c: Include <float.h>.
34581         (__catan): Ensure underflow exception occurs for underflowed
34582         result.
34583         * math/s_catanf.c: Include <float.h>.
34584         (__catanf): Ensure underflow exception occurs for underflowed
34585         result.
34586         * math/s_catanh.c: Include <float.h>.
34587         (__catanh): Ensure underflow exception occurs for underflowed
34588         result.
34589         * math/s_catanhf.c: Include <float.h>.
34590         (__catanhf): Ensure underflow exception occurs for underflowed
34591         result.
34592         * math/s_catanhl.c: Include <float.h>.
34593         (__catanhl): Ensure underflow exception occurs for underflowed
34594         result.
34595         * math/s_catanl.c: Include <float.h>.
34596         (__catanl): Ensure underflow exception occurs for underflowed
34597         result.
34598         * math/libm-test.inc (catan_test): Add more tests.
34599         (catanh_test): Likewise.
34601         [BZ #15405]
34602         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34603         underflowed result.
34604         * math/s_ccoshf.c (__ccoshf): Likewise.
34605         * math/s_ccoshl.c (__ccoshl): Likewise.
34606         * math/s_csin.c (__csin): Likewise.
34607         * math/s_csinf.c (__csinf): Likewise.
34608         * math/s_csinh.c (__csinh): Likewise.
34609         * math/s_csinhf.c (__csinhf): Likewise.
34610         * math/s_csinhl.c (__csinhl): Likewise.
34611         * math/s_csinl.c (__csinl): Likewise.
34612         * math/libm-test.inc (ccos_test): Add more tests.
34613         (ccosh_test): Likewise.
34614         (csin_test): Likewise.
34615         (csinh_test): Likewise.
34617 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34619         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34620         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34621         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34622         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34623         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34624         powerpc/power5+/fpu folders.
34625         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34628 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34632 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34634         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34635         additions to variable.
34636         [$(config-machine) = x86_64] (modules-names): Likewise.
34637         ($(objpfx)tst-audit3): Remove dependency.
34638         ($(objpfx)tst-audit3.out): Likewise.
34639         ($(objpfx)tst-audit4): Likewise.
34640         ($(objpfx)tst-audit4.out): Likewise.
34641         ($(objpfx)tst-audit5): Likewise.
34642         ($(objpfx)tst-audit5.out): Likewise.
34643         ($(objpfx)tst-audit6): Likewise.
34644         ($(objpfx)tst-audit6.out): Likewise.
34645         ($(objpfx)tst-audit7): Likewise.
34646         ($(objpfx)tst-audit7.out): Likewise.
34647         (tst-audit3-ENV): Remove variable.
34648         (tst-audit4-ENV): Likewise.
34649         (tst-audit5-ENV): Likewise.
34650         (tst-audit6-ENV): Likewise.
34651         (tst-audit7-ENV): Likewise.
34652         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34653         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34654         addition to variable.
34655         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34658         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34659         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34660         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34661         tst-audit3, tst-audit4 and tst-audit5.
34662         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34663         tst-audit6 and tst-audit7.
34664         [$(subdir) = elf] (modules-names): Add audit modules for those
34665         tests.
34666         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34667         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34668         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34669         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34670         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34671         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34672         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34673         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34674         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34675         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34676         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34677         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34678         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34679         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34680         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34681         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34682         Likewise.
34683         [$(subdir) = elf && $(config-cflags-avx) = yes]
34684         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34685         [$(subdir) = elf && $(config-cflags-avx) = yes]
34686         (CFLAGS-tst-auditmod4a.c): Likewise.
34687         [$(subdir) = elf && $(config-cflags-avx) = yes]
34688         (CFLAGS-tst-auditmod4b.c): Likewise.
34689         [$(subdir) = elf && $(config-cflags-avx) = yes]
34690         (CFLAGS-tst-auditmod6b.c): Likewise.
34691         [$(subdir) = elf && $(config-cflags-avx) = yes]
34692         (CFLAGS-tst-auditmod6c.c): Likewise.
34693         [$(subdir) = elf && $(config-cflags-avx) = yes]
34694         (CFLAGS-tst-auditmod7b.c): Likewise.
34695         * elf/tst-audit3.c: Move to ...
34696         * sysdeps/x86_64/tst-audit3.c: ... here.
34697         * elf/tst-audit4.c: Move to ...
34698         * sysdeps/x86_64/tst-audit4.c: ... here.
34699         * elf/tst-audit5.c: Move to ...
34700         * sysdeps/x86_64/tst-audit5.c: ... here.
34701         * elf/tst-audit6.c: Move to ...
34702         * sysdeps/x86_64/tst-audit6.c: ... here.
34703         * elf/tst-audit7.c: Move to ...
34704         * sysdeps/x86_64/tst-audit7.c: ... here.
34705         * elf/tst-auditmod3a.c: Move to ...
34706         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34707         * elf/tst-auditmod3b.c: Move to ...
34708         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34709         * elf/tst-auditmod4a.c: Move to ...
34710         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34711         * elf/tst-auditmod4b.c: Move to ...
34712         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34713         * elf/tst-auditmod5a.c: Move to ...
34714         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34715         * elf/tst-auditmod5b.c: Move to ...
34716         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34717         * elf/tst-auditmod6a.c: Move to ...
34718         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34719         * elf/tst-auditmod6b.c: Move to ...
34720         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34721         * elf/tst-auditmod6c.c: Move to ...
34722         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34723         * elf/tst-auditmod7a.c: Move to ...
34724         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34725         * elf/tst-auditmod7b.c: Move to ...
34726         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34728 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34730         [BZ #15366]
34731         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34732         define unconditionally.
34733         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34734         define unconditionally.
34735         (INT8_C, INT16_C, etc.): Likewise.
34737 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34739         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34740         __ehdr_start with hidden visibility.
34742         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34744 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34746         * math/libm-test.inc (cos_test): Use accurate hex constants.
34747         (sincost_test): Likewise.
34749 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34751         * math/libm-test.inc (catan_test): Add more tests.
34752         (catanh_test): Likewise.
34754         * math/s_catanf.c (__catanf): Use suffixed floating-point
34755         constants.
34756         * math/s_catanhf.c (__catanhf): Likewise.
34757         * math/s_catanhl.c (__catanhl): Likewise.
34758         * math/s_catanl.c (__catanl): Likewise.
34760         [BZ #15394]
34761         * math/s_catan.c (__catan): Calculate imaginary part of result
34762         with log1p not log unless computing log of number close to 0.
34763         * math/s_catanf.c (__catanf): Likewise.
34764         * math/s_catanl.c (__catanl): Likewise.
34765         * math/s_catanh.c (__catanh): Calculate real part of result with
34766         log1p not log unless computing log of number close to 0.
34767         * math/s_catanhf.c (__catanhf): Likewise.
34768         * math/s_catanhl.c (__catanhl): Likewise.
34769         * math/libm-test.inc (catan_test): Add more tests.
34770         (catanh_test): Likewise.
34771         * sysdeps/i386/fpu/libm-test-ulps: Update.
34772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34774 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34776         * benchtests/Makefile: Mention files in which fast and slow
34777         paths of math functions are implemented.
34779 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34781         * sysdeps/posix/timespec_get.c: New file.
34783 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34785         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34786         POWER.
34787         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34788         for POWER.
34789         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34790         powerpc/power5/fpu folders.
34791         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34792         * benchtests/Makefile: Add modf testcase.
34793         * benchtests/bench-modf.c: New file: Benchmark test for mo
34795 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34797         [BZ #14888]
34798         * time/Makefile (tests): Add tst-strptime-whitespace.
34799         * time/strptime_l.c (get_number): Use ISSPACE.
34800         (__strptime_internal): Likewise.
34801         * time/tst-strptime-whitespace.c: New test case.
34803 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34805         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34806         member.
34807         (_nss_files_init): Set it here.
34809 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34811         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34812         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34813         unsigned.
34815 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34817         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34819 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34821         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34822         size just once.
34824 2013-04-21  David S. Miller  <davem@davemloft.net>
34826         * po/ru.po: Update Russion translation from translation project.
34828 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34830         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34831         and setfsgid.
34833 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34835         * configure.in: Remove i386 configure warning. Remove i386 case.
34836         * configure: Regenerate.
34837         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34838         Add example to error message.
34839         * sysdeps/i386/configure: Regenerate.
34841 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34843         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34844         slowtan.
34845         * benchtests/cos-inputs: New file.
34846         * benchtests/slowcos-inputs: New file.
34847         * benchtests/slowcos.c: New file.
34848         * benchtests/slowtan-inputs: New file.
34849         * benchtests/slowtan.c: New file.
34850         * benchtests/tan-inputs: New file.
34852 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34854         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34855         considered kosher.
34857 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34859         * benchtests/Makefile: Include cppflags-iterator.mk to add
34860         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34862         * Makefile.in (bench-clean): New target.
34863         * benchtests/Makefile (bench-clean): Likewise.
34865 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34867         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34869 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34871         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34873 2013-04-15  Andreas Schwab  <schwab@suse.de>
34875         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34876         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34877         * nscd/pwdcache.c (cache_addpw): Likewise.
34878         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34879         more than recsize.
34881 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34883         * benchtests/Makefile (bench): Write all output to
34884         bench-out.tmp together.
34886 2013-04-15  Andreas Schwab  <schwab@suse.de>
34888         * nscd/nscd.c (main): Don't fork again after closing files.
34890 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34892         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34894         * benchtests/Rules (bench-deps): Collect dependencies into a
34895         single variable.  Add Makefile to dependencies.
34896         ($(objpfx)bench-%.c): Depend on bench-deps.
34898 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34899             Xavier Roche  <roche+kml2@exalead.com>
34901         [BZ #15361]
34902         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34903         just that it's a file descriptor.
34904         * manual/llio.texi (Synchronizing AIO Operations): Update description
34905         for EBADF error from aio_fsync.
34907 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34909         * Rules (bench): Move target definition...
34910         * benchtests/Makefile: ... here.
34912 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34914         * math/libm-test.inc (cos_test): Fix PI/2 test.
34915         (sincos_test): Likewise.
34916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34917         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34919 2013-04-11  Andreas Schwab  <schwab@suse.de>
34921         [BZ #13988]
34922         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34923         accept exponent character only when digits were seen.
34924         * stdio-common/Makefile (tests): Add bug26.
34925         * stdio-common/bug26.c: New file.
34927         [BZ #14293]
34928         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34929         non-freeable.
34931 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34933         * Makeconfig (rtld-prefix): Define built linker prefix.
34934         * Rules (run-bench): Use it.
34935         * math/Makefile (run-regen-ulps): Likewise.
34937         * Rules (bench): Remove eval.
34939 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34940             Roland McGrath  <roland@hack.frob.com>
34941             Ondrej Bilka  <neleai@seznam.cz>
34943         [BZ #15346]
34944         * time/getdate.c: Include ctype.h and alloca.h.
34945         (__getdate_r): Trim leading and trailing spaces of input.
34946         * time/tst-getdate.c (tests): Add tests with leading and
34947         trailing spaces.
34949 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34951         [BZ #14280]
34952         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34953         when computing value.
34955 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34957         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34958         Use testrun.sh to run libm tests.
34960         [BZ #15309]
34961         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34963 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34965         [BZ #15264]
34966         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34968 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34970         * Makefile.in (regen-ulps): New target.
34971         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34972         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34973         [ifneq (no,$(PERL)] (regen-ulps): New target.
34974         [ifeq (no,$(PERL)] (regen-ulps): New target.
34975         * math/libm-test.inc (ulps_file_name): Define.
34976         (output_dir): New variable.
34977         (options): Add "output-dir" option.
34978         (parse_opt): Handle 'o' case.
34979         (main): If output_dir is non-NULL use it as a prefix
34980         otherwise use "".
34981         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34983 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34985         [BZ #10060, #10062]
34986         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34987         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34988         fail configure if __sync_val_compare_and_swap is not inlined.
34989         * sysdeps/i386/configure: Regenerate.
34990         * configure.in: Build for i686 when configured for i386.
34991         * configure: Regenerate.
34992         * README: Remove i386 reference.
34994 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34996         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34997         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34999 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35001         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35002         (lmsnanval): New variables.
35003         (F): Add conversion tests.
35004         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35005         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35007         * stdio-common/tstdiomisc.c (F): Properly collect individual
35008         tests' results.
35010         [BZ #14686, #15336]
35011         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35012         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35013         Instead, use input NaN values or generate a qNaN by arithmetic
35014         operation.  Also fix bugs to comply with the standard.
35015         * math/libm-test.inc (remainder_test): Add more tests.
35017         [BZ #15335, #15342]
35018         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35020         input NaN values or generate a qNaN by arithmetic operation.
35022         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35023         unreachable code.
35025         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35026         definitions.
35028 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35030         [BZ #14478]
35031         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35032         underflowed result.
35033         * math/s_cexpf.c (__cexpf): Likewise.
35034         * math/s_cexpl.c (__cexpl): Likewise.
35035         * math/libm-test.inc (cexp_test): Add more tests.
35037 2013-04-03  Andreas Schwab  <schwab@suse.de>
35039         [BZ #15330]
35040         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35041         order arrays from heap if bigger than alloca cutoff.
35043 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35045         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35046         (SNAN_TESTS_double): Refer to GCC PR56831.
35047         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35048         GCC PR56828.
35050 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35052         * Rules (bench): Move bench.out after the run is complete.
35054         * Rules (bench): Echo currently running benchmark.
35056         * benchtests/Makefile (bench): Add atan and slowatan.
35057         * benchtests/atan-inputs: New file.
35058         * benchtests/slowatan-inputs: New file.
35059         * benchtests/slowatan.c: New file.
35061         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35062         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35063         its value.
35065         [BZ #15305]
35066         * sysdeps/unix/sysv/linux/kernel-features.h
35067         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35068         __ASSUME_XFS_RESTRICTED_CHOWN.
35069         * sysdeps/unix/sysv/linux/pathconf.c
35070         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35071         Save and restore errno.
35073 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35075         [BZ #15327]
35076         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35077         arguments using __kernel_casinh.
35078         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35079         arguments using __kernel_casinhf.
35080         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35081         arguments using __kernel_casinhl.
35082         * math/libm-test.inc (cacosh_test): Add more tests.
35083         * sysdeps/i386/fpu/libm-test-ulps: Update.
35084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35086 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35088         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35091         * bench/Makefile (bench): Add sin and slowsin.
35092         * benchtests/sin-inputs: New file.
35093         * benchtests/slowsin-inputs: New file.
35094         * benchtests/slowsin.c: New file.
35096         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35097         (bench): Add slowexp and slowpow.
35098         (exp-ITER): Increase iterations.
35099         (pow-ITER): Likewise.
35100         * benchtests/exp-inputs: Change input.
35101         * benchtests/pow-inputs: Likewise.
35102         * benchtests/slowexp-inputs: New file.
35103         * benchtests/slowexp.c: New file.
35104         * benchtests/slowpow-inputs: New file.
35105         * benchtests/slowpow.c: New file.
35107 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35109         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35110         instructions.
35111         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35112         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35113         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35114         * benchtests/Makefile: Add rint benchtest.
35115         * benchtests/rint-inputs: Input for rint benchtest.
35117 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35119         * Versions.def (libm): Add GLIBC_2.18.
35120         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35121         hidden libm prototypes.
35122         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35123         * math/Makefile (libm-calls): Add s_issignaling.
35124         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35125         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35126         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35127         declaration.
35128         * math/math.h [__USE_GNU] (issignaling): New macro.
35129         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35130         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35131         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35132         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35133         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35134         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35135         * manual/arith.texi (issignaling): New section.
35136         * manual/libm-err-tab.pl (@all_functions): Update comment.
35137         * math/gen-libm-test.pl (parse_args): Apply special handling for
35138         issignaling.
35139         * math/libm-test.inc (print_float, issignaling_test): New
35140         functions.
35141         (check_float_internal): Add issignaling checks.
35142         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35143         default definition.
35144         * sysdeps/powerpc/math-tests.h: New file.
35145         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35146         tests.
35147         * math/test-snan.c (TEST_FUNC): Likewise.
35149 2013-03-30  David S. Miller  <davem@davemloft.net>
35151         * po/de.po: Update from translation team.
35153 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35155         [BZ #10357]
35156         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35157         imaginary part less than 1.0 and real part less than 0.5
35158         specially.
35159         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35160         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35161         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35162         (cacos_test): Add more tests.
35163         (casin_test): Likewise.
35164         (casinh_test): Likewise.
35165         * sysdeps/i386/fpu/libm-test-ulps: Update.
35166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35168 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35170         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35171         ONE with its value.
35173         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35174         (__pow_mp): Replace ONE and MONE with their values.
35175         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35176         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35177         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35178         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35179         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35180         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35182         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35184         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35185         (__pow_mp): Replace ZERO and MZERO with their values.
35186         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35187         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35188         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35190         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35191         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35192         (__sqr): Likewise.
35194         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35196         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35198 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35200         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35201         Declare with __attribute__ ((weak)).
35202         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35203         Call __call_tls_dtors only if it's not NULL.
35205 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35207         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35208         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35209         magic __ehdr_start linker symbol if it's defined.
35210         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35211         them up here if it was already done.
35213         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35214         (_dl_aux_init): Use const in cast when setting it.
35215         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35216         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35217         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35219         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35220         Declare them here.
35221         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35222         * csu/libc-tls.c: Nor here.
35223         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35225         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35226         (__libc_message): Never call vsyslog.
35228 2013-03-28  Alan Modra  <amodra@gmail.com>
35230         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35231         Define as empty.
35232         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35233         Likewise.
35235 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35237         [BZ #15214]
35238         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35239         underflow.
35240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35242 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35244         [BZ #15304]
35245         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35246         Don't add gid passed as argument.
35248         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35250 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35252         [BZ #15307]
35253         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35254         imaginary part between 1.0 and 1.5 and real part less than 0.5
35255         specially.
35256         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35257         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35258         * math/libm-test.inc (cacos_test): Add more tests.
35259         (casin_test): Likewise.
35260         (casinh_test): Likewise.
35261         * sysdeps/i386/fpu/libm-test-ulps: Update.
35262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35264 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35266         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35267         constants.
35268         (norm): Likewise.
35269         (denorm): Likewise.
35270         (__dbl_mp): Likewise.
35271         (add_magnitudes): Likewise.
35272         (sub_magnitudes): Likewise.
35273         (__add): Likewise.
35274         (__sub): Likewise.
35275         (__mul): Likewise.
35276         (__sqr): Likewise.
35277         (__inv): Likewise.
35278         (__dvd): Likewise.
35280         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35281         commented code.
35282         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35283         (__dubcos): Likewise.
35284         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35285         (__ieee754_acos): Likewise.
35286         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35287         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35288         (__exp1): Likewise.
35289         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35290         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35291         (log1): Likewise.
35292         (my_log2): Likewise.
35293         (checkint): Likewise.
35294         * sysdeps/ieee754/dbl-64/e_remainder.c
35295         (__ieee754_remainder): Likewise.
35296         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35297         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35298         (bsloww): Likewise.
35299         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35301         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35302         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35303         MANTISSA_STORE_T to store computations on mantissa.  Use
35304         macros for rounding and division.
35305         (denorm): Likewise.
35306         (__dbl_mp): Likewise.
35307         (add_magnitudes): Likewise.
35308         (sub_magnitudes): Likewise.
35309         (__mul): Likewise.
35310         (__sqr): Likewise.
35311         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35312         powers of two in terms of TWOPOW macro.
35313         (mp_no): Make type of mantissa as MANTISSA_T.
35314         [!RADIXI]: Define RADIXI.
35315         [!TWO52]: Define TWO52.
35316         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35318 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35320         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35321         llroundl symbol when building for PPC32.
35323 2013-03-24  Mark H Weaver  <mhw@netris.org>
35325         * manual/arith.texi (Normalization Functions): Fix prototypes for
35326         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35328 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35330         [BZ #13889]
35331         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35332         high value to check if expl overflow.
35333         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35334         to check for underflow and overflow.
35335         * math/libm-test.inc: Add exp test.
35337 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35339         [BZ #11120]
35340         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35341         with NOT_IN_libc.
35343 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35345         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35346         symbol.
35348 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35350         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35351         wrap blocks consisting of several statements.
35353         * sysdeps/generic/math-tests.h: New file.
35354         * sysdeps/i386/fpu/math-tests.h: Likewise.
35355         * math/test-snan.c: Include it.
35356         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35358 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35360         [BZ #15285]
35361         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35362         (__ieee754_j0l): Do not improve calculations using cos of twice
35363         input for inputs above LDBL_MAX / 2.0L.
35364         (__ieee754_y0l): Likewise.
35365         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35366         (__ieee754_j1l): Do not improve calculations using cos of twice
35367         input for inputs above LDBL_MAX / 2.0L.
35368         (__ieee754_y1l): Likewise.
35369         * math/libm-test.inc (j0_test): Add another test.
35370         (j1_test): Likewise.
35371         (y0_test): Likewise.
35372         (y1_test): Likewise.
35373         * sysdeps/i386/fpu/libm-test-ulps: Update.
35375 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35377         * Rules ($(objpfx)bench-%.c): Include code from a C source
35378         file.
35380 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35382         [BZ #15287]
35383         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35384         imaginary part 1.0 and real part less than 0.5 specially.
35385         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35386         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35387         * math/libm-test.inc (cacos_test): Add more tests.
35388         (casin_test): Likewise.
35389         (casinh_test): Likewise.
35390         * sysdeps/i386/fpu/libm-test-ulps: Update.
35391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35393 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35395         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35396         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35398 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35400         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35401         * config.make.in (config-cflags-sse4): Remove variable.
35402         (config-cflags-avx): Likewise.
35403         (config-cflags-sse2avx): Likewise.
35404         (config-cflags-novzeroupper): Likewise.
35405         (config-asflags-i686): Likewise.
35406         (have-mfma4): Likewise.
35407         (have-as-vis3): Likewise.
35408         (MIG): Likewise.
35409         * configure.in (MIG): Do not AC_SUBST.
35410         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35411         (libc_cv_cc_sse4): Do not AC_SUBST.
35412         (libc_cv_cc_avx): Likewise.
35413         (libc_cv_cc_sse2avx): Likewise.
35414         (libc_cv_cc_novzeroupper): Likewise.
35415         (libc_cv_cc_fma4): Likewise.
35416         (libc_cv_as_i686): Likewise.
35417         (libc_cv_sparc_as_vis3): Likewise.
35418         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35419         LIBC_CONFIG_VAR.
35420         (config-asflags-i686): Likewise.
35421         (config-cflags-avx): Likewise.
35422         (config-cflags-sse2avx): Likewise.
35423         (have-mfma4): Likewise.
35424         (config-cflags-novzeroupper): Likewise.
35425         * sysdeps/mach/configure.in (MIG): Likewise.
35426         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35427         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35428         LIBC_CONFIG_VAR.
35429         (config-cflags-avx): Likewise.
35430         (config-cflags-sse2avx): Likewise.
35431         (have-mfma4): Likewise.
35432         (config-cflags-novzeroupper): Likewise.
35433         * configure: Regenerated.
35434         * sysdeps/i386/configure: Likewise.
35435         * sysdeps/mach/configure: Likewise.
35436         * sysdeps/sparc/configure: Likewise.
35437         * sysdeps/x86_64/configure: Likewise.
35439 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35441         [BZ #14812]
35442         * locale/programs/localedef.c (options): Put N_ translation marker
35443         on argument names, not just descriptions.
35445 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35447         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35449 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35451         [BZ #14176]
35452         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35454 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35456         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35457         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35458         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35459         [!BEFORE_ABORT] (before_abort): New function.
35460         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35461         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35462         (writev_for_fatal): New function.
35463         (WRITEV_FOR_FATAL): New macro; call that.
35464         (backtrace_and_maps): New function.
35465         (BEFORE_ABORT): New macro; call that.
35466         (struct str_list): Type removed.
35467         (__libc_message, __libc_fatal): Functions removed.
35468         Include <sysdeps/posix/libc_fatal.c> instead.
35470 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35472         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35473         constants.
35474         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35475         double constants.
35477 2013-03-19  Andreas Schwab  <schwab@suse.de>
35479         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35480         * sysdeps/gnu/configure: Regenerate.
35482         * configure.in: Substitute libc_cv_rtlddir.
35483         * configure: Regenerate.
35484         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35485         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35486         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35487         * elf/Makefile (install-others, CFLAGS-interp.c)
35488         (ldso_install, common-ldd-rewrite): Likewise.
35489         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35490         $(inst_slibdir)/$(rtld-installed-name).
35491         * scripts/rellns-sh: Add -p option.
35492         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35493         for source.
35495 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35497         * manual/nptl.texi: Renamed to ...
35498         * manual/threads.texi: ... this.
35499         * manual/Makefile (chapters): Update.
35501 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35503         [BZ #14812]
35504         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35505         on argument names, not just descriptions.
35506         * malloc/memusagestat.c (options): Likewise.
35507         * nss/getent.c (options): Likewise.
35509 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35511         [BZ #14812]
35512         * iconv/iconv_prog.c (options): Put N_ translation marker
35513         on argument names, not just descriptions.
35514         * iconv/iconvconfig.c (options): Likewise.
35516 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35518         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35519         implementation which is faster on all x86_64 architectures.
35520         Tested on AMD, Intel Nehalem, SNB, IVB.
35521         * sysdeps/x86_64/strnlen.S: Likewise.
35523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35524         Remove all multiarch strlen and strnlen versions.
35525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35526         Remove strlen and strnlen related parts.
35528         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35529         Inline strlen part.
35530         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35532         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35533         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35534         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35535         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35536         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35537         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35539 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35541         * manual/memory.texi (Malloc Tunable Parameters):
35542         Sort parameters alphabetically. Add comments for missing entries.
35544 2013-03-17  David S. Miller  <davem@davemloft.net>
35546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35548 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35550         [BZ #15283]
35551         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35552         for arguments at most half maximum finite value.
35553         * math/libm-test.inc (j0_test): Add more tests.
35554         (j1_test): Likewise.
35555         (y0_test): Likewise.
35556         (y1_test): Likewise.
35557         * sysdeps/i386/fpu/libm-test-ulps: Update.
35558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35560         [BZ #14155]
35561         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35562         1 / x and functions P and Q for arguments above 0x1p256L.
35563         (__ieee754_y0l): Likewise.
35564         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35565         (__ieee754_y1l): Likewise.
35566         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35567         (j1_test): Likewise.
35568         (y0_test): Likewise.
35569         (y1_test): Likewise.
35571 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35573         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35574         variable.
35576 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35578         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35579         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35580         zero since it's initialized to EXEC_PAGESIZE.
35582         * sysdeps/unix/sysv/linux/ldsodefs.h
35583         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35584         * sysdeps/generic/ldsodefs.h: ... here.
35586 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35588         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35590         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35591         math/test-snan.c.
35592         * math/test-snan.c: Renamed from
35593         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35594         * math/Makefile (tests): Add test-snan.
35595         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35596         test-powerpc-snan.
35598         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35599         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35600         functions.
35601         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35602         __builtin_nan family of functions.
35603         * math/libm-test.inc (initialize): Initialize qnan_value with
35604         __builtin_nan family of functions.
35605         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35606         Remove variables.
35607         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35608         Remove functions.
35609         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35610         storage class.  Initialize qNaN_var and sNaN_var with
35611         __builtin_nan and __builtin_nans families of functions,
35612         respectively.
35614         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35615         (sqrt_test): Remove duplicate test with qNaN input.
35616         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35617         (round_test, signbit_test, significand_test): Note missing +/-Inf
35618         as well as qNaN tests.
35620         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35621         qNaN_var.  Fix a few strings, too.
35622         * math/libm-test.inc (nan_value): Rename to qnan_value.
35623         * math/gen-libm-test.pl (%beautify): Adjust to that.
35624         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35625         * math/test-misc.c (main): Likewise.
35626         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35627         to __qnan_bytes, and __qnan_union, respectively.
35628         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35629         Likewise.
35630         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35631         and lqnanval, respectively.
35632         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35633         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35634         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35635         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35637         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35638         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35639         doubles.
35641         * math/test-misc.c (main): Fix copy'n'pastos.
35642         * misc/tst-efgcvt.c (special): Likewise.
35644         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35645         Remove declarations.
35647 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35649         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35650         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35651         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35652         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35654 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35656         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35657         macro to return vdso values correctly in IFUNC implementations.
35658         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35659         Optimization by using IFUNC.
35661 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35662             Richard Henderson  <rth@redhat.com>
35663             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35665         * Makefile.in (bench): New target.
35666         * NEWS: Mention the benchmark framework.
35667         * Rules (bench): Likewise.
35668         (binaries-bench): Generate binaries for functions to
35669         benchmark.
35670         * benchtests/Makefile: New makefile for benchmark tests.
35671         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35672         programs.
35673         * benchtests/exp-inputs: New input file for EXP function.
35674         * benchtests/pow-inputs: New input file for POW function.
35675         * scripts/bench.pl: New script to generate source files for
35676         benchmark programs.
35678 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35680         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35681         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35682         computations on mantissa.  Use macros for rounding and
35683         division.
35684         (denorm): Likewise.
35685         (__dbl_mp): Likewise.
35686         (add_magnitudes): Likewise.
35687         (sub_magnitudes): Likewise.
35688         (__mul): Likewise.
35689         (__sqr): Likewise.
35690         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35691         powers of two in terms of TWOPOW macro.
35692         (mp_no): Make type of mantissa as MANTISSA_T.
35693         [!RADIXI]: Define RADIXI.
35694         [!TWO52]: Define TWO52.
35695         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35697         * manual/nptl.texi (cindex): Modify threads to pthreads.
35699 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35701         * sysdeps/x86_64/preconfigure: Regenerated.
35703 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35705         [BZ #14155]
35706         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35707         0x1p28 and above.
35708         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35709         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35710         0x1p28 and above.
35711         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35712         * math/libm-test.inc (j0_test): Do not allow one spurious
35713         underflow exception.
35714         (y1_test): Likewise.
35716 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35718         * manual/Makefile (chapters): Add nptl.
35719         * manual/debug.texi (Debugging Support): Add link to Threads
35720         chapter.
35721         * manual/nptl.texi: New file.
35723         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35725 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35727         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35728         for non-NULL pointer before the memory validity test. Pointed
35729         out by Holger Brunck <holger.brunck@keymile.com>.
35731 2013-03-13  Andreas Schwab  <schwab@suse.de>
35733         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35734         instead of .os.
35736 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35738         * timezone/zic.c: Update from tzcode 2013b.
35740 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35742         * manual/install.texi (Configuring and compiling):
35743         Mention i686 and i586.
35744         * INSTALL: Regenerate.
35746 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35748         * sysdeps/init_array/elf-init.c: New file.
35749         * csu/elf-init.c
35750         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35751         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35753         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35754         __gmon_start__ as global, but as static with a .preinit_array pointer.
35755         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35756         * sysdeps/init_array/crti.S: New file, empty except for comments.
35757         * sysdeps/init_array/crtn.S: Likewise.
35759 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35761         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35762         definining bcopy.
35763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35764         Remove Prefer_SSE_for_memop.
35765         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35766         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35767         HAS_PREFER_SSE_FOR_MEMOP.
35768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35769         memset-x86-64.
35770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35771         Remove bzero, memset ifunc support.
35772         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35773         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35774         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35775         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35777 2013-03-11  Andreas Schwab  <schwab@suse.de>
35779         [BZ #15234]
35780         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35781         by SHLIB_COMPAT.
35782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35783         (GLIBC_2.16): Remove pthread_atfork.
35785 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35787         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35788         (ptestcases.h): Likewise.
35790 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35792         * Makeconfig ($(common-objpfx)config.status): Depend on
35793         sysdeps/*/preconfigure{,.in} too.
35795 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35797         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35798         (__free_hook): Use void * instead of __malloc_ptr_t.
35799         (__malloc_hook): Likewise.
35800         (__realloc_hook): Likewise.
35801         (__memalign_hook): Likewise.
35802         (__after_morecore_hook): Likewise.
35803         * malloc/arena.c (save_malloc_hook): Likewise.
35804         (save_free_hook): Likewise.
35805         * malloc/hooks.c (malloc_hook_ini): Likewise.
35806         (realloc_hook_ini): Likewise.
35807         (memalign_hook_ini): Likewise.
35808         * malloc/malloc.c (malloc_hook_ini): Likewise.
35809         (realloc_hook_ini): Likewise.
35810         (memalign_hook_ini): Likewise.
35811         (__free_hook): Likewise.
35812         (__malloc_hook): Likewise.
35813         (__realloc_hook): Likewise.
35814         (__memalign_hook): Likewise.
35815         (__libc_malloc): Likewise.
35816         (__libc_free): Likewise.
35817         (__libc_realloc): Likewise.
35818         (__libc_memalign): Likewise.
35819         (__libc_valloc): Likewise.
35820         (__libc_pvalloc): Likewise.
35821         (__libc_calloc): Likewise.
35822         (__posix_memalign): Likewise.
35823         * malloc/morecore.c (__sbrk): Likewise.
35824         (__default_morecore): Likewise.
35826         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35828         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35829         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35830         __malloc_ptrdiff_t.
35832         * malloc/malloc.h (__malloc_size_t): Remove macro.
35833         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35834         __malloc_size_t.
35835         (old_memalign_hook): Likewise.
35836         (old_realloc_hook): Likewise.
35837         (struct hdr): Likewise.
35838         (flood): Likewise.
35839         (mallochook): Likewise.
35840         (memalignhook): Likewise.
35841         (reallochook): Likewise.
35842         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35843         (tr_old_realloc_hook): Likewise.
35844         (tr_old_memalign_hook): Likewise.
35845         (tr_mallochook): Likewise.
35846         (tr_reallochook): Likewise.
35847         (tr_memalignhook): Likewise.
35849 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35852         default_ldbl_pack and using as default implementation.
35853         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35854         implementation.
35855         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35856         redundant definition.
35857         (ldbl_insert_mantissa): Likewise.
35858         (ldbl_canonicalize): Likewise.
35859         (ldbl_nearbyint): Likewise.
35860         (ldbl_pack): Rename to ldbl_pack_ppc.
35861         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35862         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35863         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35865 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35868         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35869         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35870         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35872         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35873         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35874         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35876 2013-03-07  Andreas Jaeger  <aj@suse.de>
35878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35879         bits/mman-linux.h.
35881 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35883         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35884         Include mpa.h and declare __MPEXP.
35885         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35886         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35887         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35888         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35889         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35890         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35891         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35893         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35894         (__slowpow): Use long double EXPL and LOGL functions to
35895         compute POW.
35896         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35897         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35898         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35899         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35900         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35901         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35904         intermediate variable to calculate exponent.
35905         (__sqr): Likewise.
35906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35907         Likewise.
35908         (__sqr): Likewise.
35910         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35911         [!NO__SQR]: Define __sqr.
35912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35913         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35914         sysdeps/ieee754/dbl-64/mpa.c.
35915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35917         [BZ #12723]
35918         * posix/Makefile (tests): Add tst-pathconf.
35919         * posix/tst-pathconf.c: New test case.
35920         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35921         _PC_PIPE_BUF.
35922         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35924 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35926         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35928 2013-03-06  Andreas Jaeger  <aj@suse.de>
35930         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35931         definition via __MAP_ANONYMOUS.
35933         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35934         it's not part of Linux headers.
35936         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35937         (MAP_HUGE_MASK): Define.
35939         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35940         Define.
35941         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35942         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35943         Define.
35944         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35945         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35946         Define.
35947         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35948         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35949         Define.
35950         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35952         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35953         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35954         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35955         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35956         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35957         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35959         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35960         Handle f2fs.
35962         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35963         Handle f2fs and efivarfs.
35965         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35966         f2fs.
35968         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35969         (EFIVARFS_MAGIC): Add.
35970         (F2FS_LINK_MAX): Add.
35972 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35974         * stdio-common/vfprintf.c: Replace __builtin_expect with
35975         __glibc_unlikely.
35977 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35979         [BZ #13550]
35980         * sysdeps/generic/bp-sym.h: Remove file.
35981         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35982         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35983         <bp-sym.h> and <bp-asm.h>.
35984         (__longjmp): Don't use BP_SYM.
35985         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35986         and <bp-asm.h>.
35987         (memcpy): Don't use BP_SYM.
35988         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35989         <bp-sym.h> and <bp-asm.h>.
35990         (memcpy): Don't use BP_SYM.
35991         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35992         <bp-asm.h>.
35993         (memcpy): Don't use BP_SYM.
35994         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35995         <bp-asm.h>.
35996         (memset): Don't use BP_SYM.
35997         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35998         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35999         (__bzero): Don't use BP_SYM.
36000         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36001         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36002         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36003         <bp-sym.h> and <bp-asm.h>.
36004         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36005         pointers.
36006         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36007         <bp-sym.h> and <bp-asm.h>.
36008         (memcpy): Don't use BP_SYM.
36009         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36010         <bp-sym.h> and <bp-asm.h>.
36011         (memset): Don't use BP_SYM.
36012         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36013         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36014         (__bzero): Don't use BP_SYM.
36015         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36016         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36017         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36018         <bp-sym.h> and <bp-asm.h>.
36019         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36020         pointers.
36021         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36022         <bp-sym.h> and <bp-asm.h>.
36023         (memcpy): Don't use BP_SYM.
36024         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36025         <bp-sym.h> and <bp-asm.h>.
36026         (memset): Don't use BP_SYM.
36027         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36028         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36029         (__bzero): Don't use BP_SYM.
36030         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36031         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36032         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36033         <bp-sym.h> and <bp-asm.h>.
36034         (__memchr): Don't use BP_SYM.
36035         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36036         <bp-sym.h> and <bp-asm.h>.
36037         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36038         pointers.
36039         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36040         <bp-sym.h> and <bp-asm.h>.
36041         (memcpy): Don't use BP_SYM.
36042         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36043         <bp-sym.h> and <bp-asm.h>.
36044         (__mempcpy): Don't use BP_SYM.
36045         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36046         <bp-sym.h> and <bp-asm.h>.
36047         (__memrchr): Don't use BP_SYM.
36048         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36049         <bp-sym.h> and <bp-asm.h>.
36050         (memset): Don't use BP_SYM.
36051         (__bzero): Likewise.
36052         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36053         <bp-sym.h> and <bp-asm.h>.
36054         (__rawmemchr): Don't use BP_SYM.
36055         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36056         <bp-sym.h> and <bp-asm.h>.
36057         (__STRCMP): Don't use BP_SYM.
36058         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36059         <bp-sym.h> and <bp-asm.h>.
36060         (strchr): Don't use BP_SYM.
36061         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36062         <bp-sym.h> and <bp-asm.h>.
36063         (__strchrnul): Don't use BP_SYM.
36064         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36065         <bp-sym.h> and <bp-asm.h>.
36066         (strlen): Don't use BP_SYM.
36067         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36068         <bp-sym.h> and <bp-asm.h>.
36069         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36070         pointers.
36071         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36072         <bp-sym.h> and <bp-asm.h>.
36073         (__strnlen): Don't use BP_SYM.
36074         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36075         <bp-sym.h> and <bp-asm.h>.
36076         (__GI__setjmp): Don't use BP_SYM.
36077         (_setjmp): Likewise.
36078         (__sigsetjmp): Likewise.
36079         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36080         (L(start_addresses)): Don't use BP_SYM.
36081         (_start): Likewise.
36082         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36083         <bp-asm.h>.
36084         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36085         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36086         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36087         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36088         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36089         <bp-asm.h>.
36090         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36091         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36092         about bounded pointers.
36093         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36094         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36095         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36096         <bp-asm.h>.
36097         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36098         about bounded pointers.  Remove GKM FIXME comments.
36099         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36100         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36101         <bp-asm.h>.
36102         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36103         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36104         Remove GKM FIXME comments.
36105         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36106         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36107         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36108         <bp-asm.h>.
36109         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36110         about bounded pointers.  Remove GKM FIXME comment.
36111         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36112         and <bp-asm.h>.
36113         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36114         pointers.
36115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36116         <bp-sym.h> and <bp-asm.h>.
36117         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36119         <bp-sym.h> and <bp-asm.h>.
36120         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36121         comment.
36123 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36125         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36126         call free(NULL).
36128 2013-03-05  David S. Miller  <davem@davemloft.net>
36130         * po/es.po: Update from translation team.
36132 2013-03-05  Andreas Jaeger  <aj@suse.de>
36134         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36135         <bits/mman-linux.h>.
36136         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36137         is fine.
36138         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36139         <bits/mman-linux.h> to end of file.
36140         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36141         is fine.
36142         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36143         <bits/mman-linux.h> to end of file.
36144         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36145         is fine.
36146         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36147         <bits/mman-linux.h> to end of file.
36149         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36150         (MCL_CURRENT, MCL_FUTURE): Define here.
36152 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36154         [BZ #15232]
36155         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36156         attribute_hidden.
36157         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36159 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36161         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36162         fourth parameter needed for rt_sigprocmask syscall.
36163         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36164         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36165         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36166         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36167         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36168         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36170 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36172         [BZ #13550]
36173         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36174         comment about bounded pointers.
36175         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36176         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36178 2013-03-04  Andreas Jaeger  <aj@suse.de>
36180         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36181         common definitions.
36183         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36184         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36185         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36186         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36187         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36190 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36192         [BZ #15055]
36193         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36194         __ieee754_sqrl instead of __sqrl.
36196 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36198         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36199         * sysdeps/powerpc/fpu_control.h: ... here.
36200         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36201         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36202         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36203         * sysdeps/powerpc/bits/mathinline.h: ... here.
36205 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36207         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36208         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36209         to just [NEED_DL_SYSINFO_DSO].
36210         * elf/dl-support.c: Likewise.
36211         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36212         * elf/rtld.c (dl_main): Likewise.
36213         * elf/setup-vdso.h (setup_vdso): Likewise.
36214         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36215         * sysdeps/unix/sysv/linux/dl-sysdep.c
36216         (_dl_discover_osversion): Likewise.
36218 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36220         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36221         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36223 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36225         * NEWS: Mention libm performance improvements and non-x86 PI
36226         futex support.
36228         * csu/libc-start.c (__pthread_initialize_minimal): Change
36229         function arguments.
36230         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36232 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36234         [BZ #13550]
36235         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36236         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36237         <bp-sym.h> and <bp-asm.h>.
36238         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36239         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36240         and <bp-asm.h>.
36241         (memcpy): Don't use BP_SYM.
36242         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36243         <bp-asm.h>.
36244         (__mpn_add_n): Don't use BP_SYM.
36245         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36246         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36247         and <bp-asm.h>.
36248         (__mpn_addmul_1): Don't use BP_SYM.
36249         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36250         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36251         <bp-sym.h>.
36252         (_setjmp): Don't use BP_SYM.
36253         (__novmx_setjmp): Likewise.
36254         (__GI__setjmp): Likewise.
36255         (__vmx_setjmp): Likewise.
36256         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36257         <bp-sym.h>.
36258         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36259         (__bzero): Don't use BP_SYM.
36260         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36261         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36262         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36263         <bp-sym.h> and <bp-asm.h>.
36264         (memcpy): Don't use BP_SYM.
36265         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36266         <bp-sym.h> and <bp-asm.h>.
36267         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36268         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36269         <bp-sym.h> and <bp-asm.h>.
36270         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36271         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36272         <bp-asm.h>.
36273         (__mpn_lshift): Don't use BP_SYM.
36274         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36275         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36276         <bp-asm.h>.
36277         (memset): Don't use BP_SYM.
36278         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36279         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36280         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36281         <bp-asm.h>.
36282         (__mpn_mul_1): Don't use BP_SYM.
36283         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36284         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36285         <bp-sym.h> and <bp-asm.h>.
36286         (memcmp): Don't use BP_SYM.
36287         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36288         <bp-sym.h> and <bp-asm.h>.
36289         (memcpy): Don't use BP_SYM.
36290         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36291         <bp-sym.h> and <bp-asm.h>.
36292         (memset): Don't use BP_SYM.
36293         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36294         <bp-sym.h> and <bp-asm.h>.
36295         (strncmp): Don't use BP_SYM.
36296         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36297         <bp-sym.h> and <bp-asm.h>.
36298         (memcpy): Don't use BP_SYM.
36299         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36300         <bp-sym.h> and <bp-asm.h>.
36301         (memset): Don't use BP_SYM.
36302         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36303         <bp-sym.h> and <bp-asm.h>.
36304         (__memchr): Don't use BP_SYM.
36305         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36306         <bp-sym.h> and <bp-asm.h>.
36307         (memcmp): Don't use BP_SYM.
36308         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36309         <bp-sym.h> and <bp-asm.h>.
36310         (memcpy): Don't use BP_SYM.
36311         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36312         <bp-sym.h> and <bp-asm.h>.
36313         (__mempcpy): Don't use BP_SYM.
36314         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36315         <bp-sym.h> and <bp-asm.h>.
36316         (__memrchr): Don't use BP_SYM.
36317         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36318         <bp-sym.h> and <bp-asm.h>.
36319         (memset): Don't use BP_SYM.
36320         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36321         <bp-sym.h> and <bp-asm.h>.
36322         (__rawmemchr): Don't use BP_SYM.
36323         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36324         <bp-sym.h> and <bp-asm.h>.
36325         (__STRCMP): Don't use BP_SYM.
36326         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36327         <bp-sym.h> and <bp-asm.h>.
36328         (strchr): Don't use BP_SYM.
36329         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36330         <bp-sym.h> and <bp-asm.h>.
36331         (__strchrnul): Don't use BP_SYM.
36332         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36333         <bp-sym.h> and <bp-asm.h>.
36334         (strlen): Don't use BP_SYM.
36335         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36336         <bp-sym.h> and <bp-asm.h>.
36337         (strncmp): Don't use BP_SYM.
36338         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36339         <bp-sym.h> and <bp-asm.h>.
36340         (__strnlen): Don't use BP_SYM.
36341         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36342         <bp-asm.h>.
36343         (__mpn_rshift): Don't use BP_SYM.
36344         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36345         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36346         <bp-sym.h> and <bp-asm.h>.
36347         (__sigsetjmp): Don't use BP_SYM.
36348         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36349         (L(start_addresses)): Don't use BP_SYM.
36350         (_start): Likewise.
36351         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36352         <bp-asm.h>.
36353         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36354         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36355         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36356         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36357         <bp-asm.h>.
36358         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36359         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36360         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36361         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36362         <bp-asm.h>.
36363         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36364         comments.
36365         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36366         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36367         <bp-asm.h>.
36368         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36369         FIXME comments.
36370         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36371         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36372         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36373         <bp-asm.h>.
36374         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36375         comment.
36376         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36377         and <bp-asm.h>.
36378         (strncmp): Don't use BP_SYM,
36379         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36380         <bp-asm.h>.
36381         (__mpn_sub_n): Don't use BP_SYM.
36382         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36383         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36384         and <bp-asm.h>.
36385         (__mpn_submul_1): Don't use BP_SYM.
36386         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36388         <bp-sym.h> and <bp-asm.h>.
36389         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36391         <bp-sym.h> and <bp-asm.h>.
36392         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36393         comment.
36395 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36398         Use ZK to minimize writes to Z.
36399         (sub_magnitudes): Simplify code a bit.
36400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36401         Use ZK to minimize writes to Z.
36402         (sub_magnitudes): Simplify code a bit.
36404 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36406         * csu/gmon-start.c: Add special exception to license text.
36408 2013-02-27  Richard Henderson  <rth@redhat.com>
36410         * scripts/config.guess: Update from config.git.
36411         * scripts/config.sub: Likewise.
36413 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36415         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36417         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36419         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36421         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36423         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36425 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36427         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36428         [$(build-shared = yes].
36430 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36432         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36433         (__mul): Reduce iterations for calculating mantissa.
36435         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36436         MPTWO.
36437         (__mpranred): Likewise.
36439         [BZ #15160]
36440         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36441         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36443 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36445         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36446         Define __attribute__.
36448 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36450         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36451         unused.
36452         * posix/regex_internal.h (__attribute): Remove.
36453         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36454         (re_string_context_at): Likewise.
36455         (bitset_not): Use __attribute__ and mark function as possibly
36456         unused.
36457         (bitset_merge): Likewise.
36458         (bitset_mask): Likewise.
36459         (re_string_char_size_at): Likewise.
36460         (re_string_wchar_at): Likewise.
36461         (re_string_elem_size_at): Likewise.
36463 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36465         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36466         code.
36467         (cc32): Likewise.
36469         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36470         (__acr): Likewise.
36471         (__cpy): Likewise.
36472         (norm): Likewise.
36473         (denorm): Likewise.
36474         (__dbl_mp): Likewise.
36475         (add_magnitudes): Likewise.
36476         (sub_magnitudes): Likewise.
36477         (__mul): Likewise.
36478         (__inv): Likewise.
36480         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36481         style.
36483         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36484         style.
36486         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36487         code.
36489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36490         up changes with default code.
36491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36492         Likewise.
36494 2013-02-24  Allan McRae  <allan@archlinux.org>
36496         * manual/socket.texi (The Internet Namespace): Order menu items
36497         to match that in the file.
36499         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36500         node listing of the info page menu.
36502 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36504         [BZ #13550]
36505         * sysdeps/i386/bp-asm.h: Remove file.
36506         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36507         (PARMS): Do not use macros from bp-asm.h.
36508         (S1): Likewise.
36509         (S2): Likewise.
36510         (SIZE): Likewise.
36511         (__mpn_add_n): Do not use BP_SYM
36512         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36513         "bp-asm.h".
36514         (PARMS): Do not use macros from bp-asm.h.
36515         (S1): Likewise.
36516         (SIZE): Likewise.
36517         (__mpn_addmul_1): Do not use BP_SYM
36518         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36519         "bp-asm.h".
36520         (PARMS): Do not use macros from bp-asm.h.
36521         (SIGMSK): Likewise.
36522         (_setjmp): Likewise.  Do not use BP_SYM.
36523         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36524         "bp-asm.h".
36525         (PARMS): Do not use macros from bp-asm.h.
36526         (SIGMSK): Likewise.
36527         (setjmp): Likewise.  Do not use BP_SYM.
36528         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36529         "bp-asm.h".
36530         (PARMS): Do not use macros from bp-asm.h.
36531         (__frexp): Do not use BP_SYM.
36532         (frexp): Likewise.
36533         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36534         "bp-asm.h".
36535         (PARMS): Do not use macros from bp-asm.h.
36536         (__frexpf): Do not use BP_SYM.
36537         (frexpf): Likewise.
36538         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36539         "bp-asm.h".
36540         (PARMS): Do not use macros from bp-asm.h.
36541         (__frexpl): Do not use BP_SYM.
36542         (frexpl): Likewise.
36543         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36544         "bp-asm.h".
36545         (PARMS): Do not use macros from bp-asm.h.
36546         (__remquo): Do not use BP_SYM.
36547         (remquo): Likewise.
36548         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36549         "bp-asm.h".
36550         (PARMS): Do not use macros from bp-asm.h.
36551         (__remquof): Do not use BP_SYM.
36552         (remquof): Likewise.
36553         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36554         "bp-asm.h".
36555         (PARMS): Do not use macros from bp-asm.h.
36556         (__remquol): Do not use BP_SYM.
36557         (remquol): Likewise.
36558         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36559         "bp-asm.h".
36560         (PARMS): Do not use macros from bp-asm.h.
36561         (DEST): Likewise.
36562         (SRC): Likewise.
36563         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36564         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36565         "bp-asm.h".
36566         (PARMS): Do not use macros from bp-asm.h.
36567         (strlen): Do not use BP_SYM.
36568         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36569         "bp-asm.h".
36570         (PARMS): Do not use macros from bp-asm.h.
36571         (S1): Likewise.
36572         (S2): Likewise.
36573         (SIZE): Likewise.
36574         (__mpn_add_n): Do not use BP_SYM.
36575         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36576         "bp-asm.h".
36577         (PARMS): Do not use macros from bp-asm.h.
36578         (S1): Likewise.
36579         (SIZE): Likewise.
36580         (__mpn_addmul_1): Do not use BP_SYM.
36581         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36582         weak_alias.
36583         (bzero): Likewise.
36584         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36585         "bp-asm.h".
36586         (PARMS): Do not use macros from bp-asm.h.
36587         (S): Likewise.
36588         (SIZE): Likewise.
36589         (__mpn_lshift): Do not use BP_SYM.
36590         * sysdeps/i386/i586/memcpy.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         (SRC): Likewise.
36595         (LEN): Likewise.
36596         (memcpy): Likewise.  Do not use BP_SYM.
36597         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36598         libc_hidden_def and weak_alias.
36599         (mempcpy): Do not use BP_SYM in weak_alias.
36600         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36601         "bp-asm.h".
36602         (PARMS): Do not use macros from bp-asm.h.
36603         (DEST): Likewise.
36604         (LEN): Likewise.
36605         [!BZERO_P] (CHR): Likewise.
36606         (memset): Likewise.  Do not use BP_SYM.
36607         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36608         "bp-asm.h".
36609         (PARMS): Do not use macros from bp-asm.h.
36610         (S1): Likewise.
36611         (SIZE): Likewise.
36612         (__mpn_mul_1): Do not use BP_SYM.
36613         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36614         "bp-asm.h".
36615         (PARMS): Do not use macros from bp-asm.h.
36616         (S): Likewise.
36617         (SIZE): Likewise.
36618         (__mpn_rshift): Do not use BP_SYM.
36619         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36620         "bp-asm.h".
36621         (PARMS): Do not use macros from bp-asm.h.
36622         (STR): Likewise.
36623         (CHR): Likewise.
36624         (strchr): Likewise.  Do not use BP_SYM.
36625         (index): Do not use BP_SYM in weak_alias.
36626         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36627         "bp-asm.h".
36628         (PARMS): Do not use macros from bp-asm.h.
36629         (DEST): Likewise.
36630         (SRC): Likewise.
36631         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36632         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36633         "bp-asm.h".
36634         (PARMS): Do not use macros from bp-asm.h.
36635         (strlen): Do not use BP_SYM.
36636         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36637         "bp-asm.h".
36638         (PARMS): Do not use macros from bp-asm.h.
36639         (S1): Likewise.
36640         (S2): Likewise.
36641         (SIZE): Likewise.
36642         (__mpn_sub_n): Do not use BP_SYM.
36643         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36644         "bp-asm.h".
36645         (PARMS): Do not use macros from bp-asm.h.
36646         (S1): Likewise.
36647         (SIZE): Likewise.
36648         (__mpn_submul_1): Do not use BP_SYM.
36649         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36650         "bp-asm.h".
36651         (PARMS): Do not use macros from bp-asm.h.
36652         (S1): Likewise.
36653         (S2): Likewise.
36654         (SIZE): Likewise.
36655         (__mpn_add_n): Do not use BP_SYM.
36656         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36657         weak_alias.
36658         (bzero): Likewise.
36659         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36660         "bp-asm.h".
36661         (PARMS): Do not use macros from bp-asm.h.
36662         (BLK2): Likewise.
36663         (LEN): Likewise.
36664         (memcmp): Do not use BP_SYM.
36665         (bcmp): Do not use BP_SYM in weak_alias.
36666         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36667         "bp-asm.h".
36668         (PARMS): Do not use macros from bp-asm.h.
36669         (DEST): Likewise.
36670         (SRC): Likewise.
36671         (LEN): Likewise.
36672         (memcpy): Likewise.  Do not use BP_SYM.
36673         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36674         "bp-asm.h".
36675         (PARMS): Do not use macros from bp-asm.h.
36676         (DEST): Likewise.
36677         (SRC): Likewise.
36678         (LEN): Likewise.
36679         (memmove): Likewise.  Do not use BP_SYM.
36680         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36681         "bp-asm.h".
36682         (PARMS): Do not use macros from bp-asm.h.
36683         (DEST): Likewise.
36684         (SRC): Likewise.
36685         (LEN): Likewise.
36686         (__mempcpy): Likewise.  Do not use BP_SYM.
36687         (mempcpy): Do not use BP_SYM in weak_alias.
36688         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36689         "bp-asm.h".
36690         (PARMS): Do not use macros from bp-asm.h.
36691         (DEST): Likewise.
36692         (LEN): Likewise.
36693         [!BZERO_P] (CHR): Likewise.
36694         (memset): Likewise.  Do not use BP_SYM.
36695         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36696         "bp-asm.h".
36697         (PARMS): Do not use macros from bp-asm.h.
36698         (STR2): Likewise.
36699         (strcmp): Do not use BP_SYM.
36700         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36701         "bp-asm.h".
36702         (PARMS): Do not use macros from bp-asm.h.
36703         (STR): Likewise.
36704         (DELIM): Likewise.
36705         [USE_AS_STRTOK_R] (SAVE): Likewise.
36706         (FUNCTION): Likewise.  Do not use BP_SYM.
36707         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36708         aliases.
36709         (strtok_r): Likewise.
36710         (__GI___strtok_r): Likewise.
36711         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36712         (PARMS): Do not use macros from bp-asm.h.
36713         (S): Likewise.
36714         (SIZE): Likewise.
36715         (__mpn_lshift): Do not use BP_SYM.
36716         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36717         (PARMS): Do not use macros from bp-asm.h.
36718         (STR): Likewise.
36719         (CHR): Likewise.
36720         (__memchr): Do not use BP_SYM.
36721         (memchr): Do not use BP_SYM in weak_alias.
36722         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36723         (PARMS): Do not use macros from bp-asm.h.
36724         (BLK2): Likewise.
36725         (LEN): Likewise.
36726         (memcmp): Do not use BP_SYM.
36727         (bcmp): Do not use BP_SYM in weak_alias.
36728         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36729         (PARMS): Do not use macros from bp-asm.h.
36730         (S1): Likewise.
36731         (SIZE): Likewise.
36732         (__mpn_mul_1): Do not use BP_SYM.
36733         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36734         "bp-asm.h".
36735         (PARMS): Do not use macros from bp-asm.h.
36736         (STR): Likewise.
36737         (CHR): Likewise.
36738         (__rawmemchr): Do not use BP_SYM.
36739         (rawmemchr): Do not use BP_SYM in weak_alias.
36740         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36741         (PARMS): Do not use macros from bp-asm.h.
36742         (S): Likewise.
36743         (SIZE): Likewise.
36744         (__mpn_rshift): Do not use BP_SYM.
36745         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36746         (PARMS): Do not use macros from bp-asm.h.
36747         (SIGMSK): Likewise.
36748         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36749         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36750         (_start): Do not use BP_SYM.
36751         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36752         (PARMS): Do not use macros from bp-asm.h.
36753         (DEST): Likewise.
36754         (SRC): Likewise.
36755         (__stpcpy): Likewise.  Do not use BP_SYM.
36756         (stpcpy): Do not use BP_SYM in weak_alias.
36757         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36758         "bp-asm.h".
36759         (PARMS): Do not use macros from bp-asm.h.
36760         (DEST): Likewise.
36761         (SRC): Likewise.
36762         (LEN): Likewise.
36763         (__stpncpy): Likewise.  Do not use BP_SYM.
36764         (stpncpy): Do not use BP_SYM in weak_alias.
36765         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36766         (PARMS): Do not use macros from bp-asm.h.
36767         (STR): Likewise.
36768         (CHR): Likewise.
36769         (strchr): Likewise.  Do not use BP_SYM.
36770         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36771         "bp-asm.h".
36772         (PARMS): Do not use macros from bp-asm.h.
36773         (STR): Likewise.
36774         (CHR): Likewise.
36775         (__strchrnul): Likewise.  Do not use BP_SYM.
36776         (strchrnul): Do not use BP_SYM in weak_alias.
36777         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36778         "bp-asm.h".
36779         (PARMS): Do not use macros from bp-asm.h.
36780         (STOP): Likewise.
36781         (strcspn): Do not use BP_SYM.
36782         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36783         "bp-asm.h".
36784         (PARMS): Do not use macros from bp-asm.h.
36785         (STR): Likewise.
36786         (STOP): Likewise.
36787         (strpbrk): Likewise.  Do not use BP_SYM.
36788         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36789         "bp-asm.h".
36790         (PARMS): Do not use macros from bp-asm.h.
36791         (STR): Likewise.
36792         (CHR): Likewise.
36793         (strrchr): Likewise.  Do not use BP_SYM.
36794         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36795         (PARMS): Do not use macros from bp-asm.h.
36796         (SKIP): Likewise.
36797         (strspn): Do not use BP_SYM.
36798         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36799         (PARMS): Do not use macros from bp-asm.h.
36800         (STR): Likewise.
36801         (DELIM): Likewise.
36802         (SAVE): Likewise.
36803         (FUNCTION): Likewise.  Do not use BP_SYM.
36804         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36805         aliases.
36806         (strtok_r): Likewise.
36807         (__GI___strtok_r): Likewise.
36808         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36809         (PARMS): Do not use macros from bp-asm.h.
36810         (S1): Likewise.
36811         (S2): Likewise.
36812         (SIZE): Likewise.
36813         (__mpn_sub_n): Do not use BP_SYM.
36814         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36815         "bp-asm.h".
36816         (PARMS): Do not use macros from bp-asm.h.
36817         (S1): Likewise.
36818         (SIZE): Likewise.
36819         (__mpn_submul_1): Do not use BP_SYM.
36820         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36821         <bp-sym.h>.
36822         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36823         and <bp-asm.h>.
36824         (PARMS): Do not use macros from bp-asm.h.
36825         (FLAGS): Likewise.
36826         (PTID): Likewise.
36827         (TLS): Likewise.
36828         (CTID): Likewise.
36829         (__clone): Do not use BP_SYM.
36830         (clone): Do not use BP_SYM in weak_alias.
36831         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36832         and <bp-asm.h>.
36833         (PARMS): Do not use macros from bp-asm.h.
36834         (LEN): Likewise.
36835         (__mmap64): Do not use BP_SYM.
36836         (mmap64): Do not use BP_SYM in weak_alias.
36837         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36838         <bp-sym.h> and <bp-asm.h>.
36839         (PARMS): Do not use macros from bp-asm.h.
36840         (__posix_fadvise64_l64): Do not use BP_SYM.
36841         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36842         (PARMS): Do not use macros from bp-asm.h.
36843         (NSOPS): Likewise.
36844         (semtimedop): Do not use BP_SYM.
36845         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36846         and <bp-asm.h>.
36848 2013-02-21  Allan McRae  <allan@archlinux.org>
36850         * manual/message.texi (Charset conversion in gettext):
36851         Move @end statement to beginning of line.
36853 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36856         static.
36857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36858         Likewise.
36860         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36861         (denorm): Likewise.
36862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36865 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36867         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36868         tail-call to the resolved function if pltexit isn't needed.
36870 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36873         or Y being zero as being unlikely.
36874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36875         Likewise.
36877 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36879         * manual/nss.texi (System Databases and Name Service Switch):
36880         Remove frobnicate @pxref.
36882 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36884         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36885         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36887 2013-02-20  Petr Machata  <pmachata@redhat.com>
36889         * elf/elf.h (R_ARM_TARGET1): New macro.
36890         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36891         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36892         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36893         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36894         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36895         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36896         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36897         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36898         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36899         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36900         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36901         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36902         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36903         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36904         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36905         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36906         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36907         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36908         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36909         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36910         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36911         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36912         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36913         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36914         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36915         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36916         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36917         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36918         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36919         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36920         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36921         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36922         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36923         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36924         (R_ARM_THM_GOT_BREL12): Likewise.
36925         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36926         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36927         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36928         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36929         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36930         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36931         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36932         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36933         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36935 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36937         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36938         __attribute_used__ to __attribute__ ((unused)).
36940 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36942         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36943         powerpc mpa.c.
36944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36945         comment formatting.
36946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36948 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36950         [BZ #13550]
36951         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36952         Remove macro.
36953         (ENTER): Remove both macro definitions.
36954         (LEAVE): Likewise.
36955         (CHECK_BOUNDS_LOW): Likewise.
36956         (CHECK_BOUNDS_HIGH): Likewise.
36957         (CHECK_BOUNDS_BOTH): Likewise.
36958         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36959         (RETURN_BOUNDED_POINTER): Likewise.
36960         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36961         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36962         (POP_ERRNO_LOCATION_RETURN): Likewise.
36963         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36964         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36965         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36966         macros.
36967         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36968         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36969         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36970         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36971         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36972         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36973         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36974         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36975         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36976         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36977         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36978         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36979         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36980         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36981         removed macros.
36982         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36983         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36984         macros.
36985         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36986         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36987         * sysdeps/i386/i586/memset.S (memset): Likewise.
36988         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36989         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36990         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36991         macros.
36992         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36993         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36994         Change uses of L(2) to L(out).
36995         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36996         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36997         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36998         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36999         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37000         removed macros.
37001         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37002         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37003         macros.
37004         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37005         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37006         (RETURN): Do not use macro LEAVE.
37007         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37008         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37009         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37010         * sysdeps/i386/i686/memset.S (memset): Likewise.
37011         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37012         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37013         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37014         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37015         Likewise.
37016         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37017         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37018         L(1_2) and L(1_3) into L(1).
37019         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37020         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37021         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37022         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37023         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37024         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37025         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37026         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37027         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37028         macros.
37029         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37030         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37031         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37032         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37033         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37034         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37035         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37036         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37037         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37038         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37039         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37040         * sysdeps/i386/strspn.S (strspn): Likewise.
37041         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37042         conditional code.
37043         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37044         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37045         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37046         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37047         L(1_3) into L(1_1).
37048         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37049         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37050         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37051         macros.
37052         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37054 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37056         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37057         macro.
37059 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37061         * math/atest-exp.c (exp_mpn): Remove ROUND.
37062         * math/atest-exp2.c (exp_mpn): Likewise.
37063         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37065         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37066         * stdlib/tst-tls-atexit-lib.c: Likewise.
37067         * stdlib/tst-tls-atexit.c: Likewise.
37069 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37071         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37072         and __attribute_alloc_size__.
37074 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37076         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37077         __attribute_alloc_size__.
37078         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37079         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37081 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37083         * include/programs/xmalloc.h: New file.
37084         * catgets/gencat.c: Include it.
37085         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37086         * elf/pldd.c: Likewise.
37087         * iconv/iconv_charmap.c: Likewise.
37088         * iconv/iconvconfig.c: Likewise.
37089         * iconv/strtab.c: Likewise.
37090         * locale/programs/locale.c: Likewise.
37091         * locale/programs/localedef.h: Likewise.
37092         * locale/programs/simple-hash.c: Likewise.
37093         * nscd/nscd.h: Likewise.
37094         * nss/makedb.c: Likewise.
37095         * sysdeps/generic/ldconfig.h: Likewise.
37097 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37099         * Versions.def: Add GLIBC_2.18.
37100         * include/link.h (struct link_map): New member l_tls_dtor_count.
37101         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37102         (__call_tls_dtors): Likewise.
37103         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37104         __cxa_thread_atexit_impl.
37105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37106         Likewise.
37107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37108         Likewise.
37109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37110         Likewise.
37111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37112         Likewise.
37113         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37115         Likewise.
37116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37117         Likewise.
37118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37120         Likewise.
37121         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37122         (tests): Add test case tst-tls-atexit.
37123         (modules-names): Add shared library for tst-tls-atexit.
37124         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37125         (GLIBC_PRIVATE): Add __call_tls_dtors.
37126         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37127         for libstdc++.
37128         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37129         * stdlib/tst-tls-atexit.c: New test case.
37130         * stdlib/tst-tls-atexit-lib.c: New test case.
37132         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37134         * elf/Versions (ld): Add _dl_find_dso_for_object.
37135         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37136         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37137         (dl_open_worker): Use _dl_find_dso_for_object.
37138         * elf/dl-sym.c (do_sym): Likewise.
37139         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37141 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37143         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37144         Syntactic changes only.
37145         (_dl_runtime_profile): Do a tail-call to the resolved function.
37147 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37149         [BZ #13550]
37150         * sysdeps/x86_64/bp-asm.h: Remove file.
37151         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37152         <bp-sym.h> and <bp-asm.h>.
37153         (__clone): Do not use BP_SYM.
37154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37155         <bp-sym.h> and <bp-asm.h>.
37156         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37157         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37158         "bp-asm.h".
37159         (_setjmp): Do not use BP_SYM.
37160         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37161         "bp-asm.h".
37162         (setjmp): Do not use BP_SYM.
37163         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37164         libc_hidden_def.
37165         (mempcpy): Do not use BP_SYM in weak_alias.
37166         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37167         "bp-asm.h".
37168         (strchr): Do not use BP_SYM.
37169         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37170         "bp-asm.h".
37171         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37172         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37173         (_start): Do not use BP_SYM.
37174         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37175         "bp-asm.h".
37176         (strcat): Do not use BP_SYM.
37177         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37178         "bp-asm.h".
37179         (STRCMP): Do not use BP_SYM.
37180         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37181         "bp-asm.h".
37182         (STRCPY): Do not use BP_SYM.
37183         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37184         "bp-asm.h".
37185         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37186         "bp-asm.h".
37187         (FUNCTION): Do not use BP_SYM.
37188         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37189         weak_alias.
37190         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37192 2013-02-17  Andreas Jaeger  <aj@suse.de>
37194         * time/Versions: Sort entries.
37195         * string/Versions: Likewise.
37196         * resolv/Versions: Likewise.
37197         * posix/Versions: Likewise.
37198         * iconv/Versions: Likewise.
37199         * elf/Versions: Likewise.
37200         * wcsmbs/Versions: Likewise.
37202 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37204         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37205         loop termination condition.
37207         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37208         variable to calculate EZ.
37209         (__sqr): Likewise.
37211         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37212         the lower precision input.
37214 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37216         [BZ #13550]
37217         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37218         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37219         (run-via-rtld-prefix): Do not handle %-bp tests.
37220         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37221         (all-object-suffixes): Remove .ob.
37222         (bppfx): Remove variable.
37223         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37224         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37225         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37226         [$(build-bounded) = yes] (libtype.ob): Likewise.
37227         * Makerules (elide-routines.ob): Remove variable.
37228         (do-tests-clean): Do not handle *-bp.out.
37229         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37230         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37231         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37232         (tests): Do not include $(tests-bp.out).
37233         (xtests): Do not include $(xtests-bp.out).
37234         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37235         [$(build-bounded) = yes] ($(addprefix
37236         $(objpfx),$(binaries-bounded))): Remove rule.
37237         ($(objpfx)%-bp.out): Remove rule.
37238         * config.make.in (build-bounded): Remove variable.
37239         * crypt/Makefile [$(build-bounded) = yes]
37240         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37241         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37242         append to variable.
37243         [$(build-bounded) = yes] (install-lib): Likewise.
37244         [$(build-bounded) = yes] (generated): Likewise.
37245         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37246         Remove rule.
37247         * intl/Makefile [$(build-bounded) = yes]
37248         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37249         * math/Makefile [$(build-bounded) = yes]
37250         ($(tests:%=$(objpfx)%-bp): Likewise.
37251         * misc/Makefile [$(build-bounded) = yes]
37252         ($(objpfx)tst-tsearch-bp): Likewise.
37253         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37254         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37255         Remove dependency.
37256         * string/Makefile (o-objects.ob): Remove variable.
37257         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37258         (CFLAGS-.ob): Remove variable.
37259         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37260         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37261         both definitions of variable.
37262         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37263         (ASFLAGS-.ob): Remove variable.
37265 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37267         [BZ #13550]
37268         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37269         Remove __BOUNDED_POINTERS__ from condition.
37270         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37271         * string/bits/string2.h [!__NO_STRING_INLINES &&
37272         !__BOUNDED_POINTERS__]: Likewise.
37273         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37274         Likewise.
37275         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37276         Remove conditional code.
37277         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37278         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37279         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37280         condition.
37282         [BZ #13550]
37283         * csu/libc-start.c: Do not include <bp-sym.h>.
37284         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37285         * elf/dl-open.c: Do not include <bp-sym.h>.
37286         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37287         * math/fegetenv.c: Do not include <bp-sym.h>.
37288         (fegetenv): Do not use BP_SYM in versioned symbols.
37289         * nptl/sysdeps/pthread/bits/libc-lockP.h
37290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37291         <bp-sym.h>.
37292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37293         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37295         (__pthread_mutex_destroy): Likewise.
37296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37297         (__pthread_mutex_lock): Likewise.
37298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37299         (__pthread_mutex_trylock): Likewise.
37300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37301         (__pthread_mutex_unlock): Likewise.
37302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37303         (__pthread_mutexattr_init): Likewise.
37304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37305         (__pthread_mutexattr_destroy): Likewise.
37306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37307         (__pthread_mutexattr_settype): Likewise.
37308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37309         (__pthread_rwlock_init): Likewise.
37310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37311         (__pthread_rwlock_destroy): Likewise.
37312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37313         (__pthread_rwlock_rdlock): Likewise.
37314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37315         (__pthread_rwlock_tryrdlock): Likewise.
37316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37317         (__pthread_rwlock_wrlock): Likewise.
37318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37319         (__pthread_rwlock_trywrlock): Likewise.
37320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37321         (__pthread_rwlock_unlock): Likewise.
37322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37323         (__pthread_key_create): Likewise.
37324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37325         (__pthread_setspecific): Likewise.
37326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37327         (__pthread_getspecific): Likewise.
37328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37329         Likewise.
37330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37331         (_pthread_cleanup_push_defer): Likewise.
37332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37333         (_pthread_cleanup_pop_restore): Likewise.
37334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37335         (pthread_setcancelstate): Likewise.
37336         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37337         <bp-sym.h>.
37338         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37339         (memchr): Do not use BP_SYM in weak_alias.
37340         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37341         (fegetenv): Do not use BP_SYM in versioned symbols.
37342         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37343         (fesetenv): Do not use BP_SYM in versioned symbols.
37344         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37345         (feupdateenv): Do not use BP_SYM in versioned symbols.
37346         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37347         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37348         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37349         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37350         (open64): Do not use BP_SYM in weak_alias.
37351         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37352         (fegetenv): Do not use BP_SYM in versioned symbols.
37353         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37354         (fesetenv): Do not use BP_SYM in versioned symbols.
37355         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37356         (feupdateenv): Do not use BP_SYM in versioned symbols.
37357         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37358         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37359         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37360         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37361         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37362         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37363         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37364         <bp-sym.h>.
37365         (__libc_start_main): Do not use BP_SYM.
37367 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37370         redundant return line.
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.
37380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37381         (norm): Likewise.
37382         (denorm): Likewise.
37383         (dbl_mp): Likewise.
37384         (sub_magnitudes): Likewise.
37385         (__add): Likewise.
37386         (__sub): Likewise.
37387         (__mul): Likewise.
37388         (__inv): Likewise.
37389         (__dvd): Likewise.
37391         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37392         instead of __mul.
37393         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37394         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37395         (cc32): Likewise.
37397         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37398         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37399         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37400         of __mul for squares.
37401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37402         function
37403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37404         Likewise.
37405         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37406         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37408 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37410         [BZ #13550]
37411         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37412         code.
37413         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37414         prototype or function definition.  Rename ubp_* variables and
37415         parameters.  Remove argv definitions conditional on
37416         [__BOUNDED_POINTERS__].
37417         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37418         * elf/dl-runtime.c (_dl_fixup): Likewise.
37419         * include/set-hooks.h (RUN_HOOK): Likewise.
37420         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37421         definition.
37422         * string/strcpy.c (strcpy): Do not use __unbounded.
37423         * sysdeps/generic/frame.h (struct layout): Likewise.
37424         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37425         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37426         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37427         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37428         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37429         (__backtrace): Likewise.
37430         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37431         use __ptrvalue.
37432         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37433         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37434         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37435         Likewise.
37436         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37437         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37438         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37439         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37440         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37441         Do not use __unbounded.
37442         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37443         Rename __unboundedrlimits parameter to rlimits in prototype.
37444         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37445         Do not use __unbounded.
37446         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37447         not use __ptrvalue.
37448         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37449         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37450         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37451         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37452         __ptrvalue or __unbounded.
37453         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37454         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37455         use __unbounded.
37456         (__new_msgctl): Do not use __ptrvalue.
37457         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37458         __unbounded.
37459         (__libc_msgrcv): Do not use __ptrvalue.
37460         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37461         startup_info): Do not use __unbounded.
37462         (__libc_start_main): Likewise.  Rename ubp_* variables and
37463         parameters.  Remove argv definitions conditional on
37464         [__BOUNDED_POINTERS__].
37465         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37466         __ptrvalue.
37467         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37468         use __unbounded.
37469         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37470         or __ptrvalue.
37471         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37472         use __unbounded.
37473         (__new_shmctl): Do not use __ptrvalue.
37474         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37475         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37476         Likewise.
37477         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37478         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37479         (__libc_sigaction): Likewise.
37480         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37481         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37482         Likewise.
37483         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37485 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37487         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37489         * string/mempcpy.c: Implement by calling memcpy.
37491 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37496         evaluation.
37498         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37499         values in the mantissa.
37501         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37502         minimize writes to Z.
37503         (sub_magnitudes): Simplify code a bit.
37505 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37507         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37508         from the message.  The linker prefixes all warnings with that already.
37510 2013-02-12  Andreas Schwab  <schwab@suse.de>
37512         [BZ #15078]
37513         * posix/regexec.c (extend_buffers): Add parameter min_len.
37514         (check_matching): Pass minimum needed length.
37515         (clean_state_log_if_needed): Likewise.
37516         (get_subexp): Likewise.
37517         * posix/Makefile (tests): Add bug-regex34.
37518         (bug-regex34-ENV): Define.
37519         * posix/bug-regex34.c: New file.
37521         [BZ #11561]
37522         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37523         elements compare against the byte sequence of it, not its name.
37524         * posix/Makefile (tests): Add bug-regex35.
37525         (bug-regex35-ENV): Define.
37526         * posix/bug-regex35.c: New file.
37528 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37530         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37531         comment.
37532         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37533         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37534         (CHECK_EOL): Add undef.
37536 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37538         * bits/stdlib-bsearch.h: New file.
37539         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37540         * stdlib/stdlib.h: Likewise.
37542 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37544         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37545         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37546         declaration.
37547         * manual/search.texi (Array Search Function): Add missing const in
37548         lfind prototype.
37549         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37550         declaration to use rlim_t.
37551         (Basic Scheduling Functions): Remove erroneous const from
37552         sched_getparam prototype.  Remove erroneous * from
37553         sched_get_priority_max and sched_get_priority_min prototypes.
37554         (Resource Usage): Fix summary @comment on vtimes to refer to
37555         sys/vtimes.h rather than vtimes.h.
37556         Add missing *s in vtimes prototype.
37557         (Limits on Resources): Fix ulimit prototype to return long int.
37558         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37559         prototypes to use long int rather than double.
37560         (BSD Random): Fix initstate and setstate to use char *, not void *.
37561         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37562         prototype to make second argument 'struct aiocb64 *const[]'.
37563         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37564         (Status of AIO Operations): Remove erroneous const in aio_return and
37565         aio_return64 prototypes.
37566         (Synchronizing I/O): Fix sync prototype to return void.
37567         * manual/startup.texi (Suboptions): Remove an erroneous const in
37568         getsubopt prototype.
37569         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37570         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37571         use size_t rather than int.
37572         (Scanning All Users): Likewise for getpwent_r.
37573         (Setting Groups): Add missing const to setgroups prototype.
37574         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37575         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37576         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37577         'const void *' rather than 'const char *'.
37578         (Host Address Functions): Likewise for inet_ntop.
37579         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37580         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37581         ssize_t for return value.
37582         (Sending Data): Likewise for send, sendto, sendmsg.
37583         (Socket Option Functions): Add a missing const in setsockopt prototype.
37584         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37585         use wchar_t for the argument.
37586         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37587         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37588         take no arguments.
37589         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37590         double/float/long double for second argument.
37591         Fix return types of significand, significandf, significandl.
37592         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37593         argument in fchmod prototype.
37594         (File Owner): Use uid_t and gid_t in fchown prototype.
37595         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37596         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37597         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37598         use 'const struct dirent **' as argument types to CMP function pointer
37599         argument.
37600         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37601         (File Times): Fix summary magic @comment for struct utimbuf and utime
37602         to refer to utime.h, not time.h.
37603         * manual/string.texi (Argz Functions): Add missing const in
37604         argz_extract and argz_next prototypes.
37605         (Finding Tokens in a String): Likewise for basename.
37606         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37607         (Copying and Concatenation): Fix typo in wmemmove prototype.
37608         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37609         (Signal Stack): Remove erroneous const in sigstack prototype.
37610         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37611         prototype.
37612         (Simple Calendar Time): Likewise for stime.
37613         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37614         prototype.
37615         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37616         say sys/sysctl.h instead.
37617         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37618         and vsyslog prototypes.
37620 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37622         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37623         Remove.
37625 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37627         * misc/sys/mman.h: Fix typo in mremap comment.
37629 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37631         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37632         the '\0' terminator.
37634 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37636         [BZ #13550]
37637         * debug/segfault.c: Don't include <bp-checks.h>.
37638         * sysdeps/generic/bp-checks.h: Remove file.
37639         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37640         (__GETDENTS): Don't use CHECK_N.
37641         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37642         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37643         (__getgroups): Don't use CHECK_N.
37644         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37645         (setgroups): Don't use CHECK_N.
37646         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37647         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37648         (__libc_msgrcv): Don't use CHECK_N.
37649         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37650         (__libc_msgsnd): Don't use CHECK_N.
37651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37652         <bp-checks.h>.
37653         (__libc_pread): Don't use CHECK_N.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37655         include <bp-checks.h>.
37656         (__libc_pread64): Don't use CHECK_N.
37657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37658         include <bp-checks.h>.
37659         (__libc_pwrite): Don't use CHECK_N.
37660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37661         include <bp-checks.h>.
37662         (__libc_pwrite64): Don't use CHECK_N.
37663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37664         <bp-checks.h>.
37665         (__libc_pread): Don't use CHECK_N.
37666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37667         include <bp-checks.h>.
37668         (__libc_pread64): Don't use CHECK_N.
37669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37670         include <bp-checks.h>.
37671         (__libc_pwrite): Don't use CHECK_N.
37672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37673         include <bp-checks.h>.
37674         (__libc_pwrite64): Don't use CHECK_N.
37675         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37676         (do_pread): Don't use CHECK_N.
37677         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37678         (do_pread64): Don't use CHECK_N.
37679         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37680         (do_pwrite): Don't use CHECK_N.
37681         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37682         (do_pwrite64): Don't use CHECK_N.
37683         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37684         (__libc_readv): Don't use CHECK_N.
37685         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37686         (semop): Don't use CHECK_N.
37687         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37688         <bp-checks.h>.
37689         (semtimedop): Don't use CHECK_N.
37690         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37691         (__libc_pread): Don't use CHECK_N.
37692         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37693         <bp-checks.h>.
37694         (__libc_pread64): Don't use CHECK_N.
37695         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37696         <bp-checks.h>.
37697         (__libc_pwrite): Don't use CHECK_N.
37698         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37699         <bp-checks.h>.
37700         (__libc_pwrite64): Don't use CHECK_N.
37701         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37702         <bp-checks.h>.
37703         (__libc_msgrcv): Don't use CHECK_N.
37704         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37705         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37706         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37707         (__libc_writev): Don't use CHECK_N.
37709 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37711         * string/strcpy.c: Removed unused variable.
37713         * Makeconfig (+sysdep-includes): Define with := rather than =.
37714         Use an existing include/ subdir of each sysdeps dir before it.
37716 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37718         * nscd/connection.c (register_traced_file): Comment function.
37719         [HAVE_INOTIFY] (union __inev): Define.
37720         [HAVE_INOTIFY] (inotify_check_files): New function.
37721         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37722         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37723         clear_db_cache.
37724         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37726 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37728         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37729         loaded if not already and that a failure is permanent.
37731 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37733         [BZ #15006]
37734         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37735         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37737 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37739         [BZ #13550]
37740         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37741         (CHECK_1_NULL_OK): Likewise.
37742         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37743         (__fxstat): Do not use CHECK_1.
37744         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37745         <bp-checks.h>.
37746         (___fxstat64): Do not use CHECK_1.
37747         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37748         <bp-checks.h>.
37749         (__fxstatat): Do not use CHECK_1.
37750         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37751         <bp-checks.h>.
37752         (__fxstatat64): Do not use CHECK_1.
37753         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37754         <bp-checks.h>.
37755         (__fxstat): Do not use CHECK_1.
37756         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37757         <bp-checks.h>.
37758         (__fxstatat): Do not use CHECK_1.
37759         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37760         <bp-checks.h>.
37761         (__getresgid): Do not use CHECK_1.
37762         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37763         <bp-checks.h>.
37764         (__getresuid): Do not use CHECK_1.
37765         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37766         <bp-checks.h>.
37767         (__lxstat): Do not use CHECK_1.
37768         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37769         <bp-checks.h>.
37770         (__old_msgctl): Do not use CHECK_1.
37771         (__new_msgctl): Likewise.
37772         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37773         <bp-checks.h>.
37774         (__new_setrlimit): Do not use CHECK_1.
37775         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37776         <bp-checks.h>.
37777         (__old_shmctl): Do not use CHECK_1.
37778         (__new_shmctl): Likewise.
37779         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37780         <bp-checks.h>.
37781         (__xstat): Do not use CHECK_1.
37782         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37783         (__lxstat): Do not use CHECK_1.
37784         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37785         <bp-checks.h>.
37786         (___lxstat64): Do not use CHECK_1.
37787         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37788         (__old_msgctl): Do not use CHECK_1.
37789         (__new_msgctl): Likewise.
37790         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37791         <bp-checks.h>.
37792         (__gettimeofday): Do not use CHECK_1.
37793         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37794         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37795         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37796         <bp-checks.h>.
37797         (__gettimeofday): Do not use CHECK_1.
37798         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37799         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37800         (__new_shmctl): Do not use CHECK_1.
37801         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37802         <bp-checks.h>.
37803         (do_sigtimedwait): Do not use CHECK_1.
37804         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37805         <bp-checks.h>.
37806         (do_sigwaitinfo): Do not use CHECK_1.
37807         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37808         <bp-checks.h>.
37809         (msgctl): Do not use CHECK_1.
37810         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37811         <bp-checks.h>.
37812         (shmctl): Do not use CHECK_1.
37813         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37814         (ustat): Do not use CHECK_1.
37815         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37816         <bp-checks.h>.
37817         (__fxstat): Do not use CHECK_1.
37818         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37819         <bp-checks.h>.
37820         (__fxstatat): Do not use CHECK_1.
37821         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37822         <bp-checks.h>.
37823         (__lxstat): Do not use CHECK_1.
37824         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37825         <bp-checks.h>.
37826         (__xstat): Do not use CHECK_1.
37827         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37828         (__xstat): Do not use CHECK_1.
37829         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37830         (___xstat64): Do not use CHECK_1.
37832         [BZ #13550]
37833         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37834         definitions.
37835         (CHECK_BOUNDS_HIGH): Likewise.
37836         * string/strcpy.c: Do not include <bp-checks.h>.
37837         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37839 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37841         * nscd/nscd-client.h (__nscd_drop_map_ref):
37842         Add __attribute__ ((unused)).
37843         * nis/nss-nisplus.h (niserr2nss): Likewise.
37845         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37846         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37848         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37849         Remove inline keyword.
37850         * include/rounding-mode.h (round_away): Likewise.
37851         * libio/wfileops.c (adjust_wide_data): Likewise.
37852         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37853         (__m128i_strloadu_tolower): Likewise.
37854         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37855         (__m128i_strloadu_tolower): Likewise.
37856         * time/mktime.c (ydhms_diff): Likewise.
37857         * locale/elem-hash.h (elem_hash): Likewise.
37858         * locale/setlocale.c (setdata): Likewise.
37859         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37860         (re_string_wchar_at): Likewise.
37861         (bitset_not, bitset_merge, bitset_mask): Likewise.
37862         [!(__GNUC__ > 3)] (inline): Remove macro.
37863         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37864         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37865         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37866         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37867         * string/memcmp.c (memcmp_bytes): Likewise.
37868         * locale/programs/locarchive.c (compute_hashval): Likewise.
37869         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37870         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37871         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37872         * nss/getent.c (print_rpc, print_protocols): Likewise.
37873         (print_passwd, print_group, print_aliases): Likewise.
37874         * nis/nss-nisplus.h (niserr2nss): Likewise.
37875         * nscd/connections.c (restart_p): Likewise.
37876         Change return type to bool.
37878 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37880         * Makeconfig (all-Depend-files): Add existing
37881         $(sorted-subdirs:=/Depend) files.
37882         (all-subdirs): Remove nss.
37883         * sysdeps/unix/inet/Subdirs: Add it here instead.
37884         * hesiod/Depend: New file.
37886         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37887         instead of calling alloca.
37889         * io/lseek.c (__lseek): Rename to __libc_lseek.
37890         Define __lseek as an alias.
37892         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37894 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37896         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37897         else clause and remove check for non-standard endianness.
37899 2013-02-04  David S. Miller  <davem@davemloft.net>
37901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37903 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37905         [BZ #13550]
37906         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37907         (__ubp_memchr): Remove prototype.
37908         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37909         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37910         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37911         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37912         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37913         Remove alias.
37914         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37915         (__ubp_memchr): Likewise.
37916         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37917         (__ubp_memchr): Likewise.
37918         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37919         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37920         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37921         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37922         CHECK_STRING.
37923         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37924         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37925         (__getcwd): Do not use CHECK_STRING.
37926         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37927         <bp-checks.h>.
37928         (__real_chown): Do not use CHECK_STRING.
37929         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37930         <bp-checks.h>.
37931         (fchownat): Do not use CHECK_STRING.
37932         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37933         CHECK_STRING.
37934         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37935         <bp-checks.h>.
37936         (__lchown): Do not use CHECK_STRING.
37937         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37938         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37939         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37940         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37942         include <bp-checks.h>.
37943         (truncate64): Do not use CHECK_STRING.
37944         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37945         <bp-checks.h>.
37946         (__real_chown): Do not use CHECK_STRING.
37947         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37948         <bp-checks.h>.
37949         (__lchown): Do not use CHECK_STRING.
37950         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37951         <bp-checks.h>.
37952         (__chown): Do not use CHECK_STRING.
37953         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37954         <bp-checks.h>.
37955         (truncate64): Do not use CHECK_STRING.
37956         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37957         Likewise.
37958         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37959         (__xmknod): Do not use CHECK_STRING.
37960         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37961         <bp-checks.h>.
37962         (__xmknodat): Do not use CHECK_STRING.
37963         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37964         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37966 2013-02-04  Andreas Schwab  <schwab@suse.de>
37968         [BZ #14142]
37969         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37970         * include/netdb.h: Likewise for h_errno.
37971         * elf/tst-stackguard1.c: Include <tls.h>.
37973 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37975         * elf/link.h (struct link_map): Extend the l_addr comment.
37976         * include/link.h (struct link_map): Likewise.
37978 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37980         [BZ #13550]
37981         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37982         (BOUNDED_1): Remove macro.
37983         * debug/backtrace.c: Don't include <bp-checks.h>.
37984         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37985         (__backtrace): Likewise.
37986         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37987         <bp-checks.h>.
37988         (__backtrace): Don't use BOUNDED_1.
37989         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37990         <bp-checks.h>.
37991         (__backtrace): Don't use BOUNDED_1.
37992         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37993         (__backtrace): Don't use BOUNDED_1.
37994         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37995         (shmat): Don't use BOUNDED_N.
37997 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37999         [BZ #13550]
38000         * sysdeps/generic/bp-start.h: Remove file.
38001         * csu/libc-start.c: Don't include <bp-start.h>.
38002         (LIBC_START_MAIN): Set up __environ directly instead of using
38003         INIT_ARGV_and_ENVIRON.
38004         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38005         <bp-start.h>.
38007         [BZ #13550]
38008         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38009         definitions.
38010         (CHECK_FCNTL): Likewise.
38011         (CHECK_N_PAGES): Likewise.
38013         [BZ #13550]
38014         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38015         definitions.
38016         (CHECK_SIGSET_NULL_OK): Likewise.
38017         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38018         <bp-checks.h>.
38019         (sigpending): Don't use CHECK_SIGSET.
38020         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38021         <bp-checks.h>.
38022         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38023         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38024         <bp-checks.h>.
38025         (do_sigsuspend): Don't use CHECK_SIGSET.
38026         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38027         use CHECK_SIGSET.
38028         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38029         (do_sigwait): Don't use CHECK_SIGSET.
38030         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38031         use CHECK_SIGSET.
38032         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38033         include <bp-checks.h>.
38034         (sigpending): Don't use CHECK_SIGSET.
38035         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38036         include <bp-checks.h>.
38037         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38038         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38039         <bp-checks.h>.
38040         (sigpending): Don't use CHECK_SIGSET.
38041         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38042         <bp-checks.h>.
38043         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38045         [BZ #13550]
38046         * sysdeps/generic/bp-semctl.h: Remove file.
38047         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38048         <bp-checks.h> and <bp-semctl.h>.
38049         (__old_semctl): Don't use CHECK_SEMCTL.
38050         (__new_semctl): Likewise.
38051         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38052         and <bp-semctl.h>.
38053         (__old_semctl): Don't use CHECK_SEMCTL.
38054         (__new_semctl): Likewise.
38055         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38056         <bp-checks.h> and <bp-semctl.h>.
38057         (__old_semctl): Don't use CHECK_SEMCTL.
38058         (__new_semctl): Likewise.
38059         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38060         <bp-checks.h> and <bp-semctl.h>.
38061         (semctl): Don't use CHECK_SEMCTL.
38063         [BZ #13550]
38064         * Makerules (elide-bp-thunks): Remove variable.
38065         (elide-routines.oS): Don't use $(elide-bp-thunks).
38066         (elide-routines.os): Likewise.
38067         (elide-routines.o): Likewise.
38068         (elide-routines.op): Likewise.
38069         (elide-routines.og): Likewise.
38070         (objects): Don't use $(bp-thunks).
38071         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38072         include.
38073         (common-generated): Do not add s-proto-bp.d.
38074         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38075         (int): Likewise.
38076         (typ): Likewise.
38077         Do not generate makefile rules for bounded-pointer thunks.
38078         * sysdeps/generic/bp-thunks.h: Remove file.
38079         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38080         * sysdeps/unix/s-proto-bp.S: Likewise.
38082         [BZ #15062]
38083         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38084         parts of result separately when argument is not close to line from
38085         -i to i and one part of argument is small.
38086         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38087         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38088         * math/libm-test.inc (cacos_test): Add more tests.
38089         (casin_test): Likewise.
38090         (casinh_test): Likewise.
38091         * sysdeps/i386/fpu/libm-test-ulps: Update.
38092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38094 2013-01-31  David S. Miller  <davem@davemloft.net>
38096         * po/de.po: Update from translation team.
38098 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38100         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38102 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38104         * configure.in (_AC_PROG_CC_C89): New definition.
38105         * configure: Regenerate.
38107         * configure.in (AC_PROG_CPP): New definition.
38108         * configure: Regenerate.
38110 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38112         * debug/tst-backtrace.h: New file.
38113         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38114         (ret): Remove variable.
38115         (x): Likewise.
38116         (FAIL): Remove macro.
38117         (NO_INLINE): Likewise.
38118         (fn1): Use match function instead of strstr.
38119         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38120         (ret): Remove variable.
38121         (x): Likewise.
38122         (FAIL): Remove macro.
38123         (NO_INLINE): Likewise.
38124         (fn): Use match function instead of strstr.
38125         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38126         (ret): Remove variable.
38127         (x): Likewise.
38128         (FAIL): Remove macro.
38129         (NO_INLINE): Likewise.
38130         (handle_signal): Use match function instead of strstr.
38131         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38132         (ret): Remove variable.
38133         (x): Likewise.
38134         (FAIL): Remove macro.
38135         (NO_INLINE): Likewise.
38136         (handle_signal): Use match function instead of strstr.
38138 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38140         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38142 2013-01-23  David S. Miller  <davem@davemloft.net>
38144         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38145         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38146         argument of CAS if possible.
38147         * sysdeps/sparc/sparc64/bits/atomic.h
38148         (__arch_compare_and_exchange_val_32_acq): Likewise.
38149         (__arch_compare_and_exchange_val_64_acq): Likewise.
38151 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38153         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38154         * sysdeps/posix/ulimit.c: ... this.
38155         Include <limits.h>.
38156         * sysdeps/unix/bsd/ulimit.c: Remove file.
38158 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38160         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38161         (LDFLAGS-tst-array5): Likewise.
38163 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38165         [BZ #15036]
38166         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38167         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38168         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38169         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38171 2013-01-21  David S. Miller  <davem@davemloft.net>
38173         * sysdeps/sparc/backtrace.c: New file.
38174         * sysdeps/sparc/sparc32/backtrace.h: New file.
38175         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38176         * sysdeps/sparc/sparc64/backtrace.h: New file.
38177         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38178         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38179         -funwind-tables.
38181 2013-01-21  Andreas Schwab  <schwab@suse.de>
38183         [BZ #15020]
38184         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38185         closed its stdout.
38187 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38190         "mpa2.h".
38191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38193 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38194             Mark Mitchell  <mark@codesourcery.com>
38195             Tom de Vries  <tom@codesourcery.com>
38196             Paul Pluzhnikov  <ppluzhnikov@google.com>
38198         * debug/tst-backtrace2.c: New file.
38199         * debug/tst-backtrace3.c: Likewise.
38200         * debug/tst-backtrace4.c: Likewise.
38201         * debug/tst-backtrace5.c: Likewise.
38202         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38203         (CFLAGS-tst-backtrace3.c): Likewise.
38204         (CFLAGS-tst-backtrace4.c): Likewise.
38205         (CFLAGS-tst-backtrace5.c): Likewise.
38206         (LDFLAGS-tst-backtrace2): Likewise.
38207         (LDFLAGS-tst-backtrace3): Likewise.
38208         (LDFLAGS-tst-backtrace4): Likewise.
38209         (LDFLAGS-tst-backtrace5): Likewise.
38210         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38211         tst-backtrace4 and tst-backtrace5.
38213 2013-01-18  Anton Blanchard  <anton@samba.org>
38214             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38216         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38217         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38218         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38219         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38221         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38222         "+r" and remove output regs list as redundant.  Add explicit inline
38223         asm to specify register of return val to work around compiler codegen
38224         bug.  Remove (int) cast on return value.  Add return type parameter to
38225         use in macro so that this macro does not truncate return value for
38226         64-bit values.
38227         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38228         pass to INTERNAL_VSYSCALL_NCS.
38229         (INLINE_VSYSCALL): Add 'long int' as return type to
38230         INTERNAL_VSYSCALL_NCS macro invocation.
38231         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38232         INTERNAL_VSYSCALL_NCS macro invocation.
38233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38235 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38237         [BZ #14496]
38238         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38239         Fix application of SIMD FP exception mask.
38241         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38242         mp_no from a power of two.
38243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38244         __mpexp_twomm1.  Use __pow_mp.
38246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38247         multiplication.
38249 2013-01-17  David S. Miller  <davem@davemloft.net>
38251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38253 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38255         [BZ #15023]
38256         * include/complex.h: Condition contents on [!_COMPLEX_H].
38257         (__kernel_casinhf): New prototype.
38258         (__kernel_casinh): Likewise.
38259         (__kernel_casinhl): Likewise.
38260         * math/Makefile (libm_calls): Add k_casinh.
38261         * math/k_casinh.c: New file.
38262         * math/k_casinhf.c: Likewise.
38263         * math/k_casinhl.c: Likewise.
38264         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38265         finite nonzero arguments.
38266         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38267         finite nonzero arguments.
38268         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38269         finite nonzero arguments.
38270         * math/s_casinh.c: Do not include <float.h>.
38271         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38272         * math/s_casinhf.c: Do not include <float.h>.
38273         (__casinhf): Move code for finite nonzero arguments to
38274         k_casinhf.c.
38275         * math/s_casinhl.c: Do not include <float.h>.
38276         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38277         redefine.
38278         (__casinhl): Move code for finite nonzero arguments to
38279         k_casinhl.c.
38280         * math/libm-test.inc (cacos_test): Add more tests.
38281         * sysdeps/i386/fpu/libm-test-ulps: Update.
38282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38284 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38286         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38287         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38288         [!HAVE_MREMAP]: Remove [defined linux] case.
38289         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38291 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38293         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38295 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38297         * elf/elf.h (R_386_SIZE32): New relocation.
38298         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38299         R_386_SIZE32.
38300         (elf_machine_rela): Likewise.
38301         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38302         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38304 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38306         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38307         (FP_FAST_FMA): Do not define.
38308         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38309         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38310         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38311         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38312         !_SOFT_FLOAT]: Likewise.
38313         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38314         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38315         value.
38316         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38317         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38318         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38319         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38320         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38321         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38322         file.
38324 2013-01-16  Andreas Schwab  <schwab@suse.de>
38326         [BZ #14327]
38327         * include/stdlib.h (__mktemp): Add declaration.
38328         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38329         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38331 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38333         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38334         definitions.
38335         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38336         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38337         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38338         definitions here.
38339         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38340         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38341         definitions.
38342         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38343         and ONE.
38344         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38345         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38346         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38347         definitions.
38348         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38349         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38350         definitions.
38351         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38353         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38355 2013-01-15  David S. Miller  <davem@davemloft.net>
38357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38358         trunc{,f} to libm-sysdep_routes.
38359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38361         file.
38362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38364         file.
38365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38366         file.
38367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38369         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38370         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38371         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38372         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38373         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38374         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38377         nearbyint{,f} to libm-sysdep_routes.
38378         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38380         New file.
38381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38382         file.
38383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38384         New file.
38385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38386         file.
38387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38389         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38390         file.
38391         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38392         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38393         file.
38394         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38395         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38396         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38398         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38399         libc_feholdexcept and libc_fesetenv.
38401 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38403         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38405 2013-01-14  David S. Miller  <davem@davemloft.net>
38407         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38408         (SPARC_ASM_VIS2_IFUNC): Likewise.
38409         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38411         use of 'siam' instruction.
38412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38413         Likewise.
38414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38415         Likewise.
38416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38417         Likewise.
38418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38423         file.
38424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38425         file.
38426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38427         file.
38428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38429         file.
38430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38435         new VIS2 routines.
38436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38439         Likewise.
38440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38443         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38445         routines to libm-sysdep_routines.
38446         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38449         fdim/fdimf to libm-sysdep_routines.
38450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38451         file.
38452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38454         file.
38455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38458         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38459         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38460         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38461         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38463 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38465         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38466         to optimize copies.
38468         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38473         local variable MPTWO.
38474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38475         Likewise.
38477 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38479         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38480         GLOB_NOESCAPE.
38482 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38484         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38486 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38488         * manual/pattern.texi (glob_t): Document gl_flags.
38489         (glob64_t): Likewise.
38491 2013-01-11  David S. Miller  <davem@davemloft.net>
38493         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38494         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38495         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38496         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38497         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38498         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38499         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38500         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38501         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38502         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38503         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38504         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38505         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38507         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38508         sparc V9 rather than using V8 code.
38509         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38510         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38512         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38513         Move to...
38514         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38515         Here.
38517 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38519         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38520         not in the main loop.
38521         * configure: Regenerated.
38523 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38525         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38526         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38527         to just #else.
38528         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38529         [!__GLIBC_HAVE_LONG_LONG] case.
38530         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38531         condition to just #else.
38532         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38533         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38534         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38535         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38536         unconditional.
38537         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38538         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38539         #elif condition to just #else.
38540         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38541         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38542         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38543         #elif condition to just #else.
38545 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38547         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38548         (EF_MIPS_ARCH_64): Fix value.
38549         (EF_MIPS_ARCH_32R2): New.
38550         (EF_MIPS_ARCH_64R2): New.
38552 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38554         * Makeconfig (+link-pie-before-libc): New.
38555         (+link-pie-after-libc): Likewise.
38556         (+link-pie-tests): Likewise.
38557         (+link-pie): Rewritten.
38558         (link-before-libc): Remove $(config-LDFLAGS).
38559         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38560         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38561         (config-LDFLAGS): Renamed to ...
38562         (rtld-LDFLAGS): This.
38563         (rtld-tests-LDFLAGS): New macro.
38564         (link-libc-rpath-link): Likewise.
38565         (link-libc-tests-rpath-link): Likewise.
38566         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38567         (link-libc): Prepand $(link-libc-rpath-link).
38568         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38569         (test-program-prefix): New macro.
38570         (test-via-rtld-prefix): Likewise.
38571         (test-program-cmd): Likewise.
38572         (host-test-program-cmd): Likewise.
38573         * Makefile ($(common-objpfx)testrun.sh): Replace
38574         $(run-program-prefix) with $(test-program-prefix).
38575         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38576         $(rtld-LDFLAGS).
38577         ($(common-objpfx)shlib.lds): Likewise.
38578         (build-module-helper): Likewise.
38579         ($(common-objpfx)format.lds): Likewise.
38580         * Rules (binaries-pie-tests): New.
38581         (binaries-pie-notests): Likewise.
38582         (binaries-pie): Rewritten.
38583         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38584         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38585         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38586         (make-test-out): Replace $(host-built-program-cmd) with
38587         $(host-test-program-cmd).
38588         * config.make.in (build-hardcoded-path-in-tests): New variable.
38589         * configure.in (--enable-hardcoded-path-in-tests): New configure
38590         option.
38591         (hardcoded_path_in_tests): New AC_SUBST.
38592         * configure: Regenerated.
38593         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38594         $(built-program-cmd) with $(test-program-cmd).
38595         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38596         (test_program_cmd): This.
38597         * elf/Makefile ($(objpfx)order.out): Run test with
38598         $(test-program-prefix).
38599         ($(objpfx)order2.out): Likewise.
38600         ($(objpfx)tst-initorder.out): Likewise.
38601         ($(objpfx)tst-initorder2.out): Likewise.
38602         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38603         $(test-program-cmd).
38604         ($(objpfx)tst-array1-static.out): Likewise.
38605         ($(objpfx)tst-array2.out): Likewise.
38606         ($(objpfx)tst-array3.out): Likewise.
38607         ($(objpfx)tst-array4.out): Likewise.
38608         ($(objpfx)tst-array5.out): Likewise.
38609         ($(objpfx)tst-array5-static.out): Likewise.
38610         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38611         $(test-program-cmd).
38612         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38613         $(run-program-prefix) with $(test-program-prefix).
38614         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38615         (test_program_prefix): This.
38616         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38617         $(run-program-prefix) with $(test-program-prefix).
38618         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38619         (test_program_prefix): This.
38620         * iconvdata/tst-tables.sh: Likewise.
38621         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38622         $(run-program-prefix) with $(test-program-prefix).
38623         ($(objpfx)tst-translit.out): Likewise.
38624         ($(objpfx)tst-gettext2.out): Likewise.
38625         ($(objpfx)tst-gettext4.out): Likewise.
38626         ($(objpfx)tst-gettext6.out): Likewise.
38627         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38628         (test_program_prefix): This.
38629         * intl/tst-gettext2.sh: Likewise.
38630         * intl/tst-gettext4.sh  Likewise.
38631         * intl/tst-gettext6.sh: Likewise.
38632         * intl/tst-translit.sh: Likewise.
38633         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38634         with $(test-program-cmd).
38635         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38636         $(run-program-prefix) with $(test-program-prefix).
38637         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38638         (test_program_prefix): This.
38639         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38640         $(run-program-prefix) with $(test-program-prefix).
38641         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38642         (test_program_prefix): This.
38643         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38644         * posix/Makefile ($(objpfx)globtest.out): Replace
38645         $(run-via-rtld-prefix) and $(test-wrapper) with
38646         $(test-program-prefix) and $(test-via-rtld-prefix).
38647         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38648         $(test-program-prefix).
38649         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38650         $(host-test-program-cmd).
38651         (tst-spawn-ARGS): Likewise.
38652         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38653         $(test-program-prefix).
38654         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38655         (test_via_rtld_prefix): This.
38656         (test_wrapper): Renamed to ...
38657         (test_program_prefix): This.
38658         (run_program_prefix): Replaced by test_program_prefix.
38659         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38660         (test_program_prefix): This.
38661         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38662         with $(host-test-program-cmd).
38663         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38664         $(run-program-prefix) with $(test-program-prefix).
38665         ($(objpfx)tst-printf.out): Likewise.
38666         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38667         $(test-program-cmd).
38668         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38669         (test_program_prefix): This.
38670         * stdio-common/tst-unbputc.sh: Likewise.
38671         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38672         $(run-program-prefix) with $(test-program-prefix).
38673         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38674         (test_program_prefix): This.
38675         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38676         $(built-program-cmd) with $(test-program-cmd).
38678 2013-01-11  Andreas Jaeger  <aj@suse.de>
38680         [BZ #15003]
38681         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38682         value. Sync with Linux 3.7.
38684 2013-01-10  David S. Miller  <davem@davemloft.net>
38686         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38687         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38688         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38690 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38692         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38693         never set.
38694         * configure: Regenerated.
38696 2013-01-10  David S. Miller  <davem@davemloft.net>
38698         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38699         sparc V9 rather than using V8 code.
38700         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38701         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38703 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38705         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38706         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38707         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38708         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38709         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38710         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38711         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38712         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38713         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38714         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38715         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38716         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38717         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38718         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38719         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38720         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38721         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38722         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38723         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38724         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38725         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38726         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38727         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38728         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38729         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38730         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38731         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38733 2013-01-10  David S. Miller  <davem@davemloft.net>
38735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38737 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38739         * posix/Makefile (tests-static): New variable.
38740         (tests): Add $(tests-static).
38741         (tst-exec-static-ARGS): New variable.
38742         (tst-spawn-static-ARGS): Likewise.
38743         * posix/tst-exec-static.c: New file.
38744         * posix/tst-spawn-static.c: Likewise.
38745         * posix/tst-exec.c: Support run directly.
38746         * posix/tst-spawn.c: Likewise.
38748 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38750         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38751         long.
38752         * math/bits/mathcalls.h (llrint): Likewise.
38753         (llround): Likewise.
38754         * stdlib/stdlib.h (struct drand48_data): Likewise.
38755         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38756         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38757         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38758         Likewise.
38759         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38760         Likewise.
38761         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38762         (elf_greg_t): Likewise.
38763         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38764         (__jmp_buf): Likewise.
38765         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38766         definitions.
38767         (llrint): Likewise, for all definitions.
38768         (llrintl): Likewise.
38770         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38771         Remove [__GNUC__] condition.
38772         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38773         condition to just [__USE_ISOC99].
38774         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38776 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38778         [BZ #14200]
38779         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38780         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38781         defined.
38782         (_POSIX_V6_ILP32_OFF32): Likewise.
38783         (_XBS5_ILP32_OFF32): Likewise.
38784         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38785         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38787 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38789         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38792         doubles __mpexp_twomm1.  Adjust usage.
38793         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38794         Remove.
38796 2013-01-10  Andreas Schwab  <schwab@suse.de>
38798         [BZ #14964]
38799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38800         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38802 2013-01-09  David S. Miller  <davem@davemloft.net>
38804         [BZ #15003]
38805         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38806         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38807         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38808         (TCP_FASTOPEN): Define.
38809         (tcp_repair_opt): New structure.
38810         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38811         enum values.
38812         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38813         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38814         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38815         (tcp_cookie_transactions): New structure.
38817 2013-01-09  Anton Blanchard  <anton@samba.org>
38819         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38820         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38821         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38822         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38824 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38826         * include/features.h (__USE_ANSI): Remove.
38828 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38830         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38832         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38834 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38836         * sysdeps/s390/fpu/libm-test-ulps: Update.
38838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38840         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38841         (__acr): Likewise.
38842         (__cpy): Likewise.
38843         (norm): Likewise.
38844         (denorm): Likewise.
38845         (__mp_dbl): Likewise.
38846         (__dbl_mp): Likewise.
38847         (add_magnitudes): Likewise.
38848         (sub_magnitudes): Likewise.
38849         (__add): Likewise.
38850         (__sub): Likewise.
38851         (__mul): Likewise.
38852         (__inv): Likewise.
38853         (__dvd): Likewise.
38854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38855         (__acr): Likewise.
38856         (__cpy): Likewise.
38857         (norm): Likewise.
38858         (denorm): Likewise.
38859         (__mp_dbl): Likewise.
38860         (__dbl_mp): Likewise.
38861         (add_magnitudes): Likewise.
38862         (sub_magnitudes): Likewise.
38863         (__add): Likewise.
38864         (__sub): Likewise.
38865         (__mul): Likewise.
38866         (__inv): Likewise.
38867         (__dvd): Likewise.
38868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38869         (__acr): Likewise.
38870         (__cpy): Likewise.
38871         (norm): Likewise.
38872         (denorm): Likewise.
38873         (__mp_dbl): Likewise.
38874         (__dbl_mp): Likewise.
38875         (add_magnitudes): Likewise.
38876         (sub_magnitudes): Likewise.
38877         (__add): Likewise.
38878         (__sub): Likewise.
38879         (__mul): Likewise.
38880         (__inv): Likewise.
38881         (__dvd): Likewise.
38883 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38885         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38886         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38887         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38888         2 && __USE_EXTERN_INLINES]: Likewise.
38890 2013-01-08  Andreas Jaeger  <aj@suse.de>
38892         [BZ# 14985]
38893         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38894         Remove.
38895         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38896         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38898 2013-01-07  Anton Blanchard  <anton@samba.org>
38900         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38901         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38902         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38903         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38904         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38905         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38906         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38907         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38909         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38910         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38911         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38912         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38913         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38914         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38915         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38916         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38918         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38919         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38920         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38921         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38922         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38923         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38924         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38925         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38926         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38927         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38929         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38930         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38932         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38933         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38934         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38935         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38936         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38937         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38938         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38939         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38940         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38942         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38944 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38946         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38947         (__MALLOC_PMT): Likewise.
38948         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38949         [__GNUC__], only on [_LIBC].
38950         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38951         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38952         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38953         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38954         forward declaration.
38955         (realloc_hook_ini): Likewise.
38956         (memalign_hook_ini): Likewise.
38957         (__libc_memalign): Do not use __MALLOC_PMT in variable
38958         declaration.
38959         (__libc_valloc): Likewise.
38960         (__libc_pvalloc): Likewise.
38961         (__libc_calloc): Likewise.
38962         (__posix_memalign): Likewise.
38964         [BZ #14996]
38965         * math/s_casinh.c: Include <float.h>.
38966         (__casinh): Do not do computation with squaring and square root
38967         for large arguments.
38968         * math/s_casinhf.c: Include <float.h>.
38969         (__casinhf): Do not do computation with squaring and square root
38970         for large arguments.
38971         * math/s_casinhl.c: Include <float.h>.
38972         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38973         (__casinhl): Do not do computation with squaring and square root
38974         for large arguments.
38975         * math/libm-test.inc (casin_test): Add more tests.
38976         (casinh_test): Likewise.
38977         * sysdeps/i386/fpu/libm-test-ulps: Update.
38978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38980 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38982         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38983         (__x86_64_raw_data_cache_size): Likewise.
38984         (__x86_64_data_cache_size_half): Likewise.
38985         (__x86_64_raw_data_cache_size_half): Likewise.
38986         (__x86_64_shared_cache_size): Likewise.
38987         (__x86_64_raw_shared_cache_size): Likewise.
38988         (__x86_64_shared_cache_size_half): Likewise.
38989         (__x86_64_raw_shared_cache_size_half): Likewise.
38990         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38991         to ...
38992         (__x86_data_cache_size): This.
38993         (__x86_64_raw_data_cache_size): Renamed to ...
38994         (__x86_raw_data_cache_size): This.
38995         (__x86_64_data_cache_size_half): Renamed to ...
38996         (__x86_data_cache_size_half): This.
38997         (__x86_64_raw_data_cache_size_half): Renamed to ...
38998         (__x86_raw_data_cache_size_half): This.
38999         (__x86_64_shared_cache_size): Renamed to ...
39000         (__x86_shared_cache_size): This.
39001         (__x86_64_raw_shared_cache_size): Renamed to ...
39002         (__x86_raw_shared_cache_size): This.
39003         (__x86_64_shared_cache_size_half): Renamed to ...
39004         (__x86_shared_cache_size_half): This.
39005         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39006         (__x86_raw_shared_cache_size_half): This.
39007         * sysdeps/x86_64/memcpy.S: Updated.
39008         * sysdeps/x86_64/memset.S: Likewise.
39009         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39010         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39011         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39013 2013-01-04  David S. Miller  <davem@davemloft.net>
39015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39017 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39019         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39020         1 to avoid redefinition warning.
39021         (__USE_GNU): Don't define.
39022         (init_signaling_nan): Protoize.
39024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39026 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39028         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39030         (__cpymn): Likewise.
39031         (norm): Remove commented code.
39032         (denorm): Likewise.
39033         (__mp_dbl): Likewise.
39034         (__inv): Likewise.
39035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39036         (__cpymn): Likewise.
39037         (norm): Remove commented code.
39038         (denorm): Likewise.
39039         (__mp_dbl): Likewise.
39040         (__inv): Likewise.
39042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39043         mp_no value for 1.0 and 2.0.
39044         (norm): Use RADIXI instead of radixi.d.
39045         (denorm): Likewise.
39046         (__mul): Use 0.0 instead of zero.d.
39047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39048         mp_no value for 1.0 and 2.0.
39049         (norm): Use RADIXI instead of radixi.d.
39050         (denorm): Likewise.
39051         (__mul): Use 0.0 instead of zero.d.
39053 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39055         [BZ #14994]
39056         * math/s_casinh.c (__casinh): Reduce finite argument to first
39057         quadrant then set signs of results at the end.
39058         * math/s_casinhf.c (__casinhf): Likewise.
39059         * math/s_casinhl.c (__casinhl): Likewise.
39060         * math/libm-test.inc (casin_test): Add more tests.
39061         (casinh_test): Likewise.
39062         * sysdeps/i386/fpu/libm-test-ulps: Update.
39063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39065 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39067         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39069         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39071         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39072         declarations.
39073         (denorm): Likewise.
39074         (__mp_dbl): Likewise.
39075         (__inv): Likewise.
39077         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39078         and adjust the header comment.
39080         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39081         variable name from declaration.
39083 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39086         Initialize COMMON_CPUID_INDEX_7 element.
39087         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39088         (CPUID_RTM): Likewise.
39089         (HAS_RTM): Likewise.
39090         (COMMON_CPUID_INDEX_7): New enum.
39092 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39094         [BZ #14981]
39095         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39096         size is zero, record memory as freed.
39098 2013-01-03  Andreas Jaeger  <aj@suse.de>
39100         * po/ia.po: Add new Interlingua translation.
39102 2012-01-03  Allan McRae  <allan@archlinux.org>
39104         * locale/programs/localedef.c: Fix description of '--posix' flag.
39106 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39108         * NEWS: Update dates in second copyright notice.
39109         * README: Update copyright dates in example.
39110         * manual/libc.texinfo: Update copyright dates.
39111         * scripts/test-installation.pl: Update copyright date in --version
39112         output.
39114         * hurd/ctty-input.c: Fix copyright notice formatting.
39115         * hurd/ctty-output.c: Likewise.
39116         * hurd/dtable.c: Likewise.
39117         * hurd/hurd-raise.c: Likewise.
39118         * hurd/hurdprio.c: Likewise.
39119         * hurd/msgportdemux.c: Likewise.
39120         * misc/sys/file.h: Likewise.
39121         * misc/sys/ioctl.h: Likewise.
39122         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39123         * sysdeps/mach/hurd/chdir.c: Likewise.
39124         * sysdeps/mach/hurd/fchdir.c: Likewise.
39125         * sysdeps/mach/hurd/rename.c: Likewise.
39126         * sysdeps/mach/hurd/rmdir.c: Likewise.
39127         * sysdeps/mach/hurd/seekdir.c: Likewise.
39128         * sysdeps/mach/hurd/setsid.c: Likewise.
39129         * sysdeps/posix/wait3.c: Likewise.
39131         * All files with FSF copyright notices: Update copyright dates
39132         using scripts/update-copyrights.
39133         * intl/plural.c: Regenerated.
39134         * locale/programs/charmap-kw.h: Likewise.
39135         * locale/programs/locfile-kw.h: Likewise.
39137 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39139         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39140         four values.
39142         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39143         calculation loop and add branch prediction.
39145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39146         check access beyond bounds of m1np.
39148         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39149         MPTWO.
39150         (__inv): Remove local variable MPTWO to use the global
39151         constant.
39152         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39154         variable MPTWO.
39155         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39156         MP3HALFS static const.
39158 2013-01-01  David S. Miller  <davem@davemloft.net>
39160         * po/ca.po: Update from translation team.
39162 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39164         * scripts/update-copyrights: New file.
39165         * Makeconfig: Reformat copyright notice.
39166         * ctype/ctype.h: Likewise.
39167         * debug/swprintf_chk.c: Likewise.
39168         * elf/dl-cache.c: Likewise.
39169         * elf/dl-debug.c: Likewise.
39170         * elf/dl-object.c: Likewise.
39171         * grp/initgroups.c: Likewise.
39172         * hurd/Makefile: Likewise.
39173         * hurd/hurd/signal.h: Likewise.
39174         * hurd/hurdfault.c: Likewise.
39175         * hurd/hurdioctl.c: Likewise.
39176         * hurd/hurdlookup.c: Likewise.
39177         * hurd/intr-msg.c: Likewise.
39178         * iconv/gconv_open.c: Likewise.
39179         * libio/swprintf.c: Likewise.
39180         * locale/lc-ctype.c: Likewise.
39181         * locale/nl_langinfo.c: Likewise.
39182         * mach/Machrules: Likewise.
39183         * mach/Makefile: Likewise.
39184         * malloc/obstack.h: Likewise.
39185         * manual/Makefile: Likewise.
39186         * manual/tsort.awk: Likewise.
39187         * misc/bits/stab.def: Likewise.
39188         * nis/nis_print_group_entry.c: Likewise.
39189         * nis/nis_table.c: Likewise.
39190         * nis/nss_compat/compat-pwd.c: Likewise.
39191         * nis/nss_compat/compat-spwd.c: Likewise.
39192         * po/Makefile: Likewise.
39193         * posix/fnmatch.c: Likewise.
39194         * posix/regex.h: Likewise.
39195         * resolv/Makefile: Likewise.
39196         * resolv/nss_dns/dns-network.c: Likewise.
39197         * resolv/res_hconf.c: Likewise.
39198         * scripts/gen-sorted.awk: Likewise.
39199         * soft-fp/soft-fp.h: Likewise.
39200         * stdio-common/printf.h: Likewise.
39201         * stdlib/monetary.h: Likewise.
39202         * stdlib/random.c: Likewise.
39203         * stdlib/random_r.c: Likewise.
39204         * sysdeps/generic/Makefile: Likewise.
39205         * sysdeps/gnu/Makefile: Likewise.
39206         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39207         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39208         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39210         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39211         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39212         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39213         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39214         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39216         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39217         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39218         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39219         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39220         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39221         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39222         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39223         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39224         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39226         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39227         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39228         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39229         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39230         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39231         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39232         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39233         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39234         * sysdeps/mach/hurd/errnos.awk: Likewise.
39235         * sysdeps/mach/hurd/fork.c: Likewise.
39236         * sysdeps/mach/hurd/getcwd.c: Likewise.
39237         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39238         * sysdeps/mach/hurd/mmap.c: Likewise.
39239         * sysdeps/mach/hurd/utimes.c: Likewise.
39240         * sysdeps/mach/hurd/xmknod.c: Likewise.
39241         * sysdeps/posix/profil.c: Likewise.
39242         * sysdeps/posix/readdir_r.c: Likewise.
39243         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39244         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39245         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39246         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39248         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39249         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39250         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39252         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39253         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39254         * sysdeps/pthread/lio_listio.c: Likewise.
39255         * sysdeps/sparc/dl-procinfo.h: Likewise.
39256         * sysdeps/unix/i386/sysdep.S: Likewise.
39257         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39258         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39259         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39260         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39262         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39263         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39264         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39265         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39266         * sysdeps/wordsize-32/divdi3.c: Likewise.
39267         * time/sys/time.h: Likewise.
39268         * wcsmbs/Makefile: Likewise.
39270 2013-01-01  David S. Miller  <davem@davemloft.net>
39272         * po/fr.po: Update from translation team.
39274         * catgets/gencat.c: Update copyright year.
39275         * csu/version.c: Likewise.
39276         * debug/catchsegv.sh: Likewise.
39277         * debug/pcprofiledump.c: Likewise.
39278         * debug/xtrace.sh: Likewise.
39279         * elf/ldconfig.c: Likewise.
39280         * elf/ldd.bash.in: Likewise.
39281         * elf/pldd.c: Likewise.
39282         * elf/sotruss.ksh: Likewise.
39283         * elf/sprof.c: Likewise.
39284         * iconv/iconv_prog.c: Likewise.
39285         * iconv/iconvconfig.c: Likewise.
39286         * locale/programs/locale.c: Likewise.
39287         * locale/programs/localedef.c: Likewise.
39288         * login/programs/pt_chown.c: Likewise.
39289         * malloc/memusage.sh: Likewise.
39290         * malloc/memusagestat.c: Likewise.
39291         * malloc/mtrace.pl: Likewise.
39292         * nscd/nscd.c: Likewise.
39293         * nss/getent.c: Likewise.
39294         * nss/makedb.c: Likewise.
39295         * posix/getconf.c: Likewise.
39297 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39299         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39300         numbers.
39302 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39304         * math/bits/mathcalls.h (modf): Use __nonnull.
39306 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39308         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39309         (split): Use macro CN instead of the bare value.
39310         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39311         could be used.
39312         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39313         instead of the bare value.
39314         (power1): Likewise.
39316 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39319         __ATAN_TWOM.
39320         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39322         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39323         their values.
39324         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39325         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39326         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39327         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39329 2012-12-28  Andreas Jaeger  <aj@suse.de>
39331         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39332         values are from Linux 3.7.
39334         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39335         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39337 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39339         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39340         TRUE case.
39342         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39343         (norm): Likewise.
39344         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39345         variables with preprocessor constants.
39346         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39347         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39348         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39350 2012-12-27  Bruno Haible  <bruno@clisp.org>
39352         [BZ #14317]
39353         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39354         only if needed.
39356 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39359         and use variable directly.
39360         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39362         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39363         MPONE.
39364         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39365         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39366         variable MPONE.
39367         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39369         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39370         include directive.  Remove local variable MPONE.
39371         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39372         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39373         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39375 2012-12-25  David S. Miller  <davem@davemloft.net>
39377         * version.h (RELEASE): Set to "development".
39378         (VERSION): Set to "2.17.90".
39379         * NEWS: Add 2.18 section.
39381 2012-12-21  David S. Miller  <davem@davemloft.net>
39383         * po/hr.po: Update from translation team.
39385 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39387         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39389 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39391         * NEWS:  Mention new memcpy for MIPS.
39393 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39395         * manual/contrib.texi (Contributors): Spelling correction.
39397 2012-12-15  David S. Miller  <davem@davemloft.net>
39399         * po/ru.po: Update from translation team.
39401 2012-12-13  David S. Miller  <davem@davemloft.net>
39403         * NEWS: Mention IFUNC testsuite enhancements.
39405         * po/pl.po: Update from translation team.
39406         * po/bg.po: Likewise.
39408         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39409         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39411 2012-12-11  David S. Miller  <davem@davemloft.net>
39413         * po/sv.po: Update from translation team.
39415         * po/vi.po: Update from translation team.
39417         * po/cs.po: Update from translation team.
39419         * po/de.po: Update from translation team.
39420         * po/eo.po: Likewise.
39421         * po/nl.po: Likewise.
39423 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39425         [BZ #14246]
39426         * manual/argp.texi (Argp Helper Functions): Move node to follow
39427         Argp Parsing State.
39429         [BZ #14872]
39430         * manual/conf.texi (Limits on File System Capacity): Mention if
39431         terminating null is included in the max size.
39433 2012-12-10  Andreas Jaeger  <aj@suse.de>
39435         * po/cs.po: Update from translation team.
39437 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39439         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39440         void pointer and cast to uintptr_t.
39441         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39442         path.
39443         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39444         * sysdeps/s390/s390-64/memset.S: Likewise.
39446 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39448         [BZ #14833]
39449         * menual/message.texi (Message Translation): Fix typos.
39450         (Helper programs for gettext): Likewise.
39452 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39454         [BZ #14898]
39455         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39456         Change to -1.
39458 2012-12-07  David S. Miller  <davem@davemloft.net>
39460         * po/libc.pot: Update.
39462 2012-12-07  Richard Henderson  <rth@redhat.com>
39464         [BZ #10114]
39465         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39466         normal/normal case to before the switch.
39467         (_FP_DIV): Likewise.
39469 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39470             Mike Frysinger  <vapier@gentoo.org>
39472         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39473         check for __NR_fadvise64_64.
39475 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39477         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39478         0, not just to plain "0" as a statement.
39479         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39480         with cw.
39482 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39484         * NEWS: Use sourceware.org in Bugzilla URL.
39486 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39489         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39491         * stdio-common/tst-put-error.c (do_test): Add newline to the
39492         padded test to ensure flush.
39494 2012-12-05  Jeff Law  <law@redhat.com>
39496         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39498 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39500         * README: Don't refer to ports add-on as distributed separately.
39501         Mention AArch64 in list of systems supported in the ports add-on.
39503         * LICENSES: Add more non-FSF copyright and license notices.
39505         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39506         ((unused)).
39508         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39510         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39511         10000 as width of padded output.
39513 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39515         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39517         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39518         variable LX with __attribute__ ((unused)).
39519         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39520         Likewise.
39521         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39523         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39524         with __attribute__ ((unused)).
39526 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39528         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39530 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39532         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39533         (CFLAGS-nldbl-acos.c): New variable.
39534         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39535         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39536         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39537         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39538         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39539         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39540         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39541         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39542         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39543         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39544         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39545         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39546         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39547         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39548         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39549         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39550         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39551         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39552         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39553         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39554         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39555         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39556         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39557         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39558         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39559         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39560         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39561         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39562         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39563         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39564         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39565         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39566         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39567         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39568         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39569         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39570         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39571         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39572         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39573         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39574         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39575         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39576         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39577         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39578         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39579         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39580         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39581         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39582         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39583         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39584         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39585         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39586         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39587         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39588         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39589         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39590         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39591         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39592         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39593         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39594         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39595         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39596         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39597         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39598         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39599         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39600         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39601         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39602         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39603         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39604         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39605         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39606         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39607         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39608         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39609         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39610         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39611         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39612         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39613         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39614         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39615         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39616         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39617         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39618         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39619         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39620         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39621         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39622         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39623         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39624         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39625         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39626         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39627         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39628         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39629         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39630         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39633         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39635         [BZ #14914]
39636         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39637         whole low double instead of just low 47 bits when splitting values
39638         into two parts.
39640 2012-12-03  Allan McRae  <allan@archlinux.org>
39642         * manual/stdio.texi (Predefined Printf Handlers): Remove
39643         @hsep and @vsep usage.
39645 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39647         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39648         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39650 2012-12-03  Jeff Law  <law@redhat.com>
39652         * time/sys/time.h (settimeofday): Do not mark TV argument
39653         as __nonnull.
39655 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39657         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39658         when currently writing and seek to current position when not.
39659         * libio/Makefile (tests): Remove bug-fclose1.
39660         * libio/bug-fclose1.c: Delete.
39662 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39664         * manual/arith.texi (feenableexcept): Fix typo.
39665         (fedisableexcept): Likewise.
39667 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39669         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39670         second, differently-typed declaration, rather than a cast.
39672 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39674         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39675         * include/rpc/svc.h: ... here.
39677 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39679         [BZ #13013]
39680         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39681         depending n and resplen2 to catch cases where answer
39682         equals answerp2.
39684 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39686         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39687         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39689 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39693 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39695         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39697 2012-11-28  Jeff Law  <law@redhat.com>
39699         [BZ #13761]
39700         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39701         dataset_temporary.  Track alloca usage into alloca_used.
39702         If dataset is large allocate and release it via malloc/free.
39704 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39706         [BZ #14197]
39707         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39709 2012-11-28  David S. Miller  <davem@davemloft.net>
39711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39713 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39715         [BZ #14803]
39716         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39717         of pi/2 rounded to nearest to 64 bits.
39718         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39719         nearest to 64 bits.
39720         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39721         bits.
39723 2012-11-28  Jeff Law <law@redhat.com>
39724             Martin Osvald <mosvald@redhat.com>
39726         [BZ #14889]
39727         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39728         * sunrpc/svc.c: Include time.h.
39729         (__svc_accept_failed): New function.
39730         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39731         any reason other than EINTR, call __svc_accept_failed.
39732         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39733         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39735 2012-11-28  Andreas Schwab  <schwab@suse.de>
39737         * scripts/abilist.awk: Also handle indirect functions in .opd
39738         section.
39740 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39742         [BZ #13881]
39743         * sysdeps/x86/fpu/powl_helper.c: New file.
39744         * sysdeps/x86/fpu/Makefile: Likewise.
39745         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39746         (p3): New object.
39747         (__ieee754_powl): Use __powl_helper for finite arguments except
39748         integer exponents below 8.
39749         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39750         (p3): New object.
39751         (__ieee754_powl): Use __powl_helper for finite arguments except
39752         integer exponents below 8.
39753         * math/libm-test.inc (pow_test): Add more tests and enable some
39754         previously disabled tests.
39755         * sysdeps/i386/fpu/libm-test-ulps: Update.
39756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39758 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39759             Carlos O'Donell  <carlos_odonell@mentor.com>
39761         * nss/makedb.c (is_prime): Assert that input is odd and greater
39762         than 4.  Note that fact in a comment too.
39763         (next_prime): Add 4 to input.
39765 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39767         [BZ #11741]
39768         * libio/Makefile (tests): Add test case tst-fwrite-error.
39769         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39770         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39771         * libio/tst-fwrite-error.c: New test case.
39773 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39775         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39776         before casting to void *.
39777         * include/libc-internal.h (__pointer_type): New macro.
39778         (__integer_if_pointer_type_sub): Likewise.
39779         (__integer_if_pointer_type): Likewise.
39780         (cast_to_integer): Likewise.
39781         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39782         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39783         before casting to atomic64_t.
39784         (atomic_exchange_acq): Likewise.
39785         (__arch_exchange_and_add_body): Likewise.
39786         (__arch_add_body): Likewise.
39787         (atomic_add_negative): Likewise.
39788         (atomic_add_zero): Likewise.
39790 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39792         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39793         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39794         (add_fdes): Likewise.
39795         (linear_search_fdes): Likewise.
39796         (binary_search_unencoded_fdes): Likewise.
39798 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39800         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39802 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39804         * configure.in: Autodetect C++ header directories.
39805         * configure: Regenerated.
39807 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39809         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39811 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39815 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39817         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39818         LDBL_MANT_DIG == 106]: Disable some tests.
39819         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39820         Likewise.
39821         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39822         Likewise.
39824         [BZ #14871]
39825         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39826         input for small inputs.  Return +/- pi/2 for large inputs.
39827         * math/libm-test.inc (atan_test): Add more tests.
39829         * sysdeps/generic/unwind-dw2-fde-glibc.c
39830         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39831         __attribute__ ((unused)).
39833         [BZ #14645]
39834         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39835         x * y if x and y are nonzero and z is zero.
39837         [BZ #14811]
39838         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39839         nonzero exponents with absolute value below 0x1p-117 to +/-
39840         0x1p-117.
39842         [BZ #14869]
39843         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39844         up arguments below 2**-450, not just those below 2**-500.
39845         * math/libm-test.inc (hypot_test): Add another test.
39847         [BZ #14868]
39848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39849         Return a+b for ratio over 2**120, not 2**60.
39850         * math/libm-test.inc (hypot_test): Add another test.
39852         * math/libm-test.inc (clog_test): Use
39853         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39854         (clog10_test): Likewise.
39856         [BZ #6778]
39857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39859 2012-11-22  Andreas Schwab  <schwab@suse.de>
39861         * sysdeps/i386/fpu/libm-test-ulps: Update.
39863 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39865         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39866         printf output with newline.
39868 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39870         [BZ #14865]
39871         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39872         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39873         -z nodlopen, -z initfirst and -z execstack support.
39874         * configure: Regenerated.
39876         * elf/elf.h (DF_1_NODIRECT): New macro.
39877         (DF_1_IGNMULDEF): Likewise.
39878         (DF_1_NOKSYMS): Likewise.
39879         (DF_1_NOHDR): Likewise.
39880         (DF_1_EDITED): Likewise.
39881         (DF_1_NORELOC): Likewise.
39882         (DF_1_SYMINTPOSE): Likewise.
39883         (DF_1_GLOBAUDIT): Likewise.
39884         (DF_1_SINGLETON): Likewise.
39885         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39886         DT_1_SUPPORTED_MASK bits.
39887         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39889 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39891         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39893 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39895         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39896         macro.
39898         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39899         (sendmmsg): Move declarations...
39900         * socket/sys/socket.h: ... here.
39901         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39902         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39903         include it from...
39904         * socket/recvmmsg.c: ... this new file.
39905         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39906         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39907         definition of __sendmmsg hidden.
39908         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39909         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39910         Move ENOSYS stub into and include it from...
39911         * socket/sendmmsg.c: ... this new file.
39912         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39913         (sysdep_routines): Move recvmmsg and sendmmsg...
39914         * socket/Makefile (routines): ... here.
39915         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39916         (GLIBC_PRIVATE): Add __sendmmsg.
39917         * include/sys/socket.h (__sendmmsg): Add declarations.
39918         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39919         sendmmsg.
39921 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39924         variable I1 with __attribute__ ((unused)).
39925         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39927 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39929         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39930         DUMMY variables with __attribute__ ((unused)).
39932         * bits/byteswap.h: Include <bits/types.h>.
39933         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39935 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39937         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39938         string_t.  Do not manually set errno.
39939         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39940         length with __strnlen.  Make sure to both set errno and return it on
39941         failure.
39943 2012-11-19  David S. Miller  <davem@davemloft.net>
39945         With help from Joseph Myers.
39946         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39947         very large arguments properly.
39948         * math/libm-test.inc (atan_test): New tests.
39949         (atan2_test): New tests.
39950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39953 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39955         [BZ #14856]
39956         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39957         Define to 3.
39959         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39960         [POSIX] (EADDRNOTAVAIL): Likewise.
39961         [POSIX] (EAFNOSUPPORT): Likewise.
39962         [POSIX] (EALREADY): Likewise.
39963         [POSIX] (ECONNABORTED): Likewise.
39964         [POSIX] (ECONNREFUSED): Likewise.
39965         [POSIX] (ECONNRESET): Likewise.
39966         [POSIX] (EDESTADDRREQ): Likewise.
39967         [POSIX] (EDQUOT): Likewise.
39968         [POSIX] (EHOSTUNREACH): Likewise.
39969         [POSIX] (EIDRM): Likewise.
39970         [POSIX] (EISCONN): Likewise.
39971         [POSIX] (ELOOP): Likewise.
39972         [POSIX] (EMULTIHOP): Likewise.
39973         [POSIX] (ENETDOWN): Likewise.
39974         [POSIX] (ENETUNREACH): Likewise.
39975         [POSIX] (ENOBUFS): Likewise.
39976         [POSIX] (ENODATA): Likewise.
39977         [POSIX] (ENOLINK): Likewise.
39978         [POSIX] (ENOMSG): Likewise.
39979         [POSIX] (ENOPROTOOPT): Likewise.
39980         [POSIX] (ENOSR): Likewise.
39981         [POSIX] (ENOSTR): Likewise.
39982         [POSIX] (ENOTCONN): Likewise.
39983         [POSIX] (ENOTSOCK): Likewise.
39984         [POSIX] (EOPNOTSUPP): Likewise.
39985         [POSIX] (EOVERFLOW): Likewise.
39986         [POSIX] (EPROTO): Likewise.
39987         [POSIX] (EPROTONOSUPPORT): Likewise.
39988         [POSIX] (EPROTOTYPE): Likewise.
39989         [POSIX] (ESTALE): Likewise.
39990         [POSIX] (ETIME): Likewise.
39991         [POSIX] (ETXTBSY): Likewise.
39992         [POSIX] (EWOULDBLOCK): Likewise.
39993         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39994         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39995         [POSIX] (SEEK_CUR): Likewise.
39996         [POSIX] (SEEK_END): Likewise.
39997         [POSIX || UNIX98] (mode_t): Do not require.
39998         [POSIX] (off_t): Likewise.
39999         [POSIX] (pid_t): Likewise.
40000         [POSIX] (sys/stat.h): Do not allow header.
40001         [POSIX] (unistd.h): Likewise.
40002         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40003         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40004         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40005         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40006         require.
40007         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40008         sigevent): Specify elements.
40009         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40010         entry.
40011         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40012         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40014         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40015         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40016         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40017         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40018         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40019         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40020         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40021         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40022         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40023         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40024         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40025         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40026         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40027         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40028         Likewise.
40029         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40030         Likewise.
40031         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40032         Likewise.
40033         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40034         Likewise.
40035         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40036         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40037         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40038         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40039         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40040         Specify lower bound on value.
40041         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40042         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40043         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40044         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40045         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40046         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40047         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40048         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40049         value.
40050         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40051         as optional.
40052         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40053         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40054         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40055         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40056         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40057         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40058         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40059         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40060         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40061         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40062         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40063         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40064         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40065         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40066         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40067         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40068         entry.
40069         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40070         optional.
40071         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40072         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40073         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40074         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40075         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40076         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40077         Likewise.
40078         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40079         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40080         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40081         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40082         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40083         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40084         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40085         as optional.
40086         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40087         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40088         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40089         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40090         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40091         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40092         specify as optional.
40093         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40094         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40095         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40096         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40097         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40098         [XPG3] (NL_LANGMAX): Likewise.
40099         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40100         [POSIX || XPG3] (NL_NMAX): Likewise.
40101         [POSIX || XPG3] (NL_SETMAX): Likewise.
40102         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40103         [XPG3] (NZERO): Likewise.
40104         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40105         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40106         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40107         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40108         (REG_ERANGE): Expect.
40109         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40110         optional-constant.
40111         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40112         Use (void) in prototype.
40113         [POSIX] (*_t): Allow.
40114         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40115         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40116         (WRDE_BADVAL): Expect.
40118         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40119         expect.
40120         [XPG3 || XPG4] (O_RSYNC): Likewise.
40121         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40122         Likewise.
40123         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40124         [XPG3 || XPG4] (sigqueue): Likewise.
40125         [XPG3 || XPG4] (sigtimedwait): Likewise.
40126         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40127         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40128         [XPG3 || XPG4] (vsnprintf): Likewise.
40129         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40130         Likewise.
40131         [XPG3 || XPG4] (blksize_t): Likewise.
40132         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40133         Likewise.
40134         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40135         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40136         [XPG3 || XPG4] (struct itimerspec): Likewise.
40137         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40138         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40139         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40140         [XPG3 || XPG4] (clockid_t): Likewise.
40141         [XPG3 || XPG4] (timer_t): Likewise.
40142         [XPG3 || XPG4] (clock_getres): Likewise.
40143         [XPG3 || XPG4] (clock_gettime): Likewise.
40144         [XPG3 || XPG4] (clock_settime): Likewise.
40145         [XPG3 || XPG4] (nanosleep): Likewise.
40146         [XPG3 || XPG4] (timer_create): Likewise.
40147         [XPG3 || XPG4] (timer_delete): Likewise.
40148         [XPG3 || XPG4] (timer_gettime): Likewise.
40149         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40150         [XPG3 || XPG4] (timer_settime): Likewise.
40151         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40152         [XPG3 || XPG4] (getlogin_r): Likewise.
40153         [XPG3 || XPG4] (pread): Likewise.
40154         [XPG3 || XPG4] (pthread_atfork): Likewise.
40155         [XPG3 || XPG4] (pwrite): Likewise.
40157         [BZ #14835]
40158         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40159         <bits/siginfo.h>.
40161 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40163         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40164         finalizing MALLSTREAM.
40166         * sysdeps/mach/hurd/syncfs.c: New file.
40168 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40170         [BZ #14719]
40171         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40172         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40173         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40174         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40175         (_nss_dns_gethostbyname4_r): Likewise.
40176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40177         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40179 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40181         [BZ #13763]
40182         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40184 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40186         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40187         * elf/cache.c (print_entry): Print ",AArch64" for
40188         FLAG_AARCH64_LIB64
40190         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40191         * elf/cache.c (print_entry): Print ",hard-float" for
40192         FLAG_ARM_LIBHF.
40194 2012-11-18  David S. Miller  <davem@davemloft.net>
40196         With help from Joseph Myers.
40197         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40198         cutoff to 2**-13.
40199         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40200         cutoff to 2**-25.
40201         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40202         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40203         small.
40204         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40205         * math/libm-test.inc (y0_test): New tests.
40206         (y1_test): New tests.
40207         * sysdeps/i386/fpu/libm-test-ulps: Update.
40208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40211 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40213         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40214         64-bit targets.
40215         * configure: Regenerated.
40217 2012-11-17  David S. Miller  <davem@davemloft.net>
40219         [BZ #14811]
40220         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40221         nonzero exponents with absolute value below 0x1p-128 to +/-
40222         0x1p-128.
40224 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40226         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40228         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40230         * posix/getconf-speclist.c: New file.
40231         * posix/posix-envs.def: Likewise.
40232         * posix/confstr.c (START_ENV_GROUP): New macro.
40233         (END_ENV_GROUP): Likewise.
40234         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40235         (KNOWN_PRESENT_ENV_STRING): Likewise.
40236         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40237         (UNKNOWN_ENVIRONMENT): Likewise.
40238         (confstr): Include posix-envs.def instead of handling
40239         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40240         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40241         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40242         (END_ENV_GROUP): Likewise.
40243         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40244         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40245         (UNKNOWN_ENVIRONMENT): Likewise.
40246         (__sysconf): Include posix-envs.def instead of handling associated
40247         cases directly here.
40248         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40249         preprocessing getconf-speclist.c rather than running getconf or
40250         generating empty file.
40252 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40254         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40256 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40258         [BZ #14672]
40259         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40261 2012-11-16  David S. Miller  <davem@davemloft.net>
40263         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40264         smaller than LDBL_EPSILON/2.0L, just return xm1.
40266 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40268         * elf/tst-array1.c (init): Set constructor priority to 1000.
40269         (fini): Set destructor priority to 1000.
40270         * elf/tst-array2dep.c: Likewise.
40272 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40274         [BZ #11741]
40275         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40276         (_IO_new_file_xsputn): Also return EOF if none of the input
40277         data was written when overflow failed.
40278         * libio/iopadn.c (_IO_padn): Likewise.
40279         * libio/iowpadn.c (_IO_wpadn): Likewise.
40280         * stdio-common/tst-put-error.c: Add copyright notice.
40281         (do_test): Add case for printing padded string.
40282         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40283         _IO_padn returned error.
40284         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40285         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40286         return EOF.
40288 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40290         * libio/libioP.h: Add comment note that the references to C++
40291         bits are now obsolete.
40293 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40295         * math/libm-test.inc (check_complex): Use asprintf.
40297 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40299         * debug/pcprofiledump.c (print_version): Update copyright year.
40300         * malloc/memusagestat.c (print_version): Likewise.
40302 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40304         [BZ #14831]
40305         * elf/Makefile (tests): Add tst-audit8.
40306         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40307         ($(objpfx)tst-audit8.out): New target.
40308         (tst-audit8-ENV): New variable.
40309         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40310         audit if l_reloc_result is NULL.
40311         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40312         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40313         * elf/tst-audit8.c: New file.
40315 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40317         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40318         * misc/Makefile (CFLAGS-select.c): Define.
40319         * posix/Makefile (CFLAGS-pause.c): Define.
40321 2012-11-13  David S. Miller  <davem@davemloft.net>
40323         * crypt/Makefile: Move test targets after toplevel Rules
40324         inclusion.  Grab any necessary sysdep routines when linking.
40325         * crypt/md5.c (md5_process_block): Remove define, we will always
40326         name it __md5_process_block.
40327         (md5_finish_ctx): Update md5_process_block call.
40328         (md5_stream): Likewise.
40329         (md5_process_bytes): Likewise.
40330         (md5_process_block): Rename to __md5_process_block and move to ...
40331         * crypt/md5-block.c: ... here.
40332         * crypt/sha256.c (sha256_process_block): Move to ...
40333         * crypt/sha256-block.c: ... here.
40334         * crypt/sha512.c (sha512_process_block): Move to ...
40335         * crypt/sha512-block.c: ... here.
40336         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40337         path.
40338         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40339         * sysdeps/sparc/sparc64/multiarch/Makefile
40340         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40341         crypt subdir.
40342         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40343         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40344         multiarch changes.
40345         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40346         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40347         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40348         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40349         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40350         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40351         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40352         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40353         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40354         file.
40355         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40356         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40357         file.
40358         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40360 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40362         * timezone/tzselect.ksh: Update from tzcode git revision
40363         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40364         * timezone/zdump.c: Likewise.
40365         * timezone/zic.c: Likewise.
40366         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40367         in TZVERSION setting, not $(PKGVERSION).
40368         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40369         REPORT_BUGS_TO settings.
40371         [BZ #14838]
40372         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40373         macro.
40375 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40377         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40378         detection to immediately after _FP_ROUND().
40379         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40380         bits are 0.
40382 2012-11-11  David S. Miller  <davem@davemloft.net>
40384         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40385         inttypes.h
40386         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40387         __close rather than their public counterparts.
40389 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40391         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40392         file.
40393         [UNIX98] (sem_timedwait): Do not expect.
40394         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40395         [XPG4 || UNIX98] (sockatmark): Do not expect.
40396         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40397         (clock_getcpuclockid): Do not expect.
40398         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40399         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40400         Do not expect.
40401         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40402         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40403         [UNIX98] (vwscanf): Likewise.
40404         [UNIX98] (vswscanf): Likewise.
40406 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40408         * timezone/version.h: Remove file.
40409         * timezone/README: Do not refer to version.h.
40410         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40411         $(objpfx)version.h.
40412         ($(objpfx)zdump.o): Likewise.
40413         ($(objpfx)version.h): New target.
40415         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40416         2012i.
40417         * timezone/README: Don't mention modification to tzselect.ksh.
40418         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40419         work on unmodified tzselect.ksh.  Substitute version numbers in
40420         tzselect.ksh.
40422         * Makefile (format-me): Remove.
40423         (INSTALL): Adjust indentation.  Use commands directly instead of
40424         using $(format-me).
40426         * aclocal.m4 (ACX_PKGVERSION): New macro.
40427         (ACX_BUGURL): Likewise.
40428         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40429         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40430         (REPORT_BUGS_TO): Likewise.
40431         * configure: Regenerated.
40432         * config.h.in (PKGVERSION): New macro.
40433         (REPORT_BUGS_TO): Likewise.
40434         * config.make.in (PKGVERSION): New variable.
40435         (PKGVERSION_TEXI): Likewise.
40436         (REPORT_BUGS_TO): Likewise.
40437         (REPORT_BUGS_TEXI): Likewise.
40438         * Makefile (format-me): Use -I$(common-objpfx)manual.
40439         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40440         ($(common-objpfx)manual/%): New target.
40441         (manual/%): Remove target.
40442         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40443         (print_version): Use PKGVERSION.
40444         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40445         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40446         and REPORT_BUGS_TO.
40447         ($(objpfx)xtrace): Likewise.
40448         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40449         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40450         (print_version): Use PKGVERSION.
40451         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40452         (do_version): Use PKGVERSION.
40453         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40454         REPORT_BUGS_TO.
40455         (common-ldd-rewrite): Likewise.
40456         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40457         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40458         (print_version): Use PKGVERSION.
40459         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40460         * elf/pldd.c (argp_program_bug_address): Remove variable.
40461         (more_help): New function.
40462         (argp): Use more_help.
40463         (print_version): Use PKGVERSION.
40464         * elf/sln.c (main): Use PKGVERSION.
40465         (usage): Use REPORT_BUGS_TO.
40466         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40467         (top level): Use PKGVERSION.
40468         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40469         (print_version): Use PKGVERSION.
40470         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40471         (print_version): Use PKGVERSION.
40472         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40473         (print_version): Use PKGVERSION.
40474         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40475         (print_version): Use PKGVERSION.
40476         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40477         (print_version): Use PKGVERSION.
40478         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40479         (print_version): Use PKGVERSION.
40480         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40481         and BUGURL.
40482         ($(objpfx)memusage): Likewise.
40483         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40484         (do_version): Use PKGVERSION.
40485         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40486         (print_version): Use PKGVERSION.
40487         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40488         ($PKGVERSION): New variable.
40489         ($REPORT_BUGS_TO): Likewise.
40490         (usage): Use $REPORT_BUGS_TO.
40491         (top level): Use $PKGVERSION.
40492         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40493         ($(objpfx)pkgvers.texi): New rule.
40494         ($(objpfx)stamp-pkgvers): Likewise.
40495         * manual/install.texi: Include pkgvers.texi.
40496         (--with-pkgversion): Document new configure option.
40497         (--with-bugurl): Likewise.
40498         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40499         than necessarily for this particular distribution.  Use
40500         REPORT_BUGS_TO for where to report bugs.
40501         * INSTALL: Regenerated.
40502         * manual/libc.texinfo: Include pkgvers.texi.
40503         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40504         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40505         (print_version): Use PKGVERSION.
40506         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40507         (print_version): Use PKGVERSION.
40508         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40509         (print_version): Use PKGVERSION.
40510         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40511         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40512         macro.
40513         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40514         (print_version): Use PKGVERSION.
40515         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40516         (print_version): Use PKGVERSION.
40517         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40518         and PKGVERSION.
40520         * timezone/checktab.awk: Update from tzcode 2012i.
40521         * timezone/ialloc.c: Likewise.
40522         * timezone/private.h: Likewise.
40523         * timezone/scheck.c: Likewise.
40524         * timezone/tzfile.h: Likewise.
40525         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40526         (TZVERSION): Hardcode tzcode version number.
40527         * timezone/zdump.c: Update from tzcode 2012i.
40528         * timezone/zic.c: Likewise.
40529         * timezone/version.h: New file.
40530         * timezone/README: Describe version.h.  Update upstream location.
40532         [BZ #14824]
40533         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40534         (mktemp): Enable declaration.
40535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40538         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40539         Likewise.
40540         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40541         Likewise.
40542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40543         Likewise.
40544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40545         Likewise.
40546         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40547         Likewise.
40548         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40549         Likewise.
40551         [BZ #14821]
40552         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40553         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40554         for copies of such integer values.
40555         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40556         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40558 2012-11-09  Andreas Jaeger  <aj@suse.de>
40560         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40561         definitions and declarations that are provided by
40562         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40564 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40566         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40567         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40568         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40569         definition.
40571 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40573         * elf/elf.h: Update comment before AArch64 relocations.
40575 2012-11-07  David S. Miller  <davem@davemloft.net>
40577         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40578         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40579         (__start_context): Declare.
40580         (__makecontext_ret): Delete.
40581         (__makecontext): Hook up __start_context instead of
40582         __makecontext_ret.
40583         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40584         (sysdep_routines): Add __start_context when in stdlib.
40586 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40588         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40589         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40590         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40591         hardcoded "nm".
40592         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40593         (READELF): New variable.  Use it instead of hardcoded "readelf".
40595 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40597         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40598         * sysdeps/x86/Makefile: Here.
40599         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40600         * sysdeps/x86/tst-xmmymm.sh: This.
40602 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40604         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40605         expectations.
40606         [UNIX98] (pthread_barrier_t): Do not expect.
40607         [UNIX98] (pthread_barrierattr_t): Likewise.
40608         [UNIX98] (pthread_spinlock_t): Likewise.
40609         [UNIX98] (pthread_barrier_destroy): Likewise.
40610         [UNIX98] (pthread_barrier_init): Likewise.
40611         [UNIX98] (pthread_barrier_wait): Likewise.
40612         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40613         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40614         [UNIX98] (pthread_barrierattr_init): Likewise.
40615         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40616         [UNIX98] (pthread_getcpuclockid): Likewise.
40617         [UNIX98] (pthread_mutex_timedlock): Likewise.
40618         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40619         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40620         [UNIX98] (pthread_sigmask): Likewise.
40621         [UNIX98] (pthread_spin_destroy): Likewise.
40622         [UNIX98] (pthread_spin_init): Likewise.
40623         [UNIX98] (pthread_spin_lock): Likewise.
40624         [UNIX98] (pthread_spin_trylock): Likewise.
40625         [UNIX98] (pthread_spin_unlock): Likewise.
40626         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40627         Do not expect.
40628         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40629         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40630         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40631         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40632         [XPG3 || XPG4] (pthread_key_t): Likewise.
40633         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40634         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40635         [XPG3 || XPG4] (pthread_once_t): Likewise.
40636         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40637         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40638         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40639         [XPG3 || XPG4] (pthread_t): Likewise.
40641         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40642         not expect.
40643         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40645         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40646         Change function return type to int.
40648         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40649         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40650         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40651         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40652         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40653         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40654         [!POSIX] (posix_madvise): Likewise.
40655         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40656         && !UNIX98].
40657         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40658         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40659         (mode_t): Likewise.
40660         (posix_mem_offset): Likewise.
40661         (posix_typed_mem_get_info): Likewise.
40662         (posix_typed_mem_open): Likewise.
40664         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40665         Change condition to [XOPEN2K8].
40667         * conform/conformtest.pl: Preprocess allow-header data with -x c
40668         instead of from stdin.
40669         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40670         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40671         [C99-based standards] (cerfc): Likewise.
40672         [C99-based standards] (cexp2): Likewise.
40673         [C99-based standards] (cexpm1): Likewise.
40674         [C99-based standards] (clog10): Likewise.
40675         [C99-based standards] (clog1p): Likewise.
40676         [C99-based standards] (clog2): Likewise.
40677         [C99-based standards] (clgamma): Likewise.
40678         [C99-based standards] (ctgamma): Likewise.
40679         [C99-based standards] (cerff): Likewise.
40680         [C99-based standards] (cerfcf): Likewise.
40681         [C99-based standards] (cexp2f): Likewise.
40682         [C99-based standards] (cexpm1f): Likewise.
40683         [C99-based standards] (clog10f): Likewise.
40684         [C99-based standards] (clog1pf): Likewise.
40685         [C99-based standards] (clog2f): Likewise.
40686         [C99-based standards] (clgammaf): Likewise.
40687         [C99-based standards] (ctgammaf): Likewise.
40688         [C99-based standards] (cerfl): Likewise.
40689         [C99-based standards] (cerfcl): Likewise.
40690         [C99-based standards] (cexp2l): Likewise.
40691         [C99-based standards] (cexpm1l): Likewise.
40692         [C99-based standards] (clog10l): Likewise.
40693         [C99-based standards] (clog1pl): Likewise.
40694         [C99-based standards] (clog2l): Likewise.
40695         [C99-based standards] (clgammal): Likewise.
40696         [C99-based standards] (ctgammal): Likewise.
40697         * conform/data/inttypes.h-data [C99-based standards]: Include
40698         stdint.h-data.  Remove all expectations for stdint.h contents.
40699         [C99-based standards] (PRI*): Do not allow.
40700         [C99-based standards] (SCN*): Likewise.
40701         [C99-based standards] (*_t): Likewise.
40702         [C99-based-standards] (PRId8): Expect macro.
40703         [C99-based-standards] (PRIi8): Likewise.
40704         [C99-based-standards] (PRIo8): Likewise.
40705         [C99-based-standards] (PRIu8): Likewise.
40706         [C99-based-standards] (PRIx8): Likewise.
40707         [C99-based-standards] (PRIX8): Likewise.
40708         [C99-based-standards] (SCNd8): Likewise.
40709         [C99-based-standards] (SCNi8): Likewise.
40710         [C99-based-standards] (SCNo8): Likewise.
40711         [C99-based-standards] (SCNu8): Likewise.
40712         [C99-based-standards] (SCNx8): Likewise.
40713         [C99-based-standards] (PRIdLEAST8): Likewise.
40714         [C99-based-standards] (PRIiLEAST8): Likewise.
40715         [C99-based-standards] (PRIoLEAST8): Likewise.
40716         [C99-based-standards] (PRIuLEAST8): Likewise.
40717         [C99-based-standards] (PRIxLEAST8): Likewise.
40718         [C99-based-standards] (PRIXLEAST8): Likewise.
40719         [C99-based-standards] (SCNdLEAST8): Likewise.
40720         [C99-based-standards] (SCNiLEAST8): Likewise.
40721         [C99-based-standards] (SCNoLEAST8): Likewise.
40722         [C99-based-standards] (SCNuLEAST8): Likewise.
40723         [C99-based-standards] (SCNxLEAST8): Likewise.
40724         [C99-based-standards] (PRIdFAST8): Likewise.
40725         [C99-based-standards] (PRIiFAST8): Likewise.
40726         [C99-based-standards] (PRIoFAST8): Likewise.
40727         [C99-based-standards] (PRIuFAST8): Likewise.
40728         [C99-based-standards] (PRIxFAST8): Likewise.
40729         [C99-based-standards] (PRIXFAST8): Likewise.
40730         [C99-based-standards] (SCNdFAST8): Likewise.
40731         [C99-based-standards] (SCNiFAST8): Likewise.
40732         [C99-based-standards] (SCNoFAST8): Likewise.
40733         [C99-based-standards] (SCNuFAST8): Likewise.
40734         [C99-based-standards] (SCNxFAST8): Likewise.
40735         [C99-based-standards] (PRId16): Likewise.
40736         [C99-based-standards] (PRIi16): Likewise.
40737         [C99-based-standards] (PRIo16): Likewise.
40738         [C99-based-standards] (PRIu16): Likewise.
40739         [C99-based-standards] (PRIx16): Likewise.
40740         [C99-based-standards] (PRIX16): Likewise.
40741         [C99-based-standards] (SCNd16): Likewise.
40742         [C99-based-standards] (SCNi16): Likewise.
40743         [C99-based-standards] (SCNo16): Likewise.
40744         [C99-based-standards] (SCNu16): Likewise.
40745         [C99-based-standards] (SCNx16): Likewise.
40746         [C99-based-standards] (PRIdLEAST16): Likewise.
40747         [C99-based-standards] (PRIiLEAST16): Likewise.
40748         [C99-based-standards] (PRIoLEAST16): Likewise.
40749         [C99-based-standards] (PRIuLEAST16): Likewise.
40750         [C99-based-standards] (PRIxLEAST16): Likewise.
40751         [C99-based-standards] (PRIXLEAST16): Likewise.
40752         [C99-based-standards] (SCNdLEAST16): Likewise.
40753         [C99-based-standards] (SCNiLEAST16): Likewise.
40754         [C99-based-standards] (SCNoLEAST16): Likewise.
40755         [C99-based-standards] (SCNuLEAST16): Likewise.
40756         [C99-based-standards] (SCNxLEAST16): Likewise.
40757         [C99-based-standards] (PRIdFAST16): Likewise.
40758         [C99-based-standards] (PRIiFAST16): Likewise.
40759         [C99-based-standards] (PRIoFAST16): Likewise.
40760         [C99-based-standards] (PRIuFAST16): Likewise.
40761         [C99-based-standards] (PRIxFAST16): Likewise.
40762         [C99-based-standards] (PRIXFAST16): Likewise.
40763         [C99-based-standards] (SCNdFAST16): Likewise.
40764         [C99-based-standards] (SCNiFAST16): Likewise.
40765         [C99-based-standards] (SCNoFAST16): Likewise.
40766         [C99-based-standards] (SCNuFAST16): Likewise.
40767         [C99-based-standards] (SCNxFAST16): Likewise.
40768         [C99-based-standards] (PRId32): Likewise.
40769         [C99-based-standards] (PRIi32): Likewise.
40770         [C99-based-standards] (PRIo32): Likewise.
40771         [C99-based-standards] (PRIu32): Likewise.
40772         [C99-based-standards] (PRIx32): Likewise.
40773         [C99-based-standards] (PRIX32): Likewise.
40774         [C99-based-standards] (SCNd32): Likewise.
40775         [C99-based-standards] (SCNi32): Likewise.
40776         [C99-based-standards] (SCNo32): Likewise.
40777         [C99-based-standards] (SCNu32): Likewise.
40778         [C99-based-standards] (SCNx32): Likewise.
40779         [C99-based-standards] (PRIdLEAST32): Likewise.
40780         [C99-based-standards] (PRIiLEAST32): Likewise.
40781         [C99-based-standards] (PRIoLEAST32): Likewise.
40782         [C99-based-standards] (PRIuLEAST32): Likewise.
40783         [C99-based-standards] (PRIxLEAST32): Likewise.
40784         [C99-based-standards] (PRIXLEAST32): Likewise.
40785         [C99-based-standards] (SCNdLEAST32): Likewise.
40786         [C99-based-standards] (SCNiLEAST32): Likewise.
40787         [C99-based-standards] (SCNoLEAST32): Likewise.
40788         [C99-based-standards] (SCNuLEAST32): Likewise.
40789         [C99-based-standards] (SCNxLEAST32): Likewise.
40790         [C99-based-standards] (PRIdFAST32): Likewise.
40791         [C99-based-standards] (PRIiFAST32): Likewise.
40792         [C99-based-standards] (PRIoFAST32): Likewise.
40793         [C99-based-standards] (PRIuFAST32): Likewise.
40794         [C99-based-standards] (PRIxFAST32): Likewise.
40795         [C99-based-standards] (PRIXFAST32): Likewise.
40796         [C99-based-standards] (SCNdFAST32): Likewise.
40797         [C99-based-standards] (SCNiFAST32): Likewise.
40798         [C99-based-standards] (SCNoFAST32): Likewise.
40799         [C99-based-standards] (SCNuFAST32): Likewise.
40800         [C99-based-standards] (SCNxFAST32): Likewise.
40801         [C99-based-standards] (PRId64): Likewise.
40802         [C99-based-standards] (PRIi64): Likewise.
40803         [C99-based-standards] (PRIo64): Likewise.
40804         [C99-based-standards] (PRIu64): Likewise.
40805         [C99-based-standards] (PRIx64): Likewise.
40806         [C99-based-standards] (PRIX64): Likewise.
40807         [C99-based-standards] (SCNd64): Likewise.
40808         [C99-based-standards] (SCNi64): Likewise.
40809         [C99-based-standards] (SCNo64): Likewise.
40810         [C99-based-standards] (SCNu64): Likewise.
40811         [C99-based-standards] (SCNx64): Likewise.
40812         [C99-based-standards] (PRIdLEAST64): Likewise.
40813         [C99-based-standards] (PRIiLEAST64): Likewise.
40814         [C99-based-standards] (PRIoLEAST64): Likewise.
40815         [C99-based-standards] (PRIuLEAST64): Likewise.
40816         [C99-based-standards] (PRIxLEAST64): Likewise.
40817         [C99-based-standards] (PRIXLEAST64): Likewise.
40818         [C99-based-standards] (SCNdLEAST64): Likewise.
40819         [C99-based-standards] (SCNiLEAST64): Likewise.
40820         [C99-based-standards] (SCNoLEAST64): Likewise.
40821         [C99-based-standards] (SCNuLEAST64): Likewise.
40822         [C99-based-standards] (SCNxLEAST64): Likewise.
40823         [C99-based-standards] (PRIdFAST64): Likewise.
40824         [C99-based-standards] (PRIiFAST64): Likewise.
40825         [C99-based-standards] (PRIoFAST64): Likewise.
40826         [C99-based-standards] (PRIuFAST64): Likewise.
40827         [C99-based-standards] (PRIxFAST64): Likewise.
40828         [C99-based-standards] (PRIXFAST64): Likewise.
40829         [C99-based-standards] (SCNdFAST64): Likewise.
40830         [C99-based-standards] (SCNiFAST64): Likewise.
40831         [C99-based-standards] (SCNoFAST64): Likewise.
40832         [C99-based-standards] (SCNuFAST64): Likewise.
40833         [C99-based-standards] (SCNxFAST64): Likewise.
40834         [C99-based-standards] (PRIdMAX): Likewise.
40835         [C99-based-standards] (PRIiMAX): Likewise.
40836         [C99-based-standards] (PRIoMAX): Likewise.
40837         [C99-based-standards] (PRIuMAX): Likewise.
40838         [C99-based-standards] (PRIxMAX): Likewise.
40839         [C99-based-standards] (PRIXMAX): Likewise.
40840         [C99-based-standards] (SCNdMAX): Likewise.
40841         [C99-based-standards] (SCNiMAX): Likewise.
40842         [C99-based-standards] (SCNoMAX): Likewise.
40843         [C99-based-standards] (SCNuMAX): Likewise.
40844         [C99-based-standards] (SCNxMAX): Likewise.
40845         [C99-based-standards] (PRIdPTR): Likewise.
40846         [C99-based-standards] (PRIiPTR): Likewise.
40847         [C99-based-standards] (PRIoPTR): Likewise.
40848         [C99-based-standards] (PRIuPTR): Likewise.
40849         [C99-based-standards] (PRIxPTR): Likewise.
40850         [C99-based-standards] (PRIXPTR): Likewise.
40851         [C99-based-standards] (SCNdPTR): Likewise.
40852         [C99-based-standards] (SCNiPTR): Likewise.
40853         [C99-based-standards] (SCNoPTR): Likewise.
40854         [C99-based-standards] (SCNuPTR): Likewise.
40855         [C99-based-standards] (SCNxPTR): Likewise.
40856         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40857         allow.
40858         * conform/data/stdint.h-data: Update comments to clarify
40859         requirements.
40860         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40861         type.
40862         [C99-based standards] (INT8_MAX): Likewise.
40863         [C99-based standards] (INT16_MIN): Likewise.
40864         [C99-based standards] (INT16_MAX): Likewise.
40865         [C99-based standards] (INT32_MIN): Likewise.
40866         [C99-based standards] (INT32_MAX): Likewise.
40867         [C99-based standards] (INT64_MIN): Likewise.
40868         [C99-based standards] (INT64_MAX): Likewise.
40869         [C99-based standards] (UINT8_MAX): Likewise.
40870         [C99-based standards] (UINT16_MAX): Likewise.
40871         [C99-based standards] (UINT32_MAX): Likewise.
40872         [C99-based standards] (UINT64_MAX): Likewise.
40873         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40874         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40875         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40876         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40877         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40878         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40879         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40880         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40881         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40882         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40883         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40884         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40885         [C99-based standards] (INT_FAST8_MIN): Likewise.
40886         [C99-based standards] (INT_FAST8_MAX): Likewise.
40887         [C99-based standards] (INT_FAST16_MIN): Likewise.
40888         [C99-based standards] (INT_FAST16_MAX): Likewise.
40889         [C99-based standards] (INT_FAST32_MIN): Likewise.
40890         [C99-based standards] (INT_FAST32_MAX): Likewise.
40891         [C99-based standards] (INT_FAST64_MIN): Likewise.
40892         [C99-based standards] (INT_FAST64_MAX): Likewise.
40893         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40894         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40895         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40896         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40897         [C99-based standards] (INTPTR_MIN): Likewise.
40898         [C99-based standards] (INTPTR_MAX): Likewise.
40899         [C99-based standards] (UINTPTR_MAX): Likewise.
40900         [C99-based standards] (INTMAX_MIN): Likewise.
40901         [C99-based standards] (INTMAX_MAX): Likewise.
40902         [C99-based standards] (UINTMAX_MAX): Likewise.
40903         [C99-based standards] (PTRDIFF_MIN): Likewise.
40904         [C99-based standards] (PTRDIFF_MAX): Likewise.
40905         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40906         [C99-based standards] (SIZE_MAX): Likewise.
40907         [C99-based standards] (WCHAR_MAX): Likewise.
40908         [C99-based standards] (WINT_MAX): Likewise.
40909         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40910         constraint on value.
40911         [C99-based standards] (WCHAR_MIN): Likewise.
40912         [C99-based standards] (WINT_MIN): Likewise.
40913         [C99-based standards] (*_t): Allow.
40914         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40915         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40916         Include math.h-data and complex.h-data.  Remove all expectations
40917         of math.h and complex.h contents.
40918         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40919         at end of line.
40920         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40921         (struct tm): Expect tag.
40922         [C99-based-standards] (wcstof): Expect function.
40923         [C99-based-standards] (wcstold): Likewise.
40924         [C99-based-standards] (wcstoll): Likewise.
40925         [C99-based-standards] (wcstoull): Likewise.
40926         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40927         macro-int-constant.  Specify type.
40928         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40929         constraint on value.
40930         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40931         Specify type.
40932         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40933         Specify value.
40934         [ISO C standards]: Do not allow headers.
40935         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40936         wcs[abcdefghijklmnopqrstuvwxyz]*.
40937         [ISO C standards] (*_t): Do not allow.
40938         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40939         Expect function.
40940         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40941         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40942         Specify type.
40943         [ISO C standards]: Do not allow headers.
40944         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40945         is[abcdefghijklmnopqrstuvwxyz]*.
40946         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40947         to[abcdefghijklmnopqrstuvwxyz]*.
40948         [ISO C standards] (*_t): Do not allow.
40949         * conform/data/stdalign.h-data: New file.
40950         * conform/data/stdbool.h-data: Likewise.
40951         * conform/data/stdnoreturn.h-data: Likewise.
40953 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40955         [BZ #14815]
40956         * manual/filesys.texi (Directory Entries): Typo fix.
40957         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40959 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40961         * elf/elf.h (EM_AARCH64): New macro.
40962         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40963         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40964         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40965         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40966         (R_AARCH64_TLSDESC): Likewise.
40967         (NT_ARM_TLS): Likewise.
40968         (NT_ARM_HW_BREAK): Likewise.
40969         (NT_ARM_HW_WATCH): Likewise.
40971 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40973         [BZ #14811]
40974         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40975         (__ieee754_powl): Saturate nonzero exponents with absolute value
40976         below 0x1p-79 to +/- 0x1p-79.
40977         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40978         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40979         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40980         nonzero exponents with absolute value below 0x1p-32 to +/-
40981         0x1p-32.
40982         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40983         (__ieee754_powl): Saturate nonzero exponents with absolute value
40984         below 0x1p-79 to +/- 0x1p-79.
40985         * math/libm-test.inc (pow_test): Add more tests.
40987 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40989         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40990         _dl_s390_cap_flags with kernel. Increase string length.
40991         (_dl_s390_platforms): Add z196 and zEC12.
40993 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40995         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40996         Change XOPEN21K to XOPEN2K.
40998 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41000         * string/memmove.c: Use memcpy when possible.
41002 2012-11-06  Andreas Jaeger  <aj@suse.de>
41004         * po/eo.po: Update from translation team.
41006 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41008         [BZ #14793]
41009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41010         exponent and small x and y exponents, scale x or y up.  Increase
41011         by 2 the exponent used in scaling up.
41012         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41013         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41014         * math/libm-test.inc (fma_test): Add more tests.
41015         (fma_test_towardzero): Likewise.
41016         (fma_test_downward): Likewise.
41017         (fma_test_upward): Likewise.
41019 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41021         [BZ #14805]
41022         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41023         fenv_t *.
41025         [BZ #14801]
41026         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41027         namespace for names of struct fields.
41028         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41029         fenv_t fields.
41030         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41031         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41033 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41035         [BZ #3665]
41036         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41038 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41040         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41041         PTR_DEMANGLE.
41043         [BZ #5246]
41044         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41045         PTR_DEMANGLE.
41047 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41049         [BZ #14797]
41050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41051         definitely overflow as x * y not x * y + z.
41052         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41054         * math/libm-test.inc (fma_test): Add more tests.
41055         (fma_test_towardzero): Likewise.
41056         (fma_test_downward): Likewise.
41057         (fma_test_upward): Likewise.
41059 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41061         [BZ #157]
41063         * include/stub-tag.h: Remove file.
41064         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41065         '#include' of it.
41066         * manual/maint.texi (Porting): Don't reference it.
41067         * Makerules ($(objpfx)stubs): Likewise.
41068         * dirent/closedir.c: Don't include <stub-tag.h>.
41069         * dirent/dirfd.c: Likewise.
41070         * dirent/fdopendir.c: Likewise.
41071         * dirent/getdents.c: Likewise.
41072         * dirent/getdents64.c: Likewise.
41073         * dirent/opendir.c: Likewise.
41074         * dirent/readdir.c: Likewise.
41075         * dirent/readdir64.c: Likewise.
41076         * dirent/readdir64_r.c: Likewise.
41077         * dirent/readdir_r.c: Likewise.
41078         * dirent/rewinddir.c: Likewise.
41079         * dirent/seekdir.c: Likewise.
41080         * dirent/telldir.c: Likewise.
41081         * gmon/profil.c: Likewise.
41082         * grp/setgroups.c: Likewise.
41083         * inet/if_index.c: Likewise.
41084         * io/access.c: Likewise.
41085         * io/chdir.c: Likewise.
41086         * io/chmod.c: Likewise.
41087         * io/chown.c: Likewise.
41088         * io/close.c: Likewise.
41089         * io/dup.c: Likewise.
41090         * io/dup2.c: Likewise.
41091         * io/dup3.c: Likewise.
41092         * io/euidaccess.c: Likewise.
41093         * io/faccessat.c: Likewise.
41094         * io/fchdir.c: Likewise.
41095         * io/fchmod.c: Likewise.
41096         * io/fchmodat.c: Likewise.
41097         * io/fchown.c: Likewise.
41098         * io/fchownat.c: Likewise.
41099         * io/fcntl.c: Likewise.
41100         * io/flock.c: Likewise.
41101         * io/fstatfs.c: Likewise.
41102         * io/fstatfs64.c: Likewise.
41103         * io/fstatvfs.c: Likewise.
41104         * io/fstatvfs64.c: Likewise.
41105         * io/futimens.c: Likewise.
41106         * io/fxstat.c: Likewise.
41107         * io/fxstat64.c: Likewise.
41108         * io/fxstatat.c: Likewise.
41109         * io/fxstatat64.c: Likewise.
41110         * io/getcwd.c: Likewise.
41111         * io/isatty.c: Likewise.
41112         * io/lchmod.c: Likewise.
41113         * io/lchown.c: Likewise.
41114         * io/link.c: Likewise.
41115         * io/linkat.c: Likewise.
41116         * io/lseek.c: Likewise.
41117         * io/lseek64.c: Likewise.
41118         * io/lxstat64.c: Likewise.
41119         * io/mkdir.c: Likewise.
41120         * io/mkdirat.c: Likewise.
41121         * io/mkfifo.c: Likewise.
41122         * io/mkfifoat.c: Likewise.
41123         * io/open.c: Likewise.
41124         * io/open64.c: Likewise.
41125         * io/openat.c: Likewise.
41126         * io/openat64.c: Likewise.
41127         * io/pipe.c: Likewise.
41128         * io/pipe2.c: Likewise.
41129         * io/poll.c: Likewise.
41130         * io/posix_fadvise.c: Likewise.
41131         * io/posix_fadvise64.c: Likewise.
41132         * io/posix_fallocate.c: Likewise.
41133         * io/posix_fallocate64.c: Likewise.
41134         * io/read.c: Likewise.
41135         * io/readlink.c: Likewise.
41136         * io/readlinkat.c: Likewise.
41137         * io/rmdir.c: Likewise.
41138         * io/sendfile.c: Likewise.
41139         * io/sendfile64.c: Likewise.
41140         * io/statfs.c: Likewise.
41141         * io/statfs64.c: Likewise.
41142         * io/statvfs.c: Likewise.
41143         * io/statvfs64.c: Likewise.
41144         * io/symlink.c: Likewise.
41145         * io/symlinkat.c: Likewise.
41146         * io/ttyname.c: Likewise.
41147         * io/ttyname_r.c: Likewise.
41148         * io/umask.c: Likewise.
41149         * io/unlink.c: Likewise.
41150         * io/unlinkat.c: Likewise.
41151         * io/utime.c: Likewise.
41152         * io/utimensat.c: Likewise.
41153         * io/write.c: Likewise.
41154         * io/xmknod.c: Likewise.
41155         * io/xmknodat.c: Likewise.
41156         * io/xstat.c: Likewise.
41157         * io/xstat64.c: Likewise.
41158         * login/getpt.c: Likewise.
41159         * login/grantpt.c: Likewise.
41160         * login/unlockpt.c: Likewise.
41161         * math/e_acoshl.c: Likewise.
41162         * math/e_acosl.c: Likewise.
41163         * math/e_asinl.c: Likewise.
41164         * math/e_atan2l.c: Likewise.
41165         * math/e_atanhl.c: Likewise.
41166         * math/e_coshl.c: Likewise.
41167         * math/e_expl.c: Likewise.
41168         * math/e_fmodl.c: Likewise.
41169         * math/e_gammal_r.c: Likewise.
41170         * math/e_hypotl.c: Likewise.
41171         * math/e_j0l.c: Likewise.
41172         * math/e_j1l.c: Likewise.
41173         * math/e_jnl.c: Likewise.
41174         * math/e_lgammal_r.c: Likewise.
41175         * math/e_log10l.c: Likewise.
41176         * math/e_log2l.c: Likewise.
41177         * math/e_logl.c: Likewise.
41178         * math/e_powl.c: Likewise.
41179         * math/e_rem_pio2l.c: Likewise.
41180         * math/e_sinhl.c: Likewise.
41181         * math/e_sqrtl.c: Likewise.
41182         * math/fclrexcpt.c: Likewise.
41183         * math/fedisblxcpt.c: Likewise.
41184         * math/feenablxcpt.c: Likewise.
41185         * math/fegetenv.c: Likewise.
41186         * math/fegetexcept.c: Likewise.
41187         * math/fegetround.c: Likewise.
41188         * math/feholdexcpt.c: Likewise.
41189         * math/fesetenv.c: Likewise.
41190         * math/fesetround.c: Likewise.
41191         * math/feupdateenv.c: Likewise.
41192         * math/fgetexcptflg.c: Likewise.
41193         * math/fraiseexcpt.c: Likewise.
41194         * math/fsetexcptflg.c: Likewise.
41195         * math/ftestexcept.c: Likewise.
41196         * math/k_cosl.c: Likewise.
41197         * math/k_rem_pio2l.c: Likewise.
41198         * math/k_sinl.c: Likewise.
41199         * math/k_tanl.c: Likewise.
41200         * math/s_asinhl.c: Likewise.
41201         * math/s_atanl.c: Likewise.
41202         * math/s_cbrtl.c: Likewise.
41203         * math/s_erfl.c: Likewise.
41204         * math/s_expm1l.c: Likewise.
41205         * math/s_log1pl.c: Likewise.
41206         * math/s_tanhl.c: Likewise.
41207         * misc/acct.c: Likewise.
41208         * misc/brk.c: Likewise.
41209         * misc/chflags.c: Likewise.
41210         * misc/chroot.c: Likewise.
41211         * misc/fchflags.c: Likewise.
41212         * misc/fgetxattr.c: Likewise.
41213         * misc/flistxattr.c: Likewise.
41214         * misc/fremovexattr.c: Likewise.
41215         * misc/fsetxattr.c: Likewise.
41216         * misc/fsync.c: Likewise.
41217         * misc/ftruncate.c: Likewise.
41218         * misc/futimes.c: Likewise.
41219         * misc/futimesat.c: Likewise.
41220         * misc/getdomain.c: Likewise.
41221         * misc/getdtsz.c: Likewise.
41222         * misc/gethostid.c: Likewise.
41223         * misc/gethostname.c: Likewise.
41224         * misc/getloadavg.c: Likewise.
41225         * misc/getpagesize.c: Likewise.
41226         * misc/getsysstats.c: Likewise.
41227         * misc/getxattr.c: Likewise.
41228         * misc/gtty.c: Likewise.
41229         * misc/ioctl.c: Likewise.
41230         * misc/lgetxattr.c: Likewise.
41231         * misc/listxattr.c: Likewise.
41232         * misc/llistxattr.c: Likewise.
41233         * misc/lremovexattr.c: Likewise.
41234         * misc/lsetxattr.c: Likewise.
41235         * misc/lutimes.c: Likewise.
41236         * misc/madvise.c: Likewise.
41237         * misc/mincore.c: Likewise.
41238         * misc/mlock.c: Likewise.
41239         * misc/mlockall.c: Likewise.
41240         * misc/mmap.c: Likewise.
41241         * misc/mprotect.c: Likewise.
41242         * misc/msync.c: Likewise.
41243         * misc/munlock.c: Likewise.
41244         * misc/munlockall.c: Likewise.
41245         * misc/munmap.c: Likewise.
41246         * misc/preadv.c: Likewise.
41247         * misc/preadv64.c: Likewise.
41248         * misc/ptrace.c: Likewise.
41249         * misc/pwritev.c: Likewise.
41250         * misc/pwritev64.c: Likewise.
41251         * misc/readv.c: Likewise.
41252         * misc/reboot.c: Likewise.
41253         * misc/remap_file_pages.c: Likewise.
41254         * misc/removexattr.c: Likewise.
41255         * misc/revoke.c: Likewise.
41256         * misc/select.c: Likewise.
41257         * misc/setdomain.c: Likewise.
41258         * misc/setegid.c: Likewise.
41259         * misc/seteuid.c: Likewise.
41260         * misc/sethostid.c: Likewise.
41261         * misc/sethostname.c: Likewise.
41262         * misc/setregid.c: Likewise.
41263         * misc/setreuid.c: Likewise.
41264         * misc/setxattr.c: Likewise.
41265         * misc/sstk.c: Likewise.
41266         * misc/stty.c: Likewise.
41267         * misc/swapoff.c: Likewise.
41268         * misc/swapon.c: Likewise.
41269         * misc/sync.c: Likewise.
41270         * misc/syncfs.c: Likewise.
41271         * misc/syscall.c: Likewise.
41272         * misc/truncate.c: Likewise.
41273         * misc/ualarm.c: Likewise.
41274         * misc/usleep.c: Likewise.
41275         * misc/ustat.c: Likewise.
41276         * misc/utimes.c: Likewise.
41277         * misc/vhangup.c: Likewise.
41278         * misc/writev.c: Likewise.
41279         * posix/_exit.c: Likewise.
41280         * posix/alarm.c: Likewise.
41281         * posix/execve.c: Likewise.
41282         * posix/fexecve.c: Likewise.
41283         * posix/fork.c: Likewise.
41284         * posix/fpathconf.c: Likewise.
41285         * posix/getaddrinfo.c: Likewise.
41286         * posix/getegid.c: Likewise.
41287         * posix/geteuid.c: Likewise.
41288         * posix/getgid.c: Likewise.
41289         * posix/getgroups.c: Likewise.
41290         * posix/getlogin.c: Likewise.
41291         * posix/getlogin_r.c: Likewise.
41292         * posix/getpgid.c: Likewise.
41293         * posix/getpid.c: Likewise.
41294         * posix/getppid.c: Likewise.
41295         * posix/getresgid.c: Likewise.
41296         * posix/getresuid.c: Likewise.
41297         * posix/getsid.c: Likewise.
41298         * posix/getuid.c: Likewise.
41299         * posix/glob64.c: Likewise.
41300         * posix/nanosleep.c: Likewise.
41301         * posix/pathconf.c: Likewise.
41302         * posix/pause.c: Likewise.
41303         * posix/posix_madvise.c: Likewise.
41304         * posix/pread.c: Likewise.
41305         * posix/pread64.c: Likewise.
41306         * posix/pwrite.c: Likewise.
41307         * posix/pwrite64.c: Likewise.
41308         * posix/sched_getaffinity.c: Likewise.
41309         * posix/sched_getp.c: Likewise.
41310         * posix/sched_gets.c: Likewise.
41311         * posix/sched_primax.c: Likewise.
41312         * posix/sched_primin.c: Likewise.
41313         * posix/sched_rr_gi.c: Likewise.
41314         * posix/sched_setaffinity.c: Likewise.
41315         * posix/sched_setp.c: Likewise.
41316         * posix/sched_sets.c: Likewise.
41317         * posix/sched_yield.c: Likewise.
41318         * posix/setgid.c: Likewise.
41319         * posix/setlogin.c: Likewise.
41320         * posix/setpgid.c: Likewise.
41321         * posix/setresgid.c: Likewise.
41322         * posix/setresuid.c: Likewise.
41323         * posix/setsid.c: Likewise.
41324         * posix/setuid.c: Likewise.
41325         * posix/sleep.c: Likewise.
41326         * posix/spawni.c: Likewise.
41327         * posix/sysconf.c: Likewise.
41328         * posix/times.c: Likewise.
41329         * posix/wait.c: Likewise.
41330         * posix/wait3.c: Likewise.
41331         * posix/wait4.c: Likewise.
41332         * posix/waitpid.c: Likewise.
41333         * resolv/gai_sigqueue.c: Likewise.
41334         * resource/getpriority.c: Likewise.
41335         * resource/getrlimit.c: Likewise.
41336         * resource/getrusage.c: Likewise.
41337         * resource/nice.c: Likewise.
41338         * resource/setpriority.c: Likewise.
41339         * resource/setrlimit.c: Likewise.
41340         * resource/ulimit.c: Likewise.
41341         * rt/aio_cancel.c: Likewise.
41342         * rt/aio_fsync.c: Likewise.
41343         * rt/aio_read.c: Likewise.
41344         * rt/aio_sigqueue.c: Likewise.
41345         * rt/aio_suspend.c: Likewise.
41346         * rt/aio_write.c: Likewise.
41347         * rt/clock_getres.c: Likewise.
41348         * rt/clock_gettime.c: Likewise.
41349         * rt/clock_nanosleep.c: Likewise.
41350         * rt/clock_settime.c: Likewise.
41351         * rt/lio_listio.c: Likewise.
41352         * rt/mq_close.c: Likewise.
41353         * rt/mq_getattr.c: Likewise.
41354         * rt/mq_notify.c: Likewise.
41355         * rt/mq_open.c: Likewise.
41356         * rt/mq_receive.c: Likewise.
41357         * rt/mq_send.c: Likewise.
41358         * rt/mq_setattr.c: Likewise.
41359         * rt/mq_timedreceive.c: Likewise.
41360         * rt/mq_timedsend.c: Likewise.
41361         * rt/mq_unlink.c: Likewise.
41362         * rt/shm_open.c: Likewise.
41363         * rt/shm_unlink.c: Likewise.
41364         * rt/timer_create.c: Likewise.
41365         * rt/timer_delete.c: Likewise.
41366         * rt/timer_getoverr.c: Likewise.
41367         * rt/timer_gettime.c: Likewise.
41368         * rt/timer_settime.c: Likewise.
41369         * setjmp/__longjmp.c: Likewise.
41370         * setjmp/setjmp.c: Likewise.
41371         * signal/kill.c: Likewise.
41372         * signal/killpg.c: Likewise.
41373         * signal/raise.c: Likewise.
41374         * signal/sigaction.c: Likewise.
41375         * signal/sigaltstack.c: Likewise.
41376         * signal/sigblock.c: Likewise.
41377         * signal/sigignore.c: Likewise.
41378         * signal/sigintr.c: Likewise.
41379         * signal/signal.c: Likewise.
41380         * signal/sigpause.c: Likewise.
41381         * signal/sigpending.c: Likewise.
41382         * signal/sigqueue.c: Likewise.
41383         * signal/sigreturn.c: Likewise.
41384         * signal/sigset.c: Likewise.
41385         * signal/sigsetmask.c: Likewise.
41386         * signal/sigstack.c: Likewise.
41387         * signal/sigsuspend.c: Likewise.
41388         * signal/sigtimedwait.c: Likewise.
41389         * signal/sigvec.c: Likewise.
41390         * signal/sigwait.c: Likewise.
41391         * signal/sigwaitinfo.c: Likewise.
41392         * signal/sysv_signal.c: Likewise.
41393         * socket/accept.c: Likewise.
41394         * socket/accept4.c: Likewise.
41395         * socket/bind.c: Likewise.
41396         * socket/connect.c: Likewise.
41397         * socket/getpeername.c: Likewise.
41398         * socket/getsockname.c: Likewise.
41399         * socket/getsockopt.c: Likewise.
41400         * socket/isfdtype.c: Likewise.
41401         * socket/listen.c: Likewise.
41402         * socket/recv.c: Likewise.
41403         * socket/recvfrom.c: Likewise.
41404         * socket/recvmsg.c: Likewise.
41405         * socket/send.c: Likewise.
41406         * socket/sendmsg.c: Likewise.
41407         * socket/sendto.c: Likewise.
41408         * socket/setsockopt.c: Likewise.
41409         * socket/shutdown.c: Likewise.
41410         * socket/sockatmark.c: Likewise.
41411         * socket/socket.c: Likewise.
41412         * socket/socketpair.c: Likewise.
41413         * stdio-common/ctermid.c: Likewise.
41414         * stdio-common/cuserid.c: Likewise.
41415         * stdio-common/remove.c: Likewise.
41416         * stdio-common/rename.c: Likewise.
41417         * stdio-common/renameat.c: Likewise.
41418         * stdio-common/tempname.c: Likewise.
41419         * stdlib/getcontext.c: Likewise.
41420         * stdlib/makecontext.c: Likewise.
41421         * stdlib/setcontext.c: Likewise.
41422         * stdlib/swapcontext.c: Likewise.
41423         * stdlib/system.c: Likewise.
41424         * streams/fattach.c: Likewise.
41425         * streams/fdetach.c: Likewise.
41426         * streams/getmsg.c: Likewise.
41427         * streams/getpmsg.c: Likewise.
41428         * streams/putmsg.c: Likewise.
41429         * streams/putpmsg.c: Likewise.
41430         * sysdeps/unix/bsd/getpt.c: Likewise.
41431         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41432         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41433         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41435         Likewise.
41436         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41437         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41438         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41439         * sysvipc/msgctl.c: Likewise.
41440         * sysvipc/msgget.c: Likewise.
41441         * sysvipc/msgrcv.c: Likewise.
41442         * sysvipc/msgsnd.c: Likewise.
41443         * sysvipc/semctl.c: Likewise.
41444         * sysvipc/semget.c: Likewise.
41445         * sysvipc/semop.c: Likewise.
41446         * sysvipc/semtimedop.c: Likewise.
41447         * sysvipc/shmat.c: Likewise.
41448         * sysvipc/shmctl.c: Likewise.
41449         * sysvipc/shmdt.c: Likewise.
41450         * sysvipc/shmget.c: Likewise.
41451         * termios/tcdrain.c: Likewise.
41452         * termios/tcflow.c: Likewise.
41453         * termios/tcflush.c: Likewise.
41454         * termios/tcgetattr.c: Likewise.
41455         * termios/tcgetpgrp.c: Likewise.
41456         * termios/tcsendbrk.c: Likewise.
41457         * termios/tcsetattr.c: Likewise.
41458         * termios/tcsetpgrp.c: Likewise.
41459         * time/adjtime.c: Likewise.
41460         * time/clock.c: Likewise.
41461         * time/getitimer.c: Likewise.
41462         * time/gettimeofday.c: Likewise.
41463         * time/setitimer.c: Likewise.
41464         * time/settimeofday.c: Likewise.
41465         * time/stime.c: Likewise.
41466         * time/time.c: Likewise.
41468 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41470         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41471         /usr/old/bin.
41473         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41474         instead of spaces.
41475         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41477 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41479         [BZ #14796]
41480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41481         FE_TONEAREST before applying Dekker multiplication and Knuth
41482         addition.  Clear inexact exceptions and check for exact zero
41483         results afterwards.
41484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41485         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41486         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41487         * math/libm-test.inc (fma_test): Add more tests.
41488         (fma_test_towardzero): Likewise.
41489         (fma_test_downward): Likewise.
41490         (fma_test_upward): Likewise.
41491         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41492         function.
41493         (libc_fesetround): New macro.
41494         (libc_fesetroundf): Likewise.
41495         (libc_fesetroundl): Likewise.
41496         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41497         function.
41498         (libc_fesetround_387): Likewise.
41499         (libc_fesetroundf): New macro.
41500         (libc_fesetround): Likewise.
41501         (libc_fesetroundl): Likewise.
41502         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41503         function.
41504         (libc_fesetroundf): New macro.
41505         (libc_fesetround): Likewise.
41506         (libc_fesetroundl): Likewise.
41507         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41508         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41509         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41510         libm_hidden_ver.
41511         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41512         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41513         libm_hidden_def.
41514         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41515         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41516         libm_hidden_ver.
41517         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41518         libm_hidden_def.
41520         [BZ #3439]
41521         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41522         integer constant usable in #if and use that to give value to enum
41523         constant.
41524         (FE_DIVBYZERO): Likewise.
41525         (FE_UNDERFLOW): Likewise.
41526         (FE_OVERFLOW): Likewise.
41527         (FE_INVALID): Likewise.
41528         (FE_INVALID_SNAN): Likewise.
41529         (FE_INVALID_ISI): Likewise.
41530         (FE_INVALID_IDI): Likewise.
41531         (FE_INVALID_ZDZ): Likewise.
41532         (FE_INVALID_IMZ): Likewise.
41533         (FE_INVALID_COMPARE): Likewise.
41534         (FE_INVALID_SOFTWARE): Likewise.
41535         (FE_INVALID_SQRT): Likewise.
41536         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41537         (FE_TONEAREST): Likewise.
41538         (FE_TOWARDZERO): Likewise.
41539         (FE_UPWARD): Likewise.
41540         (FE_DOWNWARD): Likewise.
41541         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41542         (FE_DIVBYZERO): Likewise.
41543         (FE_OVERFLOW): Likewise.
41544         (FE_UNDERFLOW): Likewise.
41545         (FE_INEXACT): Likewise.
41546         (FE_TONEAREST): Likewise.
41547         (FE_DOWNWARD): Likewise.
41548         (FE_UPWARD): Likewise.
41549         (FE_TOWARDZERO): Likewise.
41550         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41551         (FE_UNDERFLOW): Likewise.
41552         (FE_OVERFLOW): Likewise.
41553         (FE_DIVBYZERO): Likewise.
41554         (FE_INVALID): Likewise.
41555         (FE_TONEAREST): Likewise.
41556         (FE_TOWARDZERO): Likewise.
41557         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41558         (FE_OVERFLOW): Likewise.
41559         (FE_UNDERFLOW): Likewise.
41560         (FE_DIVBYZERO): Likewise.
41561         (FE_INEXACT): Likewise.
41562         (FE_TONEAREST): Likewise.
41563         (FE_TOWARDZERO): Likewise.
41564         (FE_UPWARD): Likewise.
41565         (FE_DOWNWARD): Likewise.
41566         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41567         (FE_DIVBYZERO): Likewise.
41568         (FE_OVERFLOW): Likewise.
41569         (FE_UNDERFLOW): Likewise.
41570         (FE_INEXACT): Likewise.
41571         (FE_TONEAREST): Likewise.
41572         (FE_DOWNWARD): Likewise.
41573         (FE_UPWARD): Likewise.
41574         (FE_TOWARDZERO): Likewise.
41576 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41578         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41580 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41582         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41583         commands.  Quote $PWD.
41584         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41585         -x" by "export".
41586         (remove_newlines): Remove.
41588 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41590         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41591         * stdlib/stdlib.h (atof): Moved to ...
41592         * include/bits/stdlib-float.h: Here.  New file.
41593         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41594         * stdlib/bits/stdlib-float.h: New file.
41595         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41596         -mno-sse -mno-mmx.
41597         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41598         <xmmintrin.h>.
41600 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41602         * conform/conformtest.pl (@headers): Add fenv.h.
41603         * conform/data/fenv.h-data: New file.
41604         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41605         include of <math/fenv.h>.
41607         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41608         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41609         && !UNIX98].  Enables tests for XOPEN2K8.
41610         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41611         POSIX2008]: Likewise.
41613         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41614         (struct rusage): Do not expect type or its members.
41616         [BZ #3439]
41617         * math/math.h (FP_NAN): Define macro to integer constant usable in
41618         #if and use that to give value to enum constant.
41619         (FP_INFINITE): Likewise.
41620         (FP_ZERO): Likewise.
41621         (FP_SUBNORMAL): Likewise.
41622         (FP_NORMAL): Likewise.
41624 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41626         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41627         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41628         arguments.
41630 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41632         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41633         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41634         autoconf-time if not.
41635         * configure.in: Remove AC_PREREQ.
41637 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41639         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41640         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41641         of the internal implementation.
41643 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41645         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41646         except include of <misc/sys/syslog.h>.
41648 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41651         function returns with a NULL context exit with zero.
41653 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41655         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41657 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41659         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41660         (run_program_cmd): This.
41661         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41662         (tst_langinfo): New variable.  Use it.
41664 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41666         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41667         floating point opcodes.
41669 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41671         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41672         variable.
41674         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41676         * sysdeps/mach/hurd/powerpc: Remove directory.
41677         * sysdeps/mach/powerpc: Likewise.
41679 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41681         * scripts/check-local-headers.sh: Ignore c++ headers.
41683 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41685         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41686         __libc_cleanup_region_start argument.
41688 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41690         [BZ #14784]
41691         [BZ #14785]
41692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41693         x * y using scaling, not as x * y + z.
41694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41695         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41696         * math/libm-test.inc (fma_test): Add more tests.
41697         (fma_test_towardzero): Likewise.
41698         (fma_test_downward): Likewise.
41699         (fma_test_upward): Likewise.
41701 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41703         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41705 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41707         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41708         New variable.
41710 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41712         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41714 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41717         Fix sort order.
41718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41719         Likewise.
41721 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41724         Fix the order of the list for glibc 2.17.
41725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41726         Likewise.
41728 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41732 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41734         [BZ #14610]
41735         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41736         for low part of x being zero before using __atanl (y).
41737         * math/libm-test.inc (atan2_test): Add another test.
41739         * manual/install.texi (Configuring and compiling): Document
41740         general use of test-wrapper and test-wrapper-env.
41741         * INSTALL: Regenerated.
41743         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41744         (__fma): Do not extract and scale down low bits on after-rounding
41745         systems when result rounded to normal precision would have normal
41746         exponent.
41747         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41748         (__fmal): Do not extract and scale down low bits on after-rounding
41749         systems when result rounded to normal precision would have normal
41750         exponent.
41751         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41752         (__fmal): Do not extract and scale down low bits on after-rounding
41753         systems when result rounded to normal precision would have normal
41754         exponent.
41755         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41756         macro.
41757         (fma_test): Add more tests.
41758         (fma_test_towardzero): Likewise.
41759         (fma_test_downward): Likewise.
41760         (fma_test_upward): Likewise.
41762 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41764         * sysdeps/i386/tininess.h: Renamed to ...
41765         * sysdeps/x86/tininess.h: This.
41766         * sysdeps/x86_64/tininess.h: Removed.
41768 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41770         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41771         input.  Use $(build-program-cmd).
41772         ($(objpfx)tst-array1-static.out): Likewise.
41773         ($(objpfx)tst-array2.out): Likewise.
41774         ($(objpfx)tst-array3.out): Likewise.
41775         ($(objpfx)tst-array4.out): Likewise.
41776         ($(objpfx)tst-array5.out): Likewise.
41777         ($(objpfx)tst-array5-static.out): Likewise.
41779 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41781         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41782         if defined.
41784         * nss/nsswitch.h (nss_interface_function): Provide new
41785         macro for use with NSS functions.
41786         * grp/initgroups.c: Use new macro.
41787         * nss/getXXbyYY.c: Likewise.
41788         * nss/getXXbyYY_r.c: Likewise.
41789         * nss/getXXent.c: Likewise.
41790         * nss/getXXent_r.c: Likewise.
41791         * sysdeps/posix/getaddrinfo.c: Likewise.
41793 2012-10-30  Andreas Jaeger  <aj@suse.de>
41795         * po/ru.po: Update Russion translation from translation project.
41797 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41799         [BZ #14152]
41800         [BZ #14783]
41801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41802         result and shift together with sticky bit instead of replicating
41803         round-to-nearest rounding.
41804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41806         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41807         missing underflow exceptions.
41808         (fma_test_towardzero): Add more tests.
41809         (fma_test_downward): Likewise.
41810         (fma_test_upward): Likewise.
41812         [BZ #14047]
41813         * sysdeps/generic/tininess.h: New file.
41814         * sysdeps/i386/tininess.h: Likewise.
41815         * sysdeps/sh/tininess.h: Likewise.
41816         * sysdeps/x86_64/tininess.h: Likewise.
41817         * stdlib/tst-strtod-underflow.c: Likewise.
41818         * stdlib/tst-tininess.c: Likewise.
41819         * stdlib/strtod_l.c: Include <tininess.h>.
41820         (round_and_return): Do not set errno for exact underflow cases.
41821         Force an underflow exception when setting errno for underflow.
41822         Determine underflow based on rounding to normal precision if
41823         TININESS_AFTER_ROUNDING.
41824         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41825         ERANGE for exact underflow cases.
41826         * stdlib/Makefile (tests): Add tst-tininess and
41827         tst-strtod-underflow.
41828         ($(objpfx)tst-tininess): Use $(link-libm).
41829         ($(objpfx)tst-strtod-underflow): Likewise.
41831 2012-10-30  Andreas Jaeger  <aj@suse.de>
41833         [BZ#14767]
41834         * elf/Makefile (tests): Remove conditional for have-initfini-array
41835         since this is now always required and the variable does not exist
41836         anymore.
41837         (tests-static): Likewise.
41838         (modules-names): Likewise.
41840         * po/eo.po: Add Esperanto translation from translation project.
41842         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41843         merged with constructor/destructor.
41844         (init_array): Likewise.
41845         * elf/tst-array2dep.c (fini_array): Likewise.
41846         (init_array): Likewise.
41848 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41850         * manual/message.texi: Delete @cartouche tags.
41852 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41854         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41855         EOPNOTSUPP.
41856         * sysdeps/mach/hurd/fsync.c: Likewise.
41858         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41859         [_POSIX_REALTIME_SIGNALS]: Change condition to
41860         [_POSIX_REALTIME_SIGNALS > 0].
41862 2012-10-27  Andreas Jaeger  <aj@suse.de>
41864         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41865         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41867         [__WORDSIZE != 64]: Likewise.
41869 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41871         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41872         *  iconvdata/tst-tables.sh: Likewise.
41874 2012-10-25  David S. Miller  <davem@davemloft.net>
41876         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41877         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41878         of strtoull.
41880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41881         ifunc-impl-list.c
41882         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41883         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41884         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41885         file.
41887 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41890         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41891         __getdirentries.
41893 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41894             Jim Blandy  <jimb@codesourcery.com>
41896         * scripts/cross-test-ssh.sh: New file.
41897         * manual/install.texi (Configuring and compiling): Document use of
41898         cross-test-ssh.sh.
41899         * INSTALL: Regenerated.
41901 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41903         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41904         EOPNOTSUPP.
41906 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41908         * Makeconfig (run-program-prefix): Fix comment.
41910 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41911             Jim Blandy  <jimb@codesourcery.com>
41913         * Makeconfig (test-wrapper): New variable,
41914         (test-wrapper-env): Likewise.
41915         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41916         (run-built-tests): Define to yes.
41917         (run-program-prefix): Use $(test-wrapper).
41918         (built-program-cmd): Likewise.
41919         * Rules (make-test-out): Use $(test-wrapper-env) and
41920         $(host-built-program-cmd).
41921         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41922         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41923         tst-pathopt.sh.
41924         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41925         $(test-wrapper-env) to tst-rtld-load-self.sh.
41926         ($(objpfx)order2.out): Use $(test-wrapper).
41927         ($(objpfx)tst-initorder.out): Likewise.
41928         ($(objpfx)tst-initorder2.out): Likewise.
41929         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41930         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41931         (test_wrapper_env): New variable.  Use it to run ld.so.
41932         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41933         Use it to run ld.so.
41934         (test_wrapper_env): Likewise.
41935         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41936         $(test-wrapper) to run-iconv-test.sh.
41937         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41938         (ICONV): Use $test_wrapper.
41939         * posix/Makefile ($(objpfx)globtest.out): Pass
41940         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41941         globtest.sh, not $(run-program-prefix).
41942         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41943         (test_wrapper): Likewise.
41944         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41945         set together with run_via_rtld_prefix.
41946         (run_program_prefix): Define in terms of test_wrapper and
41947         run_via_rtld_prefix.
41949 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41951         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41952         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41953         Targets removed.
41955         [BZ #14743]
41956         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41957         Declare __clock_getres, __clock_gettime, __clock_settime,
41958         __clock_nanosleep, and __clock_getcpuclockid.
41959         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41960         Remove librt_hidden_def (clock_gettime).
41961         * sysdeps/unix/clock_gettime.c: Likewise.
41962         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41963         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41964         * rt/clock_getres.c: Define __clock_getres as an alias.
41965         * sysdeps/posix/clock_getres.c: Likewise.
41966         * rt/clock_settime.c: Define __clock_settime as an alias.
41967         * sysdeps/unix/clock_settime.c: Likewise.
41968         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41969         * sysdeps/unix/clock_nanosleep.c: Likewise.
41970         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41971         * rt/clock-compat.c: New file.
41972         * rt/Makefile (librt-routines): Add clock-compat and move
41973         $(clock-routines) to ...
41974         (routines): ... here, new variable.
41975         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41976         Don't add get_clockfreq here.
41977         * rt/Versions (libc: GLIBC_2.17): New version set.
41978         Add clock_* symbols here.
41979         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41981         (GLIBC_2.17): Add clock_* symbols.
41982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41984         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41986         Likewise.
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41988         Likewise.
41989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41993         * NEWS: Mention the move.
41995         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41996         Use __open, __read, __close rather than their public counterparts.
41997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41998         (__get_clockfreq_via_cpuinfo): Likewise.
41999         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42000         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42002         * config.h.in (HAVE_IFUNC): New #undef.
42003         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42004         was successful.
42005         * configure: Regenerated.
42007 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42009         * configure.in: Move READELF check to start of file.
42010         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42011         libc_cv_asm_gnu_indirect_function in the process.
42012         * configure: Regenerated.
42014 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42016         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42017         send the output to /dev/null.
42018         (libc_cv_cc_with_libunwind): Likewise.
42019         (libc_cv_as_noexecstack): Likewise.
42020         * configure: Regenerate.
42022 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42024         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42026         * posix/globtest.sh (TMPDIR): Do not set.
42027         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42028         (testout): Likewise.
42030 2012-10-24  Andreas Jaeger  <aj@suse.de>
42032         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42033         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42034         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42035         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42036         posix_fadvise64, posix_fallocate64.
42038         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42039         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42040         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42041         Likewise.
42042         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42043         Likewise.
42044         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42047         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42048         <bits/fcntl-linux.h>.
42049         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42051         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42052         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42053         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42054         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42055         [__WORDSIZE != 64]: Likewise.
42057 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42059         * Makeconfig (run-built-tests): New variable.
42060         * Rules [$(cross-compiling) = yes]: Change condition to
42061         [$(run-built-tests) = no].
42062         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42063         to [$(run-built-tests) = yes].
42064         * elf/Makefile [$(cross-compiling) = no]: Likewise
42065         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42066         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42067         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42068         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42069         * io/Makefile [$(cross-compiling) = no]: Likewise.
42070         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42071         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42072         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42073         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42074         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42075         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42076         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42077         * string/Makefile [$(cross-compiling) = no]: Likewise.
42079         * posix/Makefile ($(objpfx)globtest.out): Pass
42080         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42081         $(rtld-installed-name).
42082         * posix/globtest.sh (elf_objpfx): Remove variable.
42083         (rtld_installed_name): Likewise.
42084         (library_path): Likewise.
42085         (run_program_prefix): New variable.  Use for running globtest
42086         binary.
42088 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42089             Joseph Myers  <joseph@codesourcery.com>
42091         * Makeconfig (host-built-program-cmd): New variable.
42092         * elf/Makefile (tst-stackguard1-ARGS): Use
42093         $(host-built-program-cmd).
42094         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42095         (tst-spawn-ARGS): Likewise.
42096         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42098 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42099             Jim Blandy  <jimb@codesourcery.com>
42101         * Makeconfig (run-via-rtld-prefix): New variable.
42102         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42103         (built-program-cmd): Likewise.
42105 2012-10-22  Andreas Jaeger  <aj@suse.de>
42107         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42108         __O_RSYNC if it exists, otherwise to O_SYNC.
42110 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42111             Joseph Myers  <joseph@codesourcery.com>
42113         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42114         /dev/null.
42115         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42116         from /dev/null
42117         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42118         /dev/null.
42120 2012-10-22  Andreas Jaeger  <aj@suse.de>
42122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42123         Define always.
42124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42127         bits/fcntl-linux.h.
42129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42130         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42133         to __O_LARGEFILE.
42134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42135         to __O_LARGEFILE.
42137 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42138             Joseph Myers  <joseph@codesourcery.com>
42140         * config.make.in (NM): New variable.
42142 2012-10-21  Andreas Jaeger  <aj@suse.de>
42144         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42145         definitions and declarations that are provided by
42146         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42148 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42150         [BZ #14683]
42151         * elf/Makefile (tests-static): Add tst-leaks1-static.
42152         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42153         ($(objpfx)tst-leaks1-static): New rule.
42154         ($(objpfx)tst-leaks1-static-mem): Likewise.
42155         (tst-leaks1-static-ENV): New macro.
42156         * elf/dl-open.c (dl_open_worker): Check the main application
42157         only if SHARED is defined.
42158         * elf/tst-leaks1-static.c: New file.
42160 2012-10-20  Andreas Jaeger  <aj@suse.de>
42162         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42163         generic values for Linux.
42164         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42165         and declarations that are provided by <bits/fcntl-linux.h> and
42166         include <bits/fcntl-linux.h>.
42167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42170 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42172         * io/fcntl.h: Move include of <bits/types.h> to the top and
42173         include it unconditionally.
42175 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42177         * wcsmbs/Makefile (tests-ifunc): New variable.
42178         (tests): Add $(tests-ifunc).
42179         * wcsmbs/test-wcschr-ifunc.c: New file.
42180         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42181         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42182         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42183         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42184         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42186         * string/Makefile (tests-ifunc): New variable.
42187         (tests): Add $(tests-ifunc).
42188         * string/test-memccpy.c (TEST_NAME): New macro.
42189         * string/test-memchr.c (TEST_NAME): Likewise.
42190         * string/test-memcmp.c (TEST_NAME): Likewise.
42191         * string/test-memcpy.c (TEST_NAME): Likewise.
42192         * string/test-memmem.c (TEST_NAME): Likewise.
42193         * string/test-memmove.c (TEST_NAME): Likewise.
42194         * string/test-memset.c (TEST_NAME): Likewise.
42195         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42196         * string/test-stpcpy.c (TEST_NAME): Likewise.
42197         * string/test-stpncpy.c (TEST_NAME): Likewise.
42198         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42199         * string/test-strcasestr.c (TEST_NAME): Likewise.
42200         * string/test-strcat.c (TEST_NAME): Likewise.
42201         * string/test-strchr.c (TEST_NAME): Likewise.
42202         * string/test-strcmp.c(TEST_NAME): Likewise.
42203         * string/test-strcpy.c (TEST_NAME): Likewise.
42204         * string/test-strcspn.c (TEST_NAME): Likewise.
42205         * string/test-strlen.c (TEST_NAME): Likewise.
42206         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42207         * string/test-strncmp.c (TEST_NAME): Likewise.
42208         * string/test-strncpy.c (TEST_NAME): Likewise.
42209         * string/test-strnlen.c (TEST_NAME): Likewise.
42210         * string/test-strpbrk.c (TEST_NAME): Likewise.
42211         * string/test-strrchr.c (TEST_NAME): Likewise.
42212         * string/test-strspn.c (TEST_NAME): Likewise.
42213         * string/test-strstr.c (TEST_NAME): Likewise.
42214         * string/test-bcopy-ifunc.c: New file.
42215         * string/test-bzero-ifunc.c: Likewise.
42216         * string/test-memccpy-ifunc.c: Likewise.
42217         * string/test-memchr-ifunc.c: Likewise.
42218         * string/test-memcmp-ifunc.c: Likewise.
42219         * string/test-memcpy-ifunc.c: Likewise.
42220         * string/test-memmem-ifunc.c: Likewise.
42221         * string/test-memmove-ifunc.c: Likewise.
42222         * string/test-mempcpy-ifunc.c: Likewise.
42223         * string/test-memset-ifunc.c: Likewise.
42224         * string/test-rawmemchr-ifunc.c: Likewise.
42225         * string/test-stpcpy-ifunc.c: Likewise.
42226         * string/test-stpncpy-ifunc.c: Likewise.
42227         * string/test-strcasecmp-ifunc.c: Likewise.
42228         * string/test-strcasestr-ifunc.c: Likewise.
42229         * string/test-strcat-ifunc.c: Likewise.
42230         * string/test-strchr-ifunc.c: Likewise.
42231         * string/test-strchrnul-ifunc.c: Likewise.
42232         * string/test-strcmp-ifunc.c: Likewise.
42233         * string/test-strcpy-ifunc.c: Likewise.
42234         * string/test-strcspn-ifunc.c: Likewise.
42235         * string/test-strlen-ifunc.c: Likewise.
42236         * string/test-strncasecmp-ifunc.c: Likewise.
42237         * string/test-strncat-ifunc.c: Likewise.
42238         * string/test-strncmp-ifunc.c: Likewise.
42239         * string/test-strncpy-ifunc.c: Likewise.
42240         * string/test-strnlen-ifunc.c: Likewise.
42241         * string/test-strpbrk-ifunc.c: Likewise.
42242         * string/test-strrchr-ifunc.c: Likewise.
42243         * string/test-strspn-ifunc.c: Likewise.
42244         * string/test-strstr-ifunc.c: Likewise.
42246         * debug/Makefile (tests-ifunc): New variable.
42247         (tests): Add $(tests-ifunc).
42248         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42249         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42250         * debug/test-stpcpy_chk-ifunc.c: New file.
42251         * debug/test-strcpy_chk-ifunc.c: Likewise.
42253 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42255         [BZ #13601]
42256         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42257         header is not read in.
42259 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42261         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42262         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42263         directly.  Pass built executable to script as
42264         $(built-program-cmd).
42265         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42266         $testprogram without using LD_LIBRARY_PATH and $ldso.
42268         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42269         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42270         $(rtld-installed-name).
42271         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42272         (rtld_installed_name): Likewise.
42273         (library_path): Likewise.
42274         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42275         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42276         $(run-program-prefix) to tst-tables.sh.
42277         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42278         it to run tst-table-from and tst-table-to.
42279         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42280         Pass it to tst-table.sh.
42281         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42282         $(run-program-prefix) to tst-gettext.sh.
42283         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42284         tst-translit.sh.
42285         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42286         tst-gettext2.sh.
42287         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42288         to run tst-gettext.
42289         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42290         to run tst-gettext2.
42291         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42292         to run tst-translit.
42293         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42294         $(run-program-prefix) to tst-mtrace.sh.
42295         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42296         to run tst-mtrace.
42297         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42298         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42299         $(rtld-installed-name).
42300         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42301         (rtld_installed_name): Likewise.
42302         (run_program_prefix): New variable.  Use it to run wordexp-test.
42304         * Makeconfig (ARCH): Remove all definitions.
42305         (machine): Likewise.
42306         [ARCH]: Remove conditional code.
42307         [!objdir]: Give error.
42308         [!objdir] (objpfx): Remove.
42309         [!objdir] (common-objpfx): Likewise.
42310         [!objdir] (common-objdir): Likewise.
42311         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42312         AC_CONFIG_FILES call.
42313         * configure: Regenerated.
42315         [BZ #13888]
42316         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42317         or TMPDIR.
42318         (testout): Likewise.
42320         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42321         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42322         $(rtld-installed-name).
42323         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42324         (rtld_installed_name): Likwise.
42325         (runit): Remove function.
42326         (run_getconf): New variable,  Use it for running getconf binary.
42328 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42330         [BZ #14716]
42331         * string/test-memmem.c (check_result): New function.
42332         (do_one_test): Use it.
42333         (check1): New function.
42334         (test_main): Use it.
42336 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42338         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42340 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42342         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42343         (_G_LSEEK64): Likewise.
42344         (_G_MMAP64): Likewise.
42345         (_G_FSTAT64): Likewise.
42346         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42347         (_G_LSEEK64): Likewise.
42348         (_G_MMAP64): Likewise.
42349         (_G_FSTAT64): Likewise.
42350         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42351         unconditional.  Call __mmap64 directly.
42352         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42353         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42354         __lseek64 directly.
42355         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42356         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42357         __mmap64 directly.
42358         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42359         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42360         __lseek64 directly.
42361         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42362         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42363         __lseek64 directly.
42364         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42365         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42366         __lseek64 directly.
42367         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42368         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42369         __fxstat64 directly.
42370         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42371         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42372         unconditional.
42373         (freopen64) [!_G_OPEN64]: Remove conditional code.
42374         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42375         unconditional.
42376         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42377         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42378         unconditional.
42379         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42380         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42381         unconditional.
42382         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42383         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42384         unconditional.
42385         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42386         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42387         unconditional.
42388         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42389         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42390         unconditional.
42391         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42392         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42393         unconditional.
42394         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42396 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42398         [BZ #12140]
42399         * manual/memory.texi (Malloc Tunable Parameters): Add note
42400         about free list pointers overwriting some perturb bytes.
42401         Wording suggested by Roland McGrath.
42403 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42405         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42406         (lgamma_test): Likewise.
42407         (tgamma_test): Likewise.
42409 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42411         [BZ #14700]
42412         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42413         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42415 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42417         * NEWS: Mention BZ #14716.
42418         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42419         when removing AVAILABLE1_USES_J macro.
42421 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42423         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42424         (__bswap_64): __uint64_t for unsigned 64-bit int.
42426 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42428         * include/string.h (memmem): Declare libc hidden alias.
42429         * string/memmem.c (memmem): Define libc hidden alias.
42430         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42431         __read, __close instead of open, read, close.
42433 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42436         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42437         global and hidden.
42438         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42439         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42440         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42441         Likewise.
42442         (__rawmemchr_sse2): Likewise.
42443         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42444         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42445         (__strchr_sse2): Likewise.
42446         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42447         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42448         (__strcasecmp_sse2): Likewise.
42449         (__strncasecmp_sse2): Likewise.
42450         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42451         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42452         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42453         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42454         (__strrchr_sse2): Likewise.
42455         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42456         ifunc-impl-list.c.
42457         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42458         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42459         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42460         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42461         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42462         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42463         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42464         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42465         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42466         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42467         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42468         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42469         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42470         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42471         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42472         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42473         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42474         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42475         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42476         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42477         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42478         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42479         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42480         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42481         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42482         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42483         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42484         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42485         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42486         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42488         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42489         global and hidden.
42490         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42491         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42492         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42493         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42494         Likewise.
42495         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42496         Likewise.
42497         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42498         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42499         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42500         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42501         ifunc-impl-list.c.
42502         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42503         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42504         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42505         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42506         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42507         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42508         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42509         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42510         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42511         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42512         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42513         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42514         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42515         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42516         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42517         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42518         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42519         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42520         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42521         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42522         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42523         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42524         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42525         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42526         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42527         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42528         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42529         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42530         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42531         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42532         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42533         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42534         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42535         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42536         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42537         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42538         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42539         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42540         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42541         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42542         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42544         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42545         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42546         * include/ifunc-impl-list.h: New file.
42547         * misc/ifunc-impl-list.c: Likewise.
42548         * misc/Makefile (routines): Add ifunc-impl-list.
42549         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42550         * string/test-string.h: Include <ifunc-impl-list.h>.
42551         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42552         TEST_NAME]: New variables.
42553         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42554         are defined.
42555         (test_init): Call __libc_ifunc_impl_list to initialize
42556         func_list if TEST_IFUNC and TEST_NAME are defined.
42558         * string/Makefile (strop-tests): Add bcopy and bzero.
42559         * string/test-bcopy.c: New file.
42560         * string/test-bzero.c: Likewise.
42561         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42562         defined.
42563         * string/test-memset.c: Support bzero test if TEST_BZERO is
42564         defined.
42565         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42566         __libc_memmove.
42567         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42568         __libc_memset.
42569         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42570         of memset.
42572 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42574         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42575         * configure: Regenerated.
42577         * Makeconfig (+link-static-before-libc): Don't include
42578         $(link-static-libc).
42580         * libio/libio.h (_IO_pos_t): Remove.
42582 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42584         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42585         McGrath.
42587 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42589         * crypt/crypt-entry.c: Include fips-private.h.
42590         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42591         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42592         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42593         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42595 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42597         * crypt/crypt-private.h: Include stdbool.h.
42598         (_ufc_setup_salt_r): Return bool.
42599         * crypt/crypt-entry.c: Include errno.h.
42600         (__crypt_r): Return NULL with EINVAL for bad salt.
42601         * crypt/crypt_util.c (bad_for_salt): New.
42602         (_ufc_setup_salt_r): Check that salt is long enough and within
42603         the specified alphabet.
42604         * crypt/badsalttest.c: New file.
42605         * crypt/Makefile (tests): Add it.
42606         ($(objpfx)badsalttest): New.
42608 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42610         * NEWS: Add entry for BZ #14602.
42612 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42614         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42615         type-generic.
42616         * math/libm-test.inc: Update comment listing what functions and
42617         macros are tested.
42618         (isgreater_test): New function.
42619         (isgreaterequal_test): Likewise.
42620         (isless_test): Likewise.
42621         (islessequal_test): Likewise.
42622         (islessgreater_test): Likewise.
42623         (isunordered_test): Likewise.
42624         (main): Call the new functions.
42626 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42628         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42629         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42630         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42631         * sysdeps/i386/configure: Regenerated.
42632         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42633         * sysdeps/mach/configure: Regenerated.
42634         * sysdeps/mach/hurd/configure: Regenerated.
42635         * sysdeps/powerpc/configure: Regenerated.
42636         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42637         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42638         * sysdeps/s390/s390-32/configure: Regenerated.
42639         * sysdeps/s390/s390-64/configure: Regenerated.
42640         * sysdeps/sh/configure: Regenerated.
42641         * sysdeps/sparc/configure: Regenerated.
42642         * sysdeps/unix/sysv/linux/configure: Regenerated.
42643         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42644         * sysdeps/x86_64/configure: Regenerated.
42646         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42647         defined.  Don't check if MAP is NULL.
42649 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42651         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42652         (_G_stat64): Likewise.
42653         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42654         (_G_stat64): Likewise.
42655         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42656         instead of struct _G_stat64.
42657         * libio/fileops.c (mmap_remap_check): Likewise.
42658         (decide_maybe_mmap): Likewise.
42659         (_IO_new_file_seekoff): Likewise.
42660         (_IO_file_stat): Likewise.
42661         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42662         _G_off64_t.
42663         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42664         instead of struct _G_stat64.
42665         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42667 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42669         [BZ #14602]
42670         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42671         Replace with ...
42672         (CHECK_EOL): New macro.
42673         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42674         CHECK_EOL.
42675         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42676         Replace with CHECK_EOL.
42677         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42678         Replace with CHECK_EOL.
42680 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42682         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42683         type-generic.
42684         * math/libm-test.inc: Update comment listing what functions and
42685         macros are tested.
42686         (finite_test): New function.
42687         (isinf_test): Likewise.
42688         (isnan_test): Likewise.
42689         (fpclassify_test): Test subnormal input.
42690         (isfinite_test): Likewise.
42691         (isnormal_test): Likewise.
42692         (main): Call the new functions.
42694 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42696         [BZ #14660]
42697         * Makerules (%.dynsym): Force C locale when running
42698         $(OBJDUMP) --dynamic-syms.
42700 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42702         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42703         <stdint.h>.
42705 2012-10-06  David S. Miller  <davem@davemloft.net>
42707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42708         upper 32-bits of the length value in %o2 since we use branch-on-register
42709         tests which consider the entire 64-bit register.
42711 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42713         * string/test-strstr.c (check2): Add a test for page boundary.
42715 2012-10-05  David S. Miller  <davem@davemloft.net>
42717         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42718         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42719         file.
42720         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42721         sysdep_routines.
42722         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42723         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42724         and bzero when HWCAP_SPARC_CRYPTO is present.
42726 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42728         [BZ #14602]
42729         * string/test-strstr.c (check2): New function.
42730         (test_main): Call check2.
42732         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42733         and bug-strchr1.
42734         * string/bug-strcasestr1.c (do_test): Moved to ...
42735         * string/test-strcasestr.c (check1): Here.  New function.
42736         (do_one_test): Break out result checking code into ...
42737         (check_result): This.  New function.
42738         (do_one_test): Call check_result.
42739         (test_main): Call check1.
42740         * string/bug-strchr1.c (do_test): Moved to ...
42741         * string/test-strchr.c (check1): Here.  New function.
42742         (do_one_test): Break out result checking code into ...
42743         (check_result): This.  New function.
42744         (do_one_test): Call check_result.
42745         (test_main): Call check1.
42746         * string/bug-strstr1.c (main): Moved to ...
42747         * string/test-strstr.c (check1): Here.  New function.
42748         (do_one_test): Break out result checking code into ...
42749         (check_result): This.  New function.
42750         (do_one_test): Call check_result.
42751         (test_main): Call check1.
42752         * string/bug-strcasestr1.c: Removed.
42753         * string/bug-strchr1.c: Likewise.
42754         * string/bug-strstr1.c: Likewise.
42756         * elf/Makefile (dl-routines): Add hwcaps.
42757         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42758         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42759         (_dl_important_hwcaps): Moved to ...
42760         * elf/dl-hwcaps.c: Here.  New file.
42761         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42763         [BZ #14557]
42764         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42765         if IS_IN_rtld isn't defined.
42767         * elf/dl-support.c (_dl_sysinfo_map): New.
42768         Include "get-dynamic-info.h" and "setup-vdso.h".
42769         (_dl_non_dynamic_init): Call setup_vdso.
42770         * elf/dynamic-link.h: Don't include <assert.h>.
42771         (elf_get_dynamic_info): Moved to ...
42772         * elf/get-dynamic-info.h: Here.  New file.
42773         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42774         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42775         * elf/setup-vdso.h: Here.  New file.
42776         * elf/rtld.c: Include "setup-vdso.h".
42777         (dl_main): Call setup_vdso.
42779 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42781         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42782         creal in comment listing functions tested.  List finite, isinf,
42783         isnan, isless, islessequal, isgreater, isgreaterequal,
42784         islessgreater, isunordered, lgamma_r and pow10 as functions and
42785         macros not tested.  Mention which functions not tested are aliases
42786         for other functions.  Fix typo.  Note that signs of NaNs are not
42787         tested.
42789         * scripts/config.guess: Update from config.git.
42790         * scripts/config.sub: Likewise.
42792 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42794         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42795         * misc/madvise.c (madvise): Renamed to __madvise.
42796         Make madvise a weak alias.
42797         * include/sys/mman.h: Declare __madvise.
42798         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42799         * sysdeps/unix/syscalls.list
42800         (madvise): Make __madvise the strong name, and madvise a weak alias.
42801         * sysdeps/unix/sysv/linux/syscalls.list
42802         (madvise, mmap): Remove redundant entries.
42803         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42804         * malloc/malloc.c (mtrim): Likewise.
42805         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42807 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42809         * sysdeps/mach/hurd/dl-cache.c: File removed.
42810         * config.h.in (USE_LDCONFIG): New #undef.
42811         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42812         * configure: Regenerated.
42813         * elf/Makefile (dl-routines): Add dl-cache only under
42814         [$(use-ldconfig) = yes].
42815         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42816         cache on [USE_LDCONFIG].
42817         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42818         [USE_LDCONFIG].
42819         * elf/rtld.c (dl_main): Likewise.
42821 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42823         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42824         _SC_LEVEL4_CACHE_LINESIZE.
42826 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42828         * sysdeps/unix/bsd/confstr.h: File removed.
42830 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42832         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42833         sys/sdt-config.h.
42835 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42837         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42838         Make 'mapoff' field ElfW(Off) rather than off_t.
42840 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42842         * nscd/Makefile: Remove nscd-cflags and all its users.
42843         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42844         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42846         [BZ #10631]
42847         * malloc.c (malloc_printerr): Clarify error message.
42849 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42851         [BZ #14648]
42852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42853         Set bit_FMA_Usable if FMA is supported.
42854         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42855         macro.
42856         (bit_FMA4_Usable): Updated.
42857         (index_FMA_Usable): New macro.
42858         (CPUID_FMA): Likewise
42859         (HAS_FMA): Defined with bit_FMA_Usable.
42861 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42863         * bits/types.h (__swblk_t): Type removed.
42864         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42865         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42867         (__SWBLK_T_TYPE): Likewise.
42868         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42869         (__SWBLK_T_TYPE): Likewise.
42870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42871         (__SWBLK_T_TYPE): Likewise.
42872         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42873         (__SWBLK_T_TYPE): Likewise.
42875 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42876             Honza Horak <hhorak@redhat.com>
42878         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42879         (xdr_mapname): Use YPMAXMAP as maxsize.
42880         (xdr_peername): Use YPMAXPEER as maxsize.
42881         (xdr_keydat): Use YPAXRECORD as maxsize.
42882         (xdr_valdat): Use YPMAXRECORD as maxsize.
42884 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42886         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42888         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42889         * csu/init-first.c: ... here.
42890         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42891         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42892         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42893         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42894         * sysdeps/i386/init-first.c: File removed.
42895         * sysdeps/sh/init-first.c: File removed.
42897 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42899         [BZ #14645]
42900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42901         if x * y might underflow to zero and z is zero.
42902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42903         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42904         * math/libm-test.inc (min_subnorm_value): New variable.
42905         (fma_test): Add more tests.
42906         (fma_test_towardzero): Likewise.
42907         (fma_test_downward): Likewise
42908         (fma_test_upward): Likewise.
42909         (initialize): Set min_subnorm_value.
42911 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42913         [BZ #14638]
42914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42915         0 + 0.
42916         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42917         mode for addition resulting in exact zero.
42918         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42920         exact 0 + 0.
42921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42923         * math/libm-test.inc (fma_test): Add more tests.
42924         (fma_test_towardzero): New function.
42925         (fma_test_downward): Likewise.
42926         (fma_test_upward): Likewise.
42927         (main): Call the new functions.
42929 2012-09-28  David S. Miller  <davem@davemloft.net>
42931         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42933 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42935         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42936         instead of SIGALRM.
42938         * sysdeps/gnu/_G_config.h: Moved to ...
42939         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42940         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42941         * sysdeps/generic/_G_config.h: ... here.
42943         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42945         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42947         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42948         Conditionalize target on [libnss_test1.so-version].
42950         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42952         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42953         (elfobjdir): Move out of conditionals.
42955         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42956         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42957         (__nss_lookup_function): Conditionalize label remove_from_tree on
42958         [!DO_STATIC_NSS || SHARED], matching its only use.
42960 2012-09-28  David S. Miller  <davem@davemloft.net>
42962         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42963         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42964         file.
42965         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42966         sysdep_routines.
42967         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42968         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42969         when HWCAP_SPARC_CRYPTO is present.
42971 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42973         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42975 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42977         [BZ #6530]
42978         * stdio-common/vfprintf.c (process_string_arg): Revert
42979         2000-07-22 change.
42981 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42983         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42984         for testcase.
42985         * stdio-common/tst-sprintf.c: Include <locale.h>
42986         (main): Test sprintf's handling of incomplete multibyte
42987         characters.
42989 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42991         * elf/dl-runtime.c (VERSYMIDX): Removed.
42992         * elf/dl-version.c (VERSYMIDX): Likewise.
42993         * elf/do-rel.h (VERSYMIDX): Likewise.
42994         (VALIDX): Likewise.
42995         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42996         * elf/rtld.c (VALIDX): Likewise.
42997         (ADDRIDX): Likewise.
42998         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42999         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43000         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43001         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43002         (VALIDX): Likewise.
43003         (ADDRIDX): Likewise.
43005 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43007         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43009 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43011         [BZ #11438]
43012         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43013         to global scope.
43014         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43015         addresses are in the same scope as 192.0.2/24.
43016         * posix/gai.conf: Document new scope table defaults.
43018 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43020         [BZ #5298]
43021         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43022         for ftell.  Compute offsets from write pointers instead.
43023         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43025 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43027         [BZ #14543]
43028         * libio/Makefile (tests): New test case tst-fseek.
43029         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43030         combination works in wide mode.
43031         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43032         state when the external buffer state changes.
43034 2012-09-27  David S. Miller  <davem@davemloft.net>
43036         [BZ #14376]
43037         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43038         pass reloc->r_addend in as the 'high' argument to
43039         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43043 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43045         * rt/tst-aio2.c: Include <pthread.h>.
43046         * rt/tst-aio3.c: Likewise.
43048 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43050         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43052 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43054         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43055         contents on [SHARED].
43057 2012-09-26  Marek Polacek  <polacek@redhat.com>
43059         [BZ #14530]
43060         [BZ #13741]
43061         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43062         for C++ and GCC <4.3 as well as for non GCC compilers.
43064 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43068 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43070         * Makefile.in (all, install): Declare with .PHONY.
43071         Reported by Michael Hope <michael.hope@linaro.org>.
43073 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43075         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43076         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43077         system header.
43078         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43079         Likewise.
43080         (sydep_routines): Add the new and the internal functions.
43081         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43082         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43084         (GLIBC_2.17): Add the new function.
43085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43086         (GLIBC_2.17): Likewise.
43087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43088         (GLIBC_2.17): Likewise.
43089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43090         (GLIBC_2.17): Likewise.
43091         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43093 2012-09-25  Alan Modra  <amodra@gmail.com>
43095         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43096         Add release barrier before setting once_control to say
43097         initialisation is done.  Add hints on lwarx.  Use macro in
43098         place of isync.
43099         (clear_once_control): Add release barrier.
43101 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43103         [BZ #13629]
43104         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43105         specially.
43106         * math/s_clog10.c (__clog10): Likewise.
43107         * math/s_clog10f.c (__clog10f): Likewise.
43108         * math/s_clog10l.c (__clog10l): Likewise.
43109         * math/s_clogf.c (__clogf): Likewise.
43110         * math/s_clogl.c (__clogl): Likewise.
43111         * math/Makefile (libm-calls): Add x2y2m1.
43112         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43113         (__x2y2m1): Likewise.
43114         (__x2y2m1l): Likewise.
43115         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43116         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43117         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43118         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43119         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43120         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43121         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43122         * sysdeps/i386/fpu/libm-test-ulps: Update.
43123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43125         [BZ #14621]
43126         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43127         int as type of variable DEPTH.
43128         (glob): Use size_t instead of int as type of variables NEWCOUNT
43129         and OLD_PATHC.
43131 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43133         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43134         Add s_sincosf-sse2.
43135         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43136         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43137         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43138         macros for using routine as __sincosf_ia32.
43139         Use macro for function declaration and weak_alias.
43140         * sysdeps/i386/fpu/libm-test-ulps: Update.
43142         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43145         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43146         subnormal argument.
43147         * math/s_cexpf.c (__cexpf): Likewise.
43148         * math/s_csinf.c (__csinf): Likewise.
43149         * math/s_csinhf.c (__csinhf): Likewise.
43150         * math/s_ctanf.c (__ctanf): Likewise.
43151         * math/s_ctanhf.c (__ctanhf): Likewise.
43152         * math/s_ccosh.c (__ccoshf): Likewise.
43153         * math/s_cexp.c (__cexpl): Likewise.
43154         * math/s_csin.c (__csin): Likewise.
43155         * math/s_csinh.c (__csinh): Likewise.
43156         * math/s_ctan.c (__ctan): Likewise.
43157         * math/s_ctanh.c (ctanh): Likewise.
43158         * math/s_ccoshl.c (__ccoshl): Likewise.
43159         * math/s_cexpl.c (__cexpl): Likewise.
43160         * math/s_csinl.c (__csinl): Likewise.
43161         * math/s_csinhl.c (__csinhl): Likewise.
43162         * math/s_ctanl.c (__ctanl): Likewise.
43163         * math/s_ctanhl.c (__ctanhl): Likewise.
43165 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43167         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43168         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43169         (_IO_off_t): Define to __off_t, not _G_off_t.
43170         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43171         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43172         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43173         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43174         type of __dummy and __dummy2 fields.
43175         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43176         (_G_ssize_t): Likewise.
43177         (_G_off_t): Likewise.
43178         (_G_pid_t): Likewise.
43179         (_G_uid_t): Likewise.
43180         (_G_wchar_t): Likewise.
43181         (_G_wint_t): Likewise.
43182         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43183         (_G_ssize_t): Likewise.
43184         (_G_off_t): Likewise.
43185         (_G_pid_t): Likewise.
43186         (_G_uid_t): Likewise.
43187         (_G_wchar_t): Likewise.
43188         (_G_wint_t): Likewise.
43189         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43190         (_G_ssize_t): Likewise.
43191         (_G_off_t): Likewise.
43192         (_G_pid_t): Likewise.
43193         (_G_uid_t): Likewise.
43194         (_G_wchar_t): Likewise.
43195         (_G_wint_t): Likewise.
43197 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43199         * malloc/arena.c: Include malloc-sysdep.h.
43200         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43201         is sufficient to shrink the heap or an unmap is needed.
43202         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43203         new function check_may_shrink_heap.
43204         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43205         new function check_may_shrink_heap.
43207 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43209         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43210         comments.
43212 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43214         * catgets/test-gencat.sh: Add "set -e".
43215         * elf/tst-pathopt.sh: Likewise.
43216         * grp/tst_fgetgrent.sh: Likewise.
43217         * iconvdata/run-iconv-test.sh: Likewise.
43218         * intl/tst-gettext.sh: Likewise.
43219         * intl/tst-gettext2.sh: Likewise.
43220         * intl/tst-gettext4.sh: Likewise.
43221         * intl/tst-gettext6.sh: Likewise.
43222         * intl/tst-translit.sh: Likewise.
43223         * io/ftwtest-sh: Likewise.
43224         * libio/test-freopen.sh: Likewise.
43225         * malloc/tst-mtrace.sh: Likewise.
43226         * posix/globtest.sh: Likewise.
43227         * posix/tst-getconf.sh: Likewise.
43228         * posix/wordexp-tst.sh: Likewise.
43229         * stdio-common/tst-printf.sh: Likewise.
43230         * stdio-common/tst-unbputc.sh: Likewise.
43231         * stdlib/tst-fmtmsg.sh: Likewise.
43232         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43233         * catgets/Makefile: Do not specify -e option when running
43234         testsuite shell scripts.
43235         * elf/Makefile: Likewise.
43236         * grp/Makefile: Likewise.
43237         * iconvdata/Makefile: Likewise.
43238         * intl/Makefile: Likewise.
43239         * io/Makefile: Likewise.
43240         * libio/Makefile: Likewise.
43241         * malloc/Makefile: Likewise.
43242         * posix/Makefile: Likewise.
43243         * stdio-common/Makefile: Likewise.
43244         * stdlib/Makefile: Likewise.
43245         * sysdeps/x86_64/Makefile: Likewise.
43247         * io/ftwtest-sh: Add copyright header.
43248         * posix/globtest.sh: Likewise.
43249         * posix/tst-getconf.sh: Likewise.
43250         * posix/wordexp-tst.sh: Likewise.
43251         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43253 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43255         [BZ #13679]
43256         * Makeconfig (+link): Defined as $(+link-static) if
43257         $(build-shared) isn't yes.
43258         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43259         isn't yes.
43260         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43262         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43264         [BZ #14562]
43265         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43266         new chunk size with MALLOC_ALIGN_MASK.
43268 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43270         [BZ #5044]
43271         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43272         <rounding-mode.h>.
43273         (__printf_fphex): Determine rounding using get_rounding_mode and
43274         round_away.
43275         * stdio-common/tst-printf-round.c (struct hex_test): New
43276         structure.
43277         (hex_tests): New variable.
43278         (test_hex_in_one_mode): New function.
43279         (do_test): Also run tests for hex float output.
43281 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43283         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43284         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43285         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43286         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43287         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43288         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43289         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43290         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43292 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43294         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43295         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43296         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43297         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43299 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43301         [BZ #14579]
43302         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43303         mode only.
43304         * elf/tst-rtld-load-self.sh: New test.
43305         * elf/Makefile: Run it.
43307 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43309         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43310         (tst-writev-ENV): Remove.
43311         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43313 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43315         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43317 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43319         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43320         unconditional.
43321         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43322         Likewise.
43323         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43324         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43325         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43326         Likewise.
43328 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43330         [BZ #14587]
43331         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43332         * config.make.in (have-cpp-asm-debuginfo): Removed.
43333         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43334         * configure: Regenerated.
43336 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43338         [BZ #5044]
43339         * stdio-common/printf_fp.c: Include <stdbool.h> and
43340         <rounding-mode.h>.
43341         (___printf_fp): Determine rounding using get_rounding_mode and
43342         round_away.
43343         * stdio-common/tst-printf-round.c: New file.
43344         * stdio-common/Makefile (tests): Add tst-printf-round.
43345         (link-libm): New variable.
43346         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43348 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43350         [BZ #14576]
43351         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43352         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43353         Likewise.
43354         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43355         Likewise.
43357 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43359         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43360         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43361         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43362         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43364 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43366         [BZ #14518]
43367         * include/rounding-mode.h: New file.
43368         * sysdeps/generic/get-rounding-mode.h: Likewise.
43369         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43370         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43371         (MAX_VALUE): New macro.
43372         (MIN_VALUE): Likewise.
43373         (overflow_value): New function.
43374         (underflow_value): Likewise.
43375         (round_and_return): Use overflow_value and underflow_value to
43376         determine return values in overflow and underflow cases.  Use
43377         round_away to determine rounding depending on rounding mode.
43378         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43379         determine return values in overflow and underflow cases.
43380         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43381         (struct test_results): New structure.
43382         (struct test): Use struct test_results to store expected results
43383         for all rounding modes.
43384         (TEST): Include expected results for all rounding modes.
43385         (test_in_one_mode): New function.
43386         (do_test): Use test_in_one_mode to compute and check results.
43387         Check results for all rounding modes.
43388         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43389         $(link-libm).
43391 2012-12-09  Allan McRae  <allan@archlinux.org>
43393         * sysdeps/i386/fpu/libm-test-ulps: Update
43395 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43397         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43398         (_G_int32_t): Likewise.
43399         (_G_uint16_t): Likewise.
43400         (_G_uint32_t): Likewise.
43401         (_G_HAVE_BOOL): Likewise.
43402         (_G_HAVE_ATEXIT): Likewise.
43403         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43404         (_G_HAVE_IO_FILE_OPEN): Likewise.
43405         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43406         (_G_int32_t): Likewise.
43407         (_G_uint16_t): Likewise.
43408         (_G_uint32_t): Likewise.
43409         (_G_HAVE_BOOL): Likewise.
43410         (_G_HAVE_ATEXIT): Likewise.
43411         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43412         (_G_HAVE_IO_FILE_OPEN): Likewise.
43413         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43414         (_G_int32_t): Likewise.
43415         (_G_uint16_t): Likewise.
43416         (_G_uint32_t): Likewise.
43417         (_G_HAVE_BOOL): Likewise.
43418         (_G_HAVE_ATEXIT): Likewise.
43419         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43420         (_G_HAVE_IO_FILE_OPEN): Likewise.
43422 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43424         * csu/libc-tls.c: Update copyright years.
43426 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43428         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43429         [!_G_USING_THUNKS]: Remove conditional code.
43430         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43431         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43433         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43434         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43435         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43436         (_G_VTABLE_LABEL_PREFIX): Likewise.
43437         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43438         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43439         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43440         (_G_VTABLE_LABEL_PREFIX): Likewise.
43441         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43442         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43443         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43444         (_G_VTABLE_LABEL_PREFIX): Likewise.
43445         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43447 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43449         * libio/Makefile: Include ../Makeconfig before tests.
43450         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43451         only if $(build-shared) is yes.
43453         * iconv/gconv_db.c: Update copyright years.
43455 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43457         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43458         unwind info if defined PIC. Fix special cases description.
43459         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43461         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43462         DP_HI_MASK entry.
43463         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43465 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43467         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43469         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43470         is NULL.
43472         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43473         (LDLIBS-tst-chk4): This.
43474         (LDFLAGS-tst-chk5): Renamed to ...
43475         (LDLIBS-tst-chk5): This.
43476         (LDFLAGS-tst-chk6): Renamed to ...
43477         (LDLIBS-tst-chk6): This.
43478         (LDFLAGS-tst-lfschk4): Renamed to ...
43479         (LDLIBS-tst-lfschk4): This.
43480         (LDFLAGS-tst-lfschk5): Renamed to ...
43481         (LDLIBS-tst-lfschk5): This.
43482         (LDFLAGS-tst-lfschk6): Renamed to ...
43483         (LDLIBS-tst-lfschk6): This.
43485         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43486         on $(common-objpfx)soversions.mk.
43488 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43490         [BZ #10014]
43491         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43492         example host name.
43494 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43496         * malloc/arena.c (arena_get_retry): New function that gets
43497         another arena for the caller to try its request on.
43498         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43499         current arena cannot fulfill the request.
43500         (__libc_memalign): Likewise.
43501         (__libc_memalign): Likewise.
43502         (__libc_pvalloc): Likewise.
43503         (__libc_calloc): Likewise.
43505 2012-09-05  John Tobey  <john.tobey@gmail.com>
43507         [BZ #13542]
43508         * manual/arith.texi (Operations on Complex): Fix description
43509         of carg branch cut.
43511 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43513         [BZ #10014]
43514         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43515         host name.
43517         [BZ #10038]
43518         * manual/memory.texi (Memory): Make order of menu items match
43519         order of sections.
43521 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43523         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43524         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43525         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43527 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43529         * csu/libc-tls.c (static_dtv): Renamed to ...
43530         (_dl_static_dtv): This.  Make it global.
43531         (_dl_initial_dtv): Removed.
43532         (__libc_setup_tls): Updated.
43533         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43534         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43535         DL_INITIAL_DTV.
43537 2012-09-06  Petr Machata  <pmachata@redhat.com>
43539         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43540         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43541         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43542         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43544 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43546         [BZ #14545]
43547         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43548         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43549         freeing dtv[-1].
43551 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43553         [BZ #14544]
43554         * Makeconfig (link-static-before-libc): Replace $(+prector)
43555         with $(+prectorT).
43556         (link-static-after-libc): Replace $(+postctor) with
43557         $(+postctorT).
43558         (link-bounded): Replace $(+prector)/$(+postctor) with
43559         $(+prectorT)/$(+postctorT).
43560         (+prectorT): New macro.
43561         (+postctorT): Likewise.
43563 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43565         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43566         (round_str): Handle values above the maximum for IBM long double
43567         as inexact.
43568         * stdlib/tst-strtod-round.c (tests): Regenerated.
43570 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43572         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43573         assembler flag.
43574         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43575         zarch_nohighgprs around the zarch optimized routines.
43576         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43577         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43578         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43579         for zarch.
43581 2012-09-05  David S. Miller  <davem@davemloft.net>
43583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43585         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43586         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43587         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43588         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43589         entries.
43591 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43593         * malloc/arena.c: Fold copyright years.
43594         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43596 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43598         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43600 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43602         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43604 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43606         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43607         change internal state upon failure.
43609 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43611         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43612         * malloc/memusage.c (mmap): Likewise.
43613         (mmap64, mremap): Likewise.  Adjust name in comment.
43615 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43617         * libio/fileops.c: Fix typos in comments.
43618         * libio/oldfileops.c: Likewise.
43619         * libio/wfileops.c: Likewise.
43621 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43623         [BZ #1349]
43624         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43625         (tst-malloc-usable-ENV): Set environment for test case.
43626         * malloc/hooks.c (malloc_check_get_size): New function to get
43627         requested size.
43628         * malloc/malloc.c (musable): Use malloc_check_get_size.
43629         * malloc/tst-malloc-usable.c: New test case.
43631 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43633         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43635 2012-09-05  Allan McRae  <allan@archlinux.org>
43637         [BZ #13966]
43638         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43639         determine header location.
43640         * configure: Regenerated.
43642 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43644         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43645         float format.
43646         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43647         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43648         format.
43649         (test): Regenerate.
43651 2012-09-04  David S. Miller  <davem@davemloft.net>
43653         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43654         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43655         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43657 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43659         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43660         failures.
43662         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43664 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43666         [BZ #9914]
43667         * libio/iogetdelim.c: Include <limits.h>.
43668         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43669         + len + 1 would overflow.
43671 2012-09-03  Andreas Jaeger  <aj@suse.de>
43673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43674         * sysdeps/i386/fpu/libm-test-ulps: Update.
43676 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43678         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43679         Add s_sinf-sse2, s_conf-sse2.
43681         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43682         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43683         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43684         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43686         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43687         for using routine as __sinf_ia32.
43688         Use macro for function declaration and weak_alias.
43689         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43690         for using routine as __cosf_ia32.
43691         Use macro for function declaration and weak_alias.
43693         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43694         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43696         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43697         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43700         * math/libm-test.inc (cos_test): Add more test cases.
43701         (sin_test): Likewise.
43702         (sincos_test): Likewise.
43704 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43706         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43707         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43708         hidden.
43709         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43711 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43713         [BZ #14538]
43714         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43715         first element of the GOT.
43716         (elf_machine_load_address): Return the difference between
43717         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43719 2012-09-01  Allan McRae  <allan@archlinux.org>
43721         [BZ #13412]
43722         * configure.in (AWK): Require gawk version 3.0 or later.
43723         * configure: Regenerated.
43725 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43727         * sysdeps/unix/sysv/linux/kernel-features.h
43728         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43729         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43730         [__NR_clock_getres]: Make code unconditional.
43731         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43732         (clock_getcpuclockid): Remove code left unreachable by removal of
43733         conditionals.
43734         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43735         code unconditional.
43736         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43737         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43738         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43739         Make code unconditional.
43740         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43741         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43742         * sysdeps/unix/sysv/linux/clock_settime.c
43743         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43744         conditional code.
43745         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43746         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43748 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43750         [BZ #14476]
43751         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43752         scripts/test-installation.pl.
43754         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43755         and $ld_so_version if it is set.
43757 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43759         [BZ #14516]
43760         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43761         failure if reading from procfs failed.
43762         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43764 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43766         * sysdeps/unix/sysv/linux/kernel-features.h
43767         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43768         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43769         Remove conditional code.
43770         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43771         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43772         Remove conditional code.
43773         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43774         * sysdeps/unix/sysv/linux/i386/fxstat.c
43775         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43776         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43777         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43778         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43779         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43780         * sysdeps/unix/sysv/linux/i386/lxstat.c
43781         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43782         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43783         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43784         Remove conditional code.
43785         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43786         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43787         Remove conditional code.
43788         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43789         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43790         <kernel-features.h>.
43791         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43792         Remove.
43793         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43794         Remove conditional code.
43795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43796         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43797         Remove conditional.
43799 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43801         [BZ #5400]
43802         * NEWS: Add fixed bug number.
43804 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43806         [BZ #14519]
43807         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43808         underflowing exponent in case of negative sign.
43809         * stdlib/tst-strtod-round-data: Add more tests.
43810         * stdlib/tst-strtod-round.c (tests): Regenerated.
43812         [BZ #3479]
43813         * stdlib/strtod_l.c (NDIG): Remove.
43814         (HEXNDIG): Likewise.
43815         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43816         smallest representable value.
43817         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43818         lie within an exact representation of 1/2 ulp of the result.
43819         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43820         unconditionally.
43821         (TENS_P9_IDX): Define unconditionally.
43822         (TENS_P9_SIZE): Likewise.
43823         (TENS_P10_IDX): Likewise.
43824         (TENS_P10_SIZE): Likewise.
43825         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43826         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43827         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43828         entries for 10^2^13 and 10^2^14.
43829         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43830         (TENS_P13_IDX): Define.
43831         (TENS_P13_SIZE): Likewise.
43832         (TENS_P14_IDX): Likewise.
43833         (TENS_P14_SIZE): Likewise.
43834         (_fpioconst_pow10): Change array size to
43835         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43836         unconditional.
43837         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43838         1024]: Add entries for 10^2^13 and 10^2^14.
43839         [LAST_POW10 > _LAST_POW10]: Remove #error.
43840         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43841         (_fpioconst_pow10): Change array size to
43842         FPIOCONST_POW10_ARRAY_SIZE.
43843         * stdlib/gen-fpioconst.c: New file.
43844         * stdlib/gen-tst-strtod-round.c: Likewise.
43845         * stdlib/tst-strtod-round-data: Likewise.
43846         * stdlib/tst-strtod-round.c: Likewise.
43847         * stdlib/Makefile (tests): Add tst-strtod-round.
43849         [BZ #14459]
43850         * stdlib/strtod_l.c: Include <stdint.h>.
43851         (NDEBUG): Do not define.
43852         (round_and_return): Change EXPONENT parameter to type intmax_t.
43853         Rearrange calculations to avoid internal overflow possibilities.
43854         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43855         Rearrange calculations to avoid internal overflow possibilities.
43856         Assert that number fits inside MPNSIZE limbs.
43857         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43858         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43859         calculations and add assertions to avoid internal overflow
43860         possibilities.  Add casts to avoid signed/unsigned operations.
43861         * stdlib/tst-strtod-overflow.c: New file.
43862         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43864 2012-08-25  Marek Polacek  <polacek@redhat.com>
43866         * time/time.h: Fix some typos in comments.
43868 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43870         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43871         * posix/tst-rfc3484-2.c: Likewise.
43872         * posix/tst-rfc3484-3.c: Likewise.
43874 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43876         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43877         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43879 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43881         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43882         #include of fxstatat64.c.
43884 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43886         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43887         * shadow/getspent_r.c: Likewise.
43888         * shadow/getspnam.c: Likewise.
43889         * shadow/getspnam_r.c: Likewise.
43890         * gshadow/getsgent.c: Likewise.
43891         * gshadow/getsgent_r.c: Likewise.
43892         * gshadow/getsgnam.c: Likewise.
43893         * gshadow/getsgnam_r.c: Likewise.
43894         * inet/getnetbyad.c: Likewise.
43895         * inet/getnetbyad_r.c: Likewise.
43896         * inet/getnetbynm.c: Likewise.
43897         * inet/getnetbynm_r.c: Likewise.
43898         * inet/getnetent.c: Likewise.
43899         * inet/getnetent_r.c: Likewise.
43900         * inet/getproto.c: Likewise.
43901         * inet/getproto_r.c: Likewise.
43902         * inet/getprtent.c: Likewise.
43903         * inet/getprtent_r.c: Likewise.
43904         * inet/getprtname.c: Likewise.
43905         * inet/getprtname_r.c: Likewise.
43906         * inet/getrpcbyname.c: Likewise.
43907         * inet/getrpcbyname_r.c: Likewise.
43908         * inet/getrpcbynumber.c: Likewise.
43909         * inet/getrpcbynumber_r.c: Likewise.
43910         * inet/getrpcent.c: Likewise.
43911         * inet/getrpcent_r.c: Likewise.
43912         * inet/getaliasent.c: Likewise.
43913         * inet/getaliasent_r.c: Likewise.
43914         * inet/getaliasname.c: Likewise.
43915         * inet/getaliasname_r.c: Likewise.
43916         * nscd/getgrgid_r.c: Likewise.
43917         * nscd/getgrnam_r.c: Likewise.
43918         * nscd/gethstbyad_r.c: Likewise.
43919         * nscd/gethstbynm3_r.c: Likewise.
43920         * nscd/getpwnam_r.c: Likewise.
43921         * nscd/getpwuid_r.c: Likewise.
43922         * nscd/getsrvbynm_r.c: Likewise.
43923         * nscd/getsrvbypt_r.c: Likewise.
43924         * nscd/gai.c: Likewise.
43926         * configure.in (build_nscd): New substituted variable, set
43927         by --disable-build-nscd and defaults to $use_nscd.
43928         * configure: Regenerated.
43929         * config.make.in (build-nscd): New substituted variable.
43930         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43931         Change conditional to require [$(build-nscd) = yes] as well.
43932         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43934         [BZ# 13696]
43935         * configure.in (use_nscd): New substituted variable, set by
43936         --disable-nscd.  If enabled, define USE_NSCD.
43937         * configure: Regenerated.
43938         * config.h.in: Add USE_NSCD.
43939         * config.make.in (use-nscd): New substituted variable.
43940         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43941         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43942         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43943         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43944         (CFLAGS-getgrnam_r.c): Likewise.
43945         (CFLAGS-initgroups.c): Likewise.
43946         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43947         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43948         Variables removed.
43949         * inet/getnetgrent_r.c
43950         (nscd_setnetgrent): New function, broken out of ...
43951         (setnetgrent): ... here.  Call it.
43952         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43953         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43954         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43955         * nscd/Makefile (routines, aux): Move definitions after include of
43956         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43957         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43958         Conditionalize on [USE_NSCD].
43959         (is_nscd, nscd_init_cb): Likewise.
43960         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43961         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43962         * nss/nss_db/db-init.c: Likewise.
43963         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43964         [USE_NSCD].
43965         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43966         (make_request): Use it.
43967         (cache_valid_p): New function.
43968         (__check_pf): Use it.
43969         * NEWS: Add item for --disable-nscd.
43971 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43973         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43974         to support sed >= 4.2.1-20-ga9bf076.
43975         * configure: Regenerated.
43977 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43979         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43980         Conditionalize whole body on [IREL].
43982 2012-08-22  Jeff Law <law@redhat.com>
43984         [BZ #14505]
43985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43986         if the family is PF_UNSPEC.
43988 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43990         * Makerules (lib-version): Rename from V.
43991         (install-lib-nosubdir): Change V to lib-version.
43993 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43995         [BZ #14252]
43996         * powerpc32/power6/wcschr.c: New file.
43997         * powerpc32/power6/wcscpy.c: New file.
43998         * powerpc32/power6/wcsrchr.c: New file.
43999         * powerpc64/power6/wcschr.c: New file.
44000         * powerpc64/power6/wcscpy.c: New file.
44001         * powerpc64/power6/wcsrchr.c: New file.
44003 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44005         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44006         (two_way_short_needle): Use it.
44007         * string/strstr.c (AVAILABLE1_USES_J): Define.
44008         * string/strcasestr.c: Likewise.
44010         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44011         array references.
44012         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44014         [BZ #11607]
44015         * NEWS: Add an entry.
44016         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44017         define their defaults.
44018         (two_way_short_needle): Detect end-of-string on-the-fly.
44019         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44020         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44021         * string/bug-strcasestr1.c: New test.
44022         * string/Makefile: Run it.
44024 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44026         [BZ #11607]
44027         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44028         the first character.
44030 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44032         * csu/elf-init.c (__libc_csu_irel): Function removed.
44033         * csu/libc-start.c (apply_irel): New function.
44034         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44036 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44038         * sysdeps/unix/sysv/linux/kernel-features.h
44039         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44040         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44041         <kernel-features.h>.
44042         [__NR_fadvise64_64]: Make code unconditional.
44043         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44044         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44045         !__NR_fadvise64_64)]: Likewise.
44046         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44047         !__NR_fadvise64_64))]: Likewise.
44048         [__NR_fadvise64]: Make code unconditional.
44049         [!__NR_fadvise64]: Remove conditional code.
44050         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44051         <kernel-features.h>.
44052         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44053         unconditional.
44054         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44055         conditional code.
44056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44057         not include <kernel-features.h>.
44058         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44059         unconditional.
44060         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44061         conditional code.
44062         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44063         include <kernel-features.h>.
44064         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44065         unconditional.
44066         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44067         conditional code.
44069 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44071         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44072         slight instruction rearrangements per scrollpipe analysis.
44073         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44075 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44077         * manual/syslog.texi (syslog; vsyslog, closelog):
44078         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44079         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44081         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44082         DSOCAPS to match condition on defining it.
44084 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44086         * sysdeps/unix/sysv/linux/kernel-features.h
44087         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44089         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44090         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44092         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44093         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44095         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44096         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44098         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44099         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44101         * sysdeps/unix/sysv/linux/kernel-features.h
44102         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44103         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44104         unconditional.
44105         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44106         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44107         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44108         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44109         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44110         Make code unconditional.
44111         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44112         (__mmap64) [!__NR_mmap2]: Likewise.
44113         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44114         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44115         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44116         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44117         [__NR_mmap2]: Make code unconditional.
44118         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44119         (__mmap64) [!__NR_mmap2]: Likewise.
44121 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44123         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44125 2012-08-18  Andreas Jaeger  <aj@suse.de>
44127         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44129 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44131         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44132         * include/unistd.h (__have_sock_cloexec): Likewise.
44133         (__have_pipe2): Likewise.
44134         (__have_dup3): Likewise.
44136 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44138         [BZ #9685]
44139         * include/unistd.h (__have_pipe2): Change define into an extern int.
44140         (__have_dup3): Likewise.
44141         * socket/have_sock_cloexec.c: Include fcntl.h.
44142         (__have_pipe2): New variable.
44143         (__have_dup3): Likewise.
44145 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44147         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44149 2012-08-17  Marek Polacek  <polacek@redhat.com>
44151         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44152         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44154 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44156         * configure.in: Add AC_SUBST for sysheaders.
44157         * configure: Regenerated.
44158         * config.make.in (sysheaders): New substituted variable.
44160         * sysdeps/unix/mkfifo.c: Moved ...
44161         * sysdeps/posix/mkfifo.c: ... here.
44162         * sysdeps/unix/mkfifoat.c: Moved ...
44163         * sysdeps/posix/mkfifoat.c: ... here.
44165         * sysdeps/unix/utime.c: Moved ...
44166         * sysdeps/posix/utime.c: ... here.
44168         * sysdeps/unix/time.c: Moved ...
44169         * sysdeps/posix/time.c: ... here.
44170         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44171         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44173         * sysdeps/unix/nice.c: Moved ...
44174         * sysdeps/posix/nice.c: ... here.
44176         * sysdeps/unix/alarm.c: Moved ...
44177         * sysdeps/posix/alarm.c: ... here.
44179         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44181 2012-08-17  Jeff Law <law@redhat.com>
44183         * intl/Makefile (codeset_mo): New variable.
44184         ($(codeset_mo)): New target.
44185         (tst-codeset.out): Depend on that.  Remove explicit rule.
44186         (tst-gettext3.out, tst-gettext5.out): Likewise.
44187         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44188         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44189         * intl/tst-codeset.sh: Remove.
44190         * intl/tst-gettext3.sh: Likewise.
44191         * intl/tst-gettext5.sh: Likewise.
44193 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44195         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44196         * sysdeps/unix/syscalls.list: ... here.
44198         * sysdeps/posix/getaddrinfo.c
44199         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44200         (gaiconf_init, gaiconf_reload): Use them.
44201         [!_STATBUF_ST_NSEC]
44202         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44203         Define using time_t rather than struct timespec.
44205         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44206         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44207         Macros removed.
44208         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44209         [!NO_THREADS].
44210         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44211         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44212         Likewise.
44214         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44215         __libc_cleanup_push argument.
44217         * bits/param.h: New file.
44218         * misc/sys/param.h: New file.
44219         * include/sys/param.h: New file.
44220         * misc/Makefile (headers): Add bits/param.h.
44221         * sysdeps/generic/sys/param.h: File removed.
44222         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44223         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44224         * sysdeps/mach/hurd/bits/param.h: New file.
44225         * sysdeps/mach/hurd/sys/param.h: File removed.
44227         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44228         last change.
44230         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44231         [_IO_MTSAFE_IO].
44232         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44233         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44234         New macros.
44236         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44237         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44238         rather than -D_IO_MTSAFE_IO conditionally.
44239         * stdio-common/Makefile (CPPFLAGS): Likewise.
44240         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44241         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44242         Use $(libio-mtsafe).
44243         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44244         of -D_IO_MTSAFE_IO.
44245         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44246         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44247         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44248         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44249         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44250         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44251         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44252         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44253         (CFLAGS-fread_u_chk.c): Likewise.
44254         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44255         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44256         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44257         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44258         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44259         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44260         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44261         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44262         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44264         * libio/Makefile: Test [$(libc-reentrant) = yes]
44265         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44267         * Makeconfig
44268         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44269         * sysdeps/pthread/configure: File removed.
44270         * sysdeps/pthread/Makeconfig: New file.
44271         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44272         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44274 2012-08-16  Gary Benson  <gbenson@redhat.com>
44276         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44277         unmapping the first object in a namespace.
44279 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44281         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44282         (__internal_setnetgrent): ... this.  Add internal_function to
44283         definition.  Add libc_hidden_def.
44284         (setnetgrent): Update caller.
44285         (internal_endnetgrent): Renamed to ...
44286         (__internal_endnetgrent): ... this.  Add internal_function to
44287         definition.  Add libc_hidden_def.
44288         (endnetgrent): Update caller.
44289         (internal_getnetgrent_r): Renamed to ...
44290         (__internal_getnetgrent_r): ... this.  Add internal_function to
44291         definition.  Add libc_hidden_def.
44292         (__getnetgrent_r): Update caller.
44293         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44295 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44297         * stdlib/longlong.h: Update from GCC.
44299 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44301         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44302         on _QL, which is set by umul_ppmm but never used.
44303         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44304         variables, which are set by GMP macros but never used.
44305         * stdio-common/_itowa.c (_itowa): Likewise.
44306         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44307         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44309 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44311         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44312         struct La_sh_regs is not constant.
44313         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44314         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44315         and struct La_sparc64_regs are not constant.
44317 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44319         * sysdeps/unix/sysv/linux/kernel-features.h
44320         (__ASSUME_POSIX_TIMERS): Remove.
44321         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44322         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44323         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44324         Make code unconditional.
44325         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44326         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44327         Make code unconditional.
44328         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44329         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44330         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44331         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44332         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44333         Make code unconditional.
44334         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44335         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44336         (__libc_missing_posix_timers): Remove.
44338 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44340         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44341         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44343         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44345         * elf/dl-sym.c: Include <stdlib.h>.
44347         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44348         constants, which avoids warnings in 32-bit builds.
44350         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44351         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44353         * misc/lseek.c: File moved to ...
44354         * io/lseek.c: ... here.
44356         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44358         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44359         shifting LEN more than 31 bits at once.
44361 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44363         [BZ #14195]
44364         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44365         segmentation fault for a case of two empty input strings.
44366         * string/test-strncasecmp.c (check1): Renamed to...
44367         (bz12205): ...this.
44368         (bz14195): Add new testcase for two empty input strings and N > 0.
44369         (test_main): Call new testcase, adapt for renamed function.
44371 2012-08-15  Andreas Jaeger  <aj@suse.de>
44373         [BZ #14090]
44374         * crypt/md5test2.c: New test, based on test supplied by Serge
44375         Belyshev <belyshev@depni.sinp.msu.ru>.
44376         * crypt/Makefile (xtests): Add md5test-giant..
44377         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44379 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44381         [BZ #14090]
44382         * crypt/md5.c (md5_process_block): Don't assume the buffer
44383         length is less than 2**32.
44384         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44385         length is less than 2**64.
44387 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44389         * string/str-two-way.h: Include <sys/param.h>.
44390         (MAX): Macro removed.
44392         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44393         Move #define and #undef of memmove to just before and after
44394         including <string.h>.
44396         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44397         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44398         and after including <string.h>.  Move declarations of
44399         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44400         to before #include "string/memmove.c".
44402         * include/dirent.h: Declare __getdirentries.
44404         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44405         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44407 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44409         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44410         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44411         * sysdeps/i386/configure: Regenerated.
44412         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44413         STABS_CURRENT_FILE, and STABS_FUN.
44414         (END): Remove call to STABS_FUN_END.
44415         (STABS_CURRENT_FILE1): Delete.
44416         (STABS_CURRENT_FILE): Likewise.
44417         (STABS_FUN): Likewise.
44418         (STABS_FUN_END): Likewise.
44419         (STABS_FUN2): Likewise.
44420         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44421         * sysdeps/x86_64/configure: Regenerated.
44423 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44425         * elf/dl-open.c: Include <atomic.h>.
44426         * elf/dl-lookup.c: Likewise.
44428 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44430         * sysdeps/unix/sysv/linux/kernel-features.h
44431         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44432         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44433         unconditionally.
44434         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44435         unconditionally.
44436         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44437         condition on __ASSUME_CLONE_THREAD_FLAGS.
44439 2012-08-14  Andreas Jaeger  <aj@suse.de>
44441         * sysdeps/i386/fpu/libm-test-ulps: Update.
44443 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44445         * include/atomic.h (atomic_exchange_and_add): Split into ...
44446         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44447         New atomic macros.
44449 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44453 2012-08-13  Jeff Law <law@redhat.com>
44455         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44456         null byte in the output string.
44458 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44460         * sysdeps/unix/sysv/linux/kernel-features.h
44461         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44462         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44463         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44464         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44465         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44466         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44467         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44469 2012-08-09  Jeff Law <law@redhat.com>
44471         [BZ #13939]
44472         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44473         When avoid_arena is set, don't retry in the that arena.  Pick the
44474         next one, whatever it might be.
44475         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44476         (arena_lock): Pass in new parameter to arena_get2.
44477         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44478         arena_get2.
44479         (__libc_malloc): Unify retrying after main arena failure with
44480         __libc_memalign version.
44481         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44483 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44485         [BZ #14166]
44486         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44487         to __redirect_strstr.
44488         (__strstr_sse42): Use typeof __redirect_strstr.
44489         (__strstr_ia32): Likewise.
44490         (__libc_strstr): New prototype.
44491         (strstr): Renamed to ...
44492         (__libc_strstr): This.
44493         (strstr): New strong alias of __libc_strstr.
44494         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44495         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44496         __redirect_time.
44497         Include <time.h>.
44498         (__libc_time): New prototype.
44499         (time_ifunc): Replace time with __libc_time.
44500         (time): New strong alias and hidden definition of __libc_time.
44501         (__GI_time): Remove strong alias.
44502         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44503         Include <stddef.h>.
44504         (memmove): Redefined to __redirect_memmove.
44505         (__memmove_sse2): Use typeof __redirect_memmove.
44506         (__memmove_ssse3): Likewise.
44507         (__memmove_ssse3_back): Likewise.
44508         (__libc_memmove): New prototype.
44509         (memmove): Renamed to ...
44510         (__libc_memmove): This.
44511         (memmove): New strong alias of __libc_memmove.
44513 2012-08-08  Mark Salter  <msalter@redhat.com>
44515         * elf/elf.h
44516         (R_MN10300_TLS_GD): Define.
44517         (R_MN10300_TLS_LD): Likewise.
44518         (R_MN10300_TLS_LDO): Likewise.
44519         (R_MN10300_TLS_GOTIE): Likewise.
44520         (R_MN10300_TLS_IE): Likewise.
44521         (R_MN10300_TLS_LE): Likewise.
44522         (R_MN10300_TLS_DTPMOD): Likewise.
44523         (R_MN10300_TLS_DTPOFF): Likewise.
44524         (R_MN10300_TLS_TPOFF): Likewise.
44525         (R_MN10300_SYM_DIFF): Likewise.
44526         (R_MN10300_ALIGN): Likewise.
44527         (R_MN10300_NUM): Update.
44529 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44532         Remove.
44534 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44536         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44538         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44539         sysdeps/unix -> sysdeps/posix move.
44540         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44542 2012-08-07      Allan McRae     <allan@archlinux.org>
44544         [BZ #14303]
44545         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44546         (SUNOS_CPP): Likewise.
44547         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44548         not found.
44549         (open_input): Call CPP using execvp.
44551 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44553         * sysdeps/unix/sysv/linux/kernel-features.h
44554         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44555         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44556         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44557         (__ASSUME_WAITID_SYSCALL): Likewise.
44558         * sysdeps/unix/sysv/linux/dl-execstack.c
44559         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44560         code unconditional.
44561         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44562         conditional code.
44563         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44564         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44565         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44566         code.
44567         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44568         unconditional.
44569         [__ASSUME_WAITID_SYSCALL]: Likewise.
44570         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44572 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44574         * sysdeps/unix/closedir.c: Renamed to ...
44575         * sysdeps/posix/closedir.c: ... here.
44576         * sysdeps/unix/dirfd.c: Renamed to ...
44577         * sysdeps/posix/dirfd.c: ... here.
44578         * sysdeps/unix/dirstream.h: Renamed to ...
44579         * sysdeps/posix/dirstream.h: ... here.
44580         * sysdeps/unix/fdopendir.c: Renamed to ...
44581         * sysdeps/posix/fdopendir.c: ... here.
44582         * sysdeps/unix/opendir.c: Renamed to ...
44583         * sysdeps/posix/opendir.c: ... here.
44584         * sysdeps/unix/readdir.c: Renamed to ...
44585         * sysdeps/posix/readdir.c: ... here.
44586         * sysdeps/unix/readdir_r.c: Renamed to ...
44587         * sysdeps/posix/readdir_r.c: ... here.
44588         * sysdeps/unix/rewinddir.c: Renamed to ...
44589         * sysdeps/posix/rewinddir.c: ... here.
44590         * sysdeps/unix/seekdir.c: Renamed to ...
44591         * sysdeps/posix/seekdir.c: ... here.
44592         * sysdeps/unix/telldir.c: Renamed to ...
44593         * sysdeps/posix/telldir.c: ... here.
44594         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44595         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44596         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44597         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44599         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44600         * bits/fcntl.h: ... here.
44602         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44603         not 0.
44604         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44605         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44606         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44607         (struct flock): Move l_start, l_len to the beginning.
44608         Use __pid_t for l_pid.
44609         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44610         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44611         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44612         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44613         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44614         [__USE_LARGEFILE64] (struct flock64): New type.
44615         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44617         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44618         * bits/dirent.h: ... here.
44620         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44621         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44623 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44626         Change from 2.6.0 to 2.6.16.
44627         * sysdeps/unix/sysv/linux/configure: Regenerated.
44628         * sysdeps/unix/sysv/linux/kernel-features.h
44629         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44630         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44631         version.
44632         (__ASSUME_UTIMES): Likewise.
44633         (__ASSUME_CLONE_STOPPED): Remove.
44634         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44635         architectures, not kernel version.
44636         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44637         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44638         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44639         (__ASSUME_WAITID_SYSCALL): Likewise.
44640         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44641         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44642         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44643         refer to older versions.
44645 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44647         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44648         Define alphasort64 as an alias.
44649         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44650         Define versionsort64 as an alias.
44651         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44652         Define scandir64 as an alias.
44653         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44654         Define scandirat64 as an alias.
44655         * dirent/alphasort64.c (alphasort64):
44656         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44657         * dirent/versionsort64.c: Likewise.
44658         * dirent/scandir64.c: Likewise.
44659         * dirent/scandirat64.c: Likewise.
44660         * sysdeps/wordsize-64/alphasort.c: File removed.
44661         * sysdeps/wordsize-64/alphasort64.c: File removed.
44662         * sysdeps/wordsize-64/scandir.c: File removed.
44663         * sysdeps/wordsize-64/scandir64.c: File removed.
44664         * sysdeps/wordsize-64/scandirat.c: File removed.
44665         * sysdeps/wordsize-64/scandirat64.c: File removed.
44666         * sysdeps/wordsize-64/versionsort.c: File removed.
44667         * sysdeps/wordsize-64/versionsort64.c: File removed.
44668         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44669         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44670         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44671         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44672         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44673         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44674         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44675         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44677         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44679         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44681         [defined __arch64__ || defined __sparcv9]
44682         (__INO_T_MATCHES_INO64_T): New macro.
44683         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44684         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44685         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44686         * sysdeps/unix/sysv/linux/bits/dirent.h
44687         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44688         (_DIRENT_MATCHES_DIRENT64): New macro.
44690         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44691         Define lockf64 as an alias.
44692         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44693         Define fseeko64 as an alias.
44694         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44695         Define ftello64 as an alias.
44696         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44697         Define _IO_fgetpos64 and fgetpos64 as aliases.
44698         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44699         Define _IO_fsetpos64 and fsetpos64 as aliases.
44700         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44701         Conditionalize body on this.
44702         * libio/fseeko64.c: Likewise.
44703         * libio/ftello64.c: Likewise.
44704         * libio/iofgetpos64.c: Likewise.
44705         * libio/iofsetpos64.c: Likewise.
44706         * sysdeps/wordsize-64/lockf.c: File removed.
44707         * sysdeps/wordsize-64/lockf64.c: File removed.
44708         * sysdeps/wordsize-64/fseeko.c: File removed.
44709         * sysdeps/wordsize-64/fseeko64.c: File removed.
44710         * sysdeps/wordsize-64/ftello.c: File removed.
44711         * sysdeps/wordsize-64/ftello64.c: File removed.
44712         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44713         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44714         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44715         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44716         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44717         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44718         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44719         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44720         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44721         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44723         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44724         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44725         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44727         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44729         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44731         [defined __arch64__ || defined __sparcv9]
44732         (__OFF_T_MATCHES_OFF64_T): New macro.
44733         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44734         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44736         (__OFF_T_MATCHES_OFF64_T): New macro.
44738 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44740         * stdlib/secure-getenv.c (__secure_getenv): Replace
44741         GLIBC_2_16 with GLIBC_2_17.
44743 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44745         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44746         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44748 2012-08-03  David S. Miller  <davem@davemloft.net>
44750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44752 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44754         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44755         Remove.
44756         (__ASSUME_CORRECT_SI_PID): Likewise.
44757         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44758         (__ASSUME_TMPFS_NAME): Likewise.
44759         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44760         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44761         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44762         (HAVE_AUX_SECURE): Make definition unconditional.
44763         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44764         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44766 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44768         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44769         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44770         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44771         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44772         __eloop_threshold instead of SYMLOOP_MAX.
44774         * sysdeps/generic/eloop-threshold.h: New file.
44775         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44776         of MAXSYMLINKS.
44777         * elf/chroot_canon.c (chroot_canon): Likewise.
44779 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44781         [BZ #13717]
44782         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44783         Change to 2.6.0 everywhere.
44784         * sysdeps/unix/sysv/linux/configure: Regenerated.
44785         * sysdeps/unix/sysv/linux/kernel-features.h
44786         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44787         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44788         kernel versions.
44789         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44790         (__ASSUME_FUTEX_REQUEUE): Remove.
44791         (__ASSUME_STATFS64): Define unconditionally.
44792         (__ASSUME_AT_SECURE): Likewise.
44793         (__ASSUME_CORRECT_SI_PID): Likewise.
44794         (__ASSUME_TGKILL): Define without depending on kernel version for
44795         i386.
44796         (__ASSUME_UTIMES): Likewise.
44797         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44798         kernel version.
44799         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44800         (__ASSUME_TMPFS_NAME): Likewise.
44801         * README: Update reference to Linux kernel versions.
44803 2012-08-02  Marek Polacek  <polacek@redhat.com>
44805         [BZ# 14150]
44806         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44807         libc_cv_asm_type_prefix with %.
44808         * configure: Regenerated.
44809         * include/libc-symbols.h: Remove comment about
44810         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44811         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44812         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44813         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44814         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44815         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44816         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44817         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44818         * elf/tst-unique2mod1.c: Likewise.
44819         * elf/tst-unique1mod2.c: Likewise.
44820         * elf/tst-unique1mod1.c: Likewise.
44821         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44822         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44823         Replace ASM_TYPE_DIRECTIVE with .type.
44824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44825         * sysdeps/i386/sysdep.h: Likewise.
44826         * sysdeps/x86_64/sysdep.h: Likewise.
44827         * sysdeps/sh/sysdep.h: Likewise.
44828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44829         Do not define ASM_TYPE_DIRECTIVE.
44830         * sysdeps/powerpc/sysdep.h: Likewise.
44831         * sysdeps/powerpc/powerpc32/sysdep.h:
44832         Replace ASM_TYPE_DIRECTIVE with .type.
44833         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44834         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44835         * sysdeps/i386/fpu/e_powf.S: Likewise.
44836         * sysdeps/i386/fpu/e_expl.S: Likewise.
44837         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44838         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44839         * sysdeps/i386/fpu/e_pow.S: Likewise.
44840         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44841         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44842         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44843         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44844         * sysdeps/i386/fpu/e_log2.S: Likewise.
44845         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44846         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44847         * sysdeps/i386/fpu/e_powl.S: Likewise.
44848         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44849         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44850         * sysdeps/i386/fpu/e_logl.S: Likewise.
44851         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44852         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44853         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44854         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44855         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44856         * sysdeps/i386/fpu/e_log.S: Likewise.
44857         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44858         * sysdeps/i386/fpu/e_logf.S: Likewise.
44859         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44860         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44861         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44862         * sysdeps/i386/fpu/e_log10.S: Likewise.
44863         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44864         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44865         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44866         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44867         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44868         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44869         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44870         * sysdeps/i386/i686/strtok.S: Likewise.
44871         * sysdeps/i386/i386-mcount.S: Likewise.
44872         * sysdeps/i386/strtok.S: Likewise.
44873         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44874         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44875         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44876         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44877         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44878         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44879         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44880         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44881         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44882         * sysdeps/x86_64/_mcount.S: Likewise.
44883         * sysdeps/x86_64/strtok.S: Likewise.
44884         * sysdeps/sh/_mcount.S: Likewise.
44886 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44888         * libio/iofopen.c: Include <fcntl.h>.
44889         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44890         (_IO_fopen64, fopen64): Define as aliases.
44891         * libio/iofopen64.c: Include <fcntl.h>.
44892         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44893         Conditionalize body on this.
44894         * sysdeps/wordsize-64/iofopen.c: File removed.
44895         * sysdeps/wordsize-64/iofopen64.c: File removed.
44897 2012-08-01  Marek Polacek  <polacek@redhat.com>
44899         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44900         Use dlfcn directly instead of a variable.
44901         (binfmt-subdir): Do not define.
44902         (dlfcn): Likewise.
44904 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44907         Remove all definitions.
44908         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44909         <kernel-features.h>.
44910         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44911         (miss_F_GETOWN_EX): Remove all definitions.
44912         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44913         macro definition.
44914         [!__ASSUME_FCNTL64]: Remove conditional code.
44915         [__ASSUME_FCNTL64]: Make code unconditional.
44916         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44917         <kernel-features.h>.
44918         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44919         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44920         (lockf64) [__NR_fcntl64]: Make code unconditional.
44921         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44923         * sysdeps/unix/sysv/linux/kernel-features.h
44924         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44925         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44926         Make code unconditional.
44927         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44928         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44930         [__NR_vfork]: Make code unconditional.
44931         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44932         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44934         [__NR_vfork]: Make code unconditional.
44935         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44936         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44938 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44940         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44941         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44943         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44944         Define mkstemp64 as an alias.
44945         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44946         Define mkstemps64 as an alias.
44947         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44948         Define mkostemp64 as an alias.
44949         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44950         Define mkostemps64 as an alias.
44951         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44952         Conditionalize body on this.
44953         * misc/mkostemp64.c: Likewise.
44954         * misc/mkostemps64.c: Likewise.
44955         * misc/mkstemps64.c: Likewise.
44956         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44957         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44958         * sysdeps/wordsize-64/mkostemp.c: File removed.
44959         * sysdeps/wordsize-64/mkstemp.c: File removed.
44960         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44961         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44962         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44963         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44965         [BZ #14138]
44966         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44967         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44968         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44969         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44971         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44972         compat_symbol macros from <shlib-compat.h> rather than the underlying
44973         default_symbol_version and symbol_version macros, so that DEFAULT
44974         lines in shlib-versions are respected.
44975         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44977 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44979         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44980         Declare with warn_unused_result.
44981         (setgid, setregid, setegid, setresgid): Likewise.
44982         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44983         Likewise.
44984         * WUR-REPORT: Remove set*id functions.
44986 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44988         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44990 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44992         [BZ #10191]
44993         * include/sys/socket.h (__libc_accept, __libc_accept4):
44994         Add attribute_hidden.
44995         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44997         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44998         use of PTR_MANGLE.
44999         * inet/getnetgrent_r.c (setup): Likewise.
45001         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45003 2012-07-31  David S. Miller  <davem@davemloft.net>
45005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45007 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45009         [BZ #13629]
45010         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45011         value between 1.0 and 2.0 and smaller part has absolute value less
45012         than 1.0.
45013         * math/s_clog10.c (__clog10): Likewise.
45014         * math/s_clog10f.c (__clog10f): Likewise.
45015         * math/s_clog10l.c (__clog10l): Likewise.
45016         * math/s_clogf.c (__clogf): Likewise.
45017         * math/s_clogl.c (__clogl): Likewise.
45018         * math/libm-test.inc (clog_test): Add more tests.
45019         (clog10_test): Likewise.
45020         * sysdeps/i386/fpu/libm-test-ulps: Update.
45021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45023 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45025         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45026         Exit with zero in case no suitable GID is found, and write a
45027         message to standard error.
45029 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45031         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45032         rather than to 1.
45033         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45034         (MAXPATHLEN): Removed.
45035         (NOGROUP, NODEV): New macros.
45036         (setbit, clrbit, isset, isclr): New macros.
45037         (howmany, roundup, powerof2): New macros.
45038         (DEV_BSIZE): New macro.
45040         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45041         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45043         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45044         definition on [!__NO_LONG_DOUBLE_MATH].
45046         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45047         PTR_MANGLE and PTR_DEMANGLE.
45049         * socket/accept4.c (accept4): Rename to __libc_accept4.
45050         Define accept4 as a weak alias.
45052         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45053         on [_DIRENT_HAVE_D_TYPE].
45054         * io/ftw.c (ftw_dir): Likewise.
45056         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45058         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45060         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45061         Use the BSD numbers rather than the arbitrary ones we had.
45062         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45063         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45064         (SIGXCPU, SIGXFSZ): New macros.
45065         (_NSIG): Now 32.
45067         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45068         initializer on [_LIBC_REENTRANT].
45070         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45071         definitions inside [_POSIX_MAPPED_FILES].
45073         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45075         * dirent/opendir.c: Include <fcntl.h>.
45077         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45078         (__libc_getspecific): Likewise.
45079         (__libc_key_create): Likewise.
45081         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45082         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45083         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45084         (tmpfile64): Define as alias.
45085         * sysdeps/wordsize-64/tmpfile.c: File removed.
45086         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45088         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45090         * stdio-common/vfscanf.c: Include <stdbool.h>.
45091         * nss/makedb.c: Likewise.
45092         * stdio-common/_i18n_number.h: Likewise.
45093         * argp/argp-help.c: Likewise.
45094         * posix/wordexp.c: Likewise.
45095         * sysdeps/posix/spawni.c: Likewise.
45096         * nss/nss_files/files-initgroups.c: Likewise.
45097         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45098         * nss/nss_files/files-initgroups.c: Likewise.
45099         * nss/nss_db/db-netgrp.c: Likewise.
45100         * nss/nss_db/db-initgroups.c: Likewise.
45101         * io/fchmodat.c: Include <sys/stat.h>.
45103         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45104         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45106         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45107         [HAVE_MMAP].
45109         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45110         Add multiple inclusion protection.
45112 2012-07-27  David S. Miller  <davem@davemloft.net>
45114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45116 2012-07-27  Gary Benson  <gbenson@redhat.com>
45118         [BZ #14298]
45119         * elf/rtld.c: Include <stap-probe.h>.
45120         (dl_main): Added static probes "init_start" and "init_complete".
45121         * elf/dl-load.c: Include <stap-probe.h>.
45122         (lose): Take new parameter "nsid".
45123         Added static probe "map_failed".
45124         (_dl_map_object_from_fd): Pass namespace id to lose.
45125         Added static probe "map_start".
45126         (open_verify): Pass namespace id to lose.
45127         * elf/dl-open.c: Include <stap-probe.h>.
45128         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45129         and "reloc_complete".
45130         * elf/dl-close.c: Include <stap-probe.h>.
45131         (_dl_close_worker): Added static probes "unmap_start" and
45132         "unmap_complete".
45133         * elf/rtld-debugger-interface.txt: New file documenting the above.
45135 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45137         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45138         rather than a string variable.
45139         * sunrpc/rpc_main.c (h_output): Likewise.
45140         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45142 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45144         * inet/check_native.c: New file.
45146 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45148         [BZ #13629]
45149         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45150         if larger part has absolute value 1.0.
45151         * math/s_clog10.c (__clog10): Likewise.
45152         * math/s_clog10f.c (__clog10f): Likewise.
45153         * math/s_clog10l.c (__clog10l): Likewise.
45154         * math/s_clogf.c (__clogf): Likewise.
45155         * math/s_clogl.c (__clogl): Likewise.
45156         * math/libm-test.inc (clog_test): Add more tests.
45157         (clog10_test): Likewise.
45158         * sysdeps/i386/fpu/libm-test-ulps: Update.
45159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45161         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45162         (pltexit): Likewise.
45163         (La_regs): Likewise.
45164         (La_retval): Likewise.
45165         (int_retval): Likewise.
45166         Update #error for removed macros to refer only to definitions in
45167         tst-audit.h.
45168         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45169         macro.
45170         (pltexit): Likewise.
45171         (La_regs): Likewise.
45172         (La_retval): Likewise.
45173         (int_retval): Likewise.
45174         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45175         macro.
45176         (pltexit): Likewise.
45177         (La_regs): Likewise.
45178         (La_retval): Likewise.
45179         (int_retval): Likewise.
45180         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45181         macro.
45182         (pltexit): Likewise.
45183         (La_regs): Likewise.
45184         (La_retval): Likewise.
45185         (int_retval): Likewise.
45186         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45187         macro.
45188         (pltexit): Likewise.
45189         (La_regs): Likewise.
45190         (La_retval): Likewise.
45191         (int_retval): Likewise.
45192         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45193         macro.
45194         (pltexit): Likewise.
45195         (La_regs): Likewise.
45196         (La_retval): Likewise.
45197         (int_retval): Likewise.
45198         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45199         macro.
45200         (pltexit): Likewise.
45201         (La_regs): Likewise.
45202         (La_retval): Likewise.
45203         (int_retval): Likewise.
45204         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45205         macro definitions in tst-audit.h.
45206         * sysdeps/i386/tst-audit.h: New file.
45207         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45208         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45209         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45210         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45211         * sysdeps/sh/tst-audit.h: Likewise.
45212         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45213         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45214         * sysdeps/x86_64/tst-audit.h: Likewise.
45216 2012-07-26  Andreas Jaeger  <aj@suse.de>
45218         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45219         ptrace.
45221         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45222         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45223         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45224         PTRACE_O_MASK.
45225         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45226         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45227         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45229         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45230         value.
45232         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45233         _sigsys.
45234         (si_call_addr, si_syscall, si_arch): Define new macro.
45235         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45236         _sigsys.
45237         (si_call_addr, si_syscall, si_arch): Define new marcro.
45238         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45239         _sigsys.
45240         (si_call_addr, si_syscall, si_arch): Define new macro.
45241         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45242         _sigsys.
45243         (si_call_addr, si_syscall, si_arch): Define new macro.
45245 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45247         [BZ #13717]
45248         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45249         Change to 2.4.21 where previously 2.4.1.
45250         * sysdeps/unix/sysv/linux/configure: Regenerated.
45251         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45252         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45253         Linux kernel version.
45254         (__ASSUME_STD_AUXV): Remove.
45255         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45256         kernel version.
45257         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45258         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45259         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45260         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45261         (__ASSUME_NETLINK_SUPPORT): Likewise.
45262         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45263         (__no_netlink_support): Remove conditional definition.
45264         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45265         Remove.
45266         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45267         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45268         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45269         (if_nameindex_ioctl): Remove.
45270         (if_nameindex_netlink): Do not handle __no_netlink_support.
45271         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45272         code.
45273         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45274         Remove conditional code.
45275         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45276         code.
45277         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45278         unconditional.
45279         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45280         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45281         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45282         Remove.
45283         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45284         [!__ASSUME_STD_AUXV]: Remove conditional code.
45285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45286         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45287         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45289         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45290         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45291         code.
45292         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45294         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45295         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45296         conditional code.
45297         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45299         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45300         code.
45301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45302         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45303         conditional code.
45304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45305         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45306         code unconditional.
45307         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45308         conditional code.
45309         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45310         unconditional.
45311         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45312         conditional code.
45313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45314         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45315         unconditional.
45316         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45317         conditional code.
45318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45319         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45320         code unconditional.
45321         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45322         conditional code.
45323         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45324         unconditional.
45325         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45326         conditional code.
45327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45328         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45329         code unconditional.
45330         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45331         conditional code.
45332         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45333         unconditional.
45334         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45335         conditional code.
45337 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45339         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45340         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45341         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45342         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45343         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45344         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45345         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45346         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45347         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45348         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45349         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45350         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45351         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45352         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45353         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45354         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45355         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45356         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45357         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45359         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45360         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45361         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45363 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45365         * Versions.def: Add GLIBC_2.17.
45366         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45367         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45368         Introduce __libc_secure_getenv.
45369         * stdlib/Versions (2.17): Add secure_getenv
45370         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45371         * stdlib/secure-getenv.c: Rename __secure_getenv to
45372         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45373         symbol __secure_getenv for GLIBC_2.0.
45374         * stdlib/tst-secure-getenv.c: New.
45375         * stdlib/Makefile (tests): Add testcase.
45376         * manual/startup.texi (Environment Access): Document
45377         secure_getenv.
45378         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45379         __libc_secure_getenv.
45380         * inet/ruserpass.c (ruserpass): Likewise.
45381         * malloc/mtrace.c (mtrace): Likewise.
45382         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45383         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45384         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45385         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45386         HAVE_SECURE_GETENV.
45387         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45388         __secure_getenv to __libc_secure_getenv.
45389         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45391         Likewise.
45392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45393         Likewise.
45394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45396         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45402 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45404         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45405         (struct La_i86_retval): Likewise.
45406         (struct La_x86_64_regs): Likewise.
45407         (struct La_x86_64_retval): Likewise.
45408         (struct La_x32_regs): Likewise.
45409         (struct La_x32_retval): Likewise.
45410         (struct La_ppc32_regs): Likewise.
45411         (struct La_ppc32_retval): Likewise.
45412         (struct La_ppc64_regs): Likewise.
45413         (struct La_ppc64_retval): Likewise.
45414         (struct La_sh_regs): Likewise.
45415         (struct La_sh_retval): Likewise.
45416         (struct La_s390_32_regs): Likewise.
45417         (struct La_s390_32_retval): Likewise.
45418         (struct La_s390_64_regs): Likewise.
45419         (struct La_s390_64_retval): Likewise.
45420         (struct La_sparc32_regs): Likewise.
45421         (struct La_sparc32_retval): Likewise.
45422         (struct La_sparc64_regs): Likewise.
45423         (struct La_sparc64_retval): Likewise.
45424         (struct audit_ifaces): Remove architecture-specific pltenter and
45425         pltexit members.
45426         * sysdeps/i386/ldsodefs.h: New file.
45427         * sysdeps/powerpc/ldsodefs.h: Likewise.
45428         * sysdeps/s390/ldsodefs.h: Likewise.
45429         * sysdeps/sh/ldsodefs.h: Likewise.
45430         * sysdeps/sparc/ldsodefs.h: Likewise.
45431         * sysdeps/x86_64/ldsodefs.h: Likewise.
45433 2012-07-25  Marek Polacek  <polacek@redhat.com>
45435         [BZ #6808]
45436         * math/libm-test.inc (yn_test): Add another test.
45437         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45438         to ERANGE when the result is +-Inf.
45439         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45440         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45441         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45442         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45444 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45446         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45447         equal to 0.
45448         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45449         clock_t.
45450         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45452 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45454         * configure.in <sysdeps resolving>: Correct printing
45455         Implies_before.
45456         * configure: Regenerate.
45458 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45460         * math/w_ilogb.c: Include <limits.h>.
45461         * math/w_ilogbl.c: Likewise.
45463 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45465         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45466         va_copy.  Document allowing for unavailable va_copy only as
45467         pre-C99 compatibility.
45468         * manual/string.texi (Copying and Concatenation): Use va_copy
45469         instead of __va_copy in concat example.
45471 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45473         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45474         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45475         it if not null.
45477         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45478         with O_NOLINK passed to __file_name_lookup.
45480         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45481         with O_NOLINK passed to __file_name_lookup.
45483         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45484         negative N or less than NGIDS.
45486         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45487         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45488         enough.  Use memcpy instead of strncpy.
45490 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45492         * elf/Makefile (check-data): Remove.
45493         (localplt.data): New vpath directive.
45494         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45495         instead of $(check-data).
45496         * scripts/data/localplt-generic.data: Move to ...
45497         * sysdeps/generic/localplt.data: ... here.
45498         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45499         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45500         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45502         ... here.
45503         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45505         ... here.
45506         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45508         ... here.
45509         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45511         ... here.
45512         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45514         ... here.
45515         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45517         ... here.
45519 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45521         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45522         PPC32 and PPC64 files.
45523         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45524         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45526 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45528         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45529         __makecontext_ret to ...
45530         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45531         ... here and call exit if uc_link is NULL.  New file.
45532         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45533         __makecontext_ret.S.
45534         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45535         __makecontext_ret to ...
45536         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45537         ... here and call exit if uc_link is NULL.  New file.
45538         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45539         __makecontext_ret.S.
45541 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45543         * elf/elf.h (R_390_IRELATIVE): New definition.
45544         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45545         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45546         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45547         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45548         (elf_machine_lazy_rel): Likewise.
45549         * sysdeps/s390/dl-irel.h: New file.
45550         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45551         * sysdeps/s390/s390-64/memset.S: New asm code.
45552         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45553         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45554         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45555         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45556         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45557         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45558         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45559         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45560         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45561         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45562         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45563         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45564         * sysdeps/s390/s390-32/memset.S: New asm code.
45565         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45567 2012-07-17  Marek Polacek  <polacek@redhat.com>
45569         [BZ #14349]
45570         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45571         * sysdeps/s390/s390-64/configure.in: Likewise.
45572         * sysdeps/sparc/configure.in: Likewise.
45573         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45574         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45575         * sysdeps/i386/configure.in: Likewise.
45576         * sysdeps/x86_64/configure.in: Likewise.
45577         * sysdeps/sh/configure.in: Likewise.
45578         * sysdeps/s390/s390-32/configure: Regenerated.
45579         * sysdeps/s390/s390-64/configure: Likewise.
45580         * sysdeps/x86_64/configure: Likewise.
45581         * sysdeps/sh/configure: Likewise.
45582         * sysdeps/powerpc/powerpc64/configure: Likewise.
45583         * sysdeps/powerpc/powerpc32/configure: Likewise.
45584         * sysdeps/sparc/configure: Likwise.
45585         * sysdeps/i386/configure: Likewise.
45587         * elf/dl-open.c: Comment fixes.
45589 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45591         * Makefile [CXX] (check-data): Remove.
45592         [CXX] (c++-types.data): New vpath directive.
45593         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45594         vpath.  Do not allow for C++ type data being missing.
45595         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45596         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45597         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45598         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45599         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45600         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45601         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45603         ... here.
45604         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45606         ... here.
45607         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45609         ... here.
45610         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45612         ... here.
45613         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45615         ... here.
45616         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45618         ... here.
45619         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45621         ... here.
45622         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45625         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45626         definitions to architecture-specific files.
45627         (TLS_IE): Likewise.
45628         (TLS_LD): Likewise.
45629         (TLS_GD): Likewise.
45630         * sysdeps/i386/tls-macros.h: New file.
45631         * sysdeps/powerpc/tls-macros.h: Likewise.
45632         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45633         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45634         * sysdeps/sh/tls-macros.h: Likewise.
45635         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45636         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45637         * sysdeps/x86_64/tls-macros.h: Likewise.
45639 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45641         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45642         zero value for regular exit case.
45644         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45645         (__start_context): Preserve zero value for regular exit case.
45647 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45648             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45650         * manual/setjmp.texi (setcontext): Clarify normal process
45651         termination when uc_link is the null pointer.
45652         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45653         exit call.
45655 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45657         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45658         preprocessor.  Test for each exception mask separately.
45660 2012-07-16  Andreas Jaeger  <aj@suse.de>
45662         * po/ru.po: Update from translation team.
45664 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45666         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45667         equal to 0.
45668         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45669         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45670         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45671         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45674 2012-07-13  Andreas Jaeger  <aj@suse.de>
45676         * po/fr.po: Update from translation team.
45678 2012-07-12  Marek Polacek  <polacek@redhat.com>
45680         [BZ #14173]
45681         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45682         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45683         loop condition.
45685 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45687         [BZ #13717]
45688         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45689         Change to 2.4.1 where previously 2.4.0.
45690         * sysdeps/unix/sysv/linux/configure: Regenerated.
45691         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45692         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45693         version.
45694         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45695         (__ASSUME_AT_CLKTCK): Remove.
45696         (__ASSUME_AT_PAGESIZE): Likewise.
45697         (__ASSUME_AT_XID): Likewise.
45698         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45699         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45700         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45701         unconditionally.
45702         (HAVE_AUX_PAGESIZE): Likewise.
45703         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45704         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45705         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45707 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45709         [BZ #14307]
45710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45711         the temporary buffer used to invoke __gethostbyname2_r,
45712         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45713         host_data / struct gaih_addrtuple.
45714         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45715         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45716         header file nss/nsswitch.h.
45717         * nss/nsswitch.h (global scope): Add definition of implementation
45718         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45719         resolv/nss_dns/dns-host.c).
45721 2012-07-11  Andreas Jaeger  <aj@suse.de>
45723         * po/fr.po: Update from translation team.
45725         * po/sv.po: Update from translation team
45726         * po/fr.po: Another update from translation team.
45728 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45730         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45731         for subnormals or multiply small sinh result by itself.
45732         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45735 2012-07-11  David S. Miller  <davem@davemloft.net>
45737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45739 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45741         [BZ #14347]
45742         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45743         (INTERNAL_MARK): Shift it here.
45745 2012-07-10  Marek Polacek  <polacek@redhat.com>
45747         [BZ #14151]
45748         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45749         libc_cv_asm_global_directive with .globl.
45750         * configure: Regenerated.
45751         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45752         with .globl.
45753         * sysdeps/i386/configure: Regenerated.
45754         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45755         with .globl.
45756         * sysdeps/x86_64/configure: Regenerated.
45757         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45758         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45759         * elf/tst-unique2mod2.c: Likewise.
45760         * elf/tst-unique2mod1.c: Likewise.
45761         * elf/tst-unique1mod2.c: Likewise.
45762         * elf/tst-unique1mod1.c: Likewise.
45763         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45764         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45765         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45766         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45767         * sysdeps/mach/sysdep.h: Likewise.
45768         * sysdeps/i386/sysdep.h: Likewise.
45769         * sysdeps/i386/i386-mcount.S: Likewise.
45770         * sysdeps/x86_64/_mcount.S: Likewise.
45771         * sysdeps/x86_64/sysdep.h: Likewise.
45772         * sysdeps/sh/_mcount.S: Likewise.
45773         * sysdeps/sh/sysdep.h: Likewise.
45774         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45775         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45776         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45777         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45778         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45779         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45780         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45781         * locale/localeinfo.h: Likewise.
45782         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45783         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45785 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45787         [BZ #14336]
45788         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45789         system".
45790         * manual/message.texi (The Uniforum approach): Likewise.
45791         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45792         (glibc iconv Implementation): Likewise.
45794 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45796         [BZ #14337]
45797         * math/s_clog.c (__clog): Avoid scaling a value down where that
45798         could result in underflow.
45799         * math/s_clog10.c (__clog10): Likewise.
45800         * math/s_clog10f.c (__clog10f): Likewise.
45801         * math/s_clog10l.c (__clog10l): Likewise.
45802         * math/s_clogf.c (__clogf): Likewise.
45803         * math/s_clogl.c (__clogl): Likewise.
45804         * math/libm-test.inc (clog_test): Add more tests.
45805         (clog10_test): Likewise.
45806         * sysdeps/i386/fpu/libm-test-ulps: Update.
45807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45809 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45811         [BZ #14283]
45812         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45813         by 7 not 8 to examine high bit of fractional part.
45815         [BZ #14042]
45816         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45817         for call to __mcount_internal.
45818         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45819         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45820         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45822 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45824         [BZ #14154]
45825         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45826         approximation for values within 0x1p-13f of an odd multiple of
45827         pi/4.
45828         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45829         exception.  Add more tests.
45830         * sysdeps/i386/fpu/libm-test-ulps: Update.
45832         [BZ #6778]
45833         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45834         inputs and return -1 for them.  Do not check for +Inf in case not
45835         reachable for +Inf.
45836         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45837         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45838         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45839         and return -1 for them.  Do not check for +Inf in case not
45840         reachable for +Inf.
45841         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45842         define.
45843         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45844         and return -1 for them.  Do not check for +Inf in case not
45845         reachable for +Inf.
45846         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45847         spurious underflow.
45848         * sysdeps/i386/fpu/libm-test-ulps: Update.
45849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45851 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45853         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45855 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45857         [BZ #14157]
45858         [BZ #14331]
45859         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45860         could result in spurious underflow.  Scale down values above
45861         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45862         * math/s_csqrtf.c (__csqrtf): Likewise.
45863         * math/s_csqrtl.c (__csqrtl): Likewise.
45864         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45865         spurious underflow.
45866         * sysdeps/i386/fpu/libm-test-ulps: Update.
45867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45869 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45871         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45872         xopen-msg.sed.
45873         * catgets/xopen-msg.awk: New file.
45874         * catgets/xopen-msg.sed: Removed.
45876         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45877         po2text.sed.
45878         * intl/po2test.awk: New file.
45879         * intl/po2test.sed: Removed.
45881 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45883         [BZ #14328]
45884         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45885         or multiply small sinh result by itself.
45886         * math/s_ctanf.c (__ctanf): Likewise.
45887         * math/s_ctanh.c (__ctanh): Likewise.
45888         * math/s_ctanhf.c (__ctanhf): Likewise.
45889         * math/s_ctanhl.c (__ctanhl): Likewise.
45890         * math/s_ctanl.c (__ctanl): Likewise.
45891         * math/libm-test.inc (ctan_test_tonearest): New function.
45892         (ctan_test_towardzero): Likewise.
45893         (ctan_test_downward): Likewise.
45894         (ctan_test_upward): Likewise.
45895         (ctanh_test_tonearest): Likewise.
45896         (ctanh_test_towardzero): Likewise.
45897         (ctanh_test_downward): Likewise.
45898         (ctanh_test_upward): Likewise.
45899         (main): Call these new functions.
45900         * sysdeps/i386/fpu/libm-test-ulps: Update.
45901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45903 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45905         * .gitignore: Delete /ports entry.
45907 2012-07-03  Andreas Jaeger  <aj@suse.de>
45909         * po/bg.po: Update from translation team.
45910         * po/cs.po: Likewise.
45911         * po/de.po: Likewise.
45912         * po/hr.po: Likewise.
45913         * po/nl.pl: Likewise.
45914         * po/pl.po: Likewise.
45915         * po/vi.po: Likewise.
45917 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45919         * Makeconfig [!+link] (+link-before-libc): New variable.
45920         [!+link] (+link-after-libc): Likewise.
45921         [!+link] (+link-tests): Likewise.
45922         [!+link] (+link): Define in terms of $(+link-before-libc) and
45923         $(+link-after-libc).
45924         [!+link-static] (+link-static-before-libc): New variable.
45925         [!+link-static] (+link-static-after-libc): Likewise.
45926         [!+link-static] (+link-static-tests): Likewise.
45927         [!+link-static] (+link-static): Define in terms of
45928         $(+link-static-before-libc) and $(+link-static-after-libc).
45929         [build-shared] (link-libc-before-gnulib): New variable.
45930         [build-shared] (link-libc-tests): Likewise.
45931         [build-shared] (link-libc): Define in terms of
45932         $(link-libc-before-gnulib).
45933         [!build-shared] (link-libc-tests): New variable.
45934         (link-libc-static-tests): New variable.
45935         [!gnulib] (gnulib-arch): New variable.
45936         [!gnulib] (gnulib-tests): Likewise.
45937         [!gnulib] (static-gnulib-arch): Likewise.
45938         [!gnulib] (static-gnulib-tests): Likewise.
45939         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45940         Define with "=" instead of ":=".
45941         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45942         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45943         * Rules (binaries-all-notests): New variable.
45944         (binaries-all-tests): Likewise.
45945         (binaries-static-notests): Likewise.
45946         (binaries-static-tests): Likewise.
45947         (binaries-all): Define using $(binaries-all-notests) and
45948         $(binaries-all-tests).
45949         (binaries-static): Define using $(binaries-static-notests) and
45950         $(binaries-static-tests).
45951         (binaries-shared-tests): New variable.
45952         (binaries-shared-notests): Likewise.
45953         (binaries-shared): Remove variable.
45954         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45955         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45956         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45957         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45958         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45959         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45960         * elf/Makefile (sln-modules): New variable.
45961         (extra-objs): Add $(sln-modules:=.o).
45962         (ldconfig-modules): Add static-stubs.
45963         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45964         * elf/static-stubs.c: New file.
45966         [BZ #14283]
45967         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45968         by 7 not 8 to examine high bit of fractional part.  Use volatile
45969         variables when splitting into final array of floats if
45970         __FLT_EVAL_METHOD__ != 0.
45971         * math/libm-test.inc (cos_test): Add another test.
45972         (sin_test): Likewise.
45973         * sysdeps/i386/fpu/libm-test-ulps: Update.
45975         [BZ #14273]
45976         * math/libm-test.inc (cosh_test): Add more tests.
45978         * version.h (RELEASE): Set to "development".
45979         (VERSION): Set to "2.16.90".
45981 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45983         * NEWS: Update copyright. Remove last-updated date.
45984         Mention math library bug fixes and timezone data changes.
45985         * README: Mention GNU/Hurd, x32, and HPPA support status.
45987 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45989         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45991 2012-06-27  Andreas Jaeger  <aj@suse.de>
45993         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45995 2012-06-25  Andreas Jaeger  <aj@suse.de>
45997         * sysdeps/s390/fpu/libm-test-ulps: Update.
45999 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46000             Thomas Schwinge  <thomas@codesourcery.com>
46002         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46003         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46005         fanotify_mark.
46007 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46009         * sysdeps/mach/start.c: Remove file.
46010         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46011         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46012         * sysdeps/sh/init-first.c: Likewise.
46014         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46015         registers for frame unwinding purposes, add CFI directives.
46016         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46017         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46018         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46019         Likewise.
46021         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46022         __fortify_fail returning.
46023         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46025         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46026         sysdeps/sh/____longjmp_chk.S.
46027         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46028         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46029         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46030         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46032         * sysdeps/sh/abort-instr.h: New file.
46033         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46034         process in case exit returns.
46036         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46037         initialize the GOT register before use.
46039         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46040         calculation of ARGC > 4.
46042         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46043         meaningful names to some local labels.
46045 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46046             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46048         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46049         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46050         (__arch_compare_and_exchange_val_16_acq): Likewise.
46051         (__arch_compare_and_exchange_val_32_acq): Likewise.
46052         (atomic_exchange_and_add): Fix gUSA sequence.
46053         (atomic_add): Likewise.
46054         (atomic_add_negative): Likewise.
46055         (atomic_add_zero): Likewise.
46056         (atomic_bit_test_set): Likewise.
46058 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46060         [BZ #13579]
46061         * include/link.h (struct link_map): Add l_free_initfini.
46062         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46063         l_initfini.
46064         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46065         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46066         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46067         set.
46069 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46071         * configure.in: Use AC_LANG_SOURCE.
46072         * configure: Regenerate.
46074 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46076         * configure.in (libc_cv_localstatedir): New substituted variable.
46077         * configure: Regenerated.
46078         * config.make.in (localstatedir): New variable, substituted from
46079         libc_cv_localstatedir.
46080         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46081         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46082         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46083         * sysdeps/gnu/configure: Regenerated.
46085 2012-06-21  Jeff Law  <law@redhat.com>
46087         [BZ #14277]
46088         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46089         free.  Simplify list management for _LIBC case.
46091 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46093         [BZ #14273]
46094         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46095         Clear sign bit of 64-bit integer value before comparing against
46096         overflow value.
46098         * sysdeps/mach/configure: Regenerated.
46100 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46102         [BZ #14278]
46103         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46105 2012-06-21  Jeff Law  <law@redhat.com>
46107         [BZ #13882]
46108         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46109         uint16_t for elements in the "seen" array to avoid char overflows.
46110         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46111         * elf/dl-open.c (dl_open_worker): Likewise.
46113 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46115         * scripts/list-sources.sh: Scan PORTS for translations.
46116         * po/libc.pot: Regenerated.
46118 2012-06-21  Andreas Jaeger  <aj@suse.de>
46120         [BZ #12194]
46121         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46122         warning.
46123         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46124         * bits/byteswap-16.h (__bswap_16): Likewise.
46125         * bits/byteswap.h (__bswap_constant_16): Likewise.
46127 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46129         [BZ #14117]
46130         * sysdeps/i386/fpu_control.h: Removed.
46131         * sysdeps/x86_64/fpu_control.h: Moved to ...
46132         * sysdeps/x86/fpu_control.h: Here.
46134         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46135         (_FPU_SETCW): Likewise.
46137 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46139         [BZ #14117]
46140         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46141         * sysdeps/x86/fpu/bits/mathinline.h: This.
46142         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46144         [BZ #14050]
46145         [BZ #14117]
46146         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46147         functions if __x86_64__ is defined.
46149 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46151         * string/endian.h: Add !__ASSEMBLER__ condition for including
46152         conversion interfaces.
46154 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46156         [BZ #14241]
46157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46158         of ABS(x) in calculating zero to negative powers other than odd
46159         integers.
46160         * math/libm-test.inc (pow_test): Add more tests.
46162 2012-06-15  Andreas Jaeger  <aj@suse.de>
46164         * manual/contrib.texi (Contributors): Update entry of Liubov
46165         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46166         Machado Filho.
46168 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46170         * string/string.h: Add __wur to GNU version of strerror_r.
46172 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46174         [BZ #14229]
46175         * string/Makefile (tests): Add tst-strtok_r.
46176         * string/tst-strtok_r.c: New file.
46177         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46178         RAX_LP/RDX_LP on SAVE_PTR.
46180 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46182         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46184 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46186         * libm_test.inc (csqrt_test): Allow more spurious underflow
46187         exceptions.
46188         (j0_test): Likewise.
46189         (j1_test): Likewise.
46190         (y0_test): Likewise.
46191         (y1_test): Likewise.
46193 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46195         * po/Makefile (libc.pot): Use UTF-8 charset.
46197 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46199         [BZ #14210]
46200         Suppress sign-conversion warning from FD_SET.
46201         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46202         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46203         not unsigned long int.
46204         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46206 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46208         [BZ #14050]
46209         [BZ #14117]
46210         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46211         __extern_always_inline instead of __extern_inline.
46212         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46213         (__signbit): Likewise.
46214         (__signbitl): Support C++ namespace.
46215         (lrintf): New inline function.
46216         (lrint): Likewise.
46217         (llrintf): Likewise.
46218         (llrint): Likewise.
46219         (fmaxf): Likewise.
46220         (fmax): Likewise.
46221         (fminf): Likewise.
46222         (fmin): Likewise.
46223         (rint): Likewise.
46224         (rintf): Likewise.
46225         (ceil): Likewise.
46226         (ceilf): Likewise.
46227         (floor): Likewise.
46228         (floorf): Likewise.
46229         (nearbyint): Likewise.
46230         (nearbyintf): Likewise.
46232 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46234         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46235         non-default versions.
46237 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46239         [BZ #14218]
46240         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46242 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46244         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46245         (FE_UPWARD, FE_DOWNWARD): Don't define.
46246         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46247         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46249         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46250         reading it.
46251         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46252         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46254 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46256         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46257         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46258         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46259         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46261 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46263         [BZ #14117]
46264         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46265         * sysdeps/i386/fpu/Implies: New file.
46266         * sysdeps/x86_64/fpu/Implies: Likewise.
46267         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46268         * sysdeps/x86/fpu/bits/fenv.h: This.
46270         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46271         __SSE_MATH__.
46273 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46275         [BZ #14134]
46276         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46277         character 0xffff that matches the last element of the
46278         conversion table.
46280 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46283         fmodl commit.
46285 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46287         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46288         values higher than 25.6283.
46290 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46292         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46293         subnormal exponent extraction and add some __builtin_expect.
46294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46295         Fix for subnormal mantissa calculation.
46297 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46299         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46300         cpu2 is -1 and errno is not ENOSYS.
46302 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46304         [BZ #14117]
46305         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46306         * sysdeps/x86/bits/string.h: This.
46307         * sysdeps/x86_64/bits/string.h: Removed.
46309         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46310         if not compiling for x86-64, but compiling for >= i486.
46312         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46313         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46315         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46316         New macro from Linux kernel 3.4.0.
46317         (FP_XSTATE_MAGIC2): Likewise.
46318         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46319         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46320         (struct _fpx_sw_bytes): New struct.
46321         (struct _xsave_hdr): Likewise.
46322         (struct _ymmh_state): Likewise.
46323         (struct _xstate): Likewise.
46325         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46326         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46327         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46328         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46329         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46330         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46332         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46333         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46334         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46335         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46336         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46337         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46339 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46341         [BZ #13743]
46342         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46343         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46344         (sysdep_headers): Include sys/platform/ppc.h.
46345         * sysdeps/powerpc/test-gettimebase.c: Test for
46346         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46347         * manual/Makefile (appendices): Include platform.texi.
46348         * manual/contrib.texi (Contributors): Update @node pointers.
46349         * manual/maint.texi (Maintenance): Likewise.
46350         (Platform): New node.
46351         * manual/platform.texi: New file.  Document the new features.
46353 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46354             Jakub Jelinek  <jakub@redhat.com>
46356         [BZ #14188]
46357         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46358         where __builtin_expect is unavailable.
46360 2012-06-03  David S. Miller  <davem@davemloft.net>
46362         * stdlib/longlong.h: Updated from GCC.
46364 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46366         [BZ #14042]
46367         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46368         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46369         __mcount_internal.
46370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46371         (GLIBC_2.16): Likewise.
46373 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46375         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46377 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46380         (default-abi): New variable.
46381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46382         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46383         variable.
46384         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46385         Likewise.
46386         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46387         Likewise.
46388         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46389         Likewise.
46391         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46392         definition.  Document in comment.
46394 2012-06-01  David S. Miller  <davem@davemloft.net>
46396         * stdlib/longlong.h: Updated from GCC.
46398 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46400         [BZ #14117]
46401         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46402         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46403         sys/debugreg.h sys/io.h here.
46404         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46405         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46406         sys/io.h.
46407         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46408         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46409         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46410         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46411         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46412         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46414         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46415         Define only if __x86_64__ is defined.
46417 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46419         [BZ #14048]
46420         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46421         Use int64_t for variable i.
46422         * math/libm-test.inc (fmod_test): Add more tests.
46424         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46425         z computation is not scheduled after fetestexcept.
46426         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46427         Use math_force_eval instead of asm to ensure calculation scheduled
46428         before exception test.
46429         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46430         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46432 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46435         computation is not scheduled after fetestexcept.
46437 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46439         [BZ #14117]
46440         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46441         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46443 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46445         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46446         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46448 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46450         [BZ #14117]
46451         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46452         <bits/wordsize.h>.
46453         (__WCHAR_MIN): Support __WORDSIZE == 64.
46454         (__WCHAR_MAX): Likewise.
46456         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46457         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46459         [BZ #14183]
46460         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46461         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46463         [BZ #14117]
46464         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46465         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46467         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46468         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46470         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46471         Defined to 1 if __x86_64__ isn't defined.
46472         (_STAT_VER_LINUX_OLD): New.
46473         (st_atime): Remove duplicate.
46474         (st_mtime): Likewise.
46475         (st_ctime): Likewise.
46477 2012-05-31  David S. Miller  <davem@davemloft.net>
46479         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46480         entries.
46482 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46484         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46485         gen-libm-test.pl.
46487         [BZ #14132]
46488         * elf/dl-reloc.c: Include <_itoa.h>.
46489         (_dl_reloc_bad_type): Remove use of INTUSE.
46490         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46491         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46492         * stdio-common/psiginfo.c (psiginfo): Likewise.
46493         * stdio-common/psignal.c (psignal): Likewise.
46494         * string/strsignal.c (strsignal): Likewise.
46495         * include/signal.h (_sys_siglist): Declare hidden proto.
46496         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46497         INTVARDEF with libc_hidden_data_def.
46498         * stdio-common/itoa-udigits.c: Likewise.
46499         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46500         (_itoa_lower_digits_internal): Remove declaration.
46501         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46502         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46503         (_sys_sigabbrev_internal): Remove aliases.
46504         (_sys_siglist): Define hidden alias.
46506 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46509         bits/sysctl.h.
46511 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46513         [BZ #14117]
46514         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46515         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46517         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46518         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46519         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46520         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46521         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46522         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46524         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46525         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46526         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46528         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46529         with __addr.
46530         (insw): Likewise.
46531         (insl): Likewise.
46532         (outsb): Likewise.
46533         (outsw): Likewise.
46534         (outsl): Likewise.
46536         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46537         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46538         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46540         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46541         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46542         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46543         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46544         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46545         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46547         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46548         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46550         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46551         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46553         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46554         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46555         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46557         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46558         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46559         to ...
46560         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46562         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46563         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46564         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46566         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46567         for x86-64.
46568         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46570 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46572         * math/math.h (M_El): Use two more decimal places.
46573         (M_LOG2El): Likewise.
46574         (M_LOG10El): Likewise.
46575         (M_LN2l): Likewise.
46576         (M_LN10l): Likewise.
46577         (M_PIl): Likewise.
46578         (M_PI_2l): Likewise.
46579         (M_PI_4l): Likewise.
46580         (M_1_PIl): Likewise.
46581         (M_2_PIl): Likewise.
46582         (M_2_SQRTPIl): Likewise.
46583         (M_SQRT2l): Likewise.
46584         (M_SQRT1_2l): Likewise.
46586 2012-05-31  David S. Miller  <davem@davemloft.net>
46588         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46589         values between float registers.
46590         * sysdeps/sparc/sparc64/memset.S: Likewise.
46591         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46593 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46595         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46596         -D_FORTIFY_SOURCE=1.
46597         (CPPFLAGS-tst-longjmp_chk.c): Define.
46598         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46599         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46600         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46601         CFLAGS-tst-wchar-h.c.
46603 2012-05-31  Marek Polacek  <polacek@redhat.com>
46605         [BZ #14132]
46606         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46607         __endmntent_internal): Remove declaration.
46608         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46609         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46610         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46612 2012-05-30  David S. Miller  <davem@davemloft.net>
46614         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46615         (___Q_simulate_exceptions): Use real FP ops rather than writing
46616         into the %fsr.
46617         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46618         Likewise.
46620 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46622         [BZ #14117]
46623         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46624         * sysdeps/x86/bits/xtitypes.h: This.
46626         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46627         * sysdeps/x86/bits/wordsize.h: This.
46629         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46630         * sysdeps/x86/bits/huge_vall.h: This.
46632         * sysdeps/i386/bits/select.h: Removed.
46633         * sysdeps/x86_64/bits/select.h: Renamed to ...
46634         * sysdeps/x86/bits/select.h: This.
46636         * sysdeps/i386/bits/setjmp.h: Removed.
46637         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46638         * sysdeps/x86/bits/setjmp.h: This.
46640         * sysdeps/i386/bits/mathdef.h: Removed.
46641         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46642         * sysdeps/x86/bits/mathdef.h: This.
46644 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46646         [BZ #14132]
46647         * include/sys/socket.h (__connect_internal)
46648         (__libc_sa_len_internal): Remove declaration.
46649         (__connect, __libc_sa_len): Declare hidden_proto.
46650         (SA_LEN): Remove use of INTUSE.
46651         * socket/connect.c: Add libc_hidden_def.
46652         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46653         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46654         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46655         alias.
46656         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46657         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46658         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46659         of adding _internal alias.
46661 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46663         [BZ #14117]
46664         * sysdeps/i386/bits/link.h: Removed.
46665         * sysdeps/i386/bits/linkmap.h: Likewise.
46666         * sysdeps/x86_64/bits/link.h: Renamed to ...
46667         * sysdeps/x86/bits/link.h: This.
46668         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46669         * sysdeps/x86/bits/linkmap.h: This.
46671         * sysdeps/i386/bits/endian.h: Removed.
46672         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46673         * sysdeps/x86/bits/endian.h: This.
46675         * sysdeps/i386/bits/byteswap.h: Removed.
46676         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46677         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46678         * sysdeps/x86/bits/byteswap.h: This.
46679         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46680         * sysdeps/x86/bits/byteswap-16.h: This.
46681         * sysdeps/i386/Implies: Add x86.
46682         * sysdeps/x86_64/Implies: Likewise.
46684 2012-05-30  David S. Miller  <davem@davemloft.net>
46686         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46687         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46688         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46689         (FP_TRAPPING_EXCEPTIONS): Define.
46690         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46691         (FP_TRAPPING_EXCEPTIONS): Define.
46692         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46693         subnormals only when inexact has been signalled or underflow
46694         exceptions are enabled.
46695         (_FP_PACK_CANONICAL): Likewise.
46697 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46699         [BZ #14183]
46700         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46701         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46703 2012-05-30  Richard Henderson  <rth@twiddle.net>
46705         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46706         with #ifndef NOT_IN_libc.
46708         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46709         marked to avoid plt entry.
46711 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46713         [BZ #14112]
46714         * Makeconfig (default-abi): New macro.
46715         (abi-includes): Likewise.
46716         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46717         $(abi-$(default-abi)-lib-soname) for soname if defined.
46718         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46719         abi-variants.
46720         * Makefile (installed-stubs): Likewise.
46721         * include/stubs-biarch.h: Removed.
46722         * scripts/lib-names.awk: Only handle one library at a time.
46723         * scripts/soversions.awk: Remove WORDSIZE support.
46724         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46725         entries.
46726         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46727         Removed.
46728         (syscall-list-default-condition): Likewise.
46729         (syscall-list-default-condition): Likewise.
46730         (syscall-list-includes): Likewise.
46731         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46732         syscall-list-* with abi-*.  Handle undefined abi-variants.
46733         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46734         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46735         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46736         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46737         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46738         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46739         Removed.
46740         (syscall-list-32-options): Likewise.
46741         (syscall-list-32-condition): Likewise.
46742         (syscall-list-64-options): Likewise.
46743         (syscall-list-64-condition): Likewise.
46744         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46745         macro.
46746         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46747         Renamed to ...
46748         (abi-*): This.
46749         (abi-64-ld-soname): New macro.
46750         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46751         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46752         Renamed to ...
46753         (abi-*): This.
46754         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46755         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46757 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46759         * sysdeps/unix/sysv/linux/kernel-features.h
46760         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46761         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46762         include <kernel-features.h>.
46763         [!__NR_ftruncate64]: Remove conditional code.
46764         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46765         [__NR_ftruncate64]: Make code unconditional.
46766         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46767         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46768         include <kernel-features.h>.
46769         [!__NR_ftruncate64]: Remove conditional code.
46770         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46771         [__NR_ftruncate64]: Make code unconditional.
46772         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46774         include <kernel-features.h>.
46775         [!__NR_ftruncate64]: Remove conditional code.
46776         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46777         [__NR_ftruncate64]: Make code unconditional.
46778         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46780         include <kernel-features.h>.
46781         [!__NR_ftruncate64]: Remove conditional code.
46782         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46783         [__NR_ftruncate64]: Make code unconditional.
46784         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46786         * configure.in (libc_cv_fpie): Weaken to a compile test using
46787         LIBC_TRY_CC_OPTION.
46788         * configure: Regenerated.
46790 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46796         Refreshed.
46797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46803         Refreshed.
46805 2012-05-27  David S. Miller  <davem@davemloft.net>
46807         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46808         (___Q_zero): New.
46809         (__Q_simulate_exceptions): Return void.  Change to simulate
46810         exceptions by writing into the %fsr.
46811         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46812         (__Qp_handle_exceptions): Likewise.
46813         (numbers): Delete.
46814         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46815         __Qp_handle_exceptions.
46816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46817         __Qp_handle_exceptions.
46818         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46819         as unused and give dummy FP_RND_NEAREST initializer.
46820         (FP_INHIBIT_RESULTS): Define.
46821         (___Q_simulate_exceptions): Update declaration.
46822         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46823         formatting.
46824         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46825         as unused and give dummy FP_RND_NEAREST initializer.
46826         (__Qp_handle_exceptions): Update declaration.
46827         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46828         formatting.
46830 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46832         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46833         the temporary FPU control word.
46834         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46835         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46836         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46837         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46838         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46839         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46840         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46841         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46842         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46843         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46844         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46846 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46848         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46849         fields.
46851 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46853         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46854         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46855         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46856         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46857         Likewise.
46858         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46859         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46860         Likewise.
46862 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46864         * po/h.po: Update from translation team.
46866 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46868         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46870         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46871         handling of denormals.
46872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46873         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46874         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46875         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46879         Likewise.
46881 2012-05-26  Marek Polacek  <polacek@redhat.com>
46883         [BZ #14152]
46884         * math/libm-test.inc (fma_test): Don't always expect underflow
46885         exception.
46887 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46889         [BZ #12416]
46890         * elf/tst-execstack.c: Include stackinfo.h.
46891         (do_test): Adjust test case to ensure that pthread_getattr_np
46892         behaviour remains the same after marking stack executable.
46894 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46896         * sysdeps/unix/sysv/linux/kernel-features.h
46897         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46898         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46899         kernel-features.h.
46900         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46901         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46902         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46903         kernel-features.h.
46904         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46905         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46907 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46909         * configure.in: Define the default includes to being none.
46910         * configure: Regenerated.
46912 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46914         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46915         * sysdeps/x86_64/setjmp.S: Likewise.
46916         * sysdeps/i386/bsd-setjmp.S: Likewise.
46917         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46918         * sysdeps/i386/setjmp.S: Likewise.
46919         * sysdeps/i386/__longjmp.S: Likewise.
46920         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46921         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46923         * include/stap-probe.h: New file.
46924         * configure.in: Handle --enable-systemtap.
46925         * configure: Regenerated.
46926         * config.h.in (USE_STAP_PROBE): New #undef.
46927         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46928         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46929         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46931 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46933         [BZ #13717]
46934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46935         to 2.4.0 where earlier.
46936         * sysdeps/unix/sysv/linux/configure: Regenerated.
46937         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46938         <kernel-features.h>.
46939         [__ASSUME_32BITUIDS]: Make code unconditional.
46940         [!__ASSUME_32BITUIDS]: Remove conditional code.
46941         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46942         <kernel-features.h>.
46943         [__ASSUME_32BITUIDS]: Make code unconditional.
46944         [!__ASSUME_32BITUIDS]: Remove conditional code.
46945         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46946         [__ASSUME_32BITUIDS]: Make code unconditional.
46947         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46948         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46949         <kernel-features.h>.
46950         [__ASSUME_32BITUIDS]: Make code unconditional.
46951         [!__ASSUME_32BITUIDS]: Remove conditional code.
46952         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46953         <kernel-features.h>.
46954         [__ASSUME_32BITUIDS]: Make code unconditional.
46955         [!__ASSUME_32BITUIDS]: Remove conditional code.
46956         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46957         <kernel-features.h>.
46958         [__ASSUME_32BITUIDS]: Make code unconditional.
46959         [!__ASSUME_32BITUIDS]: Remove conditional code.
46960         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46961         <kernel-features.h>.
46962         [__ASSUME_32BITUIDS]: Make code unconditional.
46963         [!__ASSUME_32BITUIDS]: Remove conditional code.
46964         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46965         <kernel-features.h>.
46966         [__ASSUME_32BITUIDS]: Make code unconditional.
46967         [!__ASSUME_32BITUIDS]: Remove conditional code.
46968         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46969         <kernel-features.h>.
46970         [__ASSUME_32BITUIDS]: Make code unconditional.
46971         [!__ASSUME_32BITUIDS]: Remove conditional code.
46972         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46973         <kernel-features.h>.
46974         [__ASSUME_32BITUIDS]: Make code unconditional.
46975         [!__ASSUME_32BITUIDS]: Remove conditional code.
46976         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46977         <kernel-features.h>.
46978         [__ASSUME_32BITUIDS]: Make code unconditional.
46979         [!__ASSUME_32BITUIDS]: Remove conditional code.
46980         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46981         <kernel-features.h>.
46982         [__ASSUME_32BITUIDS]: Make code unconditional.
46983         [!__ASSUME_32BITUIDS]: Remove conditional code.
46984         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46985         <kernel-features.h>.
46986         [__ASSUME_32BITUIDS]: Make code unconditional.
46987         [!__ASSUME_32BITUIDS]: Remove conditional code.
46988         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46989         <kernel-features.h>.
46990         [__NR_setresgid] (__setresgid): Do not declare.
46991         [__ASSUME_32BITUIDS]: Make code unconditional.
46992         [!__ASSUME_32BITUIDS]: Remove conditional code.
46993         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46994         <kernel-features.h>.
46995         [__NR_setresuid] (__setresuid): Do not declare.
46996         [__ASSUME_32BITUIDS]: Make code unconditional.
46997         [!__ASSUME_32BITUIDS]: Remove conditional code.
46998         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46999         <kernel-features.h>.
47000         [__ASSUME_32BITUIDS]: Make code unconditional.
47001         [!__ASSUME_32BITUIDS]: Remove conditional code.
47002         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47003         <kernel-features.h>.
47004         [__ASSUME_32BITUIDS]: Make code unconditional.
47005         [!__ASSUME_32BITUIDS]: Remove conditional code.
47006         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47007         <kernel-features.h>.
47008         [__ASSUME_32BITUIDS]: Make code unconditional.
47009         [!__ASSUME_32BITUIDS]: Remove conditional code.
47010         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47011         <kernel-features.h>.
47012         [__ASSUME_32BITUIDS]: Make code unconditional.
47013         [!__ASSUME_32BITUIDS]: Remove conditional code.
47014         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47015         <kernel-features.h>.
47016         [__ASSUME_32BITUIDS]: Make code unconditional.
47017         [!__ASSUME_32BITUIDS]: Remove conditional code.
47018         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47019         <kernel-features.h>.
47020         [__ASSUME_32BITUIDS]: Make code unconditional.
47021         [!__ASSUME_32BITUIDS]: Remove conditional code.
47022         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47023         <kernel-features.h>.
47024         [__ASSUME_32BITUIDS]: Make code unconditional.
47025         [!__ASSUME_32BITUIDS]: Remove conditional code.
47026         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47027         <kernel-features.h>.
47028         [__ASSUME_32BITUIDS]: Make code unconditional.
47029         [!__ASSUME_32BITUIDS]: Remove conditional code.
47030         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47031         <kernel-features.h>.
47032         [__ASSUME_32BITUIDS]: Make code unconditional.
47033         [!__ASSUME_32BITUIDS]: Remove conditional code.
47034         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47035         <kernel-features.h>.
47036         [__ASSUME_32BITUIDS]: Make code unconditional.
47037         [!__ASSUME_32BITUIDS]: Remove conditional code.
47038         * sysdeps/unix/sysv/linux/kernel-features.h
47039         (__ASSUME_SETRESUID_SYSCALL): Remove.
47040         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47041         (__ASSUME_32BITUIDS): Likewise.
47042         (__ASSUME_LDT_WORKS): Likewise.
47043         (__ASSUME_O_DIRECTORY): Likewise.
47044         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47045         architecture but not kernel version.
47046         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47047         (__ASSUME_MMAP2_SYSCALL): Likewise.
47048         (__ASSUME_STAT64_SYSCALL): Likewise.
47049         (__ASSUME_IPC64): Likewise.
47050         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47051         <kernel-features.h>.
47052         [__ASSUME_32BITUIDS]: Make code unconditional.
47053         [!__ASSUME_32BITUIDS]: Remove conditional code.
47054         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47055         <kernel-features.h>.
47056         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47057         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47058         132096]: Remove conditional code.
47059         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47060         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47061         <kernel-features.h>.
47062         [__ASSUME_32BITUIDS]: Make code unconditional.
47063         [!__ASSUME_32BITUIDS]: Remove conditional code.
47064         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47065         <kernel-features.h>.
47066         [__ASSUME_32BITUIDS]: Make code unconditional.
47067         [!__ASSUME_32BITUIDS]: Remove conditional code.
47068         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47069         <kernel-features.h>.
47070         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47071         unconditional.
47072         (__setresgid): Do not declare.
47073         [__ASSUME_32BITUIDS]: Make code unconditional.
47074         [!__ASSUME_32BITUIDS]: Remove conditional code.
47075         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47076         <kernel-features.h>.
47077         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47078         unconditional.
47079         (__setresuid): Do not declare.
47080         [__ASSUME_32BITUIDS]: Make code unconditional.
47081         [!__ASSUME_32BITUIDS]: Remove conditional code.
47082         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47083         <kernel-features.h>.
47084         [__ASSUME_32BITUIDS]: Make code unconditional.
47085         [!__ASSUME_32BITUIDS]: Remove conditional code.
47086         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47087         <kernel-features.h>.
47088         [__ASSUME_32BITUIDS]: Make code unconditional.
47089         [!__ASSUME_32BITUIDS]: Remove conditional code.
47091 2012-05-25  Richard Henderson  <rth@twiddle.net>
47093         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47094         dl_hwcap to ifunc resolver.
47095         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47096         elf_ifunc_invoke.
47097         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47098         dl_hwcap to ifunc resolver.
47099         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47101 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47103         [BZ #14153]
47104         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47105         for |x| <= 2**-26, not 2**-57.
47106         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47107         exception.
47109 2012-05-24  Jeff Law  <law@redhat.com>
47111         * stdio-common/Makefile (tests): Add bug25.
47112         * stdio-common/bug25.c: New test.
47114 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47116         [BZ #13576]
47117         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47118         multiple of MALLOC_ALIGNMENT in size.
47119         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47121 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47123         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47124         Require >= 256.
47125         (FILENAME_MAX): Use macro-int-constant.
47126         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47127         (_IOFBF): Use macro-int-constant.
47128         (_IOLBF): Likewise.
47129         (_IONBF): Likewise.
47130         (SEEK_CUR): Likewise.
47131         (SEEK_END): Likewise.
47132         (SEEK_SET): Likewise.
47133         (TMP_MAX): Likewise.
47134         (EOF): Use macro-int-constant.  Require < 0.
47135         (NULL): Use macro-constant.  Require == 0.
47136         (stdin): Require type to be FILE *.
47137         (stdout): Likewise.
47138         (stderr): Likewise.
47139         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47140         macro-int-constant.
47141         (EXIT_SUCCESS): Likewise.
47142         (NULL): Use macro-constant.  Require == 0.
47143         (RAND_MAX): Use macro-int-constant.
47144         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47145         [C99-based standards] (strtof): Require function.
47146         [C99-based standards] (strtold): Likewise.
47147         [C99-based standards] (strtoll): Likewise.
47148         [C99-based standards] (strtoull): Likewise.
47149         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47150         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47151         [ISO || ISO99 || ISO11] (math.h): Likewise.
47152         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47153         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47154         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47156 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47158         [BZ #14132]
47159         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47160         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47161         * intl/dgettext.c (DCGETTEXT): Likewise.
47162         * intl/gettext.c (DCGETTEXT): Likewise.
47163         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47164         * posix/regex_internal.h (gettext): Likewise.
47165         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47166         Remove declaration.
47167         * include/argz.h (__argz_count_internal)
47168         (__argz_stringify_internal): Remove declaration.
47169         (__argz_count, __argz_stringify): Declare hidden proto.
47170         * intl/dcgettext.c: Remove use of INTDEF.
47171         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47172         * string/argz-stringify.c: Likewise.
47173         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47174         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47175         Declare hidden proto.
47176         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47177         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47178         Declare hidden proto.
47179         * include/stdio.h (__asprintf_internal): Don't declare.
47180         (__asprintf): Don't define as macro.  Declare hidden proto.
47181         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47182         (__fsetlocking): Declare hidden proto.
47183         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47184         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47185         hidden proto.
47186         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47187         (_IO_setlinebuf): Remove use of INTUSE.
47188         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47189         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47190         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47191         Remove declaration.
47192         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47193         (_IO_do_flush): Remove use of INTUSE.
47194         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47195         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47196         (_IO_adjust_column, _IO_least_wmarker)
47197         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47198         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47199         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47200         (_IO_default_doallocate, _IO_wdefault_doallocate)
47201         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47202         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47203         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47204         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47205         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47206         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47207         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47208         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47209         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47210         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47211         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47212         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47213         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47214         proto.
47215         (_IO_flush_all_internal, _IO_adjust_column_internal)
47216         (_IO_default_uflow_internal, _IO_default_finish_internal)
47217         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47218         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47219         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47220         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47221         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47222         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47223         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47224         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47225         (_IO_file_close_internal, _IO_file_close_it_internal)
47226         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47227         (_IO_file_init_internal, _IO_file_attach_internal)
47228         (_IO_file_fopen_internal, _IO_file_read_internal)
47229         (_IO_file_sync_internal, _IO_file_seek_internal)
47230         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47231         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47232         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47233         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47234         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47235         (_IO_list_all_internal, _IO_link_in_internal)
47236         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47237         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47238         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47239         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47240         (_IO_do_write_internal, _IO_padn_internal)
47241         (_IO_getline_info_internal, _IO_getline_internal)
47242         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47243         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47244         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47245         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47246         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47247         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47248         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47249         with libc_hidden_ver, remove use of INTUSE.
47250         * libio/genops.c: Likewise.
47251         * libio/freopen.c: Likewise.
47252         * libio/freopen64.c: Likewise.
47253         * libio/iofclose.c: Likewise.
47254         * libio/iofdopen.c: Likewise.
47255         * libio/iofflush.c: Likewise.
47256         * libio/iofflush_u.c: Likewise.
47257         * libio/iofgets.c: Likewise.
47258         * libio/iofgets_u.c: Likewise.
47259         * libio/iofopen.c: Likewise.
47260         * libio/iofopncook.c: Likewise.
47261         * libio/iofread.c: Likewise.
47262         * libio/iofread_u.c: Likewise.
47263         * libio/ioftell.c: Likewise.
47264         * libio/iofwrite.c: Likewise.
47265         * libio/iogetline.c: Likewise.
47266         * libio/iogets.c: Likewise.
47267         * libio/iogetwline.c: Likewise.
47268         * libio/iopadn.c: Likewise.
47269         * libio/iopopen.c: Likewise.
47270         * libio/ioseekoff.c: Likewise.
47271         * libio/ioseekpos.c: Likewise.
47272         * libio/iosetbuffer.c: Likewise.
47273         * libio/iosetvbuf.c: Likewise.
47274         * libio/ioungetc.c: Likewise.
47275         * libio/ioungetwc.c: Likewise.
47276         * libio/iovdprintf.c: Likewise.
47277         * libio/iovsprintf.c: Likewise.
47278         * libio/iovsscanf.c: Likewise.
47279         * libio/memstream.c: Likewise.
47280         * libio/obprintf.c: Likewise.
47281         * libio/oldfileops.c: Likewise.
47282         * libio/oldiofclose.c: Likewise.
47283         * libio/oldiofdopen.c: Likewise.
47284         * libio/oldiofopen.c: Likewise.
47285         * libio/oldiopopen.c: Likewise.
47286         * libio/oldstdfiles.c: Likewise.
47287         * libio/putc.c: Likewise.
47288         * libio/setbuf.c: Likewise.
47289         * libio/setlinebuf.c: Likewise.
47290         * libio/stdfiles.c: Likewise.
47291         * libio/strops.c: Likewise.
47292         * libio/vasprintf.c: Likewise.
47293         * libio/vscanf.c: Likewise.
47294         * libio/vsnprintf.c: Likewise.
47295         * libio/vswprintf.c: Likewise.
47296         * libio/wfiledoalloc.c: Likewise.
47297         * libio/wfileops.c: Likewise.
47298         * libio/wgenops.c: Likewise.
47299         * libio/wmemstream.c: Likewise.
47300         * libio/wstrops.c: Likewise.
47301         * libio/__fpurge.c: Likewise.
47302         * libio/__fsetlocking.c: Likewise.
47303         * assert/assert.c: Likewise.
47304         * debug/fgets_chk.c: Likewise.
47305         * debug/fgets_u_chk.c: Likewise.
47306         * debug/fread_chk.c: Likewise.
47307         * debug/fread_u_chk.c: Likewise.
47308         * debug/gets_chk.c: Likewise.
47309         * debug/obprintf_chk.c: Likewise.
47310         * debug/vasprintf_chk.c: Likewise.
47311         * debug/vdprintf_chk.c: Likewise.
47312         * debug/vsnprintf_chk.c: Likewise.
47313         * debug/vsprintf_chk.c: Likewise.
47314         * malloc/mtrace.c: Likewise.
47315         * misc/error.c: Likewise.
47316         * misc/syslog.c: Likewise.
47317         * stdio-common/asprintf.c: Likewise.
47318         * stdio-common/fxprintf.c: Likewise.
47319         * stdio-common/getw.c: Likewise.
47320         * stdio-common/isoc99_fscanf.c: Likewise.
47321         * stdio-common/isoc99_scanf.c: Likewise.
47322         * stdio-common/isoc99_vfscanf.c: Likewise.
47323         * stdio-common/isoc99_vscanf.c: Likewise.
47324         * stdio-common/isoc99_vsscanf.c: Likewise.
47325         * stdio-common/printf-prs.c: Likewise.
47326         * stdio-common/printf_fp.c: Likewise.
47327         * stdio-common/printf_fphex.c: Likewise.
47328         * stdio-common/printf_size.c: Likewise.
47329         * stdio-common/putw.c: Likewise.
47330         * stdio-common/scanf.c: Likewise.
47331         * stdio-common/sprintf.c: Likewise.
47332         * stdio-common/tmpfile.c: Likewise.
47333         * stdio-common/vfprintf.c: Likewise.
47334         * stdio-common/vfscanf.c: Likewise.
47335         * stdlib/strfmon_l.c: Likewise.
47336         * sunrpc/openchild.c: Likewise.
47337         * sunrpc/xdr_stdio.c: Likewise.
47338         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47339         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47341 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47343         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47345         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47346         in the third column, to generate for the shared library an IFUNC
47347         that uses _dl_vdso_vsym.
47348         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47349         * Makeconfig (object-suffixes-noshared): New variable.
47351         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47352         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47353         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47354         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47356         [BZ #14132]
47357         * include/sys/time.h (__gettimeofday): Remove macro.
47358         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47359         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47360         Remove INTDEF.
47361         (__gettimeofday): Add libc_hidden_def.
47362         (gettimeofday): Add libc_hidden_weak.
47363         * sysdeps/mach/gettimeofday.c: Likewise.
47364         * sysdeps/posix/gettimeofday.c: Likewise.
47365         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47366         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47367         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47368         (__gettimeofday_internal): Remove strong_alias.
47369         (__gettimeofday): Add libc_hidden_def.
47370         (gettimeofday): Add libc_hidden_weak.
47371         * sysdeps/unix/syscalls.list (gettimeofday):
47372         Remove __gettimeofday_internal alias.
47374 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47375             H.J. Lu  <hongjiu.lu@intel.com>
47377         [BZ #12495]
47378         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47379         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47380         (largebin_index_32_big): New.
47381         (largebin_index): Use it for 16-byte alignment.
47382         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47383         correction with front_misalign.
47385 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47389         Likewise.
47390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47391         Likewise.
47392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47393         Likewise.
47394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47395         Likewise.
47396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47397         Likewise.
47398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47399         Likewise.
47400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47401         Likewise.
47402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47403         Likewise.
47404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47405         Likewise.
47406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47407         Likewise.
47408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47409         Likewise.
47410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47411         Likewise.
47413         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47414         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47416 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47418         [BZ #10846]
47419         [BZ #14036]
47420         * math/libm-test.inc (exp_test): Add test from bug 14036.
47421         (pow_test): Add test from bug 10846.
47423         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47424         and other flags.
47425         (special_function): Do not include flags in test name.
47426         (parse_args): Likewise.
47427         * sysdeps/i386/fpu/libm-test-ulps: Update.
47428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47429         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47430         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47433         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47434         exceptions.
47435         * math/libm-test.inc ("Philosophy"): Update comment about
47436         exception testing.
47437         (UNDERFLOW_EXCEPTION): New macro.
47438         (UNDERFLOW_EXCEPTION_OK): Likewise.
47439         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47440         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47441         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47442         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47443         (INVALID_EXCEPTION_OK): Update value.
47444         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47445         (OVERFLOW_EXCEPTION_OK): Likewise.
47446         (IGNORE_ZERO_INF_SIGN): Likewise.
47447         (test_exceptions): Handle underflow exceptions.
47448         (acos_test): Update for underflow exception expectations.
47449         (cexp_test): Likewise.
47450         (clog_test): Likewise.
47451         (clog10_test): Likewise.
47452         (csqrt_test): Likewise.
47453         (ctan_test): Likewise.
47454         (ctanh_test): Likewise.
47455         (exp_test): Likewise.
47456         (exp10_test): Likewise.
47457         (exp2_test): Likewise.
47458         (expm1_test): Likewise.
47459         (fma_test): Likewise.
47460         (j0_test): Likewise.
47461         (jn_test): Likewise.
47462         (nexttoward_test): Likewise.
47463         (pow_test): Likewise.
47464         (scalbn_test): Likewise.
47465         (scalbln_test): Likewise.
47466         (tan_test): Likewise.
47467         (y1_test): Likewise.
47468         * sysdeps/i386/fpu/libm-test-ulps: Update.
47469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47471 2012-05-23  David S. Miller  <davem@davemloft.net>
47473         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47474         (__libc_sigaction): Remove unused local variables.
47476 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47478         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47480 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47482         mktime: avoid signed integer overflow
47483         * time/mktime.c (__mktime_internal): Do not mishandle the case
47484         where diff == INT_MIN.
47486         mktime: simplify computation of average
47487         * time/mktime.c (ranged_convert): Use new time_t_avg function
47488         instead of rolling our own (probably-slower) code.
47490         mktime: do not assume signed right shift propagates sign bit
47491         * time/mktime.c (isdst_differ): New static function.
47492         (__mktime_internal): No need to normalize tm_isdst now.
47493         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47494         tm_isdst values.
47496         mktime: merge another wrapv change from gnulib
47497         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47498         from some compilers.
47500         mktime: remove incorrect attempt at unusual arithmetics
47501         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47502         The code didn't really work on such machines anyway.
47503         (TYPE_MINIMUM): Assume two's complement.
47504         (twos_complement_arithmetic): Verify that long_int and time_t
47505         are two's complement (or unsigned, in the latter case).
47507         mktime: check signed shifts on long_int and time_t, too
47508         * time/mktime.c (SHR): Check that shifts work as desired
47509         on the types long_int and time_t too, as SHR is used on
47510         such types.
47512         mktime: do not assume 'long' is wide enough
47513         * time/mktime.c (verify): Move decl up.
47514         (long_int): New type.
47515         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47516         to remove assumption in the code that 'long' is wide enough to
47517         store year values.  This assumption is not true on x32 and on
47518         some non-glibc platforms.
47520         mktime: merge wrapv change from gnulib
47521         * time/mktime.c (WRAPV): New macro.
47522         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47523         (guess_time_tm, __mktime_internal): Do not assume that signed
47524         integer overflow wraps around; modern compilers generate code
47525         where this assumption is no longer valid.
47527 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47529         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47530         Replace "jmp L(pseudo_end)" with "ret".
47531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47532         Likewise.
47534 2012-05-23  Andreas Jaeger  <aj@suse.de>
47536         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47537         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47539 2012-05-23  Andreas Jaeger  <aj@suse.de>
47540             Maximilian Attems  <max@stro.at>
47542         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47543         New macros.
47545 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47547         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47548         code so that pseudo_end is just ret and the stack pointer is
47549         correct also for static library in error case.
47551 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47553         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47554         move to syscalls.list.
47555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47560         * manual/install.texi (Running make install): Do not mention Linux
47561         kernel version for which pt_chown is not needed.
47562         (Linux): Do not mention problems with nscd with 2.0 kernels.
47563         * INSTALL: Regenerated.
47565 2012-05-23  Andreas Jaeger  <aj@suse.de>
47567         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47568         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47569         macro.
47570         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47571         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47572         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47573         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47574         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47575         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47576         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47577         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47578         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47579         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47580         * sysdeps/unix/sysv/linux/bits/in.h
47581         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47583 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47585         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47586         (PREPARE_VERSION): Just use assert instead, it will be elided
47587         under [NDEBUG] anyway.
47589 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47591         * sysdeps/unix/sysv/linux/Makefile: Include
47592         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47593         (sysdep_routines): Remove sysctl.
47594         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47595         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47596         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47597         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47598         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47600 2012-05-22  Andreas Jaeger  <aj@suse.de>
47602         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47603         that pseudo_end is just ret and the stack pointer is correct also
47604         for static library in error case.
47606 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47608         [BZ #14122]
47609         * nss/nsswitch.c (defconfig_entries): New variable.
47610         (__nss_database_lookup): Don't leak defconfig entries.
47611         (nss_parse_service_list): Don't leak on error paths.
47612         (free_database_entries): New function.
47613         (free_defconfig): New function.
47614         (free_mem): Move common code to free_database_entries.
47616 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47618         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47619         Add arch_prctl.
47620         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47622         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47623         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47625         New macro.
47626         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47627         (INTERNAL_SYSCALL_TYPES): Likewise.
47628         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47629         (LOAD_REGS_TYPES_[1-6]): Likewise.
47630         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47631         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47633 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47635         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47636         copysignl for GLIBC_2_0.
47637         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47638         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47640         logbl for GLIBC_2_0.
47641         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47642         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47644 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47646         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47647         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47649         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47650         Use "neg %eax".
47652         * time/mktime.c: Update copyright years.
47654 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47656         mktime: merge comment-quoting-style change from gnulib
47657         * time/mktime.c: Quote 'like this' in comments.
47658         The GNU coding standards suggest that we no longer quote `like this',
47659         as "`" and "'" are typically rendered asymmetrically nowadays.
47660         The typical gnulib style is to quote 'like this' when quoting
47661         code, and "like this" when quoting English.
47663         * time/mktime.c (compile-command): Add "-I.".
47665         mktime: merge mktime-internal.h change from gnulib
47666         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47668         mktime: merge time_r change from gnulib
47669         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47671         mktime: merge DEBUG change from gnulib
47672         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47673         case system <time.h> has a #define.
47675         mktime: merge <sys/types.h> change from gnulib
47676         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47677         since <time.t> is now guaranteed to define time_t.
47679         mktime: merge HAVE_CONFIG_H change from gnulib
47680         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47682 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47685         Use "neg %eax".
47687         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47688         __rlim_t cast.
47689         (struct rusage): Use anonymous union to pad each field to
47690         __syscall_slong_t.
47692 2012-05-21  David S. Miller  <davem@davemloft.net>
47694         * Makefules (o-iterator): Remove .s cases.
47695         (compile-command.s): Delete.
47696         (COMPILE.s): Delete.
47697         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47699 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47701         * configure.in (libc_cv_predef_stack_protector): Only consider
47702         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47703         * configure: Regenerated.
47705 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47708         New macro.  Use R*LP on int and pointer.
47709         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47710         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47711         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47712         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47714         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47715         [__WORDSIZE_TIME64_COMPAT32] instead of
47716         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47717         (struct utmp): Likewise.
47718         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47719         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47720         Renamed to ...
47721         (__WORDSIZE_TIME64_COMPAT32): This.
47722         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47723         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47724         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47725         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47726         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47727         (__WORDSIZE_TIME64_COMPAT32): New macro.
47729 2012-05-21  Andreas Jaeger  <aj@suse.de>
47731         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47732         only if [SHARED]. Add prototype for __wcschr_ia32.
47734 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47736         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47737         of %rbp unmolested in the jmp_buf while mangling the low bits.
47738         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47739         unmolested high bits of %rbp while demangling the low bits.
47740         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47742 2012-05-21  Andreas Jaeger  <aj@suse.de>
47744         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47745         * sunrpc/svc_simple.c: Use it for registerrpc.
47746         * sunrpc/xcrypt.c: Use it for passwd2des.
47748         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47750 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47752         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47753         Don't define if [__SYSCALL_WORDSIZE != 32].
47754         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47755         New macro.
47757 2012-05-21  Bruno Haible  <bruno@clisp.org>
47758             Andreas Jaeger  <aj@suse.de>
47760         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47761         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47762         inptr and inend for must_buffer_ch.
47763         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47764         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47765         * stdio-common/Makefile (tests): Remove bug15.
47766         (bug15-ENV): Remove macro.
47767         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47768         anymore.
47770 2012-05-19  Andreas Jaeger  <aj@suse.de>
47771             Roland McGrath  <roland@hack.frob.com>
47773         * manual/contrib.texi: Completely rewritten. It contains now an
47774         alphabetical list of contributors and their contributions.
47776 2012-05-21  Richard Henderson  <rth@twiddle.net>
47778         * misc/getauxval.c (__getauxval): Use unsigned long int.
47779         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47780         (getauxval): Use unsigned long int.
47782 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47784         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47786 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47788         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47789         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47790         __alignof__ (long double).
47792 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47796 2012-05-20  Richard Henderson  <rth@twiddle.net>
47798         * misc/getauxval.c: New file.
47799         * misc/sys/auxv.h: New file.
47800         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47801         (routines): Add getauxval.
47802         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47803         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47804         * elf/dl-sysdep.c (_dl_auxv): Remove.
47805         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47806         * elf/dl-support.c (_dl_auxv): New variable.
47807         (_dl_aux_init): Initialize it.
47808         * manual/startup.texi (Auxiliary Vector): New node.
47809         * sysdeps/generic/bits/hwcap.h: New file.
47810         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47811         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47812         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47813         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47814         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47815         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47817         Update.
47818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47827 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47831 2012-05-19  David S. Miller  <davem@davemloft.net>
47833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47835 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47837         [BZ #14123]
47838         * math/s_ccosh.c: Include <float.h>
47839         (__ccosh): Avoid internal overflow calculating sinh and cosh
47840         values before multiplying by sin and cos values.
47841         * math/s_ccoshf.c: Likewise.
47842         * math/s_ccoshl.c: Likewise.
47843         * math/s_csin.c: Likewise.
47844         * math/s_csinf.c: Likewise.
47845         * math/s_csinl.c: Likewise.
47846         * math/s_csinh.c: Likewise.
47847         * math/s_csinhf.c: Likewise.
47848         * math/s_csinhl.c: Likewise.
47849         * math/libm-test.inc (ccos_test): Add more tests.
47850         (ccosh_test): Likewise.
47851         (csin_test): Likewise.
47852         (csinh_test): Likewise.
47853         * sysdeps/i386/fpu/libm-test-ulps: Update.
47854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47856 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47858         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47859         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47861         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47863 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47865         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47866         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47867         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47868         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47869         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47870         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47871         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47872         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47873         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47874         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47875         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47876         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47877         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47878         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47879         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47880         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47881         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47882         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47883         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47884         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47885         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47886         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47887         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47888         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47889         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47890         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47891         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47892         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47893         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47894         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47895         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47897 2012-05-18  Andreas Jaeger  <aj@suse.de>
47899         * csu/.gitignore: Delete.
47901 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47903         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47904         (timex): Use __syscall_slong_t.
47906 2012-05-18  Andreas Jaeger  <aj@suse.de>
47907             Carlos O'Donell  <carlos_odonell@mentor.com>
47909         * manual/install.texi (Configuring and compiling): Update
47910         description about files modified in the source directory.
47911         * INSTALL: Regenerated.
47913 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47915         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47916         value.  Use "or" to set return value to -1.
47917         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47918         negate return value.
47920 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47922         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47923         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47924         failure if the compiler has Graphite support disabled.
47925         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47926         Likewise.
47927         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47928         (CFLAGS-memmove.c): Likewise.
47929         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47930         Likewise.
47932 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47934         * sysdeps/x86_64/x32/_itoa.h: New file.
47936         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47937         getdents system call only if kernel and user dirents have the
47938         same d_ino and d_off.
47940         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47941         LLONG_MAX != LONG_MAX.
47942         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47943         (_fitoa_word): Likewise.
47945         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47946         years.
47947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47948         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47949         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47951         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47952         include <bits/wordsize.h>.  Check __x86_64__ instead of
47953         __WORDSIZE.
47954         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47955         if __x86_64__ is defined.  Use anonymous union on fpstate.
47957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47958         anonymous union.
47960 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47962         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47963         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47964         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47965         Refer to _rtld_local_ro instead of _rtld_global_ro.
47966         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47967         Likewise.
47968         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47969         Likewise.
47970         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47971         Likewise.
47972         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47973         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47974         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47976         * sysdeps/powerpc/powerpc32/dl-machine.c
47977         (__elf_machine_runtime_setup) [PROF]: Don't reference
47978         _dl_prof_resolve.
47980 2012-05-18  Andreas Jaeger  <aj@suse.de>
47982         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47983         function only available for GCCs before 3.4 since GCC 3.4
47984         introduced a builtin.
47985         (lrint): Likewise.
47986         (llrintf): Likewise.
47987         (llrint): Likewise.
47988         (fmaxf): Likewise.
47989         (fmax): Likewise.
47990         (fminf): Likewise.
47991         (fmin): Likewise.
47992         (rint): Likewise.
47993         (rintf): Likewise.
47994         (nearbyint): Likewise.
47995         (nearbyintf): Likewise.
47996         (ceil): Likewise.
47997         (ceilf): Likewise.
47998         (floor): Likewise.
47999         (floorf): Likewise.
48001 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48003         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48004         on both fields and cast pointer to __syscall_ulong_t.
48006         * bits/types.h (__fsword_t): New type.
48007         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48008         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48010         (__FSWORD_T_TYPE): Likewise.
48011         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48012         (__FSWORD_T_TYPE): Likewise.
48013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48014         (__FSWORD_T_TYPE): Likewise.
48015         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48016         (__FSWORD_T_TYPE): Likewise.
48017         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48018         __SWORD_TYPE with __fsword_t.
48019         (statfs64): Likewise.
48021 2012-05-17  David S. Miller  <davem@davemloft.net>
48023         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48025 2012-05-17  Andreas Jaeger  <aj@suse.de>
48027         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48028         warning.
48030 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48032         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48034 2012-05-17  Andreas Jaeger  <aj@suse.de>
48036         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48037         when it is used.
48039 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48041         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48043 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48045         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48046         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48048 2012-05-17  Andreas Jaeger  <aj@suse.de>
48049             Carlos O'Donell  <carlos_odonell@mentor.com>
48051         [BZ #14059]
48052         * sysdeps/x86_64/multiarch/init-arch.h
48053         (bit_YMM_Usable): Rename to...
48054         (bit_AVX_Usable): ... this.
48055         (bit_FMA4_Usable): New macro.
48056         (bit_XMM_state): New macro.
48057         (bit_YMM_state): New macro.
48058         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48059         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48060         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48061         (CPUID_OSXSAVE): New macro.
48062         (CPUID_AVX): New macro.
48063         (CPUID_FMA4): New macro.
48064         (index_YMM_Usable): Rename to...
48065         (index_AVX_Usable): ... this.
48066         (HAS_AVX): Use HAS_ARCH_FEATURE.
48067         (HAS_FMA4): Likewise.
48068         (HAS_YMM_USABLE): Remove.
48069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48070         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48071         are present.
48072         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48073         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48074         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48075         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48076         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48078 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48080         * math/libm-test.c: Support platforms without multiple rounding modes.
48081         * math/bug-nextafter.c: Support platforms without FP exceptions.
48082         * math/bug-nexttoward.c: Likewise.
48083         * math/test-fenv.c: Likewise.
48084         * math/test-misc.c: Likewise.
48085         * stdlib/bug-getcontext.c: Likewise.
48087 2012-05-17  Andreas Jaeger  <aj@suse.de>
48089         * manual/examples/search.c (critter_cmp): Change signature to
48090         avoid warnings.
48091         * manual/string.texi (Collation Functions): Likewise.
48093 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48095         * bits/types.h: Fold copyright years.
48096         * bits/typesizes.h: Likewise.
48097         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48098         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48100         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48101         * time/time.h: Likewise.
48103 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48105         [BZ #208]
48106         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48107         in instead of returning them.  Return void.
48108         (__libc_mallinfo): Accumulate over all arenas.
48109         (__malloc_stats): Adjust for change in int_mallinfo interface.
48111 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48113         [BZ #10375]
48114         * configure.in (NM): Add AC_CHECK_TOOL for it.
48115         (libc_extra_cflags): New substituted variable.
48116         Check for -fstack-protector being used implicitly.
48117         * configure: Regenerated.
48118         * config.make.in (config-extra-cflags): New variable,
48119         gets @libc_extra_cflags@.
48120         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48122         [BZ #10375]
48123         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48124         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48125         * configure: Regenerated.
48126         * config.make.in (CPPUNDEFS): New substituted variable.
48127         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48128         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48129         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48131 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48133         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48134         (mq_attr): Use __syscall_slong_t.
48136 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48138         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48139         Check __x86_64__ instead of __WORDSIZE.
48140         (_STAT_VER_LINUX): Likewise.
48141         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48142         __syscall_ulong_t and __syscall_slong_t.
48143         (stat64): Likewise.
48145 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48147         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48149 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48151         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48153 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48155         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48156         __syscall_ulong_t.
48158         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48159         include <bits/wordsize.h>.  Check __x86_64__ instead of
48160         __WORDSIZE.
48161         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48162         defined.
48163         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48165         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48166         include <bits/wordsize.h>.  Check __x86_64__ instead of
48167         __WORDSIZE.
48168         (user_regs_struct): Use "__extension__ unsigned long long"
48169         instead of "unsigned long" if __x86_64__ is defined.
48170         (user): Likewise.  Pad after pointer field if __ILP32__ is
48171         defined.
48173 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48175         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48176         versions 5 to 9.
48177         * configure: Regenerated.
48178         * manual/install.texi (texinfo): Increase version requirement to
48179         4.5 or later.
48180         * INSTALL: Regenerated.
48182         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48184 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48186         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48188         * sysdeps/x86_64/x32/ffs.c: New file.
48190         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48191         __syscall_ulong_t.
48192         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48193         defined.  Use __syscall_ulong_t.
48194         (shminfo): Use __syscall_ulong_t.
48195         (shm_info): Likewise.
48197         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48198         __syscall_ulong_t.
48200         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48201         <bits/wordsize.h>.
48202         (msgqnum_t): Use __syscall_ulong_t.
48203         (msglen_t): Likewise.
48204         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48205         __syscall_ulong_t.
48207         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48208         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48210         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48212         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48213         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48215         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48216         __syscall_slong_t.
48218         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48219         include <bits/wordsize.h>.  Check __x86_64__ instead of
48220         __WORDSIZE.
48222         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48223         "unsigned long long int" if __x86_64__ is defined.
48224         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48226         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48227         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48228         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48230         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48231         <stdint.h>.
48232         (GET_PC): Cast to uintptr_t first.
48233         (GET_FRAME): Likewise.
48234         (GET_STACK): Likewise.
48236         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48237         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48238         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48239         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48240         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48241         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48242         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48243         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48244         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48245         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48246         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48247         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48248         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48249         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48250         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48251         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48252         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48253         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48254         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48256         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48257         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48258         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48259         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48260         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48261         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48262         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48263         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48264         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48266 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48268         * Makerules (+depfiles): Also collect depfiles from .oS in
48269         $(extra-objs).
48270         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48271         .oS, $(libnldbl-routines)).
48273         * Makerules (native-compile-mkdep-flags): Define.
48274         * sunrpc/Makefile (extra-objs): Add $(addprefix
48275         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48276         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48277         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48278         calling $(make-target-directory).
48280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48282         * bits/types.h (__snseconds_t): Removed.
48283         * time/time.h (struct timespec): Replace __snseconds_t with
48284         __syscall_slong_t.
48285         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48286         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48287         Likewise.
48288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48289         (__SNSECONDS_T_TYPE): Likewise.
48290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48291         (__SNSECONDS_T_TYPE): Likewise.
48292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48293         (__SNSECONDS_T_TYPE): Likewise.
48295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48297         * sysdeps/mach/hurd/bits/typesizes.h
48298         (__SYSCALL_SLONG_TYPE): New macro.
48299         (__SYSCALL_ULONG_TYPE): Likewise.
48301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48303         * bits/types.h (__syscall_slong_t): New type.
48304         (__syscall_ulong_t): Likewise.
48306         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48307         (__SYSCALL_ULONG_TYPE): Likewise.
48308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48309         (__SYSCALL_SLONG_TYPE): Likewise.
48310         (__SYSCALL_ULONG_TYPE): Likewise.
48311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48312         (__SYSCALL_SLONG_TYPE): Likewise.
48313         (__SYSCALL_ULONG_TYPE): Likewise.
48314         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48315         (__SYSCALL_SLONG_TYPE): Likewise.
48316         (__SYSCALL_ULONG_TYPE): Likewise.
48318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48320         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48321         Add sigaltstack-offsets.sym.
48322         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48323         <sigaltstack-offsets.h>.
48324         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48325         longjmp_msg pointer.
48326         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48327         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48328         signal stack.
48329         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48331 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48333         * elf/stackguard-macros.h: Remove file.
48334         * sysdeps/generic/stackguard-macros.h: New file.
48335         * sysdeps/i386/stackguard-macros.h: Likewise.
48336         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48337         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48338         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48339         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48340         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48341         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48342         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48343         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48344         <elf/stackguard-macros.h>.
48346         [BZ #14109]
48347         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48348         __aligned__ in attribute.
48349         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48350         (gregset_t): Likewise.
48352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48354         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48355         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48356         * sysdeps/x86_64/x32/Implies-after: New file.
48358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48360         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48361         and access return value for _dl_profile_fixup.  Use R10_LP to
48362         load frame size.
48364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48366         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48370         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48371         * sysdeps/x86_64/x32/sysdep.h: New file.
48373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48375         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48376         * sysdeps/x86_64/setjmp.S: Likewise.
48378 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48380         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48381         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48382         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48383         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48384         remove unused global constant.
48386 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48388         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48389         include of <not-cancel.h>.
48391 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48393         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48395 2012-05-15  Jeff Law  <law@redhat.com>
48396             Andreas Jaeger  <aj@suse.de>
48398         [BZ #13594]
48399         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48400         out from...
48401         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48402         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48403         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48404         code changing __hst_map_handle.map.
48406 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48408         * configure.in (sysnames): Look for Implies-before and Implies-after
48409         files.
48410         * configure: Regenerated.
48412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48414         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48415         8-byte data alignment with LP_SIZE alignment.
48417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48419         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48420         into R10_LP.
48422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48424         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48428         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48429         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48430         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48431         Likewise.
48432         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48436         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48437         (stackinfo_sub_sp): Likewise.
48439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48442         RAX_LP.
48444 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48446         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48447         into R*_LP.
48449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48451         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48452         sizes into R*_LP.
48454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48456         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48460         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48461         into R11_LP and load __x86_64_shared_cache_size_half into
48462         R8_LP.
48464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48466         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48467         R8_LP.
48469 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48472         logb for POWER7.
48473         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48474         logbf for POWER7.
48475         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48476         logbl for POWER7.
48477         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48478         powerpc32/power7/fpu/s_logb.c via #include.
48479         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48480         powerpc32/power7/fpu/s_logbf.c via #include.
48481         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48482         powerpc32/power7/fpu/s_logbl.c via #include.
48484 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48486         * README.libm: Remove file.
48488 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48490         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48491         count for x32.  Use R*_LP and omit operand-size suffix.
48493 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48495         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48496         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48497         * sysdeps/x86_64/x32/shlib-versions: New file.
48499 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48501         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48502         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48503         Use _dl_fatal_printf instead.
48505 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48507         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48508         set if not set by the user.  Do not allow for being unset.
48509         * sysdeps/unix/sysv/linux/configure: Regenerated.
48511 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48513         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48514         the `q' suffix from lea and replace .quad with ASM_ADDR.
48516 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48518         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48519         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48520         instead of $17.
48521         (PTR_DEMANGLE): Likewise.
48523 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48525         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48526         (LP_OP): Likewise.
48527         (ASM_ADDR): Likewise.
48528         (RAX_LP): Likewise.
48529         (RBP_LP): Likewise.
48530         (RBX_LP): Likewise.
48531         (RCX_LP): Likewise.
48532         (RDI_LP): Likewise.
48533         (RSI_LP): Likewise.
48534         (RSP_LP): Likewise.
48535         (R8_LP): Likewise.
48536         (R9_LP): Likewise.
48537         (R10_LP): Likewise.
48538         (R10_LP): Likewise.
48539         (R11_LP): Likewise.
48540         (R12_LP): Likewise.
48541         (R13_LP): Likewise.
48542         (R14_LP): Likewise.
48543         (R15_LP): Likewise.
48545 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48547         * sysdeps/x86_64/x32/dl-machine.h: New file.
48549 2012-05-14  Andreas Jaeger  <aj@suse.de>
48551         * manual/Makefile (subdir): Remove export of subdir.
48552         (all): Remove target.
48553         (.PHONY): Remove all from list.
48554         (mkinstalldirs): Remove.
48555         (.PHONY): Remove installdirs from list.
48556         ($(inst_infodir)/libc.info): Use make-target-directory.
48557         (installdirs): Remove.
48558         (subdir_%): Remove.
48559         (glibc-targets): Remove.
48560         (lib): Remove.
48561         (stubs): Remove.
48562         ($(objpfx)stubs ../po/manual.pot): Remove.
48563         ($(objpfx)stamp%): Remove.
48564         (make-target-directory): Remove.
48565         (subdir_install): Remove.
48566         (routines): Remove.
48567         (aux): Remove.
48568         (sources): Remove.
48569         (objects): Remove.
48570         (headers): Remove.
48572         [BZ #13750]
48573         * manual/.gitignore: Remove, it's not needed anymore.
48574         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48575         all files in it.
48576         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48577         directory.
48578         (texis): Renamed to $(objpfx)texis.
48579         (texis-path): New, contains path to generated files.
48580         (chapters.%): Use texis-path for complete path, add extra argument
48581         libc-texinfo.sh.
48582         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48583         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48584         (summary,texi, stamp-summary): Use complete path of
48585         files. Generate files in build dir.
48586         (dir-add.texi): Build in build dir.
48587         (libm-err.texi,stamp-libm-err): Likewise.
48588         (version.texi, stamp-version): Likewise.
48589         (.%c.texi): Likewise.
48590         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48591         (mostlyclean): Remove target.
48592         (realclean): Remove target.
48593         (generated): Add new variable with contents from mostlyclean and
48594         realclean, remove entries duplicated in common-mostlyclean, add
48595         stamp-libm-err and stamp-version.
48596         (generated-dirs): Add libc directory.
48597         ($(inst_infodir)/libc.info): Install files from build dir.
48599         * manual/install.texi (Configuring and compiling): Adjust since
48600         the info files are not part of the tar ball anymore.
48602 2012-05-14  Andreas Jaeger  <aj@suse.de>
48604         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48605         variable.
48607 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48609         [BZ #13717]
48610         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48611         to 2.2.0 where earlier.
48612         * sysdeps/unix/sysv/linux/configure: Regenerated.
48613         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48614         Remove conditional code.
48615         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48616         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48617         Remove conditional code.
48618         [!__NR_lchown]: Likewise.
48619         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48620         [__NR_lchown]: Likewise.
48621         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48622         comment referencing __ASSUME_LCHOWN_SYSCALL.
48623         * sysdeps/unix/sysv/linux/i386/sigaction.c
48624         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48625         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48626         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48627         Remove conditional code.
48628         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48629         (__protocol_available): Remove #if 0 code.
48630         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48631         conditional code.
48632         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48633         * sysdeps/unix/sysv/linux/kernel-features.h
48634         (__ASSUME_GETCWD_SYSCALL): Don't define.
48635         (__ASSUME_REALTIME_SIGNALS): Likewise.
48636         (__ASSUME_PREAD_SYSCALL): Likewise.
48637         (__ASSUME_PWRITE_SYSCALL): Likewise.
48638         (__ASSUME_POLL_SYSCALL): Likewise.
48639         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48640         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48641         non-SPARC.
48642         (__ASSUME_SIOCGIFNAME): Don't define.
48643         (__ASSUME_MSG_NOSIGNAL): Likewise.
48644         (__ASSUME_SENDFILE): Define unconditionally.
48645         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48646         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48647         conditional code.
48648         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48649         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48650         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48651         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48652         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48653         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48654         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48656         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48657         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48659         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48660         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48662         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48663         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48665         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48666         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48668         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48669         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48671         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48672         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48674         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48675         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48677         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48678         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48679         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48680         Remove conditional code.
48681         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48682         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48683         Remove conditional code.
48684         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48685         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48686         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48687         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48688         Remove conditional code.
48689         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48690         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48691         Remove conditional code.
48692         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48693         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48694         Remove conditional code.
48695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48696         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48697         Remove conditional code.
48698         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48699         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48700         Remove conditional code.
48701         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48702         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48703         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48704         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48705         * sysdeps/unix/sysv/linux/sigaction.c
48706         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48707         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48708         * sysdeps/unix/sysv/linux/sigpending.c
48709         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48710         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48711         * sysdeps/unix/sysv/linux/sigprocmask.c
48712         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48713         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48714         * sysdeps/unix/sysv/linux/sigsuspend.c
48715         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48716         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48717         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48718         (__libc_missing_rt_sigs): Remove.
48719         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48720         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48721         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48722         Remove conditional code.
48723         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48724         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48725         return 1.
48726         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48727         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48728         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48729         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48731 2012-05-14  Andreas Jaeger  <aj@suse.de>
48733         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48734         it's not used in glibc.
48735         (__coshm1): Likewise.
48736         (__acosh1p): Likewise.
48737         (__sgn): Likewise.
48739         * manual/string.texi (Copying and Concatenation): Add missing
48740         variable in concat example.
48741         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48743 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48745         [BZ #14103]
48746         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48747         __builtin_clzl with __builtin_clzll.
48749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48751         [BZ #14104]
48752         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48753         libc_freeres_ptr.
48755 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48757         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48758         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48759         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48760         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48762 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48764         * NEWS: Update ia64 info.
48766 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48768         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48769         used as bcopy.
48771 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48773         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48774         * sysdeps/unix/syscalls.list (dup3): Likewise.
48775         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48776         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48778 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48780         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48781         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48783 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48785         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48786         thread pointer.
48787         (TLS_IE): Use mov/add instead of movq/addq to load thread
48788         pointer.
48789         (TLS_GD_PREFIX): New.
48790         (TLS_GD): Use it.
48792 2012-05-11  David S. Miller  <davem@davemloft.net>
48794         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48795         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48796         (_FPU_SETCW): Likewise.
48798 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48800         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48801         is 32-byte aligned.
48803 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48805         [BZ #11837]
48806         * iconvdata/gb18030.c: Update tables.
48807         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48808         characters specially.
48809         (BODY for TO_LOOP): Add encoding of missing ranges.
48811 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48813         [BZ #13673]
48814         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48815         * sysdeps/mach/hurd/dup3.c: Likewise.
48816         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48817         * sysdeps/powerpc/memmove.c:: Likewise.
48819 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48821         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48822         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48824 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48826         * elf/elf.h (R_X86_64_RELATIVE64): New.
48827         (R_X86_64_NUM): Updated.
48828         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48829         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48830         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48831         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48832         tst-quad1pie tst-quad2pie
48833         (modules-names): Add tst-quadmod1 tst-quadmod2.
48834         ($(objpfx)tst-quad1): New dependency.
48835         ($(objpfx)tst-quad2): Likewise.
48836         ($(objpfx)tst-quad1pie): Likewise.
48837         ($(objpfx)tst-quad2pie): Likewise.
48838         * sysdeps/x86_64/tst-quad1.c: New file.
48839         * sysdeps/x86_64/tst-quad1pie.c: New file.
48840         * sysdeps/x86_64/tst-quad2.c: Likewise.
48841         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48842         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48843         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48844         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48845         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48849         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48850         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48851         * streams/stropts.h (t_scalar_t): Define type.
48853         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48854         (_PATH_PRESERVE): Set to "/var/lib".
48855         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48857         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48858         instead of int.
48860         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48861         if __dir_mkfile succeeded.
48863         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48864         checking for _hurd_dtablesize.  Unlock it right after having
48865         finished _hurd_dtable allocation.
48867 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48869         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48870         * sysdeps/mach/hurd/configure: Regenerated.
48871         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48872         special-casing to...
48873         * sysdeps/gnu/configure.in: ... this new file.
48874         * sysdeps/unix/sysv/linux/configure: Regenerated.
48875         * sysdeps/gnu/configure: New generated file.
48877         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48878         for Linux: use nsec instead of usec, as well as:
48879         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48880         members of type struct timespec.
48881         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48882         New macros.
48883         (struct stat64): Likewise.
48884         (_STATBUF_ST_NSEC): New macro.
48885         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48887         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48888         __strtoul_internal rather than strtoul.
48890 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48892         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48893         and reject them.
48895 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48897         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48898         which preserves existing values.
48899         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48901 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48903         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48904         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48905         greater than FD_SETSIZE.
48907 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48909         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48910         allocated, call __vm_protect to finish enabling the existing space, and
48911         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48912         allocate the remainder.
48914 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48916         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48917         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48919 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48921         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48922         sysdeps/mach/hurd/readlink.c.
48924         * posix/tst-sysconf.c (posix_options): Only use
48925         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48926         _POSIX_SYNCHRONIZED_IO when they are defined
48927         * sysdeps/mach/hurd/bits/posix_opt.h:
48928         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48929         (_XOPEN_REALTIME): Undefine macro.
48930         (_XOPEN_REALTIME_THREADS): Undefine macro.
48931         (_XOPEN_SHM): Undefine macro.
48932         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48933         macro to -1.
48934         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48935         macro to -1.
48936         (_POSIX_ASYNC_IO): Undefine macro.
48937         (_POSIX_PRIORITIZED_IO): Undefine macro.
48938         (_POSIX_SPIN_LOCKS): Define macro to -1.
48940         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48941         SA_NODEFER, SA_RESETHAND.
48942         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48943         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48944         F_DUPFD_CLOEXEC.
48946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48948         * elf/Makefile (pldd-modules): Define unconditionally.
48950 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48952         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48954 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48956         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48957         Return ENOENT when name is empty.
48958         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48962         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48964         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48966 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48968         Fix mlock in all cases except non-readable pages.
48969         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48970         instead of VM_PROT_ALL as parameter to __vm_wire function.
48972         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48973         (__mkdir): When path is `/', just fail with EEXIST.
48974         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48976 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48978         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48979         <sys/uio.h> (for writev).
48980         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48981         and <sys/param.h> (for MIN).
48983 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48985         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48986         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48987         if interrupted.
48989 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48991         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48992         Depend on against $(link-rpcuserlibs).
48994 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48996         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48997         (__libc_stack_end): Do not use attribute_relro.
48998         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48999         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49000         to libthread-provided value.
49001         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49002         attribute_relro.
49004 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49006         [BZ #3748]
49007         * bits/libc-lock.h (__libc_once_get): New macro.
49008         * sysdeps/mach/bits/libc-lock.h: Likewise.
49009         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49010         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49011         instead of using implementation details.
49013         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49014         * libio/freopen.c: Likewise.
49015         * libio/freopen64.c: Likewise.
49016         * misc/syslog.c: Likewise.
49017         * nscd/connections.c: Likewise.
49018         * nscd/netgroupcache.c: Likewise.
49019         * sysdeps/posix/getcwd.c: Likewise.
49021 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49023         * math/w_ilogbf.c: Add #include <limits.h>.
49025 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49027         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49028         path instead of returning without unlocking.
49030         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49031         immediate-write ioctls.
49032         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49034 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49036         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49037         __builtin_frame_address instead of making assumptions about the
49038         location of the return address relative to DATA.  Force early load of
49039         the return address.
49040         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49041         __builtin_frame_address.
49043         dup3 for GNU Hurd.
49044         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49045         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49046         implement dup3 and do some further code clean-ups.
49047         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49048         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49052         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49054         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49055         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49056         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49057         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49058         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49059         d->port.lock.
49061         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49062         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49063         when handler == SIG_ERR, not when handler != SIG_ERR.
49065 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49067         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49068         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49069         definitions.
49071         accept4 for GNU Hurd.
49072         * include/sys/socket.h (__libc_accept4): New prototype.
49073         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49074         to implement __libc_accept4.
49075         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49076         __libc_accept4.
49077         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49079         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49080         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49081         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49082         signal-defines.sym.
49084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49086         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49088 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49090         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49091         assertion on O_CLOEXEC flag.
49092         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49093         * hurd/intern-fd.c: Likewise.
49094         * hurd/port2fd.c: Likewise.
49096 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49098         [BZ #3906]
49099         * bits/in.h (IPV6_PKTINFO): Define new macro.
49100         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49102 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49104         [BZ #13954]
49105         [BZ #13955]
49106         [BZ #13956]
49107         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49108         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49109         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49110         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49111         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49112         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49113         * math/libm-test.inc (logb_test) : Additional logb tests.
49115 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49116             Andreas Jaeger  <aj@suse.de>
49118         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49119         * configure: Regenerated.
49120         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49121         * config.make.in (link-obsolete-rpc): New substituted variable.
49122         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49123         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49124         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49125         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49126         so that libc.a contains the symbols.
49127         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49128         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49129         * sunrpc/auth_none.c: Likewise.
49130         * sunrpc/auth_unix.c: Likewise.
49131         * sunrpc/authdes_prot.c: Likewise.
49132         * sunrpc/authuxprot.c: Likewise.
49133         * sunrpc/clnt_gen.c: Likewise.
49134         * sunrpc/clnt_perr.c: Likewise.
49135         * sunrpc/clnt_raw.c: Likewise.
49136         * sunrpc/clnt_simp.c: Likewise.
49137         * sunrpc/clnt_tcp.c: Likewise.
49138         * sunrpc/clnt_udp.c: Likewise.
49139         * sunrpc/clnt_unix.c: Likewise.
49140         * sunrpc/des_crypt.c: Likewise.
49141         * sunrpc/des_soft.c: Likewise.
49142         * sunrpc/get_myaddr.c: Likewise.
49143         * sunrpc/key_call.c: Likewise.
49144         * sunrpc/key_prot.c: Likewise.
49145         * sunrpc/netname.c: Likewise.
49146         * sunrpc/pm_getmaps.c: Likewise.
49147         * sunrpc/pm_getport.c: Likewise.
49148         * sunrpc/pmap_clnt.c: Likewise.
49149         * sunrpc/pmap_prot.c: Likewise.
49150         * sunrpc/pmap_prot2.c: Likewise.
49151         * sunrpc/pmap_rmt.c: Likewise.
49152         * sunrpc/publickey.c: Likewise.
49153         * sunrpc/rpc_cmsg.c: Likewise.
49154         * sunrpc/rpc_common.c: Likewise.
49155         * sunrpc/rpc_dtable.c: Likewise.
49156         * sunrpc/rpc_prot.c: Likewise.
49157         * sunrpc/rpc_thread.c: Likewise.
49158         * sunrpc/rtime.c: Likewise.
49159         * sunrpc/svc.c: Likewise.
49160         * sunrpc/svc_auth.c: Likewise.
49161         * sunrpc/svc_raw.c: Likewise.
49162         * sunrpc/svc_run.c: Likewise.
49163         * sunrpc/svc_tcp.c: Likewise.
49164         * sunrpc/svc_udp.c: Likewise.
49165         * sunrpc/svc_unix.c: Likewise.
49166         * sunrpc/svcauth_des.c: Likewise.
49167         * sunrpc/xcrypt.c: Likewise.
49168         * sunrpc/xdr.c: Likewise.
49169         * sunrpc/xdr_array.c: Likewise.
49170         * sunrpc/xdr_float.c: Likewise.
49171         * sunrpc/xdr_intXX_t.c: Likewise.
49172         * sunrpc/xdr_mem.c: Likewise.
49173         * sunrpc/xdr_rec.c: Likewise.
49174         * sunrpc/xdr_ref.c: Likewise.
49175         * sunrpc/xdr_sizeof.c: Likewise.
49176         * sunrpc/xdr_stdio.c: Likewise.
49178 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49181         change.  Update copyright years.
49183 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49185         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49187 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49188             Joseph Myers  <joseph@codesourcery.com>
49189             Paul Pluzhnikov  <ppluzhnikov@google.com>
49191         [BZ #14012]
49192         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49193         requiring rpcgen.
49194         [cross-compiling] (extra-libs): Likewise.
49195         [cross-compiling] (extra-libs-others): Likewise.
49196         [cross-compiling] (librpcsvc-routines): Likewise.
49197         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49198         [cross-compiling] (omit-deps): Likewise.
49199         (sunrpc-CPPFLAGS): New variable.
49200         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49201         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49202         (cross-rpcgen-objs): New variable.
49203         (extra-objs): Append $(cross-rpcgen-objs).
49204         ($(cross-rpcgen-objs)): New rule.
49205         ($(objpfx)cross-rpcgen): Likewise.
49206         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49207         comment.
49208         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49209         ($(objpfx)x%.stmp): Likewise.
49210         * sunrpc/proto.h [IS_IN_build] (_): Define.
49211         [IS_IN_build] (_libc_intl_domainname): Likewise.
49213 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49215         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49216         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49217         and R_X86_64_TPOFF64.
49219 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49221         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49222         sysdeps/unix/sysv/syscalls.list.
49223         (stime): Likewise.
49224         (utime): Likewise.
49225         * sysdeps/unix/sysv/syscalls.list: Remove file.
49227 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49229         [BZ #3440]
49230         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49231         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49232         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49233         (__LC_IDENTIFICATION): Make these macros useful in #if
49234         expressions, as required by C99.
49236 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49238         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49239         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49240         after this.
49242 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49244         * stdlib/longlong.h: Updated from GCC.
49246 2012-05-09  Andreas Jaeger  <aj@suse.de>
49248         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49249         default is first entry.
49250         (run_mode): Set type.
49251         (main): Remove informal message about syslog.
49252         (options): Fix typo.
49254         [BZ #14053]
49255         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49256         to asm.
49257         (lrint): Likewise.
49258         (llrintf): Likewise.
49259         (llrint): Likewise.
49260         (rint): Likewise.
49261         (rintf): Likewise.
49262         (nearbyint): Likewise.
49263         (nearbyintf): Likewise.
49265 2012-05-09  Andreas Jaeger  <aj@suse.de>
49266             Pedro Alves  <palves@redhat.com>
49268         * nscd/nscd.c (run_mode): Use enum.
49269         (main): Cleanup coding style issue.
49271 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49272             Andreas Jaeger  <aj@suse.de>
49274         * nscd/nscd.c (go_background): Replaced with...
49275         (run_mode): ... this.
49276         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49277         (options): Add -F --foreground.
49278         (main): Implement it.
49279         (parse_opt): Parse it.
49281 2012-05-09  Andreas Jaeger  <aj@suse.de>
49283         [BZ #14083]
49284         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49285         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49286         -Wconversion warning.
49287         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49288         Likewise.
49290 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49292         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49293         == 0.
49294         (LC_ALL): Use macro-int-constant.
49295         (LC_COLLATE): Likewise.
49296         (LC_CTYPE): Likewise.
49297         (LC_MESSAGES): Likewise.
49298         (LC_MONETARY): Likewise.
49299         (LC_NUMERIC): Likewise.
49300         (LC_TIME): Likewise.
49301         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49302         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49303         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49304         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49305         Specify type.
49306         [C99-based standards] (float_t): Expect type.
49307         [C99-based standards] (double_t): Expect type.
49308         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49309         type.
49310         [C99-based standards] (HUGE_VALL): Likewise.
49311         [C99-based standards] (INFINITY): Likewise.
49312         [C99-based standards] (NAN): Likewise.
49313         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49314         [C99-based standards] (FP_NAN): Likewise.
49315         [C99-based standards] (FP_NORMAL): Likewise.
49316         [C99-based standards] (FP_SUBNORMAL): Likewise.
49317         [C99-based standards] (FP_ZERO): Likewise.
49318         [C99-based standards] (FP_FAST_FMA): Use
49319         optional-macro-int-constant.  Specify type.  Require == 1.
49320         [C99-based standards] (FP_FAST_FMAF): Likewise.
49321         [C99-based standards] (FP_FAST_FMAL): Likewise.
49322         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49323         [C99-based standards] (FP_ILOGBNAN): Likewise.
49324         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49325         Specify type.
49326         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49327         [C99-based standards] (math_errhandling): Specify type.
49328         [ISO99 || ISO11] (signgam): Do not allow.
49329         [non-C99-based standards] (copysignf): Do not allow.
49330         [non-C99-based standards] (exp2f): Likewise.
49331         [non-C99-based standards] (log2f): Likewise.
49332         [non-C99-based standards] (modff): Allow.
49333         [non-C99-based standards] (erff): Do not allow.
49334         [non-C99-based standards] (erfcf): Likewise.
49335         [non-C99-based standards] (gammaf): Likewise.
49336         [non-C99-based standards] (hypotf): Likewise.
49337         [non-C99-based standards] (j0f): Likewise.
49338         [non-C99-based standards] (j1f): Likewise.
49339         [non-C99-based standards] (jnf): Likewise.
49340         [non-C99-based standards] (lgammaf): Likewise.
49341         [non-C99-based standards] (tgammaf): Likewise.
49342         [non-C99-based standards] (y0f): Likewise.
49343         [non-C99-based standards] (y1f): Likewise.
49344         [non-C99-based standards] (ynf): Likewise.
49345         [non-C99-based standards] (isnanf): Likewise.
49346         [non-C99-based standards] (acoshf): Likewise.
49347         [non-C99-based standards] (asinhf): Likewise.
49348         [non-C99-based standards] (atanhf): Likewise.
49349         [non-C99-based standards] (cbrtf): Likewise.
49350         [non-C99-based standards] (expm1f): Likewise.
49351         [non-C99-based standards] (ilogbf): Likewise.
49352         [non-C99-based standards] (log1pf): Likewise.
49353         [non-C99-based standards] (logbf): Likewise.
49354         [non-C99-based standards] (nextafterf): Likewise.
49355         [non-C99-based standards] (remainderf): Likewise.
49356         [non-C99-based standards] (rintf): Likewise.
49357         [non-C99-based standards] (scalbf): Likewise.
49358         [non-C99-based standards] (copysignl): Likewise.
49359         [non-C99-based standards] (exp2l): Likewise.
49360         [non-C99-based standards] (log2l): Likewise.
49361         [non-C99-based standards] (modfl): Allow.
49362         [non-C99-based standards] (erfl): Do not allow.
49363         [non-C99-based standards] (erfcl): Likewise.
49364         [non-C99-based standards] (gammal): Likewise.
49365         [non-C99-based standards] (hypotl): Likewise.
49366         [non-C99-based standards] (j0l): Likewise.
49367         [non-C99-based standards] (j1l): Likewise.
49368         [non-C99-based standards] (jnl): Likewise.
49369         [non-C99-based standards] (lgammal): Likewise.
49370         [non-C99-based standards] (tgammal): Likewise.
49371         [non-C99-based standards] (y0l): Likewise.
49372         [non-C99-based standards] (y1l): Likewise.
49373         [non-C99-based standards] (ynl): Likewise.
49374         [non-C99-based standards] (isnanl): Likewise.
49375         [non-C99-based standards] (acoshl): Likewise.
49376         [non-C99-based standards] (asinhl): Likewise.
49377         [non-C99-based standards] (atanhl): Likewise.
49378         [non-C99-based standards] (cbrtl): Likewise.
49379         [non-C99-based standards] (expm1l): Likewise.
49380         [non-C99-based standards] (ilogbl): Likewise.
49381         [non-C99-based standards] (log1pl): Likewise.
49382         [non-C99-based standards] (logbl): Likewise.
49383         [non-C99-based standards] (nextafterl): Likewise.
49384         [non-C99-based standards] (remainderl): Likewise.
49385         [non-C99-based standards] (rintl): Likewise.
49386         [non-C99-based standards] (scalbl): Likewise.
49387         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49388         [non-C99-based standards] (FP_*): Do not allow.
49389         [C99-based standards] (FP_*): Change to
49390         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49391         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49392         allow.
49393         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49394         (SIG_ERR): Likewise.
49395         [X/Open-based standards] (SIG_HOLD): Likewise.
49396         (SIG_IGN): Likewise.
49397         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49398         positive value.
49399         (SIGFPE): Likewise.
49400         (SIGILL): Likewise.
49401         (SIGINT): Likewise.
49402         (SIGSEGV): Likewise.
49403         (SIGTER): Likewise.
49404         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49405         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49406         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49407         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49408         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49409         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49410         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49411         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49412         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49413         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49414         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49415         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49416         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49417         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49418         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49419         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49420         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49421         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49422         [X/Open-based standards] (SIGTRAP): Likewise.
49423         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49424         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49425         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49426         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49427         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49428         allow.
49430 2012-05-08  Ian Wienand  <ianw@vmware.com>
49432         [BZ #14080]
49433         * time/tzset.c (__tzset_parse_tz): Update default rules for
49434         daylight time changes in the Energy Policy Act of 2005.
49436 2012-05-09  Andreas Jaeger  <aj@suse.de>
49438         [BZ #13983]
49439         * elf/ldconfig.c (parse_conf): Change string to make clear that
49440         ldconfig only issued a warning if ld.so.conf does not exist.
49442 2012-05-08  David S. Miller  <davem@davemloft.net>
49444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49445         movxtod instead of popping the value on the stack.
49447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49449 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49451         * config.h.in: Add HAVE_ARM_PCS_VFP.
49453 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49455         [BZ #13979]
49456         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49457         checking but the checks are disabled for any reason.
49459 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49461         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49462         and ELF64_R_TYPE with ELFW(R_TYPE).
49464 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49466         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49467         (ulimit): Likewise.
49469         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49470         (settimeofday): Likewise.
49472 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49474         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49475         a struct th_u2 inside the union, and move tu_block/tu_code into
49476         a new th_u3 union of tu_block/tu_code inside of that.  Move
49477         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49478         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49479         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49480         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49481         (th_stuff): Change to th_u1.tu_stuff.
49482         (th_data): Define.
49483         (th_msg): Change to th_u1.th_u2.tu_data.
49485 2012-05-07  David S. Miller  <davem@davemloft.net>
49487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49489         [BZ #14074]
49490         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49491         (SETUP_PIC_REG): Use it.
49492         (SETUP_PIC_REG_LEAF): Use it.
49494 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49496         [BZ #13885]
49497         [BZ #13923]
49498         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49499         USE_AS_EXPM1L.
49500         (EXPL_FINITE): Likewise.
49501         (FLDLOG): Likewise.
49502         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49503         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49504         e_expl.S.
49505         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49506         USE_AS_EXPM1L.
49507         (EXPL_FINITE): Likewise.
49508         (FLDLOG): Likewise.
49509         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49510         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49511         e_expl.S.
49512         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49513         test of -max_value argument for long double.
49514         * sysdeps/i386/fpu/libm-test-ulps: Update.
49515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49517 2012-05-06  David S. Miller  <davem@davemloft.net>
49519         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49520         quad soft-float symbols whose references which are compiler
49521         generated.
49522         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49524 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49526         [BZ #13884]
49527         [BZ #13914]
49528         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49529         USE_AS_EXP10L.
49530         (EXPL_FINITE): Likewise.
49531         (FLDLOG): Likewise.
49532         (c0): Likewise.
49533         (c1): Likewise.
49534         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49535         Adjust comments for base varying.
49536         (__expl_finite): Change alias to EXPL_FINITE.
49537         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49538         e_expl.S.
49539         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49540         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49541         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49542         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49543         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49544         USE_AS_EXP10L.
49545         (EXPL_FINITE): Likewise.
49546         (FLDLOG): Likewise.
49547         (c0): Likewise.
49548         (c1): Likewise.
49549         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49550         Adjust comments for base varying.
49551         (__expl_finite): Change alias to EXPL_FINITE.
49552         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49553         tests for bugs.
49554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49556         [BZ #14064]
49557         * math/libm-test.inc (check_float_internal): Correct ulp
49558         calculation for subnormal expected results.
49560 2012-05-06  Andreas Jaeger  <aj@suse.de>
49562         * Makeconfig (+math-flags): New, set to -frounding-math.
49563         (+cflags): Add +math-flags so that all of glibc gets compiled with
49564         it.
49566         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49568 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49570         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49571         Disable one test.
49573         [BZ #13787]
49574         [BZ #13922]
49575         [BZ #14036]
49576         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49577         (__ieee754_expl): Allow for and saturate large arguments.
49578         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49579         (u_threshold): Likewise.
49580         (__exp): Call __ieee754_exp before checking for overflow and
49581         underflow.
49582         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49583         (u_threshold): Likewise.
49584         (__expf): Call __ieee754_expf before checking for overflow and
49585         underflow.
49586         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49587         (u_threshold): Likewise.
49588         (__expl): Call __ieee754_expl before checking for overflow and
49589         underflow.
49590         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49591         (__ieee754_expl): Allow for and saturate large arguments.
49592         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49593         missing overflow exception on overflow.
49594         (expm1_test): Do not allow missing overflow exception on overflow.
49596         * sysdeps/i386/fpu/e_expl.c: Move to ...
49597         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49598         rather than using inline asm.
49599         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49600         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49601         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49603         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49604         (nice): Likewise.
49605         (poll): Likewise.
49606         (signal): Likewise.
49607         (time): Likewise.
49608         (times): Likewise.
49610 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49612         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49613         sysdeps/unix/common/syscalls.list.
49614         (fchmod): Likewise.
49615         (fchown): Likewise.
49616         (ftruncate): Likewise.
49617         (getrusage): Likewise.
49618         (gettimeofday): Likewise.
49619         (setpgid): Likewise.
49620         (setregid): Likewise.
49621         (setreuid): Likewise.
49622         (sigaction): Likewise.
49623         (truncate): Likewise.
49624         (vhangup): Likewise.
49625         * sysdeps/unix/common/syscalls.list: Remove file.
49626         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49627         * sysdeps/unix/sysv/linux/Implies: Likewise.
49629 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49631         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49633         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49634         Moved to ...
49635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49636         Here.
49637         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49638         to ...
49639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49640         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49641         to ...
49642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49643         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49644         to ...
49645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49646         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49647         to ...
49648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49649         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49650         to ...
49651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49652         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49653         to ...
49654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49655         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49656         to ...
49657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49658         Here.
49659         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49660         to ...
49661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49662         Here.
49663         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49664         to ...
49665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49666         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49667         Moved to ...
49668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49669         Here.
49670         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49671         to ...
49672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49674 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49676         * sysdeps/unix/common/bits/dirent.h: Remove file.
49677         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49679         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49680         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49681         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49682         * sysdeps/unix/bsd/isatty.c: Likewise.
49683         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49684         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49685         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49687 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49689         [BZ #13563]
49690         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49691         long double comparison inaccuracies.
49692         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49695 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49697         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49698         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49700 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49702         [BZ #14049]
49703         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49704         nonzero digits before rounding a hex value.
49705         * stdlib/tst-strtod.c (tests): Add another test.
49707 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49709         * sysdeps/s390/fpu/libm-test-ulps: Update.
49711 2012-05-03  Andreas Jaeger  <aj@suse.de>
49713         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49714         does not get optimized out.
49715         (malloc_opt_barrier): New.
49717 2012-05-03  Andreas Jaeger  <aj@suse.de>
49718             Roland McGrath  <roland@hack.frob.com>
49720         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49721         intermediate file deletion.
49722         (generated): Add .symlist files.
49724 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49726         [BZ #13775]
49727         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49728         Redirect under this condition.
49729         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49730         [__USE_GNU] (__dprintf_chk): Not under this condition.
49731         [__USE_GNU] (__vdprintf_chk): Likewise.
49732         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49733         under this condition.
49734         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49735         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49736         [__USE_XOPEN2K8] (vdprintf): Likewise.
49737         [__USE_GNU] (__dprintf_chk): Not under this condition.
49738         [__USE_GNU] (__vdprintf_chk): Likewise.
49739         [__USE_GNU] (dprintf): Likewise.
49740         [__USE_GNU] (vdprintf): Likewise.
49742 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49744         * elf/Makefile (common-generated): Set this instead of generated for
49745         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49746         $(all-built-dso)-derived lists.
49748 2012-05-03  Andreas Jaeger  <aj@suse.de>
49750         * sysdeps/i386/fpu/libm-test-ulps: Update.
49752         * FAQ: Removed.
49753         * FAQ.in: Likewise.
49754         * scripts/gen-FAQ.pl: Likewise.
49755         * manual/install.texi (Installation): Point to online location of
49756         FAQ.
49757         * Makefile (files-for-dist): Remove FAQ.
49758         (FAQ): Remove.
49760 2012-05-02  Allan McRae  <allan@archlinux.org>
49762         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49763         (LDFLAGS-reldepmod5.so): Likewise.
49764         (LDFLAGS-reldep6mod1.so): Likewise.
49765         (LDFLAGS-reldep6mod4.so): Likewise.
49766         (LDFLAGS-reldep8mod3.so): Likewise.
49767         (LDFLAGS-unload4mod1.so): Likewise.
49768         (LDFLAGS-unload4mod2.so): Likewise.
49769         (LDFLAGS-tst-initorder): Likewise.
49770         (LDFLAGS-tst-initordera2.so): Likewise.
49771         (LDFLAGS-tst-initordera3.so): Likewise.
49772         (LDFLAGS-tst-initordera4.so): Likewise.
49773         (LDFLAGS-tst-initorderb2.so): Likewise.
49774         (LDFLAGS-noload): Likewise.
49775         (LDFLAGS-next): Likewise.
49776         (LDFLAGS-order2mod1.so): Likewise.
49777         (LDFLAGS-order2mod2.so): Likewise.
49778         (LDFLAGS-tst-initorder2): Likewise.
49779         (LDFLAGS-tst-initorder2a.so): Likewise.
49780         (LDFLAGS-tst-initorder2b.so): Likewise.
49781         (LDFLAGS-tst-initorder2c.so): Likewise.
49782         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49784 2012-05-02  David S. Miller  <davem@davemloft.net>
49786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49788 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49790         [BZ #14055]
49791         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49793 2012-05-02  Andreas Jaeger  <aj@suse.de>
49795         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49796         since we manipulate rounding mode.
49797         (CPPFLAGS-test-idouble.c): Likewise.
49798         (CPPFLAGS-test-ifloat.c): Likewise.
49799         (CFLAGS-test-ldouble.c): Likewise.
49800         (CFLAGS-test-double.c): Likewise.
49801         (CFLAGS-test-float.c): Likewise.
49802         (CFLAGS-test-misc.c): Likewise.
49803         (CFLAGS-test-test-fenv.c): Likewise.
49805 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49807         [BZ #2550]
49808         [BZ #2570]
49809         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49810         comparisons to determine direction to adjust input.
49812 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49814         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49815         output to the target.
49817         * scripts/localplt.awk: New file.
49818         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49819         (check-localplt-CFLAGS): Variable removed.
49820         ($(all-built-dso:=.jmprel)): New static pattern rule.
49821         (generated): Add those targets.
49822         (localplt-built-dso): New variable.
49823         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49825         * elf/check-localplt.c: File removed.
49827         * scripts/check-execstack.awk: New file.
49828         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49829         (check-execstack-CFLAGS): Variable removed.
49830         ($(objpfx)check-execstack.h): Target removed.
49831         ($(objpfx)execstack-default): New target.
49832         (generated): Add that instead of check-execstack.h.
49833         ($(all-built-dso:=.phdr)): New static pattern rule.
49834         (generated): Add those targets.
49835         * elf/check-execstack.c: File removed.
49837         * scripts/check-textrel.awk: New file.
49838         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49839         (check-textrel-CFLAGS): Variable removed.
49840         (all-built-dso): Use := to define.o
49841         ($(all-built-dso:=.dyn)): New static pattern rule.
49842         (generated): Add those targets.
49843         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49844         * config.make.in (READELF): New substituted variable.
49845         * elf/check-textrel.c: File removed.
49847 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49849         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49850         allow.
49851         * conform/data/ctype.h-data [C99-based standards] (isblank):
49852         Expect function.
49853         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49854         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49856         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49857         Specify type.  Require positive value.
49858         (EILSEQ): Likewise.
49859         (ERANGE): Likewise.
49860         [ISO || POSIX] (EILSEQ): Do not expect.
49861         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49862         Specify type.  Require positive value.
49863         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49864         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49865         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49866         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49867         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49868         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49869         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49870         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49871         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49872         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49873         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49874         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49875         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49876         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49877         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49878         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49879         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49880         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49881         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49882         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49883         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49884         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49885         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49886         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49887         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49888         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49889         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49890         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49891         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49892         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49893         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49894         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49895         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49896         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49897         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49898         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49899         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49900         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49901         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49902         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49903         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49904         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49905         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49906         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49907         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49908         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49909         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49910         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49911         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49912         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49913         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49914         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49915         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49916         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49917         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49918         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49919         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49920         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49921         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49922         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49923         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49924         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49925         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49926         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49927         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49928         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49929         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49930         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49931         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49932         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49933         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49934         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49935         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49936         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49937         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49938         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49939         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49940         Require >= 2.
49941         (FLT_ROUNDS): Expect as macro, not constant.
49942         (FLT_MANT_DIG): Use macro-int-constant.
49943         (DBL_MANT_DIG): Likewise.
49944         (LDBL_MANT_DIG): Likewise.
49945         (FLT_DIG): Likewise.
49946         (DBL_DIG): Likewise.
49947         (LDBL_DIG): Likewise.
49948         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49949         (DBL_MIN_EXP): Likewise.
49950         (LDBL_MIN_EXP): Likewise.
49951         (FLT_MAX_EXP): Use macro-int-constant.
49952         (DBL_MAX_EXP): Likewise.
49953         (LDBL_MAX_EXP): Likewise.
49954         (FLT_MAX_10_EXP): Likewise.
49955         (DBL_MAX_10_EXP): Likewise.
49956         (LDBL_MAX_10_EXP): Likewise.
49957         (FLT_MAX): Use macro-constant.
49958         (DBL_MAX): Likewise.
49959         (LDBL_MAX): Likewise.
49960         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49961         (DBL_EPSILON): Likewise.
49962         (LDBL_EPSILON): Likewise.
49963         (FLT_MIN): Likewise.
49964         (DBL_MIN): Likewise.
49965         (LDBL_MIN): Likewise.
49966         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49967         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49968         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49969         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49970         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49971         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49972         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49973         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49974         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49975         [ISO11] (FLT_TRUE_MIN): Likewise.
49976         [ISO11] (LDBL_TRUE_MIN): Likewise.
49977         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49978         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49979         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49980         (SCHAR_MAX): Likewise.
49981         (UCHAR_MAX): Likewise.
49982         (CHAR_MIN): Likewise.
49983         (CHAR_MAX): Likewise.
49984         (MB_LEN_MAX): Use macro-int-constant.
49985         (SHRT_MIN): Use macro-int-constant.  Specify type.
49986         (SHRT_MAX): Likewise.
49987         (USHRT_MAX): Likewise.
49988         (INT_MAX): Likewise.
49989         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49990         bound negative.
49991         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49992         bound with "U".
49993         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49994         bound with "L".
49995         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49996         bound negative.  Suffix upper bound with "L".
49997         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49998         bound with "UL".
49999         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50000         Specify type.
50001         [C99-based standards] (LLONG_MAX): Likewise.
50002         [C99-based standards] (ULLONG_MAX): Likewise.
50003         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50004         == 0.
50005         [ISO11] (max_align_t): Require type.
50006         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50008         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50009         from $CFLAGS, without defining away __attribute__ calls.
50010         (checknamespace): Use $CFLAGS_namespace.
50012         * conform/conformtest.pl (@keywords): Only include C99 keywords
50013         for standards based on C99 or C11.
50015         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50016         Disable tests.
50017         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50018         UNIX98]: Likewise.
50020         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50021         usability of symbols in #if.
50023         * conform/conformtest.pl: If macro or constant types start
50024         "promoted:", expect the symbol to be of the following type
50025         promoted by the integer promotions.
50027         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50028         in one place.  Also handle "macro-constant".
50030         * conform/conformtest.pl: Only accept expected macro values with
50031         "==".  Parse all "macro" lines in one place.
50032         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50034         * conform/conformtest.pl: Handle braced types on "constant" lines
50035         instead of handling "typed-constant".
50036         * conform/data/signal.h-data: Use "constant" instead of
50037         "typed-constant".
50039         * conform/conformtest.pl: Handle "optional-" at start of lines in
50040         one place rather than duplicating several cases.  Handle each
50041         format of "macro" line with initial "optional-".
50043         * conform/conformtest.pl: Only accept expected constant or
50044         optional-constant values with "==".  Parse all "constant" lines in
50045         one place.  Parse all "optional-constant" lines in one place.
50046         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50047         * conform/data/fmtmsg.h-data: Likewise.
50048         * conform/data/netinet/in.h-data: Likewise.
50049         * conform/data/tar.h-data: Likewise.
50050         * conform/data/limits.h-data: Use "==" form on "constant" and
50051         "optional-constant" lines.
50053         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50054         Use -std=c99 for XOPEN2K.
50055         (@knownproblems): Remove.
50056         (newtoken): Don't check %isknown.
50058         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50059         Do not expect macro.
50060         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50061         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50062         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50063         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50064         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50065         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50066         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50067         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50068         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50069         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50070         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50071         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50072         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50073         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50074         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50075         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50076         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50077         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50078         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50079         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50080         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50081         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50082         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50083         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50084         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50085         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50086         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50087         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50088         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50089         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50090         [XPG3] (acosh): Likewise.
50091         [XPG3] (asinh): Likewise.
50092         [XPG3] (atanh): Likewise.
50093         [XPG3] (cbrt): Likewise.
50094         [XPG3] (expm1): Likewise.
50095         [XPG3] (ilogb): Likewise.
50096         [XPG3] (log1p): Likewise.
50097         [XPG3] (logb): Likewise.
50098         [XPG3] (nextafter): Likewise.
50099         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50100         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50101         [XPG3] (remainder): Likewise.
50102         [XPG3] (rint): Likewise.
50103         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50104         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50105         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50106         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50107         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50108         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50109         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50110         [UNIX98 || XOPEN2K] (scalb): Expect.
50111         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50112         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50113         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50114         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50115         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50116         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50117         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50118         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50119         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50120         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50121         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50122         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50123         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50124         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50125         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50126         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50127         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50128         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50129         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50130         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50131         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50132         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50133         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50134         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50135         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50136         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50137         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50138         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50139         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50140         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50141         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50142         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50143         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50144         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50145         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50146         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50147         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50148         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50149         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50150         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50151         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50152         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50153         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50154         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50155         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50156         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50157         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50158         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50159         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50160         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50161         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50162         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50163         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50164         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50165         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50166         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50167         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50168         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50169         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50170         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50171         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50172         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50173         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50174         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50175         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50176         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50177         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50178         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50179         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50180         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50181         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50182         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50183         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50184         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50185         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50186         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50187         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50188         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50189         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50190         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50191         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50192         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50193         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50194         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50195         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50196         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50197         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50198         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50199         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50200         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50201         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50202         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50203         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50204         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50205         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50206         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50207         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50208         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50209         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50210         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50211         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50212         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50213         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50214         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50215         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50216         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50217         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50218         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50219         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50220         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50221         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50222         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50223         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50224         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50225         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50226         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50227         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50228         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50229         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50230         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50231         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50232         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50233         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50234         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50235         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50236         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50237         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50238         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50239         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50240         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50241         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50242         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50243         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50244         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50245         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50246         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50247         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50249         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50250         _XOPEN_SOURCE_EXTENDED for XPG4.
50252         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50254         * Makeconfig (localtime): Remove variable.
50255         (inst_localtime-file): Likewise.
50257 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50260         Update.
50261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50262         Update.
50263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50264         Update.
50265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50266         Update.
50267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50268         Update.
50269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50270         Update.
50271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50272         Update.
50273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50274         Update.
50275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50276         Update.
50278 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50280         [BZ #2550]
50281         [BZ #2570]
50282         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50283         comparisons to determine direction to adjust input.
50284         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50285         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50286         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50287         Likewise.
50288         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50289         Likewise.
50290         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50291         Likewise.
50292         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50293         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50294         Likewise.
50295         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50296         Likewise.
50297         * math/libm-test.inc (nexttoward_test): Add more tests.
50299 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50301         [BZ #14040]
50302         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50303         in version GLIBC_2.1, not GLIBC_2.0.
50304         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50305         Likewise.
50307 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50309         [BZ #13942]
50310         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50311         (1 - x) * (1 + x).
50312         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50313         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50314         * math/libm-test.inc (acos_test): Add more tests.
50315         (asin_test): Likewise.
50316         * sysdeps/i386/fpu/libm-test-ulps: Update.
50317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50319         [BZ #14034]
50320         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50321         of square root.
50322         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50323         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50324         * math/libm-test.inc (acos_test_tonearest): New function.
50325         (acos_test_towardzero): Likewise.
50326         (acos_test_downward): Likewise.
50327         (acos_test_upward): Likewise.
50328         (asin_test_tonearest): Likewise.
50329         (asin_test_towardzero): Likewise.
50330         (asin_test_downward): Likewise.
50331         (asin_test_upward): Likewise.
50332         (main): Call the new functions.
50333         * sysdeps/i386/fpu/libm-test-ulps: Update.
50334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50336         [BZ #13884]
50337         [BZ #13924]
50338         * math/e_exp10.c: Include <float.h>.
50339         (__ieee754_exp10): Handle underflow here rather than multiplying
50340         large negative argument by M_LN10.
50341         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50342         of __ieee754_expf.
50343         * math/e_exp10l.c: Include <float.h>.
50344         (__ieee754_exp10l): Handle underflow here rather than multiplying
50345         large negative argument by M_LN10l.
50346         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50347         spurious overflow exception on underflow.
50349 2012-04-29  Marek Polacek  <polacek@redhat.com>
50351         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50352         (__fortify_function): New macro.
50353         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50354         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50355         __extern_always_inline.
50356         * libio/bits/stdio2.h: Likewise.
50357         * libio/bits/stdio.h: Likewise.
50358         * string/string.h: Likewise.
50359         * string/bits/string3.h: Likewise.
50360         * include/stdio.h: Likewise.
50361         * stdlib/bits/stdlib.h: Likewise.
50362         * stdlib/stdlib.h: Likewise.
50363         * rt/bits/mqueue2.h: Likewise.
50364         * rt/mqueue.h: Likewise.
50365         * posix/bits/unistd.h: Likewise.
50366         * posix/unistd.h: Likewise.
50367         * io/bits/poll2.h: Likewise.
50368         * io/bits/fcntl2.h: Likewise.
50369         * io/fcntl.h: Likewise.
50370         * io/sys/poll.h: Likewise.
50371         * misc/bits/syslog.h: Likewise.
50372         * misc/bits/syslog-ldbl.h: Likewise.
50373         * misc/sys/syslog.h: Likewise.
50374         * socket/bits/socket2.h: Likewise.
50375         * socket/sys/socket.h: Likewise.
50376         * debug/tst-chk1.c: Likewise.
50377         * wcsmbs/bits/wchar2.h: Likewise.
50378         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50379         * wcsmbs/wchar.h: Likewise.
50381 2012-04-29  Andreas Jaeger  <aj@suse.de>
50383         * Makerules (tests): Remove enable-check-abi protection.
50384         (check-abi-warn): Remove.
50385         (check-abi-%): Remove check-abi-warn usage.
50387         * configure.in: Remove check-abi configure option.
50388         * configure: Regenerated.
50389         * config.make.in (enable-check-abi): Remove.
50391 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50393         [BZ #14033]
50394         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50395         double functions to double *_finite functions.
50397         [BZ #13941]
50398         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50399         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50400         LDBL_MIN_EXP.
50401         * stdio-common/Makefile (tests): Add tst-sprintf3.
50402         * stdio-common/tst-sprintf3.c: New file.
50404         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50405         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50407 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50409         * conform/conformtest.pl: Remove duplicate typed-constant
50410         handling.
50412 2012-04-28  David S. Miller  <davem@davemloft.net>
50414         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50415         (check-abi-%): Remove AWK script prerequisite and explicit
50416         abilist directory.
50417         (check-abi): Rewrite to just diff the symlist with the abilist.
50418         (config-tls, config-abi-config): Delete, no longer used.
50419         (update-abi-%): Remove AWK script and explicit abilist directory.
50420         (update-abi): Rewrite to simply compare and conditionally copy the
50421         symlist and the sysdep abilist file.  Remove update-abi-config
50422         checks.
50423         * abilist/ld.abilist: Remove.
50424         * abilist/libBrokenLocale.abilist: Remove.
50425         * abilist/libanl.abilist: Remove.
50426         * abilist/libcrypt.abilist: Remove.
50427         * abilist/libdl.abilist: Remove.
50428         * abilist/librt.abilist: Remove.
50429         * abilist/libthread_db.abilist: Remove.
50430         * abilist/libutil.abilist: Remove.
50431         * scripts/extract-abilist.awk: Remove.
50432         * scripts/merge-abilist.awk: Remove.
50433         * sysdeps/generic/libcidn.abilist: New file.
50434         * sysdeps/generic/libnss_compat.abilist: New file.
50435         * sysdeps/generic/libnss_db.abilist: New file.
50436         * sysdeps/generic/libnss_dns.abilist: New file.
50437         * sysdeps/generic/libnss_files.abilist: New file.
50438         * sysdeps/generic/libnss_hesiod.abilist: New file.
50439         * sysdeps/generic/libnss_nis.abilist: New file.
50440         * sysdeps/generic/libnss_nisplus.abilist: New file.
50441         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50442         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50443         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50444         file.
50445         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50446         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50447         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50448         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50449         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50450         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50451         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50452         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50453         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50454         file.
50455         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50456         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50457         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50458         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50459         file.
50460         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50461         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50462         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50463         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50464         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50465         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50466         file.
50467         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50468         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50469         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50470         file.
50471         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50473         New file.
50474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50475         New file.
50476         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50477         New file.
50478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50479         New file.
50480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50481         New file.
50482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50483         New file.
50484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50485         New file.
50486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50487         New file.
50488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50489         New file.
50490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50491         New file.
50492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50493         New file.
50494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50495         New file.
50496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50497         New file.
50498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50499         file.
50500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50501         New file.
50502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50503         New file.
50504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50505         file.
50506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50507         New file.
50508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50509         New file.
50510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50511         file.
50512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50513         New file.
50514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50515         New file.
50516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50517         New file.
50518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50519         New file.
50520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50521         New file.
50522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50523         New file.
50524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50526         file.
50527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50528         New file.
50529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50530         file.
50531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50532         file.
50533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50534         file.
50535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50536         file.
50537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50538         file.
50539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50540         New file.
50541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50542         file.
50543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50544         file.
50545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50546         New file.
50547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50548         file.
50549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50551         file.
50552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50553         New file.
50554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50555         file.
50556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50557         file.
50558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50559         file.
50560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50561         file.
50562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50563         file.
50564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50565         New file.
50566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50567         file.
50568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50569         file.
50570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50571         New file.
50572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50573         file.
50574         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50575         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50576         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50577         file.
50578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50579         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50580         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50581         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50582         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50583         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50584         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50585         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50586         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50587         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50590         file.
50591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50592         New file.
50593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50594         file.
50595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50596         file.
50597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50598         file.
50599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50600         file.
50601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50602         file.
50603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50604         New file.
50605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50606         New file.
50607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50608         file.
50609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50610         New file.
50611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50612         file.
50613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50615         file.
50616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50617         New file.
50618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50619         file.
50620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50621         file.
50622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50623         file.
50624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50625         file.
50626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50627         file.
50628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50629         New file.
50630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50631         New file.
50632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50633         file.
50634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50635         New file.
50636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50637         file.
50639 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50641         * conform/conformtest.pl: Fix typo in handling typed-constant from
50642         allow-header.
50644 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50646         * README: Cut down references to pre-2.6 Linux kernels and
50647         Linuxthreads.  Update lists of configurations in libc and ports
50648         and sort alphabetically.  Say "or newer" with Linux kernel version
50649         requirements.
50651         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50653 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50655         [BZ #887]
50656         * math/libm-test.inc (logb_test_downward): New test to expose
50657         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50658         rounding mode.
50660 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50662         [BZ #14027]
50663         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50664         to be done.
50665         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50666         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50668 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50670         * sysdeps/unix/i386/brk.S: Remove file.
50671         * sysdeps/unix/i386/dl-brk.S: Likewise.
50672         * sysdeps/unix/i386/pipe.S: Likewise.
50673         * sysdeps/unix/i386/sigreturn.S: Likewise.
50674         * sysdeps/unix/i386/syscall.S: Likewise.
50675         * sysdeps/unix/i386/vfork.S: Likewise.
50676         * sysdeps/unix/i386/wait.S: Likewise.
50678         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50679         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50681         * configure.in (arm*-none*): Do not allow without
50682         --enable-hacker-mode.
50683         (netbsd*): Remove case setting base_os.
50684         (386bsd*): Likewise.
50685         (freebsd*): Likewise.
50686         (bsdi*): Likewise.
50687         (osf*): Likewise.
50688         (sunos*): Likewise.
50689         (ultrix*): Likewise.
50690         (newsos*): Likewise.
50691         (dynix*): Likewise.
50692         (*bsd*): Likewise.
50693         (sysv*): Likewise.
50694         (isc*): Likewise.
50695         (esix*): Likewise.
50696         (sco*): Likewise.
50697         (minix*): Likewise.
50698         (irix4*): Likewise.
50699         (irix6*): Likewise.
50700         (solaris[2-9]*): Likewise.
50701         (none): Likewise.
50702         * configure: Regenerated.
50704 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50706         [BZ #11521]
50707         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50708         overflow or cancellation in calculating denominator.
50709         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50711         down expression to avoid unexpected rounding in newer GCCs.
50712         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50714 2012-04-26  David S. Miller  <davem@davemloft.net>
50716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50717         long-double compat symbols.
50718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50732 2012-04-25  David S. Miller  <davem@davemloft.net>
50734         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50735         HWCAP_* values only after the memory barriers have been defined.
50736         (atomic_full_barrier): Define.
50737         (atomic_read_barrier): Define.
50738         (atomic_write_barrier): Define.
50740 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50742         * shlib-versions: Add libgcc_s version information.
50743         * sysdeps/generic/libgcc_s.h: Remove.
50744         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50745         libgcc_s.h.
50746         * sysdeps/gnu/unwind-resume.c: Likewise.
50747         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50749 2012-04-25  David S. Miller  <davem@davemloft.net>
50751         * sysdeps/unix/sparc/brk.S: Delete.
50752         * sysdeps/unix/sparc/dl-brk.S: Delete.
50753         * sysdeps/unix/sparc/pipe.S: Delete.
50754         * sysdeps/unix/sparc/sysdep.S: Delete.
50755         * sysdeps/unix/sparc/sysdep.h: Delete.
50756         * sysdeps/unix/sparc/vfork.S: Delete.
50757         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50758         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50759         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50760         (ret_ERRVAL, r0, r1, MOVE): Define.
50761         (JUMPTARGET): Remove.
50762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50763         sysdeps/unix/sparc/sysdep.h
50764         (ENTRY, END): Remove.
50765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50767 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50769         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50770         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50771         -DIS_IN_build.
50773         * timezone/README: Update upstream location and email address for
50774         tzcode and tzdata.
50775         * timezone/zdump.c: Update from tzcode 2012b.
50776         * timezone/zic.c: Likewise.
50778         * configure.in (libc_cv_as_needed): Remove test.
50779         * configure: Regenerated.
50780         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50781         conditional definition.
50782         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50783         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50784         * config.make.in (have-as-needed): Remove variable.
50786 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50787             Paul Pluzhnikov  <ppluzhnikov@google.com>
50789         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50790         strings correctly.
50792 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50794         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50795         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50796         * sysdeps/sh/strlen.S: Likewise.
50798 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50800         * sysdeps/unix/fork.S: Remove file.
50801         * sysdeps/unix/i386/fork.S: Likewise.
50802         * sysdeps/unix/sparc/fork.S: Likewise.
50804         * sysdeps/unix/system.c: Remove file.
50805         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50807         * sysdeps/unix/getegid.S: Remove file.
50808         * sysdeps/unix/geteuid.S: Likewise.
50810 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50812         * scripts/check-localplt.awk: New file.
50813         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50814         of diff.
50815         * scripts/data/localplt-generic.data: Add a comment.
50817         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50818         NODE when __dir_mkfile failed.
50819         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50820         Reported by Ludovic Courtès <ludo@gnu.org>.
50822 2012-04-24  Andreas Jaeger  <aj@suse.de>
50824         * Makerules (common-clean): Also remove gen-as-const-headers
50825         files.
50827 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50829         * Makerules (native-compile): Do not change working directory for
50830         build.  Use $(OUTPUT_OPTION) in command.
50831         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50833 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50835         [BZ #13886]
50836         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50837         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50838         * math/libm-test.inc (floor_test): Add more tests.
50839         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50841 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50843         * sysdeps/unix/getdents.c: Remove file.
50844         * sysdeps/unix/sysv/getdents.c: Likewise.
50845         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50847         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50848         sysdeps/unix/mman/syscalls.list.
50849         (mmap): Likewise.
50850         (mprotect): Likewise.
50851         (msync): Likewise.
50852         (munmap): Likewise.
50853         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50854         * sysdeps/unix/mman/syscalls.list: Remove.
50855         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50857         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50858         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50859         * configure: Regenerated.
50860         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50861         $(libgcc_s_suffix).
50862         * config.make.in (libgcc_s_suffix): Remove variable.
50864 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50866         * sysdeps/unix/sysv/gethostname.c: Move to ...
50867         * sysdeps/posix/gethostname.c: ... here.
50869         * sysdeps/unix/execve.S: Remove file.
50871         * sysdeps/unix/_exit.S: Remove file.
50873 2012-04-23  Andreas Jaeger  <aj@suse.de>
50875         [BZ #13739]
50876         * manual/Makefile: Remove make dist support, there's no
50877         need for a stand-alone documentation tar ball.
50878         (TEXI2DVI): Define always, it's not in Makeconfig.
50879         (dist): Removed.
50880         (tar-it): Removed.
50881         (edition): Removed.
50882         (glibc-doc-$(edition).tar): Removed
50883         (%.Z): Removed.
50884         (%.gz): Removed.
50885         (%.uu): Removed.
50886         (ETAGS): Remove, it's in Makeconfig.
50887         (move-if-change): Remove, it's in Makeconfig.
50889 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50891         [BZ #13970]
50892         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50893         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50894         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50895         (strtod_l, strtof_l, strtold_l): Remove __wur.
50896         It is not necessarily an error to ignore strtol's return value.
50897         One can reliably look at the stored endptr to decide whether
50898         the number had valid syntax.
50900 2012-04-21  Andreas Jaeger  <aj@suse.de>
50902         [BZ #13739]
50903         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50905 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50907         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50908         * sysdeps/unix/sysv/Versions: Remove file.
50910 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50912         [BZ #13927]
50913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50915 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50917         [BZ #7064]
50918         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50919         version from __vm86.
50921 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50923         * sysdeps/unix/common/lxstat.c: Remove file.
50924         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50926         * sysdeps/unix/sysv/Makefile: Remove file.
50928         * sysdeps/unix/sysv/direct.h: Remove file.
50930         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50931         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50932         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50933         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50934         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50935         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50936         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50938         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50940         * sysdeps/unix/xmknod.c: Remove file.
50941         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50943         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50945         * sysdeps/unix/sysv/i386/time.S: Remove file.
50947         * sysdeps/unix/fxstat.c: Remove file.
50948         * sysdeps/unix/xstat.c: Likewise.
50949         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50951         * sysdeps/unix/sysv/sigaction.c: Remove file.
50953         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50954         (sysdep_headers): Remove variable.
50955         [termio.h not in sysdep_headers] (generated): Likewise.
50956         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50957         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50958         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50959         * sysdeps/unix/sysv/tcflow.c: Likewise.
50960         * sysdeps/unix/sysv/tcflush.c: Likewise.
50961         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50962         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50963         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50964         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50965         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50967         * sysdeps/unix/siglist.c: Remove file.
50969         * sysdeps/unix/getppid.S: Remove file.
50971         * sysdeps/unix/mkdir.c: Remove file.
50972         * sysdeps/unix/rmdir.c: Likewise.
50974 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50976         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50977         ERR_MAX value.
50978         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50979         errlist-compat value.
50981 2012-04-18  David S. Miller  <davem@davemloft.net>
50983         * sysdeps/generic/memcopy.h (reg_char): Delete.
50984         * debug/strcat_chk.c: Use char, not reg_char.
50985         * debug/strcpy_chk.c: Likewise.
50986         * debug/strncat_chk.c: Likewise.
50987         * debug/strncpy_chk.c: Likewise.
50988         * string/memchr.c: Likewise.
50989         * string/memrchr.c: Likewise.
50990         * string/rawmemchr.c: Likewise.
50991         * string/strcat.c: Likewise.
50992         * string/strchr.c: Likewise.
50993         * string/strchrnul.c: Likewise.
50994         * string/strcmp.c: Likewise.
50995         * string/strcpy.c: Likewise.
50996         * string/strncat.c: Likewise.
50997         * string/strncmp.c: Likewise.
50998         * string/strncpy.c: Likewise.
51000 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51002         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51003         __builtin_memcopy is called when src and dest ranges are known to not
51004         overlap.
51006 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51008         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51009         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51010         fwd_align_merge macro call.
51011         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51012         bwd_align_merge macro call.
51013         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51015 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51017         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51018         bwd_align_merge macros.
51019         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51020         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51021         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51023 2012-04-18  David S. Miller  <davem@davemloft.net>
51025         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51027 2012-04-18  Andreas Jaeger  <aj@suse.de>
51029         [BZ# 6794]
51030         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51031         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51032         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51034         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51035         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51036         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51038         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51039         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51040         Adjust for changed ldbl-128 files.
51042         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51043         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51044         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51046 2012-04-17  David S. Miller  <davem@davemloft.net>
51048         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51050 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51052         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51053         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51054         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51055         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51056         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51057         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51059 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51061         [BZ #6794]
51062         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51063         * math/libm-test.inc: Add ilogb errno and exception tests.
51064         * math/w_ilogb.c: New file: ilogb wrapper.
51065         * math/w_ilogbf.c: New file: ilogbf wrapper.
51066         * math/w_ilogbl.c: New file: ilogbl wrapper.
51067         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51068         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51069         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51070         exception being thrown with 0.0 as argument.
51071         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51072         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51073         exception being thrown with 0.0 as argument.
51074         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51075         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51076         exception being thrown with 0.0 as argument.
51077         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51078         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51079         exception being thrown with 0.0 as argument.
51080         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51081         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51082         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51083         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51084         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51085         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51086         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51087         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51088         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51090 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51092         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51093         with altivec.
51095 2012-04-16  Marek Polacek  <polacek@redhat.com>
51097         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51099 2012-04-16  Marek Polacek  <polacek@redhat.com>
51101         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51102         operands of fdivp instruction.
51104 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51106         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51107         * elf/tst-auditmod3b.c: Likewise.
51108         * elf/tst-auditmod4b.c: Likewise.
51109         * elf/tst-auditmod5b.c: Likewise.
51110         * elf/tst-auditmod6b.c: Likewise.
51111         * elf/tst-auditmod6c.c: Likewise.
51112         * elf/tst-auditmod7b.c: Likewise.
51113         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51114         * sysdeps/x86_64/preconfigure.in: Likewise.
51115         * sysdeps/x86_64/preconfigure: Regenerated.
51117 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51119         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51120         __ILP32__.
51122 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51124         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51125         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51127 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51129         [BZ #13973]
51130         * locale/iso-639.def: Fix gl language name. Spotted by
51131         Yaron Shahrabani.
51133 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51135         [BZ #2074]
51136         * libio/libio.h (__io_write_fn): Update comment.
51138 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51140         [BZ #2074]
51141         * stdio.texi (Hook Functions): The user provided writer function
51142         is not allowed to return -1.
51144 2012-04-11  David S. Miller  <davem@davemloft.net>
51146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51148 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51150         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51151         Add a leading slash to rtkaio.
51153 2012-04-11  Jim Meyering  <meyering@redhat.com>
51155         [BZ #11959]
51156         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51157         It is not necessarily an error to ignore fwrite's return
51158         value.  One can reliably use ferror to test for errors after
51159         the fact.
51161 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51163         * bits/types.h (__snseconds_t): New type.
51164         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51166         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51167         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51168         (__SNSECONDS_T_TYPE): Likewise.
51169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51170         (__SNSECONDS_T_TYPE): Likewise.
51171         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51172         (__SNSECONDS_T_TYPE): Likewise.
51174 2012-04-10  Andreas Jaeger  <aj@suse.de>
51176         [BZ #2636]
51177         * manual/time.texi (Processor Time): Return type of times is
51178         elapsed real time since an arbitrary point in the past.
51179         (CPU Time): Move CLK_TCK from here...
51180         (Processor Time): ...to here.  Correct description.
51181         * manual/conf.texi (Constants for Sysconf): Correct description of
51182         _SC_CLK_TCK.
51184 2012-04-10  David S. Miller  <davem@davemloft.net>
51186         [BZ #13967]
51187         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51188         where the is a gap between DT_REL(A) and DT_JMPREL.
51190 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51192         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51193         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51194         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51196 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51198         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51199         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51200         (dl_main): Handle --inhibit-cache.
51201         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51202         _dl_inhibit_cache.
51203         * elf/dl-load.c (_dl_map_object): Use it.
51204         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51206 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51208         [BZ #13872]
51209         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51210         (__ieee754_powl): Saturate large exponents rather than testing for
51211         overflow of y*log2(x).
51212         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51213         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51214         exceptions.
51216         [BZ #11521]
51217         * math/s_ctan.c: Include <float.h>.
51218         (__ctan): Avoid internal overflow or cancellation in calculating
51219         denominator.
51220         * math/s_ctanf.c: Likewise.
51221         * math/s_ctanl.c: Likewise.
51222         * math/s_ctanh.c: Likewise.
51223         * math/s_ctanhf.c: Likewise.
51224         * math/s_ctanhl.c: Likewise.
51225         * math/libm-test.inc (ctan_test): Add more tests.
51226         (ctanh_test): Likewise.
51227         * sysdeps/i386/fpu/libm-test-ulps: Update.
51228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51230 2012-04-09  Andreas Jaeger  <aj@suse.de>
51232         [BZ #6894]
51233         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51234         is an optional BSD extension.
51236         [BZ #10254]
51237         * manual/stdio.texi (Opening Streams): Document additional fopen
51238         parameters.
51240 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51242         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51243         %eax without telling the compiler.
51245 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51247         [BZ # 13963]
51248         * manual/install.texi: Use sourceware.org.
51250 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51252         [BZ #13873]
51253         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51254         (__ieee754_pow): Generate overflow and underflow using huge*huge
51255         and tiny*tiny rather than just returning constant infinity or zero
51256         for large exponents.
51257         * math/libm-test.inc (pow_test): Require overflow exceptions for
51258         applicable cases of large exponents.
51260         [BZ #706]
51261         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51262         (__ieee754_pow): Use iterative multiplication algorithm only for
51263         integer exponents with absolute value below 1024.  Check for odd
51264         integer exponents when using algorithm for real exponents.
51265         * math/libm-test.inc (pow_test): Add more tests.
51266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51268 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51270         [BZ #13705]
51271         * math/libm-test.inc (exp_test): Do not allow overflow exception
51272         on underflow test.
51274 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51276         [BZ #13705]
51277         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51278         instead of __kernel_standard_f.
51280 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51282         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51283         * sysdeps/x86_64/memset_chk.S: Likewise.
51285 2012-04-08  Andreas Jaeger  <aj@suse.de>
51287         [BZ #10153]
51288         * manual/startup.texi (Environment Access): Describe return value
51289         for putenv and setenv.
51291         [BZ #6895]
51292         * manual/filesys.texi (Directory Entries): Add description for
51293         DT_LNK.
51295         [BZ #6890]
51296         * manual/filesys.texi (Directory Entries): Clarify that it's file
51297         system not operating system in the description of DT_UNKNOWN.
51299         [BZ #6578]
51300         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51302 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51304         [BZ #6649]
51305         * manual/llio.texi (Opening and Closing Files): Add cross
51306         reference to explain mode argument.
51308 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51310         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51311         * sysdeps/x86_64/memset_chk.S: Likewise.
51313 2012-04-07  David S. Miller  <davem@davemloft.net>
51315         * elf/elf.h (R_SPARC_WDISP10): Define.
51316         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51317         R_SPARC_SIZE32.
51318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51319         R_SPARC_SIZE64 and R_SPARC_H34.
51321 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51323         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51324         conditions and remove no longer applicable assertion.
51326 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51328         * bits/byteswap.h: Include <features.h>.
51329         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51330         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51332 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51334         * bits/byteswap.h (__bswap_16): Removed.
51335         Include <bits/byteswap-16.h> to get __bswap_16.
51336         * sysdeps/i386/bits/byteswap.h: Likewise.
51337         * sysdeps/s390/bits/byteswap.h: Likewise.
51338         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51339         * bits/byteswap-16.h: New file.
51340         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51341         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51342         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51343         * string/Makefile (headers): Add bits/byteswap-16.h.
51345 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51347         [BZ #13895]
51348         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51349         extra indirection.
51350         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51351         * nss/tst-nss-static.c: New.
51353 2012-04-06  Robert Millan  <rmh@gnu.org>
51355         [BZ #6486]
51356         * manual/llio.texi (File Position Primitive): lseek
51357         refers to WHENCE when it really means OFFSET.
51359 2012-04-06  Andreas Jaeger  <aj@suse.de>
51361         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51362         strncmp declarations.
51364         * abilist/libc.abilist: Add __poll and __ppoll.
51366 2012-04-05  David S. Miller  <davem@davemloft.net>
51368         * scripts/check-local-headers.sh: Accept a host triplet in the
51369         path matched by the exclude regexp.
51371         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51372         definition.
51373         * sysdeps/powerpc/powerpc32/dl-machine.h
51374         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51375         * sysdeps/s390/s390-32/dl-machine.h
51376         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51377         * sysdeps/sparc/sparc32/dl-machine.h
51378         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51379         * sysdeps/sparc/sparc64/dl-machine.h
51380         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51382         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51383         lazy binding.
51384         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51385         undefined symbol errors.
51387         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51388         DT_NEEDED entries.
51390 2012-04-05  Michael Matz  <matz@suse.de>
51392         [BZ #13592]
51393         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51395 2012-04-05  Andreas Jaeger  <aj@suse.de>
51397         [BZ #13908]
51398         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51399         comment.
51401 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51403         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51404         which ROUND is no valid rounding mode.
51406 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51408         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51409         read again.
51410         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51412 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51414         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51415         an exception using FPU order intentionally.
51417 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51419         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51420         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51421         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51422         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51424 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51426         [BZ #12340]
51427         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51428         EINVAL when BUFLEN is too smal.
51430 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51432         [BZ #13553]
51433         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51434         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51436 2012-04-03  Andreas Jaeger  <aj@suse.de>
51438         [BZ #13938]
51439         * manual/setjmp.texi (System V contexts): Fix sentence.
51441         [BZ #13926]
51442         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51443         New macro for this case.
51444         [!__GNUC__] (__bswap_64): New inline function for this case.
51445         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51446         * bits/byteswap.h: Likewise.
51447         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51448         ull, guard with __GLIBC_HAVE_LONG_LONG.
51450         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51451         __GLIBC_HAVE_LONG_LONG.
51453         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51454         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51456 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51458         [BZ #13691]
51459         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51460         inptr and inend, rather than using last_ch.
51462 2012-04-02  David S. Miller  <davem@davemloft.net>
51464         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51465         * stdio-common/printf-parse.h (read_int): Change return type to
51466         'int', return -1 on INT_MAX overflow.
51467         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51468         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51469         overflows INT_MAX.  Check for overflow of in-format-string precision
51470         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51471         SIZE_MAX not INT_MAX for integer overflow test.
51472         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51473         skip the construct in the format string but do not record anything.
51474         * stdio-common/bug22.c: Adjust to test both width/prevision
51475         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51476         explicitly for proper errno values.
51478 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51480         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51481         CHAR_MAX.
51482         * string/test-strcmp.c [! WIDE]: Likewise.
51483         * time/tst-mktime2.c: Likewise for INT_MAX.
51484         * string/test-string.h: #include <sys/param.h> for MIN.
51486         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51487         * sysdeps/i386/init-first.c (init): Likewise.
51488         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51489         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51490         * sysdeps/sh/init-first.c (init): Likewise.
51492 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51494         * po/ru.po: Update from translation team.
51495         * po/vi.po: Likewise.
51497 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51499         * resolv/nss_dns/dns-host.c: Merge copyright years.
51501 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51503         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51504         Optimize memcpy with prefetch if
51505         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51506         src, dst pointers have unequal 16 byte alignments.
51508 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51510         [BZ #13928]
51511         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51512         from a CNAME entry and return the minimum ttl for the query.
51513         (gaih_getanswer_slice): Likewise.
51515 2012-03-30  Jeff Law  <law@redhat.com>
51517         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51518         due to long keys.
51519         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51520         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51522         * resolv/nss_dns/dns-host.c: Update copyright year.
51524 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51526         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51527         requests to save a system call.  Fix check that all bytes are sent.
51529         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51530         comments for sendmmsg.
51532 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51534         [BZ #13691]
51535         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51536         with only 1 character between 0x0041 and 0x01b0.
51537         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51538         * wcsmbs/tst-mbsnrtowcs.c: New file.
51540 2012-03-29  David S. Miller  <davem@davemloft.net>
51542         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51543         small copies by hand.
51545 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51547         [BZ #13761]
51548         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51549         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51550         group memberships.
51552 2012-03-28  David S. Miller  <davem@davemloft.net>
51554         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51555         that branches into memcpy.
51556         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51558         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51559         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51561         bits.
51562         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51563         implementation too.
51564         * sysdeps/sparc/mempcpy.S: New file.
51566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51567         the IFUNC routine in the libc case.
51568         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51570         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51571         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51572         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51573         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51574         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51575         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51576         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51577         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51579         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51580         loop to 256 bytes instead of 64 bytes and fix test signedness.
51582         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51583         * sysdeps/sparc/sparc32/Makefile: rather than here...
51584         * sysdeps/sparc/sparc64/Makefile: and here.
51586 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51588         * malloc/mallocbug.c: Avoid warnings about unused variables.
51590 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51592         [BZ #13760]
51593         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51594         in the right place. Discard and retry query if response is
51595         larger than input buffer size.
51597 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51599         [BZ #369]
51600         [BZ #2678]
51601         [BZ #3866]
51602         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51603         x for large integer exponent.
51604         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51605         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51606         sign of result as needed afterwards.
51607         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51608         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51609         result for underflowing pow the same as for overflow.
51610         (__kernel_standard_l): Handle powl overflow and underflow here
51611         rather than calling __kernel_standard.
51612         * math/libm-test.inc (pow_test): Add more tests.
51614         [BZ #3868]
51615         [BZ #13879]
51616         [BZ #13910]
51617         [BZ #13911]
51618         [BZ #13912]
51619         [BZ #13913]
51620         [BZ #13915]
51621         [BZ #13916]
51622         [BZ #13917]
51623         [BZ #13918]
51624         [BZ #13919]
51625         [BZ #13920]
51626         [BZ #13921]
51627         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51628         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51629         (__kernel_standard_l): New function.
51630         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51631         __kernel_standard.
51632         * math/w_acosl.c (__acosl): Likewise.
51633         * math/w_asinl.c (__asinl): Likewise.
51634         * math/w_atan2l.c (__atan2l): Likewise.
51635         * math/w_atanhl.c (__atanhl): Likewise.
51636         * math/w_coshl.c (__coshl): Likewise.
51637         * math/w_exp10l.c (__exp10l): Likewise.
51638         * math/w_exp2l.c (__exp2l): Likewise.
51639         * math/w_fmodl.c (__fmodl): Likewise.
51640         * math/w_hypotl.c (__hypotl): Likewise.
51641         * math/w_j0l.c (__j0l, __y0l): Likewise.
51642         * math/w_j1l.c (__j1l, __y1l): Likewise.
51643         * math/w_jnl.c (__jnl, __ynl): Likewise.
51644         * math/w_lgammal.c (__lgammal): Likewise.
51645         * math/w_log10l.c (__log10l): Likewise.
51646         * math/w_log2l.c (__log2l): Likewise.
51647         * math/w_logl.c (__logl): Likewise.
51648         * math/w_powl.c (__powl): Likewise.
51649         * math/w_remainderl.c (__remainderl): Likewise.
51650         * math/w_scalbl.c (sysv_scalbl): Likewise.
51651         * math/w_sinhl.c (__sinhl): Likewise.
51652         * math/w_sqrtl.c (__sqrtl): Likewise.
51653         * math/w_tgammal.c (__tgammal): Likewise.
51654         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51655         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51656         * math/libm-test.inc (acos_test): Add more tests.
51657         (acosh_test): Likewise.
51658         (asin_test): Likewise.
51659         (atanh_test): Likewise.
51660         (exp_test): Likewise.
51661         (exp10_test): Likewise.
51662         (exp2_test): Likewise.
51663         (expm1_test): Likewise.
51664         (lgamma_test): Likewise.
51665         (log_test): Likewise.
51666         (log10_test): Likewise.
51667         (log1p_test): Likewise.
51668         (log2_test): Likewise.
51669         (pow_test): Do not allow some spurious overflow exceptions.
51670         (sqrt_test): Add more tests.
51671         (tgamma_test): Likewise.
51672         (y0_test): Likewise.
51673         (y1_test): Likewise.
51674         (yn_test): Likewise.
51676 2012-03-27  Anton Blanchard  <anton@samba.org>
51678         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51679         MAP_HUGETLB.
51680         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51681         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51682         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51684 2012-03-27  David S. Miller  <davem@davemloft.net>
51686         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51688         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51689         have-as-vis3 check.
51691 2012-03-27  Andreas Jaeger  <aj@suse.de>
51693         * sysdeps/x86_64/elf/configure.in: Moved to ...
51694         * sysdeps/x86_64/configure.in: ... here.
51695         * sysdeps/x86_64/elf/start.S: Moved to ...
51696         * sysdeps/x86_64/start.S: ... here.
51697         * sysdeps/x86_64/elf/configure: Delete.
51699         * sysdeps/x86_64/configure.in: Merge contents from
51700         sysdeps/i386/configure.in (without i686 check).
51702         * sysdeps/i386/elf/Versions: Merge into ...
51703         * sysdeps/i386/Versions: ... this.
51704         * sysdeps/i386/elf/Versions: Delete file.
51705         * sysdeps/i386/elf/start.S: Moved to ...
51706         * sysdeps/i386/start.S: ...here.
51707         * sysdeps/i386/elf/configure.in: Merge into...
51708         * sysdeps/i386/configure.in: ...here.
51709         * sysdeps/i386/elf/configure.in: Delete file.
51710         * sysdeps/i386/elf/configure: Delete file.
51712         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51713         * debug/backtracesyms.c: ... here.
51714         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51715         * debug/backtracesymsfd.c: ... here.
51716         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51717         * sysdeps/generic/ifunc-sel.h: ... here.
51719         * sysdeps/unix/i386/start.c: Delete file.
51720         * sysdeps/unix/sparc/start.c: Delete file.
51721         * sysdeps/unix/start.c: Delete file.
51723         * sysdeps/sh/elf/configure.in: Moved to ...
51724         * sysdeps/sh/configure.in: ... here.
51725         * sysdeps/sh/elf/start.S: Moved to ...
51726         * sysdeps/sh/start.S: ... here.
51727         * sysdeps/sh/elf/configure: Delete file.
51729         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51730         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51731         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51732         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51733         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51734         * sysdeps/powerpc/powerpc64/start.S: here.
51735         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51736         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51737         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51738         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51739         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51741         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51742         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51743         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51744         * sysdeps/powerpc/powerpc32/start.S: ... here.
51745         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51746         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51747         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51749         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51750         * sysdeps/powerpc/ifunc-sel.h: ... here.
51751         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51752         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51754         * sysdeps/sparc/elf/configure.in: Moved to ...
51755         * sysdeps/sparc/configure.in: ... here.
51756         * sysdeps/sparc/elf/configure: Delete file.
51757         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51758         * sysdeps/sparc/sparc32/start.S: ... here.
51759         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51760         * sysdeps/sparc/sparc64/start.S: ... here.
51761         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51762         * sysdeps/sparc/sparc32/Makefile: ... this.
51763         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51764         * sysdeps/sparc/sparc64/Makefile: ... this.
51766         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51767         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51768         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51769         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51770         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51771         * sysdeps/s390/s390-32/setjmp.S: ... here.
51772         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51773         * sysdeps/s390/s390-32/configure.in: ... here.
51774         * sysdeps/s390/s390-32/elf/configure: Delete file.
51775         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51776         * sysdeps/s390/s390-32/start.S: ... here.
51778         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51779         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51780         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51781         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51782         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51783         * sysdeps/s390/s390-64/setjmp.S: ... here.
51784         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51785         * sysdeps/s390/s390-64/configure.in: ... here
51786         * sysdeps/s390/s390-64/elf/configure: Delete file.
51787         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51788         * sysdeps/s390/s390-64/start.S: ... here.
51789         * sysdeps/s390/s390-64/elf/configure: Delete.
51791         * configure.in: Remove support for elf directories in sysdeps.
51793         * configure: Regenerated.
51794         * sysdeps/i386/configure: Regenerated.
51795         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51796         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51797         * sysdeps/s390/s390-32/configure: Regenerated.
51798         * sysdeps/s390/s390-64/configure: Regenerated.
51799         * sysdeps/sh/configure: Regenerated.
51800         * sysdeps/sparc/configure: Regenerated.
51801         * sysdeps/x86_64/configure: Regenerated.
51803 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51807         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51808         denormal result into account.
51810 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51812         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51813         Reported by Allan McRae <allan@archlinux.org>.
51815 2012-03-23  Jeff Law  <law@redhat.com>
51817         * nss/getnssent.c (__nss_getent): Fix typo.
51819 2012-03-23  David S. Miller  <davem@davemloft.net>
51821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51823 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51825         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51826         to pad to uint64_t for each field.
51827         (dl_tls_index): Replace unsigned long with uint64_t.
51829 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51830         Paul Pluzhnikov  <ppluzhnikov@google.com>
51832         [BZ #6528]
51833         * grp/Makefile (otherlibs): Don't set it.
51834         * inet/Makefile (otherlibs): Likewise.
51835         * login/Makefile (otherlibs): Likewise.
51836         * nscd/Makefile (otherlibs): Likewise.
51837         * posix/Makefile (otherlibs): Likewise.
51838         * pwd/Makefile (otherlibs): Likewise.
51839         * rt/Makefile (otherlibs): Likewise.
51840         * sunrpc/Makefile (otherlibs): Likewise.
51841         * nss/Makefile (otherlibs): Likewise.
51842         Add libnss_files to routines and static-only-routines.
51843         ($(objpfx)getent): Remove rule.
51844         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51845         static-only-routines.
51847 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51849         [BZ #13892]
51850         * math/s_cexp.c: Include <float.h>.
51851         (__cexp): Handle exp result overflowing not necessarily
51852         overflowing both real and imaginary parts of result.
51853         * math/s_cexpf.c: Likewise.
51854         * math/s_cexpl.c: Likewise.
51855         * math/libm-test.inc (cexp_test): Add more tests.
51856         * sysdeps/i386/fpu/libm-test-ulps: Update.
51857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51859 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51861         * include/link.h (ELFW): New macro.
51862         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51863         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51865 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51867         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51868         with uint64_t.
51870 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51872         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51873         declaration.
51874         (struct La_x32_retval): Likewise.
51876 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51878         * sysdeps/x86_64/preconfigure.in: New file.
51879         * sysdeps/x86_64/preconfigure: New generated file.
51881 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51883         [BZ #13824]
51884         * math/e_exp2l.c: Include <float.h>.
51885         (__ieee754_exp2l): Handle overflow and underflow cases
51886         separately.  Only pass fractional part of argument to
51887         __ieee754_expl.
51888         * math/libm-test.inc (exp2_test): Add more tests.
51890         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51891         negating x to take absolute value.
51892         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51893         Likewise.
51894         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51895         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51896         Likewise.
51897         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51898         computing low part if x was negated.
51899         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51901 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51903         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51904         la_x32_gnu_pltexit.
51905         (pltexit): Cast int_retval to ptrdiff_t.
51906         * elf/tst-auditmod3b.c: Likewise.
51907         * elf/tst-auditmod4b.c: Likewise.
51908         * elf/tst-auditmod5b.c: Likewise.
51909         * elf/tst-auditmod6b.c: Likewise.
51910         * elf/tst-auditmod6c.c: Likewise.
51911         * elf/tst-auditmod7b.c: Likewise.
51913         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51914         and x32_gnu_pltexit.
51916         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51917         __ELF_NATIVE_CLASS.
51918         (La_x32_regs): New macro.
51919         (La_x32_retval): Likewise.
51920         (la_x32_gnu_pltenter): New function prototype.
51921         (la_x32_gnu_pltexit): Likewise.
51923 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51925         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51926         exponent.
51928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51930         * configure.in (libc_cv_cc_nofma): Check for option to disable
51931         generation of FMA instructions.
51932         * configure: Regenerate.
51933         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51934         * sysdeps/ieee754/dbl-64/Makefile: New file.
51935         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51936         Remove brandred-fma4.
51937         (CFLAGS-brandred-fma4.c): Remove.
51938         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51939         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51940         define.
51941         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51942         define.
51944 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51946         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51947         LLONG_MAX != LONG_MAX.
51948         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51949         (_fitoa_word): Likewise.
51950         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51951         LLONG_MAX != LONG_MAX.
51952         * stdio-common/_itowa.h: Include <_itoa.h>.
51953         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51954         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51955         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51956         only if not defined.
51957         (_ITOA_WORD_TYPE): Likewise.
51958         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51959         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51961 2012-03-21  David S. Miller  <davem@davemloft.net>
51963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51965 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51967         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51968         of x86_64 when setting libc_cv_slibdir, libdir and
51969         libc_cv_localedir.
51970         * sysdeps/unix/sysv/linux/configure: Regenerated.
51972 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51974         * manual/lang.texi (Old Varargs): Remove section.
51975         (How Variadic): Update menu.
51976         (va_start): Do not mention varargs.h.
51978 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51979             Joseph Myers  <joseph@codesourcery.com>
51981         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51982         link test.
51983         * configure: Regenerated.
51985 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51987         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51988         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51989         conformtest.pl
51991 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51993         * NOTES: Remove.
51994         * Makefile (files-for-dist): Remove NOTES.
51995         (NOTES): Remove rule.
51996         * README: Don't refer to NOTES.
51997         * manual/creature.texi: Don't include macros.texi.
51998         * manual/intro.texi (creature.texi): Remove comment referring to
51999         NOTES.
52001         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52002         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52003         * configure: Regenerated.
52004         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52005         LIBC_TRY_CC_OPTION.
52006         (libc_cv_as_i686): Likewise.
52007         (libc_cv_cc_avx): Likewise.
52008         (libc_cv_cc_sse2avx): Likewise.
52009         (libc_cv_cc_fma4): Likewise.
52010         (libc_cv_cc_novzeroupper): Likewise.
52011         * sysdeps/i386/configure: Regenerated.
52013         [BZ #13883]
52014         * sysdeps/i386/fpu/s_cexp.S: Remove.
52015         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52016         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52017         * math/libm-test.inc (cexp_test): Add more tests.
52018         * sysdeps/i386/fpu/libm-test-ulps: Update.
52019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52021 2012-03-21  Allan McRae  <allan@archlinux.org>
52023         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52025 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52027         [BZ #13871]
52028         * math/w_exp2.c: Do not include <float.h>.
52029         (o_threshold, u_threshold): Remove.
52030         (__exp2): Calculate result before checking finiteness and calling
52031         __kernel_standard.
52032         * math/w_exp2f.c: Likewise.
52033         * math/w_exp2l.c: Likewise.
52034         * math/libm-test.inc (exp2_test): Require overflow exception for
52035         1e6 input.
52037         [BZ #3866]
52038         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52039         range of signed 64-bit integers before using fistpll.  Remove
52040         checks for whether integers fit in mantissa bits.
52041         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52042         the range of signed 32-bit integers before using fistpl.  Remove
52043         checks for whether integers fit in mantissa bits.
52044         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52045         (__ieee754_powl): Test for y outside the range of signed 64-bit
52046         integers before using fistpll.  Reduce 64-bit values to 63-bit
52047         ones as needed.
52048         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52049         divide-by-zero is raised for zero to large negative powers.
52050         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52051         (__ieee754_powl): Test for y outside the range of signed 64-bit
52052         integers before using fistpll.  Reduce 64-bit values to 63-bit
52053         ones as needed.
52054         * math/libm-test.inc (pow_test): Add more tests.
52056 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52058         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52059         <stdio-common/_itoa.h>.
52060         * debug/segfault.c: Likewise.
52061         * elf/dl-cache.c: Likewise.
52062         * elf/dl-minimal.c: Likewise.
52063         * elf/dl-misc.c: Likewise.
52064         * elf/dl-sysdep.c: Likewise.
52065         * elf/dl-version.c: Likewise.
52066         * elf/rtld.c: Likewise.
52067         * hurd/hurdsock.c: Likewise.
52068         * hurd/lookup-retry.c: Likewise.
52069         * malloc/malloc.c: Likewise.
52070         * malloc/mtrace.c: Likewise.
52071         * nscd/nscd_getgr_r.c: Likewise.
52072         * nscd/nscd_getpw_r.c: Likewise.
52073         * nscd/nscd_getserv_r.c: Likewise.
52074         * posix/getopt_init.c: Likewise.
52075         * posix/wordexp.c: Likewise.
52076         * stdio-common/_itoa.c: Likewise.
52077         * stdio-common/printf_fphex.c: Likewise.
52078         * stdio-common/vfprintf.c: Likewise.
52079         * string/_strerror.c: Likewise.
52080         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52081         * sysdeps/i386/i686/hp-timing.h: Likewise.
52082         * sysdeps/mach/_strerror.c: Likewise.
52083         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52084         * sysdeps/mach/hurd/sethostid.c: Likewise.
52085         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52086         * sysdeps/mach/xpg-strerror.c: Likewise.
52087         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52088         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52089         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52090         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52091         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52092         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52093         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52094         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52095         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52096         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52097         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52098         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52099         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52100         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52101         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52102         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52103         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52104         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52105         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52106         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52107         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52109         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52111         * stdio-common/_itoa.h: Moved to ...
52112         * sysdeps/generic/_itoa.h: Here.
52114         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52116         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52117         instead of "_itoa.h" and "_itowa.h".
52118         * stdio-common/vfprintf.: Likewise.
52120 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52122         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52123         <bits/wordsize.h>.
52124         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52125         (__signbit): Likwise.
52126         (llrintf): Likwise.
52127         (llrint): Likwise.
52129 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52131         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52132         __WORDSIZE != 64.
52134 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52136         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52137         OVERFLOW_EXCEPTION_OK.
52138         * math/libm-test.inc ("Philosophy"): Update comment about
52139         exception testing.
52140         (OVERFLOW_EXCEPTION): Define.
52141         (OVERFLOW_EXCEPTION_OK): Likewise.
52142         (INVALID_EXCEPTION_OK): Renumber.
52143         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52144         (IGNORE_ZERO_INF_SIGN): Likewise.
52145         (test_exceptions): Handle FE_OVERFLOW.
52146         (exp10_test): Expect overflow exceptions.
52147         (exp2_test): Likewise.
52148         (expm1_test): Likewise.
52149         (nextafter_test): Likewise.
52150         (pow_test): Likewise.
52151         (scalbn_test): Likewise.
52152         (scalbln_test): Likewise.
52154 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52156         * sysdeps/x86_64/bits/atomic.h
52157         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52158         64bit integer.
52159         (atomic_exchange_acq): Likewise.
52160         (__arch_exchange_and_add_body): Likewise.
52161         (__arch_add_body): Likewise.
52162         (atomic_add_negative): Likewise.
52163         (atomic_add_zero): Likewise.
52165 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52167         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52168         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52170 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52172         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52173         Check __x86_64__ instead of __WORDSIZE.
52175 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52177         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52179 2012-03-19  David S. Miller  <davem@davemloft.net>
52181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52183         * sysdeps/sparc/fpu/fenv_private.h: New file.
52184         * sysdeps/sparc/fpu/math_private.h: Use it.
52185         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52186         Remove.
52187         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52188         (libc_feholdexcept_setroundl): Remove.
52189         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52190         Remove.
52191         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52192         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52194 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52196         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52197         int64_t instead of long int.
52198         (INSERT_WORDS64): Likwise.
52200 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52202         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52203         _Unwind_GetCFA return to _Unwind_Ptr first.
52205 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52207         [BZ #13629]
52208         * math/s_clog.c: Include <float.h>.
52209         (__clog): Scale large or subnormal inputs.
52210         * math/s_clogf.c: Likewise.
52211         * math/s_clogl.c: Likewise.
52212         * math/s_clog10.c: Include <float.h>.
52213         (M_LOG10_2): Define.
52214         (__clog10): Scale large or subnormal inputs.
52215         * math/s_clog10f.c: Likewise.
52216         * math/s_clog10l.c: Likewise.
52217         * math/libm-test.inc (clog_test): Add more tests.
52218         (clog10_test): Likewise.
52219         * sysdeps/i386/fpu/libm-test-ulps: Update.
52220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52222         [BZ #11451]
52223         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52224         x and y.
52225         * math/libm-test.inc (atan2_test): Add another test.
52227         * Makerules (common-objdir-compile): Remove.
52228         * sysdeps/unix/Makefile (config-generated): Do not add
52229         $(unix-generated) to variable.
52230         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52231         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52232         Remove rule.
52233         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52234         Likewise.
52235         [generic bits/local_lim.h] (before-compile): Do not append to
52236         variable.
52237         [generic bits/local_lim.h] (common-generated): Likewise.
52238         [generic sys/param.h] (before-compile): Do not append to variable.
52239         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52240         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52241         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52242         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52243         include.
52244         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52245         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52246         [generic sys/param.h] ($(addprefix
52247         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52248         [generic sys/param.h] (common-generated): Do not append to
52249         variable.
52250         [generic sys/param.h] (sysdep_headers): Likewise.
52251         [generic bits/errno.h] (before-compile): Do not append to
52252         variable.
52253         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52254         rule.
52255         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52256         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52257         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52258         [generic bits/errno.h] (common-generated): Do not append to
52259         variable.
52260         [generic bits/ioctls.h] (before-compile): Do not append to
52261         variable.
52262         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52263         rule.
52264         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52265         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52266         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52267         rule.
52268         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52269         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52270         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52271         [generic bits/ioctls.h] (common-generated): Do not append to
52272         variable.
52273         [generic sys/syscall.h] (syscall.h): Remove variable.
52274         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52275         rule.
52276         [generic sys/syscall.h] (before-compile): Do not append to
52277         variable.
52278         [generic sys/syscall.h] (common-generated): Likewise.
52279         * sysdeps/unix/errnos-tmpl.c: Remove file.
52280         * sysdeps/unix/errnos.awk: Likewise.
52281         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52282         * sysdeps/unix/ioctls.awk: Likewise.
52283         * sysdeps/unix/mk-local_lim.c: Likewise.
52284         * sysdeps/unix/snarf-ioctls: Likewise.
52286 2012-03-19  Richard Henderson  <rth@twiddle.net>
52288         * sysdeps/i386/fpu/fenv_private.h: New file.
52289         * sysdeps/i386/fpu/math_private.h: Use it.
52290         (math_opt_barrier, math_force_eval): Remove.
52291         (libc_feholdexcept_setround_53bit): Remove.
52292         (libc_feupdateenv_53bit): Remove.
52293         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52294         (math_opt_barrier, math_force_eval): Remove.
52295         (libc_feholdexcept): Remove.
52296         (libc_feholdexcept_setround): Remove.
52297         (libc_fetestexcept, libc_fesetenv): Remove.
52298         (libc_feupdateenv_test): Remove.
52299         (libc_feupdateenv, libc_feholdsetround): Remove.
52300         (libc_feresetround): Remove.
52302         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52303         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52305         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52306         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52307         (libc_feupdateenv_testl): New.
52308         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52309         (libc_feupdateenv_testf): New.
52310         (libc_feupdateenv): Use libc_feupdateenv_test.
52311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52312         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52314         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52315         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52316         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52317         (libc_feresetround_noex): New.
52318         (libc_feresetround_noexf): New.
52319         (libc_feresetround_noexl): New.
52320         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52321         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52322         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52323         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52324         SET_RESTORE_ROUND.
52325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52326         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52327         (__cos): Likewise.
52328         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52329         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52330         SET_RESTORE_ROUND_NOEX.
52331         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52332         SET_RESTORE_ROUND_NOEXF.
52333         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52334         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52335         (libc_feholdsetroundf): New.
52336         (libc_feresetround, libc_feresetroundf): New.
52338         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52339         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52340         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52342         * sysdeps/generic/math_private.h: Include <fenv.h>.
52343         (default_libc_feholdexcept): New.
52344         (default_libc_feholdexcept_setround): New.
52345         (default_libc_fesetenv, default_libc_feupdateenv): New.
52346         (libc_feholdexcept): Only define if undefined.
52347         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52348         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52349         (libc_feholdexcept_setroundl): Likewise.
52350         (libc_feholdexcept_setround_53bit): Likewise.
52351         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52352         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52353         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52354         (libc_feupdateenv_53bit): Likewise.
52355         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52356         (libc_feholdexcept): Convert from macro to inline function.
52357         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52358         (libc_fesetenv, libc_feupdateenv): Likewise.
52360         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52361         not previously defined.
52362         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52363         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52364         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52365         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52366         * sysdeps/ieee754/flt-32/math_private.h: New file.
52367         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52368         math_private.h below SET_FLOAT_WORD.
52369         (__isnan, __isinf_ns, __finite): Remove.
52370         (__isnanf, __isinf_nsf, __finitef): Remove.
52372 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52376 2012-03-17  David S. Miller  <davem@davemloft.net>
52378         [BZ #6471]
52379         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52380         for 2.16.
52382 2012-03-16  David S. Miller  <davem@davemloft.net>
52384         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52385         warnings.
52387         [BZ #6471]
52388         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52389         properly.
52390         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52391         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52392         sysdep_routines when subdir is sysvipc.
52393         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52394         __getshmlba helper.
52396         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52398 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52400         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52401         [__LP64__].
52403 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52405         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52406         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52407         (__lround): Renamed to ...
52408         (__llround): This.  Replace long int with long long int.
52409         Define lround functions as aliases of llround functions.
52410         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52412 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52414         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52415         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52416         adresses to uintptr_t.  Replace "long int" and "unsigned long
52417         int" with "greg_t" on va_arg.
52419 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52421         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52422         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52424         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52425         Move e_machine check before EI_CLASS check.  Handle x32
52426         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52427         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52428         SKIP_EM_IA_64 and include
52429         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52431         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52432         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52433         (add_system_dir): New macro.
52435         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52436         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52438 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52440         [BZ #2551]
52441         [BZ #2552]
52442         [BZ #2553]
52443         [BZ #2554]
52444         [BZ #2562]
52445         [BZ #2563]
52446         [BZ #2565]
52447         [BZ #2566]
52448         [BZ #2576]
52449         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52450         (y0): Likewise.
52451         * math/w_j0f.c (j0f): Likewise.
52452         (y0f): Likewise.
52453         * math/w_j0l.c (__j0l): Likewise.
52454         (__y0l): Likewise.
52455         * math/w_j1.c (j1): Likewise.
52456         (y1): Likewise.
52457         * math/w_j1f.c (j1f): Likewise.
52458         (y1f): Likewise.
52459         * math/w_j1l.c (__j1l): Likewise.
52460         (__y1l): Likewise.
52461         * math/w_jn.c (jn): Likewise.
52462         (yn): Likewise.
52463         * math/w_jnf.c (jnf): Likewise.
52464         (ynf): Likewise.
52465         * math/w_jnl.c (__jnl): Likewise.
52466         (__ynl): Likewise.
52467         * math/libm-test.inc (j0_test): Add more tests.
52468         (j1_test): Likewise.
52469         (jn_test): Likewise.  Add trailing semicolon to existing test.
52470         (y0_test): Likewise.
52471         (y1_test): Likewise.
52472         * sysdeps/i386/fpu/libm-test-ulps: Update.
52473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52475         [BZ #13851]
52476         [BZ #13854]
52477         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52478         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52479         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52480         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52481         (__tanl): Set errno for infinite argument.
52482         * sysdeps/i386/fpu/mptan.c: Remove.
52483         * sysdeps/i386/fpu/s_tan.S: Likewise.
52484         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52485         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52486         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52487         * math/libm-test.inc (tan_test): Add more tests and enable more
52488         tests for double and long double.
52489         * sysdeps/i386/fpu/libm-test-ulps: Update.
52490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52492 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52494         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52495         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52497 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52499         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52500         * configure.in: Use it for both main tree and add-ons.
52501         * configure: Regenerated.
52503 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52505         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52507 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52509         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52510         in comment.
52512         [BZ #13851]
52513         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52514         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52515         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52516         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52517         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52518         infinite argument.
52519         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52520         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52521         != 0 for prec == 2.
52522         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52523         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52524         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52525         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52526         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52527         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52528         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52529         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52530         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52531         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52532         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52533         * math/libm-test.inc (cos_test): Add more tests and enable more
52534         tests for long double.
52535         (sin_test): Likewise.
52536         (sincos_test): Likewise.
52537         * sysdeps/i386/fpu/libm-test-ulps: Update.
52538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52540 2012-03-16  David S. Miller  <davem@davemloft.net>
52542         * sysdeps/sparc/fpu/math_private.h: New file.
52544 2012-03-15  David S. Miller  <davem@davemloft.net>
52546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52547         file.
52548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52550         file.
52551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52556         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52557         sysdep routines.
52558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52560         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52561         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52563         * sysdeps/sparc/sparc-ifunc.h: New file.
52564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52565         sparc-ifunc.h
52566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52568         Likewise.
52569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52570         Likewise.
52571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52575         Likewise.
52576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52581         Likewise.
52582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52583         Likewise.
52584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52602         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52603         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52604         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52605         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52609 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52611         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52612         scaling.
52613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52615 2012-03-15  Andreas Jaeger  <aj@suse.de>
52617         [BZ #13852]
52618         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52619         ieee754/flt-32 implementation for sin, cos and sincos.
52620         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52621         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52622         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52623         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52624         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52625         ieee754/flt-32 implementation for tan.
52627         * math/libm-test.inc (cos_test): Enable some large input tests for
52628         float as well
52629         (sin_test): Likewise.
52630         (sincos_test): Likewise.
52631         (tan_test): Add tests for large input.
52633         * sysdeps/i386/fpu/libm-test-ulps: Update.
52635 2012-03-15  Andreas Jaeger  <aj@suse.de>
52637         [BZ #13658]
52638         * math/libm-test.inc (cos_test): Add more test cases.
52639         (sin_test): Likewise.
52640         (sincos_test): Likewise.
52642 2012-03-15  Andreas Jaeger  <aj@suse.de>
52644         [BZ #13837]
52645         * math/libm-test.inc (cos_test): Add a test case for large input
52646         value.
52647         (sin_test): Likewise.
52648         (sincos_test): Likewise.
52650 2012-03-15  Andreas Jaeger  <aj@suse.de>
52651             Joseph Myers  <joseph@codesourcery.com>
52653         [BZ #13658]
52654         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52655         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52656         * sysdeps/i386/fpu/branred.c: Likewise.
52657         * sysdeps/i386/fpu/dosincos.c: Likewise.
52658         * sysdeps/i386/fpu/mpa.c: Likewise.
52659         * sysdeps/i386/fpu/s_cos.S: Likewise.
52660         * sysdeps/i386/fpu/s_sin.S: Likewise.
52661         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52662         * sysdeps/i386/fpu/sincos32.c: Likewise.
52664         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52665         Define.
52666         (libc_feupdateenv_53bit): Define.
52667         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52668         Define.
52669         (libc_feupdateenv_53bit): Define.
52671         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52672         53 bit (without extend i386 double precision).
52674         * math/libm-test.inc (sincos_test): Add tests for large input.
52675         (sin): Likewise.
52676         (cos): Likewise.
52678         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52680 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52684 2012-03-15  David S. Miller  <davem@davemloft.net>
52686         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52687         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52688         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52689         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52702         file.
52703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52705         file.
52706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52708         file.
52709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52711         file.
52712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52713         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52714         fmin/fmax sysdep routines.
52715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52717 2012-03-14  David S. Miller  <davem@davemloft.net>
52719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52725         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52726         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52738         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52741         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52742         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52745         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52746         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52747         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52748         routines.
52749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52750         file.
52751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52753         file.
52754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52756         file.
52757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52759         file.
52760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52762         file.
52763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52765         file.
52766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52767         file.
52768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52769         file.
52770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52771         file.
52772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52773         New file.
52774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52775         file.
52776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52777         file.
52778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52780         file.
52781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52783         file.
52784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52786         file.
52787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52789         VIS3 routines.
52791         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52792         New file.
52794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52796         * sysdeps/sparc/configure.in: New file.
52797         * sysdeps/sparc/configure: Generate.
52798         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52799         * configure: Regenerate.
52800         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52801         * config.make.in (have-as-vis3): New.
52802         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52803         available use -Av9d instead of -Av9a.
52804         * sysdeps/sparc/sparc64/Makefile: Likewise.
52805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52807         New file.
52808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52809         file.
52810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52811         New file.
52812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52813         file.
52814         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52815         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52817         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52818         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52820         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52821         fzeros/fnegs to load 0x80000000 into a float register instead of
52822         using the stack.
52823         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52825 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52828         bits/syscall.h.
52829         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52830         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52831         ($(inst_includedir)/bits/syscall.h): Remove rule.
52832         ($(objpfx)bits/syscall.d): Include instead of
52833         $(objpfx)syscall-list.d.
52834         (generated): Change syscall-list.h and syscall-list.d to
52835         bits/syscall.h and bits/syscall.d.
52837 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52839         [BZ #13846]
52840         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52842 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52844         [BZ #13841]
52845         * math/s_csqrt.c: Include <float.h>.
52846         (__csqrt): Scale large or subnormal inputs.
52847         * math/s_csqrtf.c: Likewise.
52848         * math/s_csqrtl.c: Likewise.
52849         * math/libm-test.inc (csqrt_test): Add more tests.
52850         * sysdeps/i386/fpu/libm-test-ulps: Update.
52851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52853         [BZ #13840]
52854         * math/libm-test.inc (hypot_test): Add more tests.
52856 2012-03-13  David S. Miller  <davem@davemloft.net>
52858         [BZ #13840]
52859         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52860         double-precision for the calculation instead of scaling.
52862 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52864         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52865         manipulate bits before adding and subtracting TWO52[sx].
52866         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52867         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52868         Likewise.
52869         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52871 2012-03-13  David S. Miller  <davem@davemloft.net>
52873         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52874         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52876         rtld-global-offsets.h
52877         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52879         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52880         large parameters.
52882         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52884         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52885         'err' in the ifdef scope in which it is actually used.
52887         * nss/nss_db/db-init.c: Include string.h
52889 2012-03-12  David S. Miller  <davem@davemloft.net>
52891         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52892         masking out of the most significant byte of random value used.
52893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52894         Fix coding style in previous change.
52896         * sysdeps/unix/sysv/linux/kernel-features.h
52897         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52898         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52899         expression.
52900         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52901         later.
52903 2012-03-11  David S. Miller  <davem@davemloft.net>
52905         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52906         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52907         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52908         for 'resultvar' otherwise things get truncated on 64-bit.
52910         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52911         Fix masking out of the most significant byte of random value used.
52913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52915 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52919 2012-03-09  David S. Miller  <davem@davemloft.net>
52921         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52922         variables with appropriate CPP guards.
52923         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52924         from the frame pointer, not the stack pointer.  Correct layout
52925         comments.  Fix test on resulting framesize and the management of
52926         the outregs buffer for pltexit.  Preserve floating point return
52927         values across _dl_call_pltexit call.
52928         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52929         framesize and the management of the outregs buffer for pltexit.
52930         Preserve floating point return values across _dl_call_pltexit
52931         call.
52932         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52933         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52934         (la_sparc64_gnu_pltexit): New functions.
52935         (print_exit): Fix format string for return register value.
52937 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52939         * sunrpc/Makefile (others): Add rpcgen.
52940         ($(objpfx)rpcgen): Remove special build rule and dependency on
52941         libc.
52942         * sunrpc/rpcgen.c: New file.
52944 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52946         [BZ #13673]
52947         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52948         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52949         * sysdeps/i386/crti.S: Likewise.
52950         * sysdeps/i386/crtn.S: Likewise.
52951         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52952         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52953         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52954         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52955         * sysdeps/sh/crti.S: Likewise.
52956         * sysdeps/sh/crtn.S: Likewise.
52957         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52959         [BZ #13673]
52960         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52961         with URL.
52962         * locale/programs/locfile-kw.gperf: Likewise.
52963         * locale/programs/charmap-kw.h: Regenerated.
52964         * locale/programs/locfile-kw.h: Likewise.
52966         [BZ #13673]
52967         * intl/plural.y: Replace FSF snail mail address with URL.
52968         * intl/plural.c: Regenerated.
52970 2012-03-09  Richard Henderson  <rth@twiddle.net>
52972         * include/math_private.h: Remove file.
52973         * math/math_private.h: Move file ...
52974         * sysdeps/generic/math_private.h: ... here.
52976         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52977         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52978         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52980         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52981         and <math_private.h>.
52982         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52983         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52984         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52985         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52986         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52987         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52988         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52989         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52990         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52991         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52993         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52994         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52995         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52996         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52997         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52998         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52999         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53000         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53001         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53002         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53003         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53004         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53006         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53007         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53008         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53009         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53010         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53011         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53012         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53013         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53014         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53015         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53016         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53017         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53018         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53019         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53020         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53021         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53022         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53023         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53024         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53025         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53026         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53027         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53028         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53029         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53030         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53031         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53032         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53033         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53034         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53035         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53036         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53037         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53038         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53039         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53040         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53041         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53042         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53043         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53044         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53045         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53046         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53047         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53048         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53049         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53050         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53051         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53052         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53053         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53054         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53055         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53056         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53059         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53061         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53062         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53063         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53064         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53065         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53066         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53067         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53069         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53070         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53071         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53072         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53073         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53074         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53075         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53076         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53077         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53078         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53079         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53080         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53081         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53082         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53083         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53084         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53085         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53086         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53087         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53088         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53089         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53090         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53091         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53092         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53093         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53094         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53095         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53096         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53097         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53098         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53099         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53100         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53101         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53102         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53103         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53104         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53105         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53106         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53107         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53108         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53109         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53110         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53111         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53112         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53113         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53114         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53115         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53116         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53117         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53118         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53119         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53120         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53121         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53122         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53123         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53124         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53125         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53126         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53127         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53128         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53129         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53130         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53131         * sysdeps/ieee754/k_standard.c: Likewise.
53132         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53133         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53134         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53135         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53136         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53137         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53138         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53139         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53140         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53141         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53142         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53143         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53144         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53145         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53146         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53147         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53148         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53149         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53150         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53151         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53152         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53153         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53154         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53155         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53156         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53157         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53158         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53159         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53160         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53161         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53162         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53163         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53164         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53165         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53166         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53167         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53168         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53169         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53170         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53171         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53172         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53173         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53174         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53175         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53176         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53177         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53178         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53179         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53180         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53181         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53182         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53183         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53184         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53185         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53186         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53187         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53190         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53191         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53192         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53193         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53194         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53195         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53198         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53199         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53200         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53201         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53202         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53203         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53204         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53205         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53206         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53208         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53209         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53210         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53211         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53212         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53213         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53214         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53215         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53216         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53217         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53218         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53219         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53220         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53222         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53223         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53224         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53225         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53226         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53227         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53228         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53229         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53230         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53231         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53233         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53234         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53235         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53236         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53237         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53238         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53239         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53240         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53241         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53242         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53243         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53244         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53245         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53246         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53247         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53248         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53249         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53250         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53251         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53252         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53253         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53254         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53255         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53256         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53257         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53258         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53259         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53260         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53261         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53262         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53263         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53264         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53265         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53266         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53267         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53268         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53269         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53270         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53271         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53272         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53273         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53274         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53275         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53276         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53277         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53278         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53279         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53280         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53281         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53282         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53283         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53284         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53285         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53286         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53287         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53288         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53289         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53290         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53291         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53292         * sysdeps/ieee754/s_lib_version.c: Likewise.
53293         * sysdeps/ieee754/s_matherr.c: Likewise.
53294         * sysdeps/ieee754/s_signgam.c: Likewise.
53295         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53296         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53297         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53298         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53299         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53300         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53301         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53302         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53303         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53304         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53305         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53306         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53307         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53308         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53309         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53310         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53311         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53312         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53313         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53317 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53319         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53320         * sunrpc/rpc_main.c: Likewise.
53321         * sunrpc/rpc_svcout.c: Likewise.
53323 2012-03-09  David S. Miller  <davem@davemloft.net>
53325         * include/math_private.h: New file.
53327 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53329         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53330         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53331         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53332         from <bits/socket_type.h>.
53333         (enum __socket_type): Don't define here.
53334         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53336         bits/socket_type.h.
53338         [BZ #13566]
53339         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53340         checking __USE_GNU.
53342         * Makerules ($(inst_includedir)/%.h): New rule.
53343         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53344         (install-others): Remove variable setting.
53345         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53347 2012-03-08  Richard Henderson  <rth@twiddle.net>
53349         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53350         from macro to inline function; merge with the
53351         !__LIBC_INTERNAL_MATH_INLINES version.
53352         (__ieee754_sqrtf): Likewise.
53354         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53355         to inline function.
53356         (__rintf, __floor, __floorf): Likewise.
53358         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53359         macro to inline function.
53360         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53362         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53363         not <math/math_private.h>.
53365 2012-03-08  David S. Miller  <davem@davemloft.net>
53367         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53368         copyright year.
53369         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53371 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53373         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53374         normalization.
53375         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53376         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53378 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53380         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53381         be defined individually, they must be defined as a block.  Define
53382         S for printing a string instead of hidint the different by using a
53383         macro for adding the 'l'.
53384         * stdio-common/tst-fphex-wide.c: Adjust.
53386 2012-03-07  Marek Polacek  <polacek@redhat.com>
53388         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53390 2012-03-08  Marek Polacek  <polacek@redhat.com>
53392         [BZ #13806]
53393         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53394         * stdio-common/tst-fphex.c: Define a few macros to make the
53395         test reusable.  Use them.
53396         * stdio-common/tst-fphex-wide.c: New file.
53398 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53400         [BZ #6911]
53401         * manual/macros.texi (gnusystems): New macro.
53402         (nongnusystems): Likewise.
53403         (gnulinuxhurdsystems): Likewise.
53404         (gnuhurdsystems): Likewise..
53405         (gnulinuxsystems): Likewise.
53406         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53407         variants of the GNU system, not "GNU system".
53408         * manual/conf.texi: Likewise.
53409         * manual/errno.texi: Likewise.  Update example of errno macro
53410         expansion.
53411         * manual/filesys.texi: Likewise.
53412         (getumask): Document as specific to GNU/Hurd.
53413         * manual/install.texi: Likewise.  Reword some references to
53414         GNU/Linux.
53415         * manual/intro.texi: Likewise.
53416         * manual/io.texi: Likewise.
53417         (File Name Portability): Detail which constraints are inapplicable
53418         to all GNU systems and which are only inapplicable to GNU/Hurd.
53419         * manual/job.texi: Likewise.
53420         * manual/llio.texi: Likewise.
53421         (O_NOCTTY): Document as present on GNU/Linux.
53422         * manual/maint.texi: Likewise.
53423         * manual/memory.texi: Likewise.
53424         * manual/pattern.texi: Likewise.
53425         * manual/pipe.texi: Likewise.
53426         * manual/process.texi: Likewise.
53427         * manual/resource.texi: Likewise.
53428         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53429         child on GNU/Hurd.
53430         * manual/setjmp.texi: Likewise.
53431         * manual/signal.texi: Likewise.
53432         * manual/startup.texi: Likewise.
53433         * manual/stdio.texi: Likewise.
53434         * manual/terminal.texi: Likewise.
53435         (ONLCR): Document as POSIX.
53436         (OXTABS): Document availability on GNU/Linux as XTABS.
53437         (ONOEOT): Document availability separately from other bits.
53438         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53439         * manual/time.texi: Likewise.
53440         * manual/users.texi: Likewise.
53441         * INSTALL: Regenerated.
53442         * sysdeps/gnu/errlist.c: Regenerated.
53444         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53445         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53446         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53447         puts.
53448         * configure: Regenerated.
53450 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53452         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53453         default includes instead of AC_HEADER_CHECK.
53454         * sysdeps/i386/configure: Regenerated.
53456         [BZ #10716]
53457         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53458         * math/s_cacoshf.c (__cacoshf): Likewise.
53459         * math/s_cacoshl.c (__cacoshl): Likewise.
53460         * math/s_casinh.c (__casinh): Set signs of result from argument.
53461         * math/s_casinhf.c (__casinhf): Likewise.
53462         * math/s_casinhl.c (__casinhl): Likewise.
53463         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53464         (casinh_test): Add more tests.
53465         * sysdeps/i386/fpu/libm-test-ulps: Update.
53466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53468 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53470         * po/zh_TW.po: Update from translation team.
53472         * login/Makefile (distribute): Remove variable.
53473         * catgets/Makefile: Likewise.
53474         * mach/Makefile: Likewise.
53475         * malloc/Makefile: Likewise.
53476         * misc/Makefile: Likewise.
53477         * iconv/Makefile: Likewise.
53478         * nscd/Makefile: Likewise.
53479         * hurd/Makefile: Likewise.
53480         * manual/Makefile: Likewise.
53481         * locale/Makefile: Likewise.
53482         * intl/Makefile: Likewise.
53483         * conform/Makefile: Likewise.
53484         * nss/Makefile: Likewise.
53485         * time/Makefile: Likewise.
53486         * soft-fp/Makefile: Likewise.
53487         * dirent/Makefile: Likewise.
53488         * gmon/Makefile: Likewise.
53489         * po/Makefile: Likewise.
53490         * rt/Makefile: Likewise.
53491         * socket/Makefile: Likewise.
53492         * math/Makefile: Likewise.
53493         * signal/Makefile: Likewise.
53494         * debug/Makefile: Likewise.
53495         * elf/Makefile: Likewise.
53496         * timezone/Makefile: Likewise.
53497         * stdlib/Makefile: Likewise.
53498         * iconvdata/Makefile: Likewise.
53499         * sunrpc/Makefile: Likewise.
53500         * io/Makefile: Likewise.
53501         * argp/Makefile: Likewise.
53502         * inet/Makefile: Likewise.
53503         * hesiod/Makefile: Likewise.
53504         * grp/Makefile: Likewise.
53505         * csu/Makefile: Likewise.
53506         * wctype/Makefile: Likewise.
53507         * crypt/Makefile: Likewise.
53508         * libio/Makefile: Likewise.
53509         * string/Makefile: Likewise.
53510         * nis/Makefile: Likewise.
53511         * resolv/Makefile: Likewise.
53512         * stdio-common/Makefile: Likewise.
53513         * wcsmbs/Makefile: Likewise.
53514         * dlfcn/Makefile: Likewise.
53515         * posix/Makefile: Likewise.
53517         [BZ #6959]
53518         * timezone/Makefile: Don't install timezone files, just the programs
53519         and scripts.
53521 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53523         * nss/databases.def: Add missing gshadow entry.
53525         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53527 2012-03-06  Marek Polacek  <polacek@redhat.com>
53529         [BZ #13726]
53530         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53531         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53532         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53533         * stdio-common/tst-long-dbl-fphex.c: New file.
53535 2012-03-06  David S. Miller  <davem@davemloft.net>
53537         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53538         (set_obp_int): New function.
53539         (get_obp_int): New function.
53540         (__get_clockfreq_via_dev_openprom): Likewise.
53541         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53542         Avoid unused variable warnings on 'val' and use builtin_expect.
53543         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53544         __builtin_expect.
53545         (INLINE_CLONE_SYSCALL): Likewise.
53547 2012-03-05  David S. Miller  <davem@davemloft.net>
53549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53551 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53555         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53556         only for |x| >= 40.
53557         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53559 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53561         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53562         Replace gettimeofday with __vdso_gettimeofday.
53564         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53565         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53566         __vdso_clock_gettime and __vdso_getcpu.
53568         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53569         time with __vdso_time.
53571 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53573         * manual/lang.texi (size_t): Note types to which size_t may be
53574         equivalent with the GNU C Library, but do not describe when
53575         differences between them are significant.
53577 2012-03-05  Andreas Jaeger  <aj@suse.de>
53579         * sysdeps/i386/fpu/libm-test-ulps: Update.
53581 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53583         [BZ #3976]
53584         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53585         (__ieee754_pow): Save and restore rounding mode and use
53586         round-to-nearest for main computations.
53587         * math/libm-test.inc (pow_test_tonearest): New function.
53588         (pow_test_towardzero): Likewise.
53589         (pow_test_downward): Likewise.
53590         (pow_test_upward): Likewise.
53591         (main): Call the new functions.
53592         * sysdeps/i386/fpu/libm-test-ulps: Update.
53593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53595         [BZ #3976]
53596         * math/libm-test.inc (cosh_test_tonearest): New function.
53597         (cosh_test_towardzero): Likewise.
53598         (cosh_test_downward): Likewise.
53599         (cosh_test_upward): Likewise.
53600         (sinh_test_tonearest): Likewise.
53601         (sinh_test_towardzero): Likewise.
53602         (sinh_test_downward): Likewise.
53603         (sinh_test_upward): Likewise.
53604         (main): Call the new functions.
53605         * sysdeps/i386/fpu/libm-test-ulps: Update.
53606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53608 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53610         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53611         default stack guard is set in last bytes.
53612         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53614 2012-03-05  Kees Cook  <keescook@chromium.org>
53616         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53618         [BZ #13656]
53619         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53620         possibly allocate from heap instead of stack.
53621         * stdio-common/bug-vfprintf-nargs.c: New file.
53622         * stdio-common/Makefile (tests): Add nargs overflow test.
53624 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53628 2012-03-03  Marek Polacek  <polacek@redhat.com>
53630         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53631         * math/math_private.h: Likewise.
53632         * stdlib/tst-strtod.c: Likewise.
53633         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53634         * sysdeps/x86_64/bits/atomic.h: Likewise.
53636 2012-03-02  David S. Miller  <davem@davemloft.net>
53638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53642         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53643         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53644         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53645         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53647 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53649         [BZ #13792]
53650         * manual/examples/README: New file, says the example source files
53651         can be used under GPL>=2.
53652         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53653         line containing just "*/".
53654         * manual/examples/add.c: Add copyright header (GPL>=2).
53655         * manual/examples/argp-ex1.c: Likewise.
53656         * manual/examples/argp-ex2.c: Likewise.
53657         * manual/examples/argp-ex3.c: Likewise.
53658         * manual/examples/argp-ex4.c: Likewise.
53659         * manual/examples/atexit.c: Likewise.
53660         * manual/examples/db.c: Likewise.
53661         * manual/examples/dir.c: Likewise.
53662         * manual/examples/dir2.c: Likewise.
53663         * manual/examples/execinfo.c: Likewise.
53664         * manual/examples/filecli.c: Likewise.
53665         * manual/examples/filesrv.c: Likewise.
53666         * manual/examples/fmtmsgexpl.c: Likewise.
53667         * manual/examples/genpass.c: Likewise.
53668         * manual/examples/inetcli.c: Likewise.
53669         * manual/examples/inetsrv.c: Likewise.
53670         * manual/examples/isockad.c: Likewise.
53671         * manual/examples/longopt.c: Likewise.
53672         * manual/examples/memopen.c: Likewise.
53673         * manual/examples/memstrm.c: Likewise.
53674         * manual/examples/mkfsock.c: Likewise.
53675         * manual/examples/mkisock.c: Likewise.
53676         * manual/examples/mygetpass.c: Likewise.
53677         * manual/examples/pipe.c: Likewise.
53678         * manual/examples/popen.c: Likewise.
53679         * manual/examples/rprintf.c: Likewise.
53680         * manual/examples/search.c: Likewise.
53681         * manual/examples/select.c: Likewise.
53682         * manual/examples/setjmp.c: Likewise.
53683         * manual/examples/sigh1.c: Likewise.
53684         * manual/examples/sigusr.c: Likewise.
53685         * manual/examples/stpcpy.c: Likewise.
53686         * manual/examples/strdupa.c: Likewise.
53687         * manual/examples/strftim.c: Likewise.
53688         * manual/examples/strncat.c: Likewise.
53689         * manual/examples/subopt.c: Likewise.
53690         * manual/examples/swapcontext.c: Likewise.
53691         * manual/examples/termios.c: Likewise.
53692         * manual/examples/testopt.c: Likewise.
53693         * manual/examples/testpass.c: Likewise.
53694         * manual/examples/timeval_subtract.c: Likewise.
53696         [BZ #13792]
53697         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53698         function to ...
53699         * manual/timeval_subtract.c.texi: ... here, new file.
53701 2012-03-02  David S. Miller  <davem@davemloft.net>
53703         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53705 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53707         [BZ #3976]
53708         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53709         (__sin): Save and restore rounding mode and use round-to-nearest
53710         for all computations.
53711         (__cos): Save and restore rounding mode and use round-to-nearest
53712         for all computations.
53713         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53714         <fenv.h>.
53715         (tan): Save and restore rounding mode and use round-to-nearest for
53716         all computations.
53717         * math/libm-test.inc (cos_test_tonearest): New function.
53718         (cos_test_towardzero): Likewise.
53719         (cos_test_downward): Likewise.
53720         (cos_test_upward): Likewise.
53721         (sin_test_tonearest): Likewise.
53722         (sin_test_towardzero): Likewise.
53723         (sin_test_downward): Likewise.
53724         (sin_test_upward): Likewise.
53725         (tan_test_tonearest): Likewise.
53726         (tan_test_towardzero): Likewise.
53727         (tan_test_downward): Likewise.
53728         (tan_test_upward): Likewise.
53729         (main): Call the new functions.
53730         * sysdeps/i386/fpu/libm-test-ulps: Update.
53731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53733         [BZ #10135]
53734         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53735         small n, then large n, before computing and testing k+n.
53736         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53737         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53738         Likewise.
53739         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53740         Likewise.
53741         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53742         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53743         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53744         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53745         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53746         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53747         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53748         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53749         * math/libm-test.inc (scalbn_test): Add more tests.
53750         (scalbln_test): Likewise.
53752         * manual/filesys.texi (mode_t): Describe constraints on size and
53753         signedness, not exact equivalence to a particular type.
53754         (ino_t): Likewise.
53755         (ino64_t): Likewise.
53756         (dev_t): Likewise.
53757         (nlink_t): Likewise.
53758         (blkcnt_t): Likewise.
53759         (blkcnt64_t): Likewise.
53760         * manual/llio.texi (off_t): Likewise.
53762         [BZ #3976]
53763         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53764         (__ieee754_exp): Save and restore rounding mode and use
53765         round-to-nearest for all computations.
53766         * math/libm-test.inc (exp_test_tonearest): New function.
53767         (exp_test_towardzero): Likewise.
53768         (exp_test_downward): Likewise.
53769         (exp_test_upward): Likewise.
53770         (main): Call the new functions.
53771         * sysdeps/i386/fpu/libm-test-ulps: Update.
53772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53774 2012-03-01  Chris Demetriou  <cgd@google.com>
53776         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53777         have predictable order.
53779 2012-03-01  David S. Miller  <davem@davemloft.net>
53781         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53783         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53784         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53785         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53786         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53788         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53789         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53790         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53792         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53793         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53794         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53795         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53796         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53800         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53801         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53802         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53804         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53805         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53806         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53807         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53808         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53809         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53810         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53811         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53812         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53813         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53814         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53815         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53817         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53818         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53820         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53821         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53822         * sysdeps/sparc/elf/configure: Regenerated.
53824 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53826         * configure.in (AS, LD): Require binutils 2.20 or later.
53827         * configure: Regenerated.
53828         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53829         as required minimum version.
53830         * INSTALL: Regenerated.
53832         [BZ #2541]
53833         [BZ #4108]
53834         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53835         before squaring exponent.
53836         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53837         bottom long double and 27 bits of top long double before squaring
53838         exponent.
53839         * math/libm-test.inc (erfc_test): Add more tests.
53840         * sysdeps/i386/fpu/libm-test-ulps: Update.
53841         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53844 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53846         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53847         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53848         containing bit-fields.
53849         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53850         * soft-fp/single.h (_FP_UNION_S): Likewise.
53851         * soft-fp/double.h (_FP_UNION_D): Likewise.
53853 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53855         [BZ #13786]
53856         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53857         not include ../strcmp.S.
53858         [USE_AS_STRNCASECMP_L]: Likewise.
53859         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53860         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53861         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53862         (__strncasecmp_l_ia32): Define as alias to
53863         __strncasecmp_l_nonascii.
53865         [BZ #5794]
53866         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53867         * sysdeps/i386/fpu/libm-test-ulps: Update.
53868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53870         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53873 2012-02-29  Jeff Law  <law@redhat.com>
53875         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53876         out of bounds read.
53878 2012-02-29  Marek Polacek  <polacek@redhat.com>
53880         [BZ #13706]
53881         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53882         * elf/Makefile: Add rules to run tst-unused-dep.out.
53884 2012-02-28  David S. Miller  <davem@davemloft.net>
53886         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53887         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53888         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53889         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53890         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53891         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53893 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53895         * math/libm-test.inc (llround_test): Move one test from
53896         lround_test.  Use TEST_f_L in moved test.
53897         (lround_test): Move misplaced test to llround_test.  Add testcase
53898         from bug 2561.
53900 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53902         * sysdeps/x86_64/fpu/e_expf.S: New file.
53903         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53905 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53907         [BZ #13637]
53908         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53909         of remain_len that may cause incomplete multi-byte character and
53910         false match.
53911         * posix/bug-regex33.c: New file.
53912         * posix/Makefile (tests): Add bug-regex33.
53914 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53916         * manual/macros.texi: New file.
53917         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53918         * manual/libc.texinfo: Include macros.texi.
53919         * manual/creatute.texi: Likewise.
53920         * manual/install.texi: Likewise.
53921         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53922         @glibcadj{} in references to the GNU C Library.
53923         * manual/charset.texi: Likewise.
53924         * manual/conf.texi: Likewise.
53925         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53926         when not using those macros.
53927         * manual/creature.texi: Likewise.
53928         * manual/crypt.texi: Likewise.
53929         * manual/errno.texi: Likewise.
53930         * manual/filesys.texi: Likewise.
53931         * manual/header.texi: Likewise.
53932         * manual/install.texi: Likewise.
53933         * manual/intro.texi: Likewise.
53934         * manual/io.texi: Likewise.
53935         * manual/job.texi: Likewise.
53936         * manual/lang.texi: Likewise.
53937         * manual/libc.texiinfo: Likewise.
53938         * manual/llio.texi: Likewise.
53939         * manual/locale.texi: Likewise.
53940         * manual/maint.texi: Likewise.
53941         * manual/math.texi: Likewise.
53942         * manual/memory.texi: Likewise.
53943         * manual/message.texi: Likewise.
53944         * manual/nss.texi: Likewise.
53945         * manual/pattern.texi: Likewise.
53946         * manual/process.texi: Likewise.
53947         * manual/resource.texi: Likewise.
53948         * manual/search.texi: Likewise.
53949         * manual/setjmp.texi: Likewise.
53950         * manual/signal.texi: Likewise.
53951         * manual/socket.texi: Likewise.
53952         * manual/startup.texi: Likewise.
53953         * manual/stdio.texi: Likewise.
53954         * manual/string.texi: Likewise.
53955         * manual/sysinfo.texi: Likewise.
53956         * manual/syslog.texi: Likewise.
53957         * manual/terminal.texi: Likewise.
53958         * manual/time.texi: Likewise.
53959         * manual/users.texi: Likewise.
53960         * INSTALL: Regenerated.
53961         * NOTES: Regenerated.
53962         * sysdeps/gnu/errlist.c: Regenerated.
53964 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53966         * include/dirent.h: Include <dirstream.h> before
53967         <dirent/dirent.h>.
53969 2012-02-28  David S. Miller  <davem@davemloft.net>
53971         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53972         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53973         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53974         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53976 2012-02-27  David S. Miller  <davem@davemloft.net>
53978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53980         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53981         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53984         frame pointer instead of stack pointer relative arg slot.
53985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53986         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53987         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53989 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53991         [BZ #3992]
53992         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53994 2012-02-27  David S. Miller  <davem@davemloft.net>
53996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54000         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54001         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54002         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54003         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54005 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54007         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54008         later.  Allow versions 5-9.
54009         * configure: Regenerated.
54010         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54011         required minimum version and 4.6 as recommended version.  Do not
54012         mention bugs in GCC 2.7 and 2.8.
54013         * INSTALL: Regenerated.
54015 2012-02-27  David S. Miller  <davem@davemloft.net>
54017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54021         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54022         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54023         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54024         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54026         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54027         manipulate bits before adding and subtracting TWO112[sx].
54028         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54030 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54032         [BZ #13775]
54033         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54034         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54035         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54036         being in POSIX, because they are in 1003.1-2008.
54038         * rt/tst-aio.c: Include <fcntl.h>.
54039         * rt/tst-aio7.c: Likewise.
54040         * rt/tst-aio64.c: Likewise.
54042         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54044 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54046         * manual/install.texi (--with-headers): Describe headers as
54047         interface headers, not private headers.
54048         (Specific advice for GNU/Linux systems): Describe use of headers
54049         from "make headers_install", not private headers from older
54050         kernels.
54051         * INSTALL: Regenerated.
54052         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54053         Change to 2.6.19.
54054         * sysdeps/unix/sysv/linux/configure: Regenerated.
54056         * manual/llio.texi (fclean): Remove documentation.
54058         * manual/Makefile (libc-texi-generated): New variable.  Include
54059         version.texi.
54060         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54061         $(libc-texi-generated), not duplicated list of files.
54062         (version.texi, stamp-version): New rules.
54063         (realclean): Remove $(libc-texi-generated), not individual files
54064         from that list.  Do not remove dir-add.texinfo.
54065         * manual/libc.texinfo: Comment out uses of edition numbers and
54066         references to printed manual.  Remove last-updated dates.
54067         (EDITION): Comment out.
54068         (ISBN): Likewise.
54069         (VERSION, UPDATED): Remove.
54070         (version.texi): Include.
54072 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54074         * sysdeps/posix/spawni.c: Include <signal.h>.
54075         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54076         * sysdeps/pthread/aio_fsync.c: Likewise.
54078 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54080         * conform/Makefile (tests): Run only when not cross-compiling and
54081         when fast-check is not defined.
54083         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54084         * conform/data/limits.h-data: Fixes for POSIX2008.
54085         * conform/run-conformtest.sh: Run all tests.
54086         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54087         headers.
54088         * include/bits/dlfcn.h: Likewise.
54089         * include/langinfo.h: Likewise.
54090         * include/monetary.h: Likewise.
54091         * include/sys/poll.h: Likewise.
54093         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54094         for __USE_GNU.
54095         * posix/spawn.h: Define __need_sigset_t.
54096         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54097         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54098         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54099         to get sigevent_t only.
54100         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54101         only for __USE_GNU.
54102         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54103         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54104         process_vm_writev only for __USE_GNU.
54105         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54107         * conform/Makefile: For now ignore errors from run-conformtest.
54108         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54109         POSIX to avoid namespace pollution.  Don't prepend headers.
54110         * conform/data/aio.h-data: Fixes for POSIX testing.
54111         * conform/data/fcntl.h-data: Likewise.
54112         * conform/data/glob.h-data: Likewise.
54113         * conform/data/grp.h-data: Likewise.
54114         * conform/data/pthread.h-data: Likewise.
54115         * conform/data/pwd.h-data: Likewise.
54116         * conform/data/signal.h-data: Likewise.
54117         * conform/data/spawn.h-data: Likewise.
54118         * conform/data/stdio.h-data: Likewise.
54119         * conform/data/stdlib.h-data: Likewise.
54120         * conform/data/stropts.h-data: Likewise.
54121         * conform/data/sys/mman.h-data: Likewise.
54122         * conform/data/sys/stat.h-data: Likewise.
54123         * conform/data/sys/types.h-data: Likewise.
54124         * conform/data/sys/wait.h-data: Likewise.
54125         * conform/data/time.h-data: Likewise.
54126         * conform/data/unistd.h-data: Likewise.
54127         * conform/data/utime.h-data: Likewise.
54129         * io/sys/stat.h: fchmod was always in POSIX.
54130         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54131         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54132         * rt/aio.h: Define __need_timespec before including <time.h>.
54133         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54134         struct.  Add forward declaration of pthread_attr_t and use it in
54135         sigevent.
54136         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54137         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54138         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54139         always remove CLK_TCK definition.
54141 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54143         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54145 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54147         * conform/run-conformtest.sh: New file.
54148         * conform/Makefile: Run run-conformtest for tests.
54149         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54150         support.
54152         * conform/data/uchar.h-data: New file.
54153         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54154         * conform/data/arpa/inet.h-data: Likewise.
54155         * conform/data/assert.h-data: Likewise.
54156         * conform/data/complex.h-data: Likewise.
54157         * conform/data/cpio.h-data: Likewise.
54158         * conform/data/ctype.h-data: Likewise.
54159         * conform/data/dirent.h-data: Likewise.
54160         * conform/data/dlfcn.h-data: Likewise.
54161         * conform/data/errno.h-data: Likewise.
54162         * conform/data/fcntl.h-data: Likewise.
54163         * conform/data/float.h-data: Likewise.
54164         * conform/data/fmtmsg.h-data: Likewise.
54165         * conform/data/fnmatch.h-data: Likewise.
54166         * conform/data/ftw.h-data: Likewise.
54167         * conform/data/glob.h-data: Likewise.
54168         * conform/data/grp.h-data: Likewise.
54169         * conform/data/iconv.h-data: Likewise.
54170         * conform/data/inttypes.h-data: Likewise.
54171         * conform/data/langinfo.h-data: Likewise.
54172         * conform/data/libgen.h-data: Likewise.
54173         * conform/data/limits.h-data: Likewise.
54174         * conform/data/locale.h-data: Likewise.
54175         * conform/data/math.h-data: Likewise.
54176         * conform/data/monetary.h-data: Likewise.
54177         * conform/data/mqueue.h-data: Likewise.
54178         * conform/data/ndbm.h-data: Likewise.
54179         * conform/data/net/if.h-data: Likewise.
54180         * conform/data/netdb.h-data: Likewise.
54181         * conform/data/netinet/in.h-data: Likewise.
54182         * conform/data/nl_types.h-data: Likewise.
54183         * conform/data/poll.h-data: Likewise.
54184         * conform/data/pthread.h-data: Likewise.
54185         * conform/data/pwd.h-data: Likewise.
54186         * conform/data/regex.h-data: Likewise.
54187         * conform/data/sched.h-data: Likewise.
54188         * conform/data/search.h-data: Likewise.
54189         * conform/data/semaphore.h-data: Likewise.
54190         * conform/data/setjmp.h-data: Likewise.
54191         * conform/data/signal.h-data: Likewise.
54192         * conform/data/spawn.h-data: Likewise.
54193         * conform/data/stdarg.h-data: Likewise.
54194         * conform/data/stdio.h-data: Likewise.
54195         * conform/data/stdlib.h-data: Likewise.
54196         * conform/data/string.h-data: Likewise.
54197         * conform/data/strings.h-data: Likewise.
54198         * conform/data/stropts.h-data: Likewise.
54199         * conform/data/sys/ipc.h-data: Likewise.
54200         * conform/data/sys/mman.h-data: Likewise.
54201         * conform/data/sys/msg.h-data: Likewise.
54202         * conform/data/sys/resource.h-data: Likewise.
54203         * conform/data/sys/select.h-data: Likewise.
54204         * conform/data/sys/sem.h-data: Likewise.
54205         * conform/data/sys/shm.h-data: Likewise.
54206         * conform/data/sys/socket.h-data: Likewise.
54207         * conform/data/sys/stat.h-data: Likewise.
54208         * conform/data/sys/statvfs.h-data: Likewise.
54209         * conform/data/sys/time.h-data: Likewise.
54210         * conform/data/sys/timeb.h-data: Likewise.
54211         * conform/data/sys/times.h-data: Likewise.
54212         * conform/data/sys/types.h-data: Likewise.
54213         * conform/data/sys/uio.h-data: Likewise.
54214         * conform/data/sys/un.h-data: Likewise.
54215         * conform/data/sys/utsname.h-data: Likewise.
54216         * conform/data/sys/wait.h-data: Likewise.
54217         * conform/data/syslog.h-data: Likewise.
54218         * conform/data/tar.h-data: Likewise.
54219         * conform/data/termios.h-data: Likewise.
54220         * conform/data/utime.h-data: Likewise.
54221         * conform/data/utmpx.h-data: Likewise.
54222         * conform/data/varargs.h-data: Likewise.
54223         * conform/data/wchar.h-data: Likewise.
54224         * conform/data/wctype.h-data: Likewise.
54225         * conform/data/wordexp.h-data: Likewise.
54227         * include/stropts.h: New file.
54228         * include/uchar.h: New file.
54229         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54230         * include/assert.h: Likewise.
54231         * include/ctype.h: Likewise.
54232         * include/dirent.h: Likewise.
54233         * include/dlfcn.h: Likewise.
54234         * include/fcntl.h: Likewise.
54235         * include/fnmatch.h: Likewise.
54236         * include/glob.h: Likewise.
54237         * include/grp.h: Likewise.
54238         * include/libio.h: Likewise.
54239         * include/locale.h: Likewise.
54240         * include/math.h: Likewise.
54241         * include/net/if.h: Likewise.
54242         * include/netdb.h: Likewise.
54243         * include/netinet/in.h: Likewise.
54244         * include/pthread.h: Likewise.
54245         * include/pwd.h: Likewise.
54246         * include/regex.h: Likewise.
54247         * include/sched.h: Likewise.
54248         * include/search.h: Likewise.
54249         * include/setjmp.h: Likewise.
54250         * include/signal.h: Likewise.
54251         * include/stdio.h: Likewise.
54252         * include/stdlib.h: Likewise.
54253         * include/string.h: Likewise.
54254         * include/sys/cdefs.h: Likewise.
54255         * include/sys/mman.h: Likewise.
54256         * include/sys/msg.h: Likewise.
54257         * include/sys/resource.h: Likewise.
54258         * include/sys/select.h: Likewise.
54259         * include/sys/socket.h: Likewise.
54260         * include/sys/stat.h: Likewise.
54261         * include/sys/statvfs.h: Likewise.
54262         * include/sys/time.h: Likewise.
54263         * include/sys/times.h: Likewise.
54264         * include/sys/uio.h: Likewise.
54265         * include/sys/utsname.h: Likewise.
54266         * include/sys/wait.h: Likewise.
54267         * include/termios.h: Likewise.
54268         * include/time.h: Likewise.
54269         * include/ulimit.h: Likewise.
54270         * include/unistd.h: Likewise.
54271         * include/utime.h: Likewise.
54272         * include/wchar.h: Likewise.
54273         * include/wctype.h: Likewise.
54274         * include/wordexp.h: Likewise.
54276         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54278         * time/time.h: TIME_UTC must be a macro.
54279         Make timespec_get available for ISO C11 only as well.
54281 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54283         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54284         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54286 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54288         * configure.in: Use -o not -a in test for unsupported multi-arch.
54290 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54292         * manual/texinfo.tex: Update to version 2012-01-19.16.
54294 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54296         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54298 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54300         [BZ #13738]
54301         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54302         * manual/fdl-1.3.texi: New file.
54303         * manual/fdl-1.1.texi: File removed.
54305         [BZ #13738]
54306         * manual/libc.texinfo (FDL_VERSION): New @set.
54307         Use it for mention of FDL in cover text.
54308         (Documentation License): Use it in @include file name.
54310 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54311             Roland McGrath  <roland@hack.frob.com>
54313         [BZ #5461]
54314         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54315         (not LONG_LONG_MAX and LONG_LONG_MIN.
54316         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54317         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54318         name.
54319         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54321 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54323         [BZ #2547]
54324         [BZ #11365]
54325         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54326         manipulate bits before adding and subtracting TWO23[sx].
54327         * math/libm-test.inc (nearbyint_test): Add more tests.
54329 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54331         [BZ #2548]
54332         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54333         bits before adding and subtracting TWO23[sx].
54334         * math/libm-test.inc (rint_test): Add more tests.
54335         (rint_test_tonearest): Likewise.
54336         (rint_test_towardzero): Likewise.
54337         (rint_test_downward): Likewise.
54338         (rint_test_upward: Likewise.
54340 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54342         [BZ #10110]
54343         * include/stdc-predef.h: New file.  Extracted from features.h.
54344         * include/features.h: Include stdc-predef.h.
54345         * Makefile (headers): Add stdc-predef.h.
54346         * CONFORMANCE (Compiler limitations): Update.
54348 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54350         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54352 2012-02-21  David S. Miller  <davem@davemloft.net>
54354         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54355         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54357 2012-02-20  David S. Miller  <davem@davemloft.net>
54359         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54360         using a normal save/restore sequence, rather than allocating a
54361         dummy stack frame just to store a frame pointer and restore.
54362         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54364 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54366         * manual/install.texi: Fix stray word in line-wrapped comment.
54368 2012-02-20  David S. Miller  <davem@davemloft.net>
54370         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54371         both binutils and gcc support GOTDATA.
54373         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54374         "rd %pc" in the PIC register setup sequences.
54376         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54377         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54378         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54379         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54380         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54381         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54382         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54383         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54385         (SYSCALL_ERROR_HANDLER): Likewise.
54386         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54387         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54388         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54389         (SYSCALL_ERROR_HANDLER): Likewise.
54391         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54392         (HAVE_GCC_GOTDATA): New.
54393         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54394         relocation support in both binutils and gcc.
54395         * sysdeps/sparc/elf/configure: Regenerate.
54397         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54398         * sysdeps/sparc/sparc32/elf/configure: Delete.
54399         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54400         * sysdeps/sparc/sparc64/elf/configure: Delete.
54401         * sysdeps/sparc/elf/configure.in: New file.
54402         * sysdeps/sparc/elf/configure: Generate.
54404         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54405         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54406         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54407         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54408         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54410 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54412         * manual/install.texi: Do not mention specific glibc version
54413         numbers.
54414         * manual/libc.texinfo (VERSION, UPDATED): Update.
54415         (@copying): Use @copyright{} and range of years.
54417 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54419         [BZ #13695]
54420         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54421         [crti.S not in sysdirs] (generated): Do not append.
54422         [crti.S not in sysdirs] (omit-deps): Likewise.
54423         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54424         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54425         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54426         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54427         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54428         Likewise.
54429         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54430         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54431         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54432         * csu/defs.awk: Remove file.
54433         * sysdeps/generic/initfini.c: Likewise.
54434         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54435         variable.
54436         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54437         Likewise.
54439 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54441         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54442         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54443         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54444         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54445         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54446         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54447         <bits/epoll.h>.
54448         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54449         (__EPOLL_PACKED): Define to empty if not defined by
54450         <bits/epoll.h>.
54451         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54452         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54453         bits/epoll.h.
54455 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54457         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54458         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54459         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54460         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54461         <bits/timerfd.h>.
54462         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54463         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54464         bits/timerfd.h.
54466 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54468         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54469         in C locale.
54470         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54471         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54472         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54475 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54477         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54478         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54480 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54482         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54483         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54484         defined.
54485         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54486         Likewise.
54487         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54488         entry for 2.16.
54490 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54492         * math/w_acos.c: Use non-signaling floating-point comparisons.
54493         * math/w_acosf.c: Likewise.
54494         * math/w_acosh.c: Likewise.
54495         * math/w_acoshf.c: Likewise.
54496         * math/w_acoshl.c: Likewise.
54497         * math/w_acosl.c: Likewise.
54498         * math/w_asin.c: Likewise.
54499         * math/w_asinf.c: Likewise.
54500         * math/w_asinl.c: Likewise.
54501         * math/w_atanh.c: Likewise.
54502         * math/w_atanhf.c: Likewise.
54503         * math/w_atanhl.c: Likewise.
54504         * math/w_exp2.c: Likewise.
54505         * math/w_exp2f.c: Likewise.
54506         * math/w_exp2l.c: Likewise.
54507         * math/w_j0.c: Likewise.
54508         * math/w_j0f.c: Likewise.
54509         * math/w_j0l.c: Likewise.
54510         * math/w_j1.c: Likewise.
54511         * math/w_j1f.c: Likewise.
54512         * math/w_j1l.c: Likewise.
54513         * math/w_jn.c: Likewise.
54514         * math/w_jnf.c: Likewise.
54515         * math/w_log.c: Likewise.
54516         * math/w_log10.c: Likewise.
54517         * math/w_log10f.c: Likewise.
54518         * math/w_log10l.c: Likewise.
54519         * math/w_log2.c: Likewise.
54520         * math/w_log2f.c: Likewise.
54521         * math/w_log2l.c: Likewise.
54522         * math/w_logf.c: Likewise.
54523         * math/w_logl.c: Likewise.
54524         * math/w_sqrt.c: Likewise.
54525         * math/w_sqrtf.c: Likewise.
54526         * math/w_sqrtl.c: Likewise.
54527         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54528         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54529         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54530         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54531         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54533 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54535         [BZ #9739]
54536         * manual/string.texi (strnlen): Use correct parameter name in
54537         equivalent expression.
54539 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54541         [BZ #11174]
54542         * manual/users.texi (seteuid): Consistently use neweuid for
54543         argument name.
54545 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54547         [BZ #13704]
54548         * manual/nss.texi (Services in the NSS configuration): Correct
54549         list of services in example configuration file.
54551 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54553         [BZ #11322]
54554         * manual/arith.texi: Remove statements about negative zero
54555         behaving identically to zero.
54557 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54559         [BZ #5993]
54560         * manual/install.texi: Do not document upgrading from libc5.
54562 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54564         [BZ #4596]
54565         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54567 2012-02-18  David S. Miller  <davem@davemloft.net>
54569         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54570         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54571         %o7 across the call.
54572         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54573         instead.
54574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54575         SETUP_PIC_REG_LEAF.
54576         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54577         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54578         * sysdeps/sparc/crtn.S: Likewise.
54580 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54582         * aout/Makefile: Remove.
54584 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54586         [BZ #13058]
54587         * manual/examples/argp-ex1.c (main): Format definition in GNU
54588         style.
54589         * manual/examples/argp-ex2.c (main): Likewise.
54590         * manual/examples/argp-ex3.c (main): Likewise.
54591         * manual/examples/argp-ex4.c (main): Likewise.
54592         * manual/examples/longopt.c (main): Use new-style prototype
54593         definition.
54594         * manual/examples/strncat.c (main): Specify return type and use
54595         (void) for arguments.
54596         * manual/examples/subopt.c (main): Use char **argv argument.
54598 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54600         [BZ #5077]
54601         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54602         rounding modes.
54604 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54606         [BZ #6907]
54607         * manual/string.texi (strchr): Change when strchrnul is
54608         recommended.
54610 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54612         [BZ #174]
54613         * manual/locale.texi (setlocale): Document LOCPATH.
54615 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54617         [BZ #10210]
54618         * manual/process.texi (execle): Move @dots{} before last argument.
54620 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54622         [BZ #12047]
54623         * manual/charset.texi (Generic Charset Conversion): Fix typo
54624         (LC_TYPE -> LC_CTYPE).
54626 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54628         [BZ #5805]
54629         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54630         (scalbnf): Likewise.
54631         (scalbnl): Likewise.
54632         (scalbln): Likewise.
54633         (scalblnf): Likewise.
54634         (scalblnl): Likewise.
54635         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54636         (vwarnx): Likewise.
54637         (verr): Likewise.
54638         (verrx): Likewise.
54639         * manual/filesys.texi (telldir): Use braces around return type.
54640         * manual/llio.texi (mmap): Add space after comma.
54641         (mmap64): Likewise.
54642         * manual/math.texi (jn): Use @var{} on parameter names.
54643         (jnf): Likewise.
54644         (jnl): Likewise.
54645         (yn): Likewise.
54646         (ynf): Likewise.
54647         (ynl): Likewise.
54648         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54649         line.
54650         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54651         "...".
54652         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54653         (sched_get_priority_max): Likewise.
54654         * manual/signal.texi (sigvec): Add space after comma.
54655         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54656         names.
54657         (if_indextoname): Likewise.
54658         (if_freenameindex): Likewise.
54659         (sendto): Use ',' instead of '.' in prototype.
54660         * manual/startup.texi (syscall): Use @dots{} instead of literal
54661         "...".
54662         * manual/stdio.texi (__fpending): Separate initial words of
54663         paragraph from @deftypefun line.
54664         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54665         "...".
54666         (vsyslog): Use @var{} on parameter names.
54667         * manual/terminal.texi (stty): Use @var{} on parameter names.
54668         * manual/users.texi (getutmp): Use @var{} on parameter names.
54669         (getutmpx): Likewise.
54671 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54673         [BZ #6884]
54674         * manual/stdio.texi (fopen): Fix typos in description of
54675         ",ccs=STRING".
54677 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54679         [BZ #4026]
54680         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54681         get clock_id definition.
54683 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54685         [BZ #4822]
54686         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54687         (madvise): Cast every argument to void on its own.
54689 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54691         [BZ #9902]
54692         * manual/startup.texi (Exit Status): Fix typo.
54694 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54696         [BZ #10140]
54697         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54698         * manual/examples/argp-ex2.c: Likewise.
54699         * manual/examples/argp-ex3.c: Likewise.
54701 2012-02-16  Richard Henderson  <rth@redhat.com>
54703         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54704         * sysdeps/s390/s390-32/initfini.c: Remove.
54705         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54706         * sysdeps/s390/s390-64/initfini.c: Remove.
54708 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54710         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54711         compiler output for sysdeps/generic/initfini.c.
54712         * sysdeps/sh/elf/initfini.c: Remove file.
54714 2012-02-16  David S. Miller  <davem@davemloft.net>
54716         [BZ #11494]
54717         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54719         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54720         * sysdeps/sparc/crti.S: New file.
54721         * sysdeps/sparc/crtn.S: New file.
54722         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54723         * sysdeps/sparc/sparc64/Makefile: Likewise.
54725 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54727         [BZ #3335]
54728         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54730 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54732         [BZ #4822]
54733         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54735         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54736         (write, read, close): Likewise.
54737         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54739 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54741         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54742         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54743         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54744         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54745         <bits/signalfd.h>.
54746         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54747         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54748         bits/signalfd.h.
54750 2012-02-14  Marek Polacek  <polacek@redhat.com>
54752         * sysdeps/x86_64/crti.S: New file.
54753         * sysdeps/x86_64/crtn.S: New file.
54754         * sysdeps/x86_64/elf/initfini.c: Remove file.
54756 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54758         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54759         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54760         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54761         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54762         <bits/inotify.h>.
54763         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54764         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54765         bits/inotify.h.
54767 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54769         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54770         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54771         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54772         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54773         <bits/eventfd.h>.
54774         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54776         bits/eventfd.h.
54778 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54780         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54781         __feraiseexcept instead of feraiseexcept.
54783         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54784         nanosleep invocations.
54785         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54786         strings, and add error checking for a nanosleep invocations.
54788 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54790         Replace FSF snail mail address with URLs, as per GNU coding standards.
54791         Most of the snail mail addresses were wrong anyway, and omitting
54792         them makes the source code easier to maintain.  Almost all of the
54793         changes are to license notices and to locale LC_IDENTIFICATION
54794         addresses, except for this one:
54795         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54796         not its snail mail address.
54798 2012-02-09  Richard Henderson  <rth@twiddle.net>
54800         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54801         of kernel-features.h.
54803         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54805 2012-02-08  Marek Polacek  <polacek@redhat.com>
54807         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54808         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54809         * sysdeps/gnu/_G_config.h: Likewise.
54810         * sysdeps/generic/_G_config.h: Likewise.
54812 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54814         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54815         tests.
54816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54818         * sysdeps/powerpc/powerpc32/crti.S: New file.
54819         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54820         * sysdeps/powerpc/powerpc64/crti.S: New file.
54821         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54823         * Makeconfig (have-initfini): Don't set.
54824         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54825         * configure.in (nopic_initfini): Don't substitute.
54826         * config.h.in (HAVE_INITFINI): Don't #undef.
54827         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54828         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54830 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54832         Support crti.S and crtn.S provided directly by architectures.
54833         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54834         [crti.S in sysdirs] (omit-deps): Likewise.
54835         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54836         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54837         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54838         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54839         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54840         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54841         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54842         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54843         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54844         compiler output for sysdeps/generic/initfini.c.
54845         * sysdeps/i386/elf/Makefile: Remove file.
54846         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54848 2012-02-07  Marek Polacek  <polacek@redhat.com>
54850         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54851         * sysdeps/gnu/_G_config.h: Likewise.
54852         * sysdeps/mach/hurd/_G_config.h: Likewise.
54854 2012-02-07  Marek Polacek  <polacek@redhat.com>
54856         * math/Makefile (tests): Add tst-CMPLX2.
54857         * math/tst-CMPLX2.c: New file.
54859 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54861         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54863         * math/libm-test.inc (jn_test): Add missing L suffix.
54865 2012-02-06  Marek Polacek  <polacek@redhat.com>
54867         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54868         * sysdeps/i386/fpu/e_powf.S: Likewise.
54869         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54870         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54871         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54872         * sysdeps/i386/fpu/e_pow.S: Likewise.
54873         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54874         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54875         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54876         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54877         * sysdeps/i386/fpu/e_log2.S: Likewise.
54878         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54879         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54880         * sysdeps/i386/fpu/e_powl.S: Likewise.
54881         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54882         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54883         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54884         * sysdeps/i386/fpu/e_logl.S: Likewise.
54885         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54886         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54887         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54888         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54889         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54890         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54891         * sysdeps/i386/fpu/e_log.S: Likewise.
54892         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54893         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54894         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54895         * sysdeps/i386/fpu/e_logf.S: Likewise.
54896         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54897         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54898         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54899         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54900         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54901         * sysdeps/i386/fpu/e_log10.S: Likewise.
54902         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54903         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54904         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54905         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54906         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54907         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54908         * sysdeps/i386/asm-syntax.h: Likewise.
54909         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54910         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54911         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54912         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54913         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54914         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54915         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54916         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54917         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54918         * sysdeps/powerpc/sysdep.h: Likewise.
54919         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54920         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54922 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54924         [BZ #411]
54925         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54927 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54929         * sysdeps/i386/sysdep.h: Include <features.h>.
54930         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54931         version.
54933 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54935         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54936         Define.
54937         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54938         LOAD_PIC_REG_STR.
54940 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54942         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54943         (SETUP_PIC_REG): Use GET_PC_THUNK.
54944         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54945         macro.
54947 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54949         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54950         for non-PIC compilation.
54951         (SETUP_PIC_REG): Add .p2align directive.
54952         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54953         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54954         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54955         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54956         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54957         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54958         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54959         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54960         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54961         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54962         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54963         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54964         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54965         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54966         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54967         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54968         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54969         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54970         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54971         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54972         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54973         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54974         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54975         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54976         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54978         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54979         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54980         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54981         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54982         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54983         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54984         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54985         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54986         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54987         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54988         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54989         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54990         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54991         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54992         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54994 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54996         * math/tst-CMPLX.c: Include <stdio.h>.
54998 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55000         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55001         float.
55002         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55003         * sysdeps/sparc/bits/mathdef.h: Likewise.
55005 2012-01-31  Marek Polacek  <polacek@redhat.com>
55007         * libio/libio.h: Don't define _PARAMS.
55008         * locale/programs/config.h: Don't define PARAMS.
55009         * stdlib/strtol_l.c: Likewise.
55010         (__strtol_l): Remove PARAMS from the prototype.
55012 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55014         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55015         names.  Just use the correct names.  Remove unnecessary wrapper
55016         functions.
55017         * malloc/arena.c: Likewise.
55018         * malloc/hooks.c: Likewise.
55020         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55021         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55022         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55024 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55026         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55027         into tail calls.
55028         (update_get_addr): New function.
55029         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55030         GET_ADDR_MODULE parameter.
55032 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55034         * crypt/cert.c: Remove __STDC__ conditionals.
55035         * crypt/crypt-entry.c: Likewise.
55036         * crypt/crypt_util.c: Likewise.
55037         * libio/filedoalloc.c: Likewise.
55038         * libio/fileops.c: Likewise.
55039         * libio/genops.c: Likewise.
55040         * libio/iofclose.c: Likewise.
55041         * libio/iofdopen.c: Likewise.
55042         * libio/iofopen.c: Likewise.
55043         * libio/iofopen64.c: Likewise.
55044         * libio/iogetdelim.c: Likewise.
55045         * libio/iopopen.c: Likewise.
55046         * libio/obprintf.c: Likewise.
55047         * libio/oldfileops.c: Likewise.
55048         * libio/oldiofclose.c: Likewise.
55049         * libio/oldiofdopen.c: Likewise.
55050         * libio/oldiofopen.c: Likewise.
55051         * libio/oldiopopen.c: Likewise.
55052         * libio/wfiledoalloc.c: Likewise.
55053         * libio/wgenops.c: Likewise.
55054         * locale/programs/xmalloc.c: Likewise.
55055         * misc/syslog.c: Likewise.
55056         * stdio-common/xbug.c: Likewise.
55057         * string/memchr.c: Likewise.
55058         * string/memcmp.c: Likewise.
55059         * string/memrchr.c: Likewise.
55060         * string/rawmemchr.c: Likewise.
55061         * sysdeps/posix/getcwd.c: Likewise.
55062         * time/strftime_l.c: Likewise.
55064 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55066         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55067         * config.make.in (config-cflags-sse2avx): Define.
55068         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55069         Fix typo.
55071 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55073         * scripts/config.guess: Update from upstream config git repository.
55074         * scripts/config.sub: Likewise.
55076 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55078         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55079         (EM_NUM): Update.
55080         (R_TILEPRO_*, R_TILEGX_*): New macros.
55082         * scripts/firstversions.awk: Fix bug in version range handling.
55084         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55086         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55088         * include/sys/epoll.h: New file.
55089         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55090         libc_hidden_def.
55092 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55094         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55095         Avoid unnecessary __WORDSIZE == 64 test.
55096         (fmaxf): Use VEX format if possible.
55097         (fmax): Likewise.
55098         (fminf): Likewise.
55099         (fmin): Likewise.
55101         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55102         * math/math_private.h: Remove libc_fegetround* and
55103         libc_fesetround*.
55104         * sysdeps/i386/configure.in: Check for -msse2avx.
55105         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55106         also if SSE2AVX is defined.
55107         Remove libc_fegetround* and libc_fesetround*.
55108         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55109         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55110         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55111         of HAS_YMM_USABLE.
55112         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55113         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55114         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55115         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55116         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55118         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55120 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55122         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55123         size is not set.
55124         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55126 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55128         [BZ #13618]
55129         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55130         relocation.
55131         * Makeconfig (libm): Define.
55132         * elf/Makefile: Add rules to build and run tst-relsort1.
55133         * elf/tst-relsort1.c: New file.
55134         * elf/tst-relsort1mod1.c: New file.
55135         * elf/tst-relsort1mod2.c: New file.
55137 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55139         * math/s_ldexp.c: Remove __STDC__ conditionals.
55140         * math/s_ldexpf.c: Likewise.
55141         * math/s_ldexpl.c: Likewise.
55142         * math/s_nextafter.c: Likewise.
55143         * math/s_nexttowardf.c: Likewise.
55144         * math/s_significand.c: Likewise.
55145         * math/s_significandf.c: Likewise.
55146         * math/s_significandl.c: Likewise.
55147         * math/w_jnl.c: Likewise.
55148         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55149         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55150         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55151         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55152         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55153         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55154         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55155         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55156         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55157         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55158         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55159         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55160         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55161         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55162         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55163         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55164         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55165         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55166         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55167         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55168         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55169         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55170         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55171         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55172         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55173         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55174         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55175         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55176         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55177         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55178         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55179         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55180         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55181         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55182         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55183         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55184         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55185         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55186         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55187         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55188         * sysdeps/ieee754/k_standard.c: Likewise.
55189         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55190         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55191         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55192         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55193         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55194         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55195         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55196         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55197         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55198         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55199         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55200         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55201         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55202         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55203         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55204         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55205         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55206         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55207         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55208         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55209         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55210         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55211         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55212         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55213         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55214         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55215         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55216         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55217         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55218         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55219         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55220         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55221         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55222         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55223         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55224         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55225         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55226         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55227         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55228         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55229         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55230         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55231         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55232         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55233         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55234         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55235         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55236         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55237         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55238         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55239         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55240         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55241         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55242         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55243         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55244         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55245         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55246         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55247         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55248         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55249         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55250         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55251         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55252         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55253         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55254         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55255         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55256         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55257         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55258         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55259         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55260         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55261         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55262         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55263         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55264         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55265         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55266         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55267         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55268         * sysdeps/ieee754/s_matherr.c: Likewise.
55269         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55270         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55272         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55274 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55276         * crypt/md5.h: Remove __STDC__ conditionals.
55277         * libio/libioP.h: Likewise.
55278         * locale/programs/config.h: Likewise.
55279         * sysdeps/generic/sysdep.h: Likewise.
55280         * sysdeps/i386/asm-syntax.h: Likewise.
55281         * sysdeps/s390/asm-syntax.h: Likewise.
55282         * sysdeps/unix/sysdep.h: Likewise.
55283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55286 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55288         * libio/libio.h: Remove __STDC__ conditionals.
55289         * malloc/obstack.h: Likewise.
55290         * math/complex.h: Likewise.
55291         * math/math.h: Likewise.
55292         * sysdeps/generic/_G_config.h: Likewise.
55293         * sysdeps/gnu/_G_config.h: Likewise.
55294         * sysdeps/mach/hurd/_G_config.h: Likewise.
55295         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55296         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55297         * sysdeps/sparc/bits/mathdef.h: Likewise.
55299 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55301         [BZ #13583]
55302         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55303         Clean up HAS_* macros.
55304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55305         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55306         possible.
55307         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55308         HAS_AVX.
55309         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55310         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55311         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55312         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55313         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55315 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55317         * elf/tst-unique3.cc (gets): Remove declaration.
55318         * elf/tst-unique3lib.cc (gets): Likewise.
55319         * elf/tst-unique3lib2.cc (gets): Likewise.
55320         * elf/tst-unique4.cc (gets): Likewise.
55322 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55324         * include/stdio.h: Add C++ protection.  Add gets declarations and
55325         definitions.
55326         * debug/tst-chk1.c: Don't declare gets here.
55327         * stdio-common/tst-gets.c: Likewise.
55329 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55331         * posix/glob: Remove directory.
55333 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55335         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55337 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55339         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55340         of the non-standard EPFNOSUPPORT.
55342 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55344         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55345         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55346         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55348 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55350         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55352 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55354         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55355         transient errors.
55356         * nscd/grpcache.c (cache_addgr): Likewise.
55357         * nscd/hstcache.c (cache_addhst): Likewise.
55358         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55359         * nscd/pwdcache.c (cache_addpw): Likewise.
55360         * nscd/servicescache.c (cache_addserv): Likewise.
55362 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55364         * malloc/malloc.c: Various cleanups.
55365         * malloc/hooks.c: Likewise.
55367         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55368         * stdlib/bug-fmtmsg1.c: New file.
55370         * stdlib/fmtmsg.c (init): Add missing unlock.
55371         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55373 2012-01-12  Marek Polacek  <polacek@redhat.com>
55375         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55376         and _GNU_SOURCE.
55378 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55380         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55381         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55382         macro to ensure uniqueness of label name.
55383         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55384         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55386 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55388         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55390         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55391         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55392         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55393         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55395 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55397         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55399         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55400         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55401         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55403         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55405         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55406         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55407         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55408         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55410         * math/bits/math-finite.h: Add ldexp support.
55412 2012-01-10  Marek Polacek  <polacek@redhat.com>
55414         * locale/programs/localedef.h (show_archive_content): Add noreturn
55415         attribute.
55417 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55419         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55421 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55423         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55425         * io/Makefile (headers): Add bits/poll2.h.
55427 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55430         typo #include statement.
55432 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55434         * include/sys/cdefs.h: Define __attribute_alloc_size.
55435         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55436         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55437         * elf/pldd.c: Likewise.
55438         * iconv/iconv_charmap.c: Likewise.
55439         * iconv/iconvconfig.c: Likewise.
55440         * iconv/strtab.c: Likewise.
55441         * locale/programs/locale.c: Likewise.
55442         * locale/programs/localedef.h: Likewise.
55443         * locale/programs/simple-hash.c: Likewise.
55444         * nscd/nscd.h: Likewise.
55445         * nss/makedb.c: Likewise.
55446         * sysdeps/generic/ldconfig.h: Likewise.
55447         * locale/programs/localedef.c: Remove xmalloc prototype.
55448         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55450 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55452         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55453         appropriate.
55455 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55457         * math/Makefile (tests): Add tst-CMPLX.
55458         * math/tst-CMPLX.c: New file.
55460         * math/complex.h (CMPLXL): Fix typo.
55462         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55463         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55464         GLIBC_2.16.
55465         * debug/tst-chk1.c: Add poll and ppoll tests.
55466         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55467         * include/sys/poll.h: Add hidden proto for ppoll.
55468         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55469         * sysdeps/mach/hurd/ppoll.c: Likewise.
55470         * io/ppoll.c: Likewise.
55471         * debug/poll_chk.c: New file.
55472         * debug/ppoll_chk.c: New file.
55473         * include/bits/poll2.h: New file.
55474         * io/bits/poll2.h: New file.
55476         [BZ #1350]
55477         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55479         * configure.in: static is always set to yes.  Remove.
55480         * config.make.in: Don't set build-static.
55481         * Makeconfig: Remove use of build-static.
55482         * dlfcn/Makefile: Likewise.
55483         * elf/Makefile: Likewise.
55484         * math/Makefile: Likewise.
55485         * misc/Makefile: Likewise.
55486         * nptl/Makefile: Likewise.
55487         * sysdeps/mach/hurd/Makefile: Likewise.
55489         * configure.in: PWD_P is not used anymore.
55490         * config.make.in: Remove PWD_P entry.
55492         * configure.in: Remove last remnants of RANLIB.
55493         No need to check for signed size_t anymore.
55494         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55495         and IA-64.
55496         Remove __builtin_expect test because we require at least gcc 3.4.
55497         * aclocal.m4: Likewise.
55499         * wcsmbs/mbrtoc16.c: Implement using towc function.
55500         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55501         * wcsmbs/wcsmbsload.c: Likewise.
55502         * iconv/gconv_simple.c: Likewise.
55503         * iconv/gconv_int.h: Likewise.
55504         * iconv/gconv_builtin.h: Likewise.
55505         * iconv/iconv_prog.c: Remove CHAR16 handling.
55507         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55509         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55511         * configure.in: Remove --with-elf and --enable-bounded options.
55512         Dont set base_machine for ia64.  More non-ELF conditions removed.
55513         Remove testing and setting of leading underscore information.
55514         * config.make.in (build-bounded): Set to no.
55515         * config.h.in: Remove NO_UNDERSCORES entry.
55516         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55517         them.
55518         * csu/start.c: Remove !NO_UNDERSCORE code.
55519         * locale/localeinfo.h: Likewise.
55520         * sysdeps/generic/machine-gmon.h: Likewise.
55521         * sysdeps/generic/sysdep.h: Likewise.
55522         * sysdeps/i386/sysdep.h: Likewise.
55523         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55524         * sysdeps/mach/sysdep.h: Likewise.
55525         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55526         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55527         * sysdeps/sh/sysdep.h: Likewise.
55528         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55529         * sysdeps/unix/i386/sysdep.S: Likewise.
55530         * sysdeps/unix/sparc/start.c: Likewise.
55531         * sysdeps/unix/sparc/sysdep.S: Likewise.
55532         * sysdeps/unix/sparc/sysdep.h: Likewise.
55533         * sysdeps/unix/start.c: Likewise.
55534         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55535         * sysdeps/x86_64/sysdep.h: Likewise.
55537 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55539         [BZ #13553]
55540         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55541         for non-gcc.
55542         * argp/argp-fmtstream.h: Use const instead __const.
55543         * argp/argp.h: Likewise.
55544         * assert/assert.h: Likewise.
55545         * bits/fenv.h: Likewise.
55546         * bits/sched.h: Likewise.
55547         * bits/sigset.h: Likewise.
55548         * bits/sigthread.h: Likewise.
55549         * catgets/nl_types.h: Likewise.
55550         * conform/data/pthread.h-data: Likewise.
55551         * crypt/crypt-private.h: Likewise.
55552         * crypt/crypt.h: Likewise.
55553         * crypt/crypt_util.c: Likewise.
55554         * ctype/ctype.h: Likewise.
55555         * debug/execinfo.h: Likewise.
55556         * debug/mbsnrtowcs_chk.c: Likewise.
55557         * debug/mbsrtowcs_chk.c: Likewise.
55558         * debug/wcsnrtombs_chk.c: Likewise.
55559         * debug/wcsrtombs_chk.c: Likewise.
55560         * debug/wcstombs_chk.c: Likewise.
55561         * dirent/dirent.h: Likewise.
55562         * dlfcn/dlfcn.h: Likewise.
55563         * elf/neededtest4.c: Likewise.
55564         * grp/grp.h: Likewise.
55565         * gshadow/gshadow.h: Likewise.
55566         * iconv/gconv.h: Likewise.
55567         * iconv/gconv_int.h: Likewise.
55568         * iconv/gconv_simple.c: Likewise.
55569         * iconv/iconv.h: Likewise.
55570         * iconv/loop.c: Likewise.
55571         * iconv/skeleton.c: Likewise.
55572         * include/aio.h: Likewise.
55573         * include/aliases.h: Likewise.
55574         * include/argz.h: Likewise.
55575         * include/arpa/inet.h: Likewise.
55576         * include/assert.h: Likewise.
55577         * include/dirent.h: Likewise.
55578         * include/dlfcn.h: Likewise.
55579         * include/execinfo.h: Likewise.
55580         * include/fcntl.h: Likewise.
55581         * include/fenv.h: Likewise.
55582         * include/glob.h: Likewise.
55583         * include/grp.h: Likewise.
55584         * include/libintl.h: Likewise.
55585         * include/mntent.h: Likewise.
55586         * include/netdb.h: Likewise.
55587         * include/pwd.h: Likewise.
55588         * include/rpc/netdb.h: Likewise.
55589         * include/sched.h: Likewise.
55590         * include/search.h: Likewise.
55591         * include/shadow.h: Likewise.
55592         * include/signal.h: Likewise.
55593         * include/stdio.h: Likewise.
55594         * include/stdlib.h: Likewise.
55595         * include/string.h: Likewise.
55596         * include/sys/socket.h: Likewise.
55597         * include/sys/stat.h: Likewise.
55598         * include/sys/statfs.h: Likewise.
55599         * include/sys/statvfs.h: Likewise.
55600         * include/sys/syslog.h: Likewise.
55601         * include/sys/time.h: Likewise.
55602         * include/sys/uio.h: Likewise.
55603         * include/time.h: Likewise.
55604         * include/unistd.h: Likewise.
55605         * include/utmp.h: Likewise.
55606         * include/wchar.h: Likewise.
55607         * include/wctype.h: Likewise.
55608         * inet/aliases.h: Likewise.
55609         * inet/arpa/inet.h: Likewise.
55610         * inet/netinet/ether.h: Likewise.
55611         * inet/netinet/in.h: Likewise.
55612         * intl/libintl.h: Likewise.
55613         * io/bits/fcntl2.h: Likewise.
55614         * io/fcntl.h: Likewise.
55615         * io/ftw.h: Likewise.
55616         * io/sys/poll.h: Likewise.
55617         * io/sys/stat.h: Likewise.
55618         * io/sys/statfs.h: Likewise.
55619         * io/sys/statvfs.h: Likewise.
55620         * io/utime.h: Likewise.
55621         * libio/bits/stdio.h: Likewise.
55622         * libio/bits/stdio2.h: Likewise.
55623         * libio/libio.h: Likewise.
55624         * libio/libioP.h: Likewise.
55625         * libio/stdio.h: Likewise.
55626         * locale/lc-ctype.c: Likewise.
55627         * locale/locale.h: Likewise.
55628         * login/utmp.h: Likewise.
55629         * malloc/arena.c: Likewise.
55630         * malloc/malloc.c: Likewise.
55631         * malloc/malloc.h: Likewise.
55632         * malloc/mcheck.c: Likewise.
55633         * malloc/mtrace.c: Likewise.
55634         * math/bits/mathcalls.h: Likewise.
55635         * math/fenv.h: Likewise.
55636         * math/math_private.h: Likewise.
55637         * misc/bits/error.h: Likewise.
55638         * misc/bits/syslog.h: Likewise.
55639         * misc/err.h: Likewise.
55640         * misc/error.h: Likewise.
55641         * misc/fstab.h: Likewise.
55642         * misc/mntent.h: Likewise.
55643         * misc/regexp.h: Likewise.
55644         * misc/search.h: Likewise.
55645         * misc/sgtty.h: Likewise.
55646         * misc/sys/mman.h: Likewise.
55647         * misc/sys/syslog.h: Likewise.
55648         * misc/sys/uio.h: Likewise.
55649         * misc/sys/xattr.h: Likewise.
55650         * misc/ttyent.h: Likewise.
55651         * nis/rpcsvc/ypclnt.h: Likewise.
55652         * nss/nss.h: Likewise.
55653         * posix/bits/unistd.h: Likewise.
55654         * posix/fnmatch.h: Likewise.
55655         * posix/glob.h: Likewise.
55656         * posix/sched.h: Likewise.
55657         * posix/spawn.h: Likewise.
55658         * posix/sys/wait.h: Likewise.
55659         * posix/unistd.h: Likewise.
55660         * posix/wordexp.h: Likewise.
55661         * pwd/pwd.h: Likewise.
55662         * resolv/netdb.h: Likewise.
55663         * resource/sys/resource.h: Likewise.
55664         * rt/aio.h: Likewise.
55665         * rt/bits/mqueue2.h: Likewise.
55666         * rt/mqueue.h: Likewise.
55667         * shadow/shadow.h: Likewise.
55668         * signal/signal.h: Likewise.
55669         * socket/send.c: Likewise.
55670         * socket/sendto.c: Likewise.
55671         * socket/sys/socket.h: Likewise.
55672         * stdio-common/printf.h: Likewise.
55673         * stdlib/bits/stdlib.h: Likewise.
55674         * stdlib/fmtmsg.h: Likewise.
55675         * stdlib/monetary.h: Likewise.
55676         * stdlib/stdlib.h: Likewise.
55677         * stdlib/ucontext.h: Likewise.
55678         * streams/stropts.h: Likewise.
55679         * string/argz.h: Likewise.
55680         * string/bits/string2.h: Likewise.
55681         * string/string.h: Likewise.
55682         * string/strings.h: Likewise.
55683         * sunrpc/rpc/auth.h: Likewise.
55684         * sunrpc/rpc/auth_des.h: Likewise.
55685         * sunrpc/rpc/clnt.h: Likewise.
55686         * sunrpc/rpc/netdb.h: Likewise.
55687         * sunrpc/rpc/pmap_clnt.h: Likewise.
55688         * sunrpc/rpc/xdr.h: Likewise.
55689         * sysdeps/generic/inttypes.h: Likewise.
55690         * sysdeps/generic/net/if.h: Likewise.
55691         * sysdeps/generic/sys/swap.h: Likewise.
55692         * sysdeps/gnu/net/if.h: Likewise.
55693         * sysdeps/gnu/utmpx.h: Likewise.
55694         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55695         * sysdeps/i386/i486/bits/string.h: Likewise.
55696         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55697         * sysdeps/s390/bits/string.h: Likewise.
55698         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55699         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55700         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55701         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55702         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55703         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55704         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55705         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55706         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55707         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55708         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55709         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55710         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55711         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55712         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55713         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55714         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55715         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55716         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55717         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55718         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55719         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55720         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55721         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55722         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55723         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55724         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55725         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55726         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55727         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55728         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55729         * sysvipc/sys/ipc.h: Likewise.
55730         * sysvipc/sys/msg.h: Likewise.
55731         * sysvipc/sys/sem.h: Likewise.
55732         * sysvipc/sys/shm.h: Likewise.
55733         * termios/termios.h: Likewise.
55734         * time/sys/time.h: Likewise.
55735         * time/time.h: Likewise.
55736         * wcsmbs/bits/wchar2.h: Likewise.
55737         * wcsmbs/uchar.h: Likewise.
55738         * wcsmbs/wchar.h: Likewise.
55739         * wctype/wctype.h: Likewise.
55741         [BZ #13551]
55742         * Makeconfig: Remove all but ELF support including AIX support.
55743         * Makerules: Likewise.
55744         * config.h.in: Likewise.
55745         * config.make.in: Likewise.
55746         * configure: Likewise.
55747         * configure.in: Likewise.
55748         * csu/Makefile: Likewise.
55749         * csu/version.c: Likewise.
55750         * debug/Makefile: Likewise.
55751         * dlfcn/Makefile: Likewise.
55752         * elf/Makefile: Likewise.
55753         * extra-lib.mk: Likewise.
55754         * iconv/Makefile: Likewise.
55755         * include/libc-symbols.h: Likewise.
55756         * include/shlib-compat.h: Likewise.
55757         * resolv/Makefile: Likewise.
55758         * resolv/res_libc.c: Likewise.
55759         * rt/Makefile: Likewise.
55760         * sysdeps/i386/asm-syntax.h: Likewise.
55761         * sysdeps/i386/sysdep.h: Likewise.
55762         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55763         * sysdeps/mach/sysdep.h: Likewise.
55764         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55765         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55766         * sysdeps/s390/asm-syntax.h: Likewise.
55767         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55768         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55769         * sysdeps/sh/sysdep.h: Likewise.
55770         * sysdeps/unix/sparc/sysdep.h: Likewise.
55771         * sysdeps/wordsize-32/divdi3.c: Likewise.
55772         * sysdeps/x86_64/sysdep.h: Likewise.
55774         * argp/Versions: Remove _argp_unlock_xxx.
55776         [BZ #13559]
55777         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55778         * abilist/libBrokenLocale.abilist: Likewise.
55779         * abilist/libanl.abilist: Likewise.
55780         * abilist/libc.abilist: Likewise.
55781         * abilist/libcrypt.abilist: Likewise.
55782         * abilist/libdl.abilist: Likewise.
55783         * abilist/libm.abilist: Likewise.
55784         * abilist/libnsl.abilist: Likewise.
55785         * abilist/libpthread.abilist: Likewise.
55786         * abilist/libresolv.abilist: Likewise.
55787         * abilist/librt.abilist: Likewise.
55788         * abilist/libthread_db.abilist: Likewise.
55789         * abilist/libutil.abilist: Likewise.
55790         * abilist/libnss_db.abilist: New file.
55792         * scripts/abilist.awk: Add support for indirect functions.
55794         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55796         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55798         * shlib-versions: Remove entries for ports architectures.
55800         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55801         files in ports.
55802         * elf/stackguard-macros.h: Remove support for IA-64.
55803         * elf/tst-auditmod1.c: Likewise.
55804         * sysdeps/generic/ldsodefs.h: Likewise.
55806         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55807         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55808         configure files.
55810         [BZ #13552]
55811         * configure.in: Remove --enable-omitfp support.
55812         * FAQ.in: Adjust.
55813         * config.make.in: Likewise.
55814         * Makeconfig: Likewise.
55815         * manual/install.texi: Likewise.
55817         In case anyone cares, the IA-64 architecture could move to ports.
55818         * sysdeps/ia64/*: Removed.
55819         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55820         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55822         [BZ #13555]
55823         * configure.in: Remove entries for unsupported architectures.
55825         [BZ #13533]
55826         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55827         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55828         routines.
55829         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55830         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55831         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55832         fall back to using wcrtomb.
55833         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55834         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55835         renaming.
55836         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55837         * wcsmbs/tst-c16c32-1.c: New file.
55839         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55840         local variable.
55842         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55844         * elf/tst-unique3.cc: Add explicit declaration of gets.
55845         * elf/tst-unique3lib.cc: Likewise.
55846         * elf/tst-unique3lib2.cc: Likewise.
55847         * elf/tst-unique4.cc: Likewise.
55849         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55851 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55853         [BZ #13566]
55854         * assert/assert.h (static_assert): Don't define for C++.
55855         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55856         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55858 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55860         * iconv/loop.c (single loop): Fix assertion in storing of
55861         remaining bytes.
55863         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55865 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55867         * posix/getconf.c: Update copyright year.
55868         * nss/getent.c: Likewise.
55869         * nss/makedb.c: Likewise.
55870         * iconv/iconvconfig.c: Likewise.
55871         * iconv/iconv_prog.c: Likewise.
55872         * elf/ldconfig.c: Likewise.
55873         * elf/pldd.c: Likewise.
55874         * elf/sotruss.ksh: Likewise.
55875         * catgets/gencat.c: Likewise.
55876         * csu/version.c: Likewise.
55877         * elf/ldd.bash.in: Likewise.
55878         * elf/sprof.c (print_version): Likewise.
55879         * locale/programs/locale.c: Likewise.
55880         * locale/programs/localedef.c: Likewise.
55881         * login/programs/pt_chown.c: Likewise.
55882         * nscd/nscd.c (print_version): Likewise.
55883         * debug/xtrace.sh: Likewise.
55884         * malloc/memusage.sh: Likewise.
55885         * malloc/mtrace.pl: Likewise.
55886         * debug/catchsegv.sh: Likewise.
55888 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55890         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55891         pure attribute.
55893 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55895         [BZ #13533]
55896         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55897         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55898         transformations.
55899         * iconv/gconv_int.h: Likewise.
55900         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55901         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55902         from libc for GLIBC_2.16.
55903         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55904         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55905         * wcsmbs/uchar.h: Really define mbstate_t.
55906         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55907         * wcsmbs/c16rtomb.c: New file.
55908         * wcsmbs/mbrtoc16.c: New file.
55909         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55910         for C/POSIX locale.
55911         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55912         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55914         * wcsmbs/wchar.h: Add missing __restrict.
55916 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55918         [BZ #13532]
55919         * time/Makefile (routines): Add timespec_get.
55920         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55921         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55922         timespec for ISO C11.
55923         * time/timespec_get.c: New file.
55924         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55925         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55927         [BZ #13531]
55928         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55929         * stdlib/stdlib.h: Declare aligned_alloc.
55930         * Versions.def: Add GLIBC_2.16 for libc.
55931         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55933         [BZ 13527]
55934         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55935         ISO C11.
55937         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55938         code.
55940         [BZ #13528]
55941         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55943         [BZ #13529]
55944         * assert/assert.h (static_assert): Define.
55946         * version.h: Update for 2.16 development version.
55948         [BZ #13526]
55949         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55950         _ISOC11_SOURCE.
55952         * version.h (RELEASE): Bump for 2.15 release.
55953         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55955         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55956         Patch by Marek Polacek <mpolacek@redhat.com>.
55958         * bits/byteswap.h: Protect long long constants with __extension__.
55959         * sysdeps/i386/bits/byteswap.h: Likewise.
55960         * sysdeps/ia64/bits/byteswap.h: Likewise.
55961         * sysdeps/s390/bits/byteswap.h: Likewise.
55962         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55964 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55966         [BZ #13540]
55967         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55968         destination buffer.
55969         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55971 2011-12-23  Marek Polacek  <polacek@redhat.com>
55973         * elf/dl-addr.c (determine_info): Add inline keyword.
55974         * elf/tst-auditmod4b.c (check_avx): Likewise.
55975         * elf/tst-auditmod6b.c (check_avx): Likewise.
55976         * elf/tst-auditmod6c.c (check_avx): Likewise.
55977         * elf/tst-auditmod7b.c (check_avx): Likewise.
55979 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55981         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55982         !__SSE_MATH__.
55984 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55986         [BZ #13540]
55987         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55988         processing for last bytes.
55990 2011-08-06  Bruno Haible  <bruno@clisp.org>
55992         [BZ #13061]
55993         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55994         U+0385, not to U+1FEE.
55996         [BZ #13062]
55997         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55998         entry for U+00A5 U+0301.
56000 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56002         [BZ #13166]
56003         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56004         buffer for the output is too small.
56006         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56007         optimization.
56009         [BZ #13185]
56010         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56011         SSE flags if possible.
56013 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56015         [BZ #13540]
56016         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56017         processing for last bytes.
56019 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56021         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56022         (syscall-list-default-options, syscall-list-default-condition)
56023         (syscall-list-includes): Define.
56024         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56025         list of ABIs and options and #if conditions for each ABI.  Do not
56026         handle common syscalls between ABIs specially.
56027         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56028         Remove.
56029         (syscall-list-variants, syscall-list-32bit-options)
56030         (syscall-list-32bit-condition, syscall-list-64bit-options)
56031         (syscall-list-64bit-condition): Define.
56032         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56033         (syscall-list-variants, syscall-list-32bit-options)
56034         (syscall-list-32bit-condition, syscall-list-64bit-options)
56035         (syscall-list-64bit-condition): Define.
56036         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56037         Remove.
56038         (syscall-list-variants, syscall-list-32bit-options)
56039         (syscall-list-32bit-condition, syscall-list-64bit-options)
56040         (syscall-list-64bit-condition): Define.
56041         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56042         Remove.
56043         (syscall-list-variants, syscall-list-32bit-options)
56044         (syscall-list-32bit-condition, syscall-list-64bit-options)
56045         (syscall-list-64bit-condition): Define.
56047 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56049         * locale/iso-639.def: Add brx entry.
56051         [BZ #13328]
56052         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56053         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56055         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56056         __feraiseexcept_renamed.
56058 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56060         [BZ #13538]
56061         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56062         EPOLLET with unsigned values.
56063         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56064         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56066         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56067         to large cancellation.
56068         * math/s_cacoshf.c: Likewise.
56069         * math/s_cacoshl.c: Likewise.
56071 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56073         [BZ #13305]
56074         [BZ #12786]
56075         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56076         * math/s_cacoshf.c: Likewise.
56077         * math/s_cacoshl.c: Likewise.
56079 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56081         [BZ #13439]
56082         * iconv/gconv.h: Define __GCONV_SWAP.
56083         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56084         * iconvdata/utf-16.c: Likewise.
56085         * iconvdata/utf-32.c: Likewise.
56087 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56089         [BZ #13524]
56090         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56091         numerator after shifting it by one limb.
56093 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56095         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56096         under [__USE_EXTERN_INLINES].
56098 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56100         [BZ #13446]
56101         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56103 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56105         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56106         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56107         optimized code.
56108         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56109         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56110         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56111         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56112         for strncasecmp/strncasecmp_l compilation.
56113         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56114         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56116 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56118         [BZ #13484]
56119         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56120         of __asm__.
56122 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56124         [BZ #13506]
56125         * time/tzfile.c (__tzfile_read): Check values from file header.
56127 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56129         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56130         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56131         * powerpc/powerpc32/dl-start.S: Likewise.
56132         * powerpc/powerpc32/elf/start.S: Likewise.
56133         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56134         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56135         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56136         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56137         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56138         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56139         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56140         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56141         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56142         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56143         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56144         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56145         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56146         * powerpc/powerpc32/memset.S: Likewise.
56147         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56148         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56149         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56150         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56151         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56152         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56153         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56154         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56155         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56156         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56157         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56158         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56159         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56161 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56163         * math/libm-test.inc: Added more nearbyint tests.
56164         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56165         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56167         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56169 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56171         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56172         FD_CLOEXEC.
56174 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56176         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56177         Add wcscpy-ssse3 wcscpy-c.
56178         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56179         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56180         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56181         * sysdeps/x86_64/wcschr.S: New file.
56182         * sysdeps/x86_64/wcsrchr.S: New file.
56183         * string/test-strcmp.c: Remove checking of wcscmp function for
56184         wrong alignments.
56185         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56186         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56187         wcsrchr-sse2 wcsrchr-c.
56188         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56189         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56190         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56191         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56192         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56193         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56194         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56195         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56196         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56197         * wcsmbc/wcschr.c (WCSCHR): New macro.
56199 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56201         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56202         * wcsmbs/test-wcsrchr.c: New file.
56203         * string/test-strrchr.c: Add wcsrchr support.
56204         (WIDE): New macro.
56205         * wcsmbs/test-wcscpy.c: New file.
56206         * string/test-strcpy.c: Add wcscpy support.
56207         (WIDE): New macro.
56209 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56211         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56212         the inner loop.
56214 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56216         [BZ #13472]
56217         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56219 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56221         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56222         Minor optimizations.
56224         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56225         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56226         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56228 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56230         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56231         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56232         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56233         for gcc to avoid warnings.
56234         * inet/Makefile (tests): Add tst-checks.
56235         * inet/tst-checks.c: New file.
56237         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56238         warning.
56240         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56241         __wmemcmp_sse2.
56243         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56244         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56246         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56248 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56250         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56251         problem.
56253         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56255 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56257         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56258         conditional on GCC version.
56259         (__arch_compare_and_exchange_val_8_acq)
56260         (__arch_compare_and_exchange_val_16_acq)
56261         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56262         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56263         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56265 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56267         * sysdeps/sh/backtrace.c: New file.
56269 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56271         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56272         parenthesis.
56274 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56276         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56277         falling back to utime.
56279 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56281         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56282         expectations for float.
56284 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56286         * locale/weight.h (findidx): Add parameter len.
56287         * locale/weightwc.h (findidx): Likewise.
56288         * posix/fnmatch_loop.c (FCT): Adjust caller.
56289         * posix/regcomp.c (build_equiv_class): Likewise.
56290         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56291         * posix/regexec.c (check_node_accept_bytes): Likewise.
56292         * string/strcoll_l.c (STRCOLL): Likewise.
56293         * string/strxfrm_l.c (STRXFRM): Likewise.
56295 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56297         * Makefile.in: Remove CVSOPT handling.
56298         * configure.in: Remove use of AC_REVISION.
56299         * iconvdata/Makefile (distribute): No need to filter out CVS.
56300         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56301         handling.
56303 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56305         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56306         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56307         [USE_AS_STRNCASECMP_L]: Likewise.
56308         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56309         NO_TLS_DIRECT_SEG_REFS.
56310         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56311         Fix argument offsets for non-PIC.
56312         [USE_AS_STRNCASECMP_L]: Likewise.
56313         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56314         NO_TLS_DIRECT_SEG_REFS.
56316 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56318         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56319         O_CLOEXEC.
56320         * locale/loadlocale.c (_nl_load_locale): Likewise.
56322 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56324         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56325         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56326         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56327         (SYSCALL_GETTIME): Set errno on error.
56329         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56330         count references to noai6ai_cached.
56332 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56334         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56336         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56337         FD_CLOEXEC for /proc/self/maps.
56339         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56340         FD_CLOEXEC for /proc/meminfo.
56342         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56343         gai.conf.
56345         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56346         FD_CLOEXEC for given file.
56348         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56350         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56351         FD_CLOEXEC for /etc/hosts.
56352         (_gethtent): Likewise.
56354         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56356         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56357         cancellation and set FD_CLOEXEC for /etc/netgroup.
56359         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56360         reading /etc/publickey.
56362         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56363         allow cancellation when reading /etc/group.
56365         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56366         cancellation.
56367         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56369         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56370         when using data file.
56372         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56374         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56375         (write_nis_obj): Use "c" and "e" in fopen.
56377         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56379         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56381         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56383         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56385         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56386         locale.alias.
56388         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56390         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56392         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56394         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56395         file parsing and set FD_CLOEXEC.
56397 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56399         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56401 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56403         * malloc/arena.c (arena_get2): Don't call reused_arena when
56404         _int_new_arena failed.
56406 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56408         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56409         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56410         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56411         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56412         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56413         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56414         to compile strcasecmp and strncasecmp.
56415         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56416         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56418         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56420 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56422         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56423         locale-defines.sym to gen-as-const-headers.
56424         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56425         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56427         to compile strcasecmp and strncasecmp.
56428         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56429         strcasecmp_l and strncasecmp_l.
56430         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56431         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56432         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56433         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56434         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56435         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56436         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56437         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56438         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56439         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56440         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56442 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56444         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56445         result of SYSDEP_GETTIME_CPU to retval.
56446         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56447         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56449         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56450         variable.
56452         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56453         mantissa words.
56454         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56456         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56457         from unused variable.
56459         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56460         DWARF definitions.
56461         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56462         for assembling.
56464         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56465         over namespaces.
56467         * sunrpc/rpc_prot.c (rejected): Fix case value.
56469         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56470         unsigned long long int to avoid warnings in shift.
56472         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56473         of use of trans.
56474         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56475         variable tmp.
56477         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56478         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56479         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56481         * nis/nis_table.c (nis_list): Use variable of correct type for
56482         result of __follow_path call.
56484 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56486         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56487         of math functions ceil, trunc, floor, round, and sqrt, when
56488         avaliable on the platform.
56489         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56490         name clash.
56491         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56492         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56493         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56495 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56497         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56498         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56500 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56502         * include/unistd.h: Fix __readlink return type.
56503         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56505 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56507         * stdlib/ucontext.h: Undo last change for makecontext.
56509 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56511         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56513         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56514         * setjmp/setjmp.h: Mark functions as non-leaf.
56515         * setjmp/bits/setjmp2.h: Likewise.
56516         * stdlib/ucontext.h: Likewise.
56518 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56520         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56521         (reused_arena): Don't check arena limit.
56522         (arena_get2): Atomically check arena limit.
56524 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56526         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56527         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56529         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56530         instructions.
56532 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56534         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56535         handler when locking.
56537         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56538         Fix size of allocated buffer.
56540 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56542         [BZ #10103]
56543         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56544         declarations for long double functions.
56545         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56547         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56549 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56551         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56552         installed.
56554         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56555         is disabled.
56557 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56559         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56561 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56563         * include/alloca.h (stackinfo_alloca_round): Define.
56564         (extend_alloca): Use it.
56565         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56566         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56567         here.
56569         * scripts/check-local-headers.sh: Ignore libaudit.h.
56571         * nscd/Makefile (extra-objs): Make recursively expanded.
56573 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56575         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56576         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56578         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56579         * posix/tst-rfc3484-2.c: Likewise.
56580         * posix/tst-rfc3484-3.c: Likewise.
56582         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56583         process_vm_writev.
56584         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56585         process_vm_writev.
56586         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56587         process_vm_writev from libc using GLIBC_2.15 version.
56589         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56591 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56593         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56594         stack usage.
56596 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56598         [BZ #13367]
56599         * nss/getent.c (initgroups_keys): Show error message in case no group
56600         names are given.
56602         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56603         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56604         __bump_nl_timestamp.
56605         * nscd/connections (nscd_init): When host database is served open
56606         netlink socket and request notification about configuration changes.
56607         (main_loop_poll): Track netlink file descriptor and bump timestamp
56608         in case data becomes available.
56609         (main_loop_epoll): Likewise.
56610         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56611         (database_pers_head): Add extra_data fileds.
56612         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56613         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56614         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56615         Adjust caller.
56616         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56617         in6ai data, call __free_in6ai.
56618         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56619         Add -DHAVE_NETLINK.
56620         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56621         interface information.  Reuse previous data if netlink timestamp
56622         is not changed.
56623         (__bump_nl_timestamp): New function.
56624         (__free_in6ai): New function.
56626 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56628         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56629         close_not_cancel_no_status here.
56630         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56632 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56634         [BZ #13276]
56635         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56636         return value.
56638         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56639         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56640         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56642 2011-07-03  Andreas Jaeger  <aj@suse.de>
56644         [BZ #10709]
56645         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56646         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56647         * math/libm-test.inc (sin_test): Add test case.
56649 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56651         [BZ #13337]
56652         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56653         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56655         * elf/chroot_canon.c (chroot_canon): Cleanups.
56657         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56659         [BZ #13335]
56660         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56661         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56663         * string/test-strchr.c: Make usable for strchrnul testing.
56664         * string/test-strchrnul.c: New file.
56665         * string/Makefile (strop-tests): Add strchrnul.
56667         * po/it.po: Update from translation team.
56668         * po/es.po: Likewise.
56670 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56672         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56673         the three constants needed as parameters.  Drop the others.
56674         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56675         __m128i_strloadu_tolower.
56676         Create and initialize variable zero and use it in all the places
56677         where _mm_setzero_si128 was used.
56679         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56680         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56681         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56682         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56683         anymore.
56684         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56685         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56686         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56687         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56688         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56689         __mpranred, __mptan.
56690         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56691         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56692         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56693         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56694         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56695         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56696         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56697         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56698         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56700 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56702         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56703         redefine if SHARED.
56704         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56706         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56707         wide char related routines to wcsmbs subdir.
56709 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56711         [BZ #13344]
56712         * misc/sys/cdefs.h (__THROWNL): Define.
56713         * posix/unistd.h: Use __THREADNL instead of __THREAD
56714         for memory synchronization functions.
56716 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56718         [BZ #13349]
56719         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56720         doesn't exist.
56721         * manual/stdio.texi (Obstack Streams): Node removed.
56723 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56725         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56726         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56727         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56729         * math/math_private.h (math_force_eval): Allow non-addressable
56730         arguments.
56731         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56733 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56735         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56736         file is not needed.
56738         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56739         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56740         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56741         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56742         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56743         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56744         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56745         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56746         Add AVX variants.
56747         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56748         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56749         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56750         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56751         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56752         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56753         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56754         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56755         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56756         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56757         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56758         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56759         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56760         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56761         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56762         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56763         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56764         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56765         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56767         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56768         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56770         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56771         place.  Use VEX encoding when compiling for AVX.
56773 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56775         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56776         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56778         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56780 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56782         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56783         useless if() expression.
56784         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56785         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56786         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56787         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56788         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56789         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56790         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56791         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56792         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56793         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56794         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56795         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56796         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56797         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56798         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56799         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56800         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56801         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56802         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56804         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56806 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56808         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56809         condition.
56810         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56812 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56814         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56815         .text section.  Avoid duplicate constants.
56816         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56817         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56818         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56819         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56820         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56821         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56822         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56823         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56824         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56825         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56826         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56827         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56828         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56829         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56830         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56831         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56832         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56833         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56834         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56835         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56836         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56837         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56838         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56839         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56840         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56841         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56842         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56843         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56844         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56845         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56846         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56847         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56848         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56849         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56850         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56851         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56852         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56853         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56854         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56855         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56856         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56857         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56858         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56859         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56860         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56862 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56864         * sysdeps/x86_64/dla.h: Move to ...
56865         * sysdeps/x86_64/fpu/dla.h: ...here.
56866         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56867         situations.  Use __builtin_fma only for gcc 4.6 and up.
56869         * config.make.in: Add have-mfma4 entry.
56870         * configure.in: Substitute libc_cv_cc_fma4.
56871         * math/Makefile (dbl-only-routines): Add sincostab.
56872         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56873         Use __sincostab not sincos.
56874         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56875         name is a macro.
56876         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56877         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56878         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56879         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56880         using __copysign.
56881         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56882         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56883         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56884         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56885         and __inv.
56886         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56887         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56888         __copysign.
56889         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56890         define aliases when function name is a macro.
56891         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56892         sysdeps/ieee754/dbl-64/sincos.tbl.
56893         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56894         fma4-enabled routines.
56895         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56896         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56897         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56898         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56899         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56900         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56901         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56902         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56903         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56904         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56905         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56906         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56907         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56908         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56909         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56910         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56911         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56912         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56913         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56914         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56915         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56916         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56917         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56918         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56919         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56920         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56921         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56922         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56923         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56924         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56926         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56927         rename.
56928         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56933         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56934         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56935         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56937 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56939         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56941 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56943         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56945         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56946         prediction.
56947         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56949         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56950         Remove unused variable magic_bits.
56951         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56953         * string/strnlen.c: Define and use STRNLEN macro.
56954         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56955         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56956         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56957         * wcsmbs/wcslen.c: Define and use WCSLEN.
56958         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56959         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56960         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56961         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56962         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56963         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56964         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56966 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56969         strnlen-sse2-no-bsf.
56970         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56971         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56972         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56973         Add strnlen support.
56974         (USE_AS_STRNLEN): New macro.
56975         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56976         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56977         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56978         * sysdeps/x86_64/wcslen.S: New file.
56980 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56982         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56983         XMM-moves are used for copying on small sizes.
56985 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56987         * wcsmbs/Makefile (strop-tests): Add wcschr.
56988         * wcsmbs/test-wcschr.c: New file.
56989         * string/test-strchr.c: Update.
56990         Add wcschr support.
56991         (WIDE): New macro.
56993 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56995         * wcsmbs/Makefile (strop-tests): Add wcslen.
56996         * wcsmbs/test-wcslen.c: New file.
56997         * string/test-strlen.c: Update.
56998         Add wcslen support.
56999         (WIDE): New macro.
57001 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57003         * po/it.po: Update from translation team.
57005 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57007         * sysdeps/x86_64/wcscmp.S: Update.
57008         Fix wrong comparison semantics.
57009         wcscmp shall use signed comparison not unsigned.
57010         Don't use substraction to avoid overflow bug.
57011         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57012         * wcsmbc/wcscmp.c: Likewise.
57013         * string/test-strcmp.c: Likewise.
57014         Add new tests to check cases with negative values.
57016 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57018         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57019         * sysdeps/x86_64/dla.h: ...here.  New file.
57020         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57021         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57022         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57024         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57025         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57026         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57027         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57028         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57030 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57032         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57033         __ynl_finite aliases.
57035 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57039         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57040         define DLA_FMA.
57041         [DLA_FMA] (EMULV): Use DLA_FMA.
57042         [DLA_FMA] (MUL12): Use EMULV.
57043         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57044         that are not needed.
57045         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57046         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57048         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57049         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57050         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57051         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57053 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57055         * math/s_nan.c: Undef __nan.
57056         * math/s_nanf.c: Undef __nanf.
57057         * math/s_nanl.c: Undef __nanl.
57058         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57059         "math_private.h".
57061 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57063         * math/s_catan.c: Add branch predictions.
57064         * math/s_catanf.c: Likewise.
57065         * math/s_catanh.c: Likewise.
57066         * math/s_catanhf.c: Likewise.
57067         * math/s_catanhl.c: Likewise.
57068         * math/s_catanl.c: Likewise.
57069         * math/s_cexp.c: Likewise.
57070         * math/s_cexpf.c: Likewise.
57071         * math/s_cexpl.c: Likewise.
57072         * math/s_clog.c: Likewise.
57073         * math/s_clog10.c: Likewise.
57074         * math/s_clog10f.c: Likewise.
57075         * math/s_clog10l.c: Likewise.
57076         * math/s_clogf.c: Likewise.
57077         * math/s_clogl.c: Likewise.
57078         * math/s_csqrt.c: Likewise.
57079         * math/s_csqrtf.c: Likewise.
57080         * math/s_csqrtl.c: Likewise.
57081         * math/s_ctanf.c: Likewise.
57082         * math/s_ctanh.c: Likewise.
57083         * math/s_ctanhf.c: Likewise.
57084         * math/s_ctanhl.c: Likewise.
57085         * math/s_ctanl.c: Likewise.
57087         * math/math_private.h: Define __nan, __nanf, __nanl.
57088         * math/s_cacosh.c: Include <math_private.h>.
57089         * math/s_cacoshl.c: Likewise.
57090         * math/s_casinh.c: Likewise.
57091         * math/s_casinhf.c: Likewise.
57092         * math/s_casinhl.c: Likewise.
57093         * math/s_ccos.c: Rely entire on ccosh.
57094         * math/s_ccosf.c: Rely entire on ccoshf.
57095         * math/s_ccosl.c: Rely entirely on ccoshl.
57096         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57097         Remove tests for FE_INVALID.
57098         * math/s_ccoshf.c: Likewise.
57099         * math/s_ccoshl.c: Likewise.
57100         * math/s_csin.c: Likewise.
57101         * math/s_csinf.c: Likewise.
57102         * math/s_csinh.c Likewise.
57103         * math/s_csinhf.c: Likewise.
57104         * math/s_csinhl.c: Likewise.
57105         * math/s_csinl.c: Likewise.
57106         * math/s_ctan.c: Likewise.
57107         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57108         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57109         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57111 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57114         compilation problems.
57116         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57117         __builtin_expect.
57119 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57121         * sysdeps/i386/configure.in: Test for -mfma4 option.
57122         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57123         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57124         COMMON_CPUID_INDEX_80000001.
57125         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57126         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57127         use it if FMA3 is not supported.
57128         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57130         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57131         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57133 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57135         [BZ #12892]
57136         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57137         it would create a cycle with a link time dependency.
57139 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57141         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57142         instruction.
57143         * string/Makefile (strop-tests): Add rawmemchr.
57144         * string/test-rawmemchr.c: New file.
57146         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57147         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57148         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57149         when compiling str{,n}casecmp and when AVX is available.  Hook up
57150         new optimized code in initializers.
57152 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57154         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57155         __feraiseexcept instead of feraiseexcept.
57157 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57159         * math/math_private.h: Define defaults for libc_fetestexcept and
57160         libc_feupdateenv.
57161         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57162         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57163         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57164         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57165         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57166         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57167         libc_fetestexcept and libc_feupdateenv.
57169         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57170         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57171         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57172         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57173         libc_feholdexcept_setround.
57175         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57176         Add s_nearbyint-c and s_nearbyintf-c.
57177         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57178         nearbyintf inlines.
57179         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57180         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57181         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57182         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57184         * math/math_private.h: Define defaults for libc_fegetround,
57185         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57186         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57187         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57188         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57189         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57190         standard functions.
57191         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57192         Remove comments and hacks for old compiler versions.
57193         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57194         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57195         libc_feholdexceptl.
57197 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57199         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57200         (__feraiseexcept_renamed): Add __NTH.
57201         (feraiseexcept): Add __NTH.  Rename local variables to fix
57202         namespace violations.
57204 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57206         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57208         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57210         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57211         recently added interfaces.
57212         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57214         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57215         about macro parameter expansion.
57217         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57218         __NO_MATH_INLINES is defined.  Cleanups.
57220         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57221         and __floorf is target has SSE4.1.
57222         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57223         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57224         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57225         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57227         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57228         name.
57229         (floorf): Likewise.
57231         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57233 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57235         * misc/sys/cdefs.h: Fix last change.
57237         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57238         database lookup.
57240 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57242         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57244         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57245         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57246         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57247         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57248         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57249         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57250         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57251         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57252         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57253         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57254         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57255         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57256         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57257         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57258         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57259         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57260         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57261         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57262         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57263         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57264         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57265         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57267         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57268         ceil, ceilf, floor, floorf.
57270         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57271         Perform IRELATIVE relocations last.
57273         * elf/do-rel.h: Add another parameter nrelative, replacing the
57274         local variable with the same name.  Change name of the function
57275         to end in Rel or Rela (uppercase).
57276         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57277         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57278         elf_dynamic_do_##reloc function.
57280 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57282         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57283         is sufficient, at least on modern CPUs.
57285         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57287         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57288         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57290         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57291         __expl_finite.
57292         * math/bits/math-finite.h: Add entries for exp.
57293         * math/e_expl.c: Add __*_finite alias.
57294         * sysdeps/i386/fpu/e_exp.S: Likewise.
57295         * sysdeps/i386/fpu/e_expf.S: Likewise.
57296         * sysdeps/i386/fpu/e_expl.c: Likewise.
57297         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57298         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57299         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57300         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57301         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57302         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57303         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57305         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57306         is sufficient, at least on modern CPUs.
57308         * ctype/ctype-info.c (__ctype_init): Define.
57309         * include/ctype.h (__ctype_init): Declare.
57310         (__ctype_b_loc): The variable is always initialized.
57311         (__ctype_toupper_loc): Likewise.
57312         (__ctype_tolower_loc): Likewise.
57313         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57314         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57316 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57318         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57320         * configure.in: Also look in $cxxmachine/include for C++ system
57321         headers.
57323 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57325         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57326         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57327         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57328         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57329         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57330         (USE_AS_WMEMCMP): New macro.
57331         Fixing indents.
57332         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57333         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57334         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57335         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57337         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57338         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57339         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57340         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57341         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57342         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57343         (USE_AS_WMEMCMP): New macro.
57344         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57345         * sysdeps/string/test-memcmp.c: Update.
57346         Fix simple_wmemcmp.
57347         Add new tests.
57348         * wcsmbs/wmemcmp.c: Update.
57349         (WMEMCMP): New macro.
57350         Fix overflow bug.
57352 2011-10-12  Andreas Jaeger  <aj@suse.de>
57354         [BZ #13268]
57355         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57357 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57359         * libio/iofwide.c (do_length): Avoid warning.
57361         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57363 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57365         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57367         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57368         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57369         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57370         * sysdeps/i386/i686/fpu/e_log.S: New file.
57371         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57372         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57374         * ctype/ctype.h: Add support for inlined isXXX functions when
57375         compiling C++ code.
57377 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57379         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57381         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57383 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57385         [BZ #13291]
57386         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57388 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57390         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57391         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57392         feraiseexcept.
57394         * sysdeps/x86_64/memrchr.S: Check for zero size.
57396         * string/stratcliff.c: Add memrchr tests.
57398 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57401         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57402         rawmemchr-sse2 rawmemchr-sse2-bsf.
57403         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57404         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57405         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57406         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57407         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57408         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57409         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57410         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57411         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57412         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57413         * string/memrchr.c (MEMRCHR): New macro.
57415 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57417         Add integration with gcc's -ffinite-math-only and optimize wrapper
57418         functions in libm.
57419         * Versions.def: Define GLIBC_2.15 version for libm.
57420         * math/Makefile (headers): Add bits/math-finite.h.
57421         * math/bits/math-finite.h: New file.
57422         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57423         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57424         * math/e_acoshl.c: Add __*_finite alias.
57425         * math/e_acosl.c: Likewise.
57426         * math/e_asinl.c: Likewise.
57427         * math/e_atan2l.c: Likewise.
57428         * math/e_atanhl.c: Likewise.
57429         * math/e_coshl.c: Likewise.
57430         * math/e_exp10.c: Likewise.
57431         * math/e_exp10f.c: Likewise.
57432         * math/e_exp10l.c: Likewise.
57433         * math/e_exp2l.c: Likewise.
57434         * math/e_fmodl.c: Likewise.
57435         * math/e_gammal_r.c: Likewise.
57436         * math/e_hypotl.c: Likewise.
57437         * math/e_j0l.c: Likewise.
57438         * math/e_j1l.c: Likewise.
57439         * math/e_jnl.c: Likewise.
57440         * math/e_lgammal_r.c: Likewise.
57441         * math/e_log10l.c: Likewise.
57442         * math/e_log2l.c: Likewise.
57443         * math/e_logl.c: Likewise.
57444         * math/e_powl.c: Likewise.
57445         * math/e_sinhl.c: Likewise.
57446         * math/e_sqrtl.c: Likewise.
57447         * math/e_scalb.c: Completely rewritten and optimized.
57448         * math/e_scalbf.c: Likewise.
57449         * math/e_scalbl.c: Likewise.
57450         * math/w_acos.c: Likewise.
57451         * math/w_acosf.c: Likewise.
57452         * math/w_acosl.c: Likewise.
57453         * math/w_acosh.c: Likewise.
57454         * math/w_acoshf.c: Likewise.
57455         * math/w_acoshl.c: Likewise.
57456         * math/w_asin.c: Likewise.
57457         * math/w_asinf.c: Likewise.
57458         * math/w_asinl.c: Likewise.
57459         * math/w_atan2.c: Likewise.
57460         * math/w_atan2f.c: Likewise.
57461         * math/w_atan2l.c: Likewise.
57462         * math/w_atanh.c: Likewise.
57463         * math/w_atanhf.c: Likewise.
57464         * math/w_atanhl.c: Likewise.
57465         * math/w_exp10.c: Likewise.
57466         * math/w_exp10f.c: Likewise.
57467         * math/w_exp10l.c: Likewise.
57468         * math/w_fmod.c: Likewise.
57469         * math/w_fmodf.c: Likewise.
57470         * math/w_fmodl.c: Likewise.
57471         * math/w_j0.c: Likewise.
57472         * math/w_j0f.c: Likewise.
57473         * math/w_j0l.c: Likewise.
57474         * math/w_j1.c: Likewise.
57475         * math/w_j1f.c: Likewise.
57476         * math/w_j1l.c: Likewise.
57477         * math/w_jn.c: Likewise.
57478         * math/w_jnf.c: Likewise.
57479         * math/w_log.c: Likewise.
57480         * math/w_logf.c: Likewise.
57481         * math/w_logl.c: Likewise.
57482         * math/w_log10.c: Likewise.
57483         * math/w_log10f.c: Likewise.
57484         * math/w_log10l.c: Likewise.
57485         * math/w_log2.c: Likewise.
57486         * math/w_log2f.c: Likewise.
57487         * math/w_log2l.c: Likewise.
57488         * math/w_pow.c: Likewise.
57489         * math/w_powf.c: Likewise.
57490         * math/w_powl.c: Likewise.
57491         * math/w_remainder.c: Likewise.
57492         * math/w_remainderf.c: Likewise.
57493         * math/w_remainderl.c: Likewise.
57494         * math/w_scalb.c: Likewise.
57495         * math/w_scalbf.c: Likewise.
57496         * math/w_scalbl.c: Likewise.
57497         * math/w_sqrt.c: Likewise.
57498         * math/w_sqrtf.c: Likewise.
57499         * math/w_sqrtl.c: Likewise.
57500         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57501         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57502         used.
57503         * math/math_private.h: Declare __kernel_standard_f.
57504         * math/w_cosh.c: Remove cruft and optimize a bit.
57505         * math/w_coshf.c: Likewise.
57506         * math/w_coshl.c: Likewise.
57507         * math/w_exp2.c: Likewise.
57508         * math/w_exp2f.c: Likewise.
57509         * math/w_exp2l.c: Likewise.
57510         * math/w_hypot.c: Likewise.
57511         * math/w_hypotf.c: Likewise.
57512         * math/w_hypotl.c: Likewise.
57513         * math/w_lgamma.c: Likewise.
57514         * math/w_lgamma_r.c: Likewise.
57515         * math/w_lgammaf.c: Likewise.
57516         * math/w_lgammaf_r.c: Likewise.
57517         * math/w_lgammal.c: Likewise.
57518         * math/w_lgammal_r.c: Likewise.
57519         * math/w_sinh.c: Likewise.
57520         * math/w_sinhf.c: Likewise.
57521         * math/w_sinhl.c: Likewise.
57522         * math/w_tgamma.c: Likewise.
57523         * math/w_tgammaf.c: Likewise.
57524         * math/w_tgammal.c: Likewise.
57525         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57526         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57527         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57528         Minor optimizations.  Pretty printing.  Remove cruft.
57529         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57530         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57531         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57532         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57533         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57534         * sysdeps/i386/fpu/e_asin.S: Likewise.
57535         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57536         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57537         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57538         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57539         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57540         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57541         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57542         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57543         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57544         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57545         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57546         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57547         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57548         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57549         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57550         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57551         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57552         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57553         * sysdeps/i386/fpu/e_log.S: Likewise.
57554         * sysdeps/i386/fpu/e_log10.S: Likewise.
57555         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57556         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57557         * sysdeps/i386/fpu/e_log2.S: Likewise.
57558         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57559         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57560         * sysdeps/i386/fpu/e_logf.S: Likewise.
57561         * sysdeps/i386/fpu/e_logl.S: Likewise.
57562         * sysdeps/i386/fpu/e_pow.S: Likewise.
57563         * sysdeps/i386/fpu/e_powf.S: Likewise.
57564         * sysdeps/i386/fpu/e_powl.S: Likewise.
57565         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57566         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57567         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57568         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57569         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57570         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57571         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57572         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57573         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57574         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57575         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57577         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57578         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57579         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57580         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57581         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57582         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57583         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57584         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57585         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57586         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57587         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57588         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57589         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57590         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57591         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57592         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57593         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57594         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57595         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57596         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57597         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57598         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57599         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57600         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57601         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57602         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57603         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57604         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57605         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57606         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57607         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57608         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57609         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57610         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57611         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57612         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57613         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57614         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57615         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57616         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57617         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57618         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57619         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57620         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57621         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57622         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57623         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57624         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57625         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57626         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57627         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57628         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57629         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57630         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57631         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57632         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57633         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57634         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57635         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57636         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57637         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57638         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57639         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57640         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57641         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57642         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57643         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57644         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57645         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57646         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57647         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57648         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57649         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57650         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57651         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57652         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57653         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57654         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57655         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57656         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57657         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57658         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57659         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57660         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57661         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57662         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57663         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57664         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57665         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57666         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57667         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57668         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57669         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57670         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57671         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57672         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57673         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57674         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57675         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57676         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57677         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57678         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57679         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57680         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57681         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57682         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57683         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57684         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57685         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57686         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57687         (__isnanf): Likewise.
57688         (__isinf_ns): Likewise.
57689         (__isinf_nsf): Likewise.
57690         (__finite): Likewise.
57691         (__finitef): Likewise.
57692         (__ieee754_sqrt): Define as macro.
57693         (__ieee754_sqrtf): Define as macro.
57694         (__ieee754_sqrtl): Define as macro.
57695         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57696         inlined copy.
57697         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57698         __FINITE_MATH_ONLY__ consistent.
57699         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57701 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57703         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57704         of rawmemchr.
57706         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57708 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57710         * po/ja.po: Update from translation team.
57712 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57714         * locale/programs/locarchive.c (prepare_address_space): New function.
57715         (create_archive, enlarge_archive, open_archive): Use it.
57717         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57718         inside [SHARED], where it is used.
57720         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57722         * nss/getent.c (netgroup_keys): Remove unused variable.
57723         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57725 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57727         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57728         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57729         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57730         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57731         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57732         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57733         * math/Makefile (libm-calls): Add s_isinf_ns.
57734         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57735         * math/multc3.c: Likewise.
57736         * math/s_casin.c: Likewise.
57737         * math/s_casinf.c: Likewise.
57738         * math/s_casinl.c: Likewise.
57739         * math/s_ccos.c: Likewise.
57740         * math/s_ccosf.c: Likewise.
57741         * math/s_ccosl.c: Likewise.
57742         * math/s_ctan.c: Likewise.
57743         * math/s_ctanf.c: Likewise.
57744         * math/s_ctanh.c: Likewise.
57745         * math/s_ctanhf.c: Likewise.
57746         * math/s_ctanhl.c: Likewise.
57747         * math/s_ctanl.c: Likewise.
57748         * math/w_fmod.c: Likewise.
57749         * math/w_fmodf.c: Likewise.
57750         * math/w_fmodl.c: Likewise.
57751         * math/w_remainder.c: Likewise.
57752         * math/w_remainderf.c: Likewise.
57753         * math/w_remainderl.c: Likewise.
57754         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57755         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57756         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57757         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57758         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57759         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57760         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57761         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57763         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57764         of the number.
57765         * stdio-common/printf_fphex.c: Likewise.
57766         * stdio-common/printf_size.c: Likewise.
57768         * math/e_exp10.c: Include math_private.h using <...> not "...".
57769         * math/e_exp10f.c: Likewise.
57770         * math/e_exp10l.c: Likewise.
57771         * math/e_exp2l.c: Likewise.
57772         * math/e_j0l.c: Likewise.
57773         * math/e_j1l.c: Likewise.
57774         * math/e_jnl.c: Likewise.
57775         * math/e_lgammal_r.c: Likewise.
57776         * math/e_rem_pio2l.c: Likewise.
57777         * math/e_scalb.c: Likewise.
57778         * math/e_scalbf.c: Likewise.
57779         * math/e_scalbl.c: Likewise.
57780         * math/k_cosl.c: Likewise.
57781         * math/k_sinl.c: Likewise.
57782         * math/k_tanl.c: Likewise.
57783         * math/s_cacoshf.c: Likewise.
57784         * math/s_catan.c: Likewise.
57785         * math/s_catanf.c: Likewise.
57786         * math/s_catanh.c: Likewise.
57787         * math/s_catanhf.c: Likewise.
57788         * math/s_catanhl.c: Likewise.
57789         * math/s_catanl.c: Likewise.
57790         * math/s_ccosh.c: Likewise.
57791         * math/s_ccoshf.c: Likewise.
57792         * math/s_ccoshl.c: Likewise.
57793         * math/s_cexp.c: Likewise.
57794         * math/s_cexpf.c: Likewise.
57795         * math/s_cexpl.c: Likewise.
57796         * math/s_clog.c: Likewise.
57797         * math/s_clog10.c: Likewise.
57798         * math/s_clog10f.c: Likewise.
57799         * math/s_clog10l.c: Likewise.
57800         * math/s_clogf.c: Likewise.
57801         * math/s_clogl.c: Likewise.
57802         * math/s_csin.c: Likewise.
57803         * math/s_csinf.c: Likewise.
57804         * math/s_csinh.c: Likewise.
57805         * math/s_csinhf.c: Likewise.
57806         * math/s_csinhl.c: Likewise.
57807         * math/s_csinl.c: Likewise.
57808         * math/s_csqrt.c: Likewise.
57809         * math/s_csqrtf.c: Likewise.
57810         * math/s_csqrtl.c: Likewise.
57811         * math/s_ctan.c: Likewise.
57812         * math/s_ctanf.c: Likewise.
57813         * math/s_ctanh.c: Likewise.
57814         * math/s_ctanhf.c: Likewise.
57815         * math/s_ctanhl.c: Likewise.
57816         * math/s_ctanl.c: Likewise.
57817         * math/s_ldexp.c: Likewise.
57818         * math/s_ldexpf.c: Likewise.
57819         * math/s_ldexpl.c: Likewise.
57820         * math/s_significand.c: Likewise.
57821         * math/s_significandf.c: Likewise.
57822         * math/s_significandl.c: Likewise.
57823         * math/w_acos.c: Likewise.
57824         * math/w_acosf.c: Likewise.
57825         * math/w_acosh.c: Likewise.
57826         * math/w_acoshf.c: Likewise.
57827         * math/w_acoshl.c: Likewise.
57828         * math/w_acosl.c: Likewise.
57829         * math/w_asin.c: Likewise.
57830         * math/w_asinf.c: Likewise.
57831         * math/w_asinl.c: Likewise.
57832         * math/w_atan2.c: Likewise.
57833         * math/w_atan2f.c: Likewise.
57834         * math/w_atan2l.c: Likewise.
57835         * math/w_atanh.c: Likewise.
57836         * math/w_atanhf.c: Likewise.
57837         * math/w_atanhl.c: Likewise.
57838         * math/w_cosh.c: Likewise.
57839         * math/w_coshf.c: Likewise.
57840         * math/w_coshl.c: Likewise.
57841         * math/w_dremf.c: Likewise.
57842         * math/w_exp10.c: Likewise.
57843         * math/w_exp10f.c: Likewise.
57844         * math/w_exp10l.c: Likewise.
57845         * math/w_exp2.c: Likewise.
57846         * math/w_exp2f.c: Likewise.
57847         * math/w_fmod.c: Likewise.
57848         * math/w_fmodf.c: Likewise.
57849         * math/w_fmodl.c: Likewise.
57850         * math/w_hypot.c: Likewise.
57851         * math/w_hypotf.c: Likewise.
57852         * math/w_hypotl.c: Likewise.
57853         * math/w_j0.c: Likewise.
57854         * math/w_j0f.c: Likewise.
57855         * math/w_j0l.c: Likewise.
57856         * math/w_j1.c: Likewise.
57857         * math/w_j1f.c: Likewise.
57858         * math/w_j1l.c: Likewise.
57859         * math/w_jn.c: Likewise.
57860         * math/w_jnf.c: Likewise.
57861         * math/w_jnl.c: Likewise.
57862         * math/w_lgamma.c: Likewise.
57863         * math/w_lgamma_r.c: Likewise.
57864         * math/w_lgammaf.c: Likewise.
57865         * math/w_lgammaf_r.c: Likewise.
57866         * math/w_lgammal.c: Likewise.
57867         * math/w_lgammal_r.c: Likewise.
57868         * math/w_log.c: Likewise.
57869         * math/w_log10.c: Likewise.
57870         * math/w_log10f.c: Likewise.
57871         * math/w_log10l.c: Likewise.
57872         * math/w_log2.c: Likewise.
57873         * math/w_log2f.c: Likewise.
57874         * math/w_log2l.c: Likewise.
57875         * math/w_logf.c: Likewise.
57876         * math/w_logl.c: Likewise.
57877         * math/w_pow.c: Likewise.
57878         * math/w_powf.c: Likewise.
57879         * math/w_powl.c: Likewise.
57880         * math/w_remainder.c: Likewise.
57881         * math/w_remainderf.c: Likewise.
57882         * math/w_remainderl.c: Likewise.
57883         * math/w_scalb.c: Likewise.
57884         * math/w_scalbf.c: Likewise.
57885         * math/w_scalbl.c: Likewise.
57886         * math/w_sinh.c: Likewise.
57887         * math/w_sinhf.c: Likewise.
57888         * math/w_sinhl.c: Likewise.
57889         * math/w_sqrt.c: Likewise.
57890         * math/w_sqrtf.c: Likewise.
57891         * math/w_sqrtl.c: Likewise.
57892         * math/w_tgamma.c: Likewise.
57893         * math/w_tgammaf.c: Likewise.
57894         * math/w_tgammal.c: Likewise.
57896         * po/ja.po: Update from translation team.
57898 2011-09-29  Andreas Jaeger  <aj@suse.de>
57900         [BZ #13179]
57901         * sunrpc/netname.c (netname2host): Fix logic.
57903         [BZ #6779]
57904         [BZ #6783]
57905         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57906         correctly.
57907         * math/w_remainder.c (__remainder): Likewise.
57908         * math/w_remainderf.c (__remainderf): Likewise.
57909         * math/libm-test.inc (remainder_test): Add test cases.
57911 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57913         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57914         sdiv_qrnnd.
57916 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57918         * string/test-memcmp.c: Avoid unncessary #defines.
57919         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57921 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57923         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57924         Use new sse2 version for core i3 - i7 as it's faster
57925         than sse42 version.
57926         (bit_Prefer_PMINUB_for_stringop): New.
57927         * sysdeps/x86_64/rawmemchr.S: Update.
57928         Replace with faster SSE2 version.
57929         * sysdeps/x86_64/memrchr.S: New file.
57930         * sysdeps/x86_64/memchr.S: Update.
57931         Replace with faster SSE2 version.
57933 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57935         * elf/dl-load.c (lose): Add cast to avoid warning.
57937 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57939         * po/ca.po: Update from translation team.
57941         * inet/getnetgrent_r.c: Hook up nscd.
57942         * nscd/Makefile (routines): Add nscd_netgroup.
57943         (nscd-modules): Add netgroupcache.
57944         (CFLAGS-netgroupcache.c): Define.
57945         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57946         (cache_search): Add const to second parameter.
57947         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57948         INNETGR.
57949         (dbs): Add netgrdb entry.
57950         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57951         (verify_persistent_db): Handle netgrdb.
57952         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57953         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57954         GETFDNETGR.
57955         (netgroup_response_header): Define.
57956         (innetgroup_response_header): Define.
57957         (datahead): Add netgroup_response_header and innetgroup_response_header
57958         elements.
57959         * nscd/nscd.conf: Add entries for netgroup cache.
57960         * nscd/nscd.h (dbtype): Add netgrdb.
57961         (_PATH_NSCD_NETGROUP_DB): Define.
57962         (netgroup_iov_disabled): Declare.
57963         (xmalloc, xcalloc, xrealloc): Move declarations here.
57964         (cache_search): Adjust prototype.
57965         Add netgroup-related prototypes.
57966         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57967         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57968         (__nscd_innetgr): Declare.
57969         * nscd/selinux.c (perms): Use access_vector_t as element type and
57970         add netgroup-related initializers.
57971         * nscd/netgroupcache.c: New file.
57972         * nscd/nscd_netgroup.c: New file.
57973         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57974         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57975         For four parameters use innetgr.
57976         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57977         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57978         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57979         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57981         * nscd/connections.c (register_traced_file): Don't register file
57982         for disabled databases.
57984 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57986         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57988         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57989         from tree and freeing node.
57991 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57993         * nss/nsswitch.c (__nss_database_lookup): Handle
57994         nss_parse_service_list out of memory case.
57996 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57998         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57999         out of memory case.
58001 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58003         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58004         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58005         pass it down.
58006         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58007         elf_machine_rela, elf_machine_lazy_rel.
58008         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58009         (ELF_DYNAMIC_DO_REL): Likewise.
58010         (ELF_DYNAMIC_DO_RELA): Likewise.
58011         (ELF_DYNAMIC_RELOCATE): Likewise.
58012         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58013         to ELF_DYNAMIC_DO_REL.
58014         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58015         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58016         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58017         elf_machine_rela.
58018         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58019         skip_ifunc, don't call ifunc function if non-zero.
58020         (elf_machine_rela): Likewise.
58021         (elf_machine_lazy_rel): Likewise.
58022         (elf_machine_lazy_rela): Likewise.
58023         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58024         (elf_machine_lazy_rel): Likewise.
58025         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58026         Likewise.
58027         (elf_machine_lazy_rel): Likewise.
58028         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58029         Likewise.
58030         (elf_machine_lazy_rel): Likewise.
58031         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58032         (elf_machine_lazy_rel): Likewise.
58033         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58034         (elf_machine_lazy_rel): Likewise.
58035         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58036         (elf_machine_lazy_rel): Likewise.
58037         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58038         (elf_machine_lazy_rel): Likewise.
58039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58040         (elf_machine_lazy_rel): Likewise.
58041         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58042         (elf_machine_lazy_rel): Likewise.
58044 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58046         * nss/nss_files/files-init.c (_nss_files_init): Use static
58047         initialization for all the *_traced_file variables.
58049 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58051         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58053 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58055         [BZ #13226]
58056         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58058 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58060         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58061         Reread the line before reparsing it.
58063 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58065         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58067 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58068             Maxim Kuvyrkov  <maxim@codesourcery.com>
58069             Joseph Myers  <joseph@codesourcery.com>
58071         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58072         if needed for __stack_chk_guard.
58074 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58076         * sysdeps/posix/spawni.c (script_execute): Always define it.
58077         It will be optimized away if unused.
58078         (maybe_script_execute): New function.
58079         (__spawni): Call it.
58081         * Makerules: Don't include tls.make.
58082         (config-tls): Always set to thread.
58083         * tls.make.c: File removed.
58085 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58087         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58088         * config.make.in (CPPFLAGS-config): New substituted variable.
58090 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58092         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58094         [BZ #13192]
58095         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58096         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58098 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58100         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58101         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58102         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58103         (CALL_FAIL): Likewise.
58104         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58105         (CALL_FAIL): Macro removed.
58106         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58108 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58110         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58111         for __FINITE_MATH_ONLY__ == 1.
58113 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58115         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58116         __ieee754_sqrt instead of sqrt.
58117         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58118         __ieee754_sqrtf instead of sqrtf.
58119         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58120         __floorf instead of floorf.
58121         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58122         __floorf, __truncf instead of floorf, truncf.
58124 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58126         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58128         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58129         __extern_always_inline.
58130         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58131         32-bit.
58133 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58135         * elf/rtld.c (dl_main): Also relocate in dependency order when
58136         doing symbol dependency testing.
58138 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58140         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58141         Always define `refsym'.
58143 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58145         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58146         (__FD_ELT): Renamed from __FDELT.
58147         * misc/bits/select2.h (__FD_ELT): Likewise.
58148         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58149         __FD_MASK instead of __FDELT, __FDMASK.
58150         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58151         Likewise.
58152         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58153         Likewise.
58155         * elf/Makefile (gen-ldd): Fix pattern.
58157         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58158         (init_tls): Likewise.
58160 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58162         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58164 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58166         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58167         `struct cmsghdr *' instead of `void *'.
58168         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58169         Likewise.
58171 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58173         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58174         if non-absolute.
58175         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58176         ldd_rewrite_script.
58178 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58180         * configure.in: Remove --with-tls option.
58181         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58182         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58183         out in case it is missing.
58184         * sysdeps/ia64/elf/configure.in: Likewise.
58185         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58186         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58187         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58188         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58189         * sysdeps/sh/elf/configure.in: Likewise.
58190         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58191         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58192         * sysdeps/x86_64/elf/configure.in: Likewise.
58193         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58194         * sysdeps/mach/hurd/tls.h: Likewise.
58196         [BZ #13067]
58197         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58199         [BZ #13090]
58200         * configure.in: Fix use of AC_INIT.
58202         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58204 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58206         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58207         __set_errno.
58208         * malloc/hooks.c: Likewise.
58210         [BZ #11929]
58211         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58212         variables statically.
58213         (narenas): Initialize.
58214         (list_lock): Initialize.
58215         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58216         initializtion of main_arena and list_lock.  Small cleanups.
58217         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58218         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58219         Add initializers to main_arena and mp_.
58220         (malloc_state): Remove pagesize member.  Change all users to use
58221         GLRO(dl_pagesize).
58223         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58224         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58225         is always initialized.
58227         * malloc/malloc.c: Removed unused configurations and dead code.
58228         * malloc/arena.c: Likewise.
58229         * malloc/hooks.c: Likewise.
58230         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58232         * include/tls.h: Removed.  USE___THREAD must always be defined.
58233         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58234         * elf/dl-libc.c: Likewise.
58235         * elf/dl-tsd.c: Likewise.
58236         * include/errno.h: Likewise.
58237         * include/netdb.h: Likewise.
58238         * include/resolv.h: Likewise.
58239         * inet/herrno-loc.c: Likewise.
58240         * inet/herrno.c: Likewise.
58241         * malloc/arena.c: Likewise.
58242         * malloc/hooks.c: Likewise.
58243         * malloc/malloc.c: Likewise.
58244         * resolv/res-state.c: Likewise.
58245         * resolv/res_libc.c: Likewise.
58246         * sysdeps/i386/dl-machine.h: Likewise.
58247         * sysdeps/ia64/dl-machine.h: Likewise.
58248         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58249         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58250         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58251         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58252         * sysdeps/sh/dl-machine.h: Likewise.
58253         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58254         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58255         * sysdeps/unix/i386/sysdep.S: Likewise.
58256         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58257         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58262         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58264         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58266         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58267         * sysdeps/x86_64/dl-machine.h: Likewise.
58268         * tls.make.c: Likewise.
58270         * configure.in: Remove --with-__thread option.  Make tests for
58271         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58272         tls_model attribute fail if no support is available.  Remove
58273         USE_IN_LIBIO.
58274         * Makeconfig: Adjust for dropped configure option.  All features are
58275         now mandatory.
58276         * Makerules: Likewise.
58277         * Versions.def: Likewise.
58278         * argp/argp-fmtstream.c: Likewise.
58279         * argp/argp-fmtstream.h: Likewise.
58280         * argp/argp-help.c: Likewise.
58281         * assert/assert.c: Likewise.
58282         * config.h.in: Likewise.
58283         * config.make.in: Likewise.
58284         * configure: Likewise.
58285         * configure.in: Likewise.
58286         * csu/Versions: Likewise.
58287         * csu/init.c: Likewise.
58288         * elf/tst-audit2.c: Likewise.
58289         * elf/tst-tls10.c: Likewise.
58290         * elf/tst-tls10.h: Likewise.
58291         * elf/tst-tls11.c: Likewise.
58292         * elf/tst-tls12.c: Likewise.
58293         * elf/tst-tls14.c: Likewise.
58294         * elf/tst-tlsmod11.c: Likewise.
58295         * elf/tst-tlsmod12.c: Likewise.
58296         * elf/tst-tlsmod13.c: Likewise.
58297         * elf/tst-tlsmod13a.c: Likewise.
58298         * elf/tst-tlsmod14a.c: Likewise.
58299         * elf/tst-tlsmod15b.c: Likewise.
58300         * elf/tst-tlsmod16a.c: Likewise.
58301         * elf/tst-tlsmod16b.c: Likewise.
58302         * elf/tst-tlsmod7.c: Likewise.
58303         * elf/tst-tlsmod8.c: Likewise.
58304         * elf/tst-tlsmod9.c: Likewise.
58305         * gmon/gmon.c: Likewise.
58306         * grp/fgetgrent_r.c: Likewise.
58307         * grp/putgrent.c: Likewise.
58308         * hurd/fopenport.c: Likewise.
58309         * include/libc-symbols.h: Likewise.
58310         * include/tls.h: Likewise.
58311         * intl/gettextP.h: Likewise.
58312         * intl/loadinfo.h: Likewise.
58313         * locale/global-locale.c: Likewise.
58314         * locale/localeinfo.h: Likewise.
58315         * mach/devstream.c: Likewise.
58316         * malloc/arena.c: Likewise.
58317         * malloc/set-freeres.c: Likewise.
58318         * misc/err.c: Likewise.
58319         * misc/getttyent.c: Likewise.
58320         * misc/mntent_r.c: Likewise.
58321         * posix/getopt.c: Likewise.
58322         * posix/wordexp.c: Likewise.
58323         * pwd/fgetpwent_r.c: Likewise.
58324         * resolv/Versions: Likewise.
58325         * resolv/res_hconf.c: Likewise.
58326         * shadow/fgetspent_r.c: Likewise.
58327         * shadow/putspent.c: Likewise.
58328         * stdio-common/printf_fphex.c: Likewise.
58329         * stdio-common/tmpfile.c: Likewise.
58330         * stdlib/abort.c: Likewise.
58331         * stdlib/fmtmsg.c: Likewise.
58332         * sunrpc/auth_unix.c: Likewise.
58333         * sunrpc/clnt_perr.c: Likewise.
58334         * sunrpc/clnt_tcp.c: Likewise.
58335         * sunrpc/clnt_udp.c: Likewise.
58336         * sunrpc/clnt_unix.c: Likewise.
58337         * sunrpc/openchild.c: Likewise.
58338         * sunrpc/svc_simple.c: Likewise.
58339         * sunrpc/svc_tcp.c: Likewise.
58340         * sunrpc/svc_udp.c: Likewise.
58341         * sunrpc/svc_unix.c: Likewise.
58342         * sunrpc/xdr.c: Likewise.
58343         * sunrpc/xdr_array.c: Likewise.
58344         * sunrpc/xdr_rec.c: Likewise.
58345         * sunrpc/xdr_ref.c: Likewise.
58346         * sunrpc/xdr_stdio.c: Likewise.
58348 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58350         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58352 2011-07-03  Andreas Jaeger  <aj@suse.de>
58354         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58355         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58356         regenerate with gen-libm-tests.pl.
58358 2010-05-12  Petr Baudis  <pasky@suse.cz>
58360         [BZ #11589]
58361         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58362         around j0() zero points by switching to j1().
58363         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58364         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58366         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58368 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58370         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58371         instead of 0.
58372         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58373         instead of 0.
58374         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58375         Patch in part by Pavel Roskin <proski@gnu.org>.
58377         [BZ #13138]
58378         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58379         realloc.
58380         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58381         Free memory block if necessary.
58383         [BZ #12847]
58384         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58385         be NULL.  Don't lock in this case.
58387 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58389         * elf/elf.h (ELFOSABI_GNU): New macro.
58390         (ELFOSABI_LINUX): Define to that.
58392 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58394         * string/strncat.c (strncat): Undef the symbol in case it has been
58395         defined in bits/string.h.
58397 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58399         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58401         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58402         link map.
58404 2011-08-17  Andreas Jaeger  <aj@suse.de>
58406         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58408 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58409             Ian Lance Taylor  <iant@google.com>
58411         * math/libm-test.inc (lround_test): New testcase.
58412         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58414 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58416         * Makefile: Remove support for automatic cvs check-ins.
58417         * Makerules: Likewise.
58418         * config.make.in: Likewise.
58419         * configure.in: Likewise.
58420         * intl/Makefile: Likewise.
58421         * locale/Makefile: Likewise.
58422         * po/Makefile: Likewise.
58423         * posix/Makefile: Likewise.
58424         * sysdeps/gnu/Makefile: Likewise.
58425         * sysdeps/mach/hurd/Makefile: Likewise.
58426         * sysdeps/sparc/sparc32/Makefile: Likewise.
58428         [BZ #13118]
58429         * posix/Makefile (bug-regex32-ENV): Define.
58430         Patch by John Stanley <jpsinthemix@verizon.net>.
58432         * misc/Makefile (headers): Add bits/select2.h.
58433         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58434         * misc/bits/select2.h: New file.
58435         * include/bits/select2.h: New file.
58436         * debug/Makefile (routines): Add fdelt_chk.
58437         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58438         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58439         FD_ISSET.
58440         * debug/fdelt_chk.c: New file.
58442         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58443         * wcsmbs/test-wmemcmp.c: Likewise.
58444         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58445         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58447 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58449         * string/Makefile (strop-tests): Add memcmp.
58450         * string/test-wmemcmp.c: New file.
58451         * string/test-memcmp.c: Add wmemcmp support.
58453 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58455         [BZ #13153]
58456         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58457         2011-07-19 change.
58459         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58460         garbage value in a __mach_port_mod_refs call in the cases of the
58461         task-self and thread-self ports.
58463 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58465         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58467 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58469         * elf/dl-load.c (lose): Check for non-null L.
58471 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58473         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58475         * elf/dl-libc.c (dlerror_run): Pass back error code from
58476         dl_catch_error.
58478         [BZ #13123]
58479         * elf/dl-load.c (lose): Free l_origin if it is valid.
58481         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58482         names.
58483         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58484         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58485         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58486         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58487         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58488         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58490 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58492         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58493         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58494         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58495         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58496         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58497         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58498         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58499         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58500         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58501         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58503 2011-08-15  Alan Modra  <amodra@gmail.com>
58505         [BZ #13092]
58506         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58507         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58508         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58509         ppc_mcount to static-only-routines.
58510         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58511         __mcount_internal.
58512         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58513         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58515 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58517         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58518         for finite and infinity parameters.
58520 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58522         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58523         and add nop instructions for throughput optimization.
58524         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58526 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58528         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58529         aligned copy for power7 with vector-scalar instructions.
58530         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58532 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58534         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58535         AVX check.
58537 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58539         [BZ #13144]
58540         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58541         last change.
58543 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58545         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58546         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58547         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58548         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58549         clock_gettime.
58551 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58553         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58554         Forgot to demangle the pointer.
58556         * sysdeps/i386/sysdep.h: Define atom_text_section.
58557         * sysdeps/x86_64/sysdep.h: Likewise.
58558         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58559         section with atom_text_section.
58560         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58561         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58562         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58563         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58564         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58566         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58567         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58568         already be defined.  Change to take two parameters and don't assign
58569         result to variable.  Adjust all users.
58570         Define INTERNAL_GETTIME if not already defined.
58571         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58572         call.
58573         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58574         HAVE_CLOCK_GETTIME_VSYSCALL.
58575         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58577         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58578         gettimeofday vsyscall, just use time.
58580 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58582         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58583         <errno.h>.
58585 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58587         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58588         syscall on x86-64.
58589         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58590         syscall.
58591         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58592         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58593         syscall if possible.
58595 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58597         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58598         e_ident.  Don't pass to find_mapsXX.
58599         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58601 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58604         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58605         * sysdeps/x86_64/multiarch/strchr.S: Update.
58606         Check bit_slow_BSF bit.
58607         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58608         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58609         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58611 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58613         [BZ #13134]
58614         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58615         before glibc 2.15.
58616         (tryshell): Define.
58617         (__spawni): Change last parameter to be flag.  Test
58618         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58619         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58620         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58621         * posix/spawni.c: Likewise.
58622         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58623         * posix/spawnp.c: Likewise.  Change normal version to use
58624         SPAWN_XFLAGS_USE_PATH.
58625         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58626         SPAWN_XFLAGS_TRY_SHELL.
58628         [BZ #13150]
58629         * posix/glob.h: Remove gcc 1.x support.
58631         [BZ #13068]
58632         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58634 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58636         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58637         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58638         strrchr-sse2-bsf
58639         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58640         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58641         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58642         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58643         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58644         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58646 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58648         * sysdeps/x86_64/wcscmp.S: New file.
58650         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58651         wcscmp-c wcscmp-sse2
58652         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58653         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58654         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58655         * wcsmbs/wcscmp.c: Allow renaming.
58657 2011-09-05  David S. Miller  <davem@davemloft.net>
58659         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58660         stack slot, rather than the struct return pointer slot.
58661         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58662         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58664         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58666 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58668         * po/ja.po: Update from translation team.
58670         [BZ #13144]
58671         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58672         kernel in 64-bit binaries.
58674 2011-09-01  David S. Miller  <davem@davemloft.net>
58676         * elf/elf.h (HWCAP_SPARC_*): Move to..
58677         * sysdeps/sparc/sysdep.h: this new file and add new values.
58678         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58679         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58680         _DL_HWCAP_COUNT to 24.
58681         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58682         entries.
58683         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58684         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58685         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58686         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58687         instead of magic constants.
58688         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58690 2011-08-31  David S. Miller  <davem@davemloft.net>
58692         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58694         Reimplement to do errno handling inline.
58695         (SYSCALL_ERROR_HANDLER): New macro.
58696         (__SYSCALL_STRING): Do not do errno handling in asm.
58697         (__CLONE_SYSCALL_STRING): Delete.
58698         (__INTERNAL_SYSCALL_STRING): Delete.
58699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58700         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58701         (PSEUDO): Reimplement to do errno handling inline.
58702         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58703         (SYSCALL_ERROR_HANDLER): New macro.
58704         (__SYSCALL_STRING): Do not do errno handling in asm.
58705         (__CLONE_SYSCALL_STRING): Delete.
58706         (__INTERNAL_SYSCALL_STRING): Delete.
58707         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58708         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58709         i386.
58710         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58711         (inline_syscall*): Add 'err' argument.
58712         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58713         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58714         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58715         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58717         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58718         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58720 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58722         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58724 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58726         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58727         directive.
58729 2011-08-24  David S. Miller  <davem@davemloft.net>
58731         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58733 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58735         * elf/Makefile: Add rules to build and run unload8 test.
58736         * elf/unload8.c: New file.
58737         * elf/unload8mod1.c: New file.
58738         * elf/unload8mod1x.c: New file.
58739         * elf/unload8mod2.c: New file.
58740         * elf/unload8mod3.c: New file.
58742         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58743         it wasn't used.
58745 2011-08-23  David S. Miller  <davem@davemloft.net>
58747         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58748         subtract stack bias.
58749         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58750         %sp not %fp in calculations.
58751         (_JMPBUF_UNWINDS_ADJ): Likewise.
58753         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58754         (aio_suspend): Call it to force an exception region around the
58755         AIO_MISC_WAIT() invocation.
58757 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58759         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58760         backslash.
58762 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58764         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58765         protection macro.
58766         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58767         and <dl-machine.h>.
58768         (Elf64_FuncDesc): Remove.
58770 2011-08-22  David S. Miller  <davem@davemloft.net>
58772         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58773         sigaltstack check, add missing cfi directives.
58774         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58775         missing cfi directives, and sigaltstack handling.
58777 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58779         [BZ #11724]
58780         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58781         object is seen twice.
58782         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58784         * elf/Makefile (distribute): Add tst-initorder2.c.
58785         (tests): Add tst-initorder2.
58786         (modules-names): Add tst-initorder2a tst-initorder2b
58787         tst-initorder2c tst-initorder2d.  Add rules to build them.
58788         ($(objpfx)tst-initorder2.out): New rule.
58789         * elf/tst-initorder2.c: New file.
58790         * elf/tst-initorder2.exp: New file.
58792 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58794         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58796         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58797         dependencies back to end of function.
58799         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58800         $(elfobjdir)/ld.so.
58802 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58804         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58805         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58806         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58807         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58808         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58809         of __vdso_gettimeofday.
58810         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58811         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58812         attribute_hidden.
58813         (_libc_vdso_platform_setup): Remove initialization of
58814         __vdso_gettimeofday and __vdso_time.
58816 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58818         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58819         and fgetc_unlocked.
58820         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58821         getc_unlocked.
58823         * elf/dl-open.c (add_to_global): Report additions to the global scope
58824         for LD_DEBUG=scopes.
58825         (dl_open_worker): Also print scope of newly loaded dependencies.
58826         (_dl_show_scope): Indicate if there is no scope.
58828         [BZ #13114]
58829         * stdio-common/Makefile (tests): Add bug24.
58830         * stdio-common/bug24.c: New file.
58832 2011-08-19  Andreas Jaeger  <aj@suse.de>
58834         [BZ #13114]
58835         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58836         non-existant file when using close-on-exec mode.
58838 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58840         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58841         the very first instruction.
58843         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58844         the CFI state in the end.
58845         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58846         inclusion of dl-trampoline.h.
58847         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58849 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58851         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58852         expectations for long double.
58854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58855         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58857 2011-08-14  David S. Miller  <davem@davemloft.net>
58859         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58860         artificual limit depends upon the system page size.
58862 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58864         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58865         * resolv/Makefile: Define CFLAGS-libresolv.
58867 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58869         * nss/makedb.c (compute_tables): Make variables used in nested
58870         function static.
58872 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58874         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58875         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58876         if buffer was too small.
58878         * elf/pldd.c (main): Attach to all threads in the process.
58879         Rewrite /proc handling to use *at functions.
58881 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58883         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58884         specifies first scope to show.
58885         (dl_open_worker): Update callers.  Move printing scope of new
58886         object to before the relocation.
58887         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58888         * sysdeps/generic/ldsodefs.h: Update declaration.
58890         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58891         string for the scope number.
58893 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58895         * nscd/servicescache.c (cache_addserv): Make sure written is always
58896         initialized.
58898 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58900         * sysdeps/i386/i486/bits/atomic.h
58901         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58902         statement expression, so as to suppress "set but not used" warning.
58903         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58905         * string/strncat.c (STRNCAT): Use prototype definition.
58907         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58908         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58909         -Iprograms here.
58910         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58911         (localedef-modules): Add localedef.
58912         (locale-modules): Add locale.
58914         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58915         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58916         to avoid a warning.
58918 2011-08-14  David S. Miller  <davem@davemloft.net>
58920         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58921         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58923 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58925         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58926         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58927         * elf/rtld.c (dl_main): Set l_name of vDSO.
58928         Call _dl_show_scope when DL_DEBUG_SCOPES.
58929         (process_dl_debug): Recognize scopes flag and also set it for all.
58930         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58931         Declare _dl_show_scope.
58933         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58934         (do_dlopen): Pass caller_dlopen to dl_open.
58935         (__libc_dlopen_mode): Initialize caller_dlopen.
58937         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58938         of libc.  Make tolower call locale-independent.  Optimize a bit by
58939         using isdigit instead of isalnum.
58940         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58942 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58944         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58945         was a dependency or dynamically loaded.
58947 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58949         * intl/l10nflist.c: Allow architecture-specific pop function.
58950         * sysdeps/x86_64/l10nflist.c: New file.
58952         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58953         classification.
58955 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58957         * include/dirent.h: Add libc_hidden_proto for scandirat and
58958         scandirat64.  Don't declare __scandirat64.
58959         * dirent/scandirat.c: Add libc_hidden_def.
58960         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58961         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58963 2011-08-10  David S. Miller  <davem@davemloft.net>
58965         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58966         enum.
58967         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58968         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58969         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58971 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58973         * Versions.def [libc]: Add GLIBC_2.15.
58974         * dirent/Makefile (routines): Add scandirat and scandirat64.
58975         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58976         GLIBC_2.15.
58977         * dirent/dirent.h: Declare scandirat and scandirat64.
58978         * dirent/scandirat.c: New file.
58979         * dirent/scandirat64.c: New file.
58980         * sysdeps/wordsize-64/scandirat.c: New file.
58981         * sysdeps/wordsize-64/scandirat64.c: New file.
58982         * dirent/opendir.c: Define opendirat.
58983         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58984         using scandirat.
58985         * dirent/scandir64.c: Adjust for scandir.c change.
58986         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58987         __scandirat64, and __scandir_cancel_handler.
58988         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58989         additional parameter and use openat instead of open (outside of ld.so).
58990         Add new __opendir as wrapper around __opendirat.
58991         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58992         here without requiring old scandirat implementation.
58994 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58996         * dirent/scandir.c (cancel_handler): Renamed to
58997         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58998         defined.  Adjust users.
58999         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59000         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59002 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59004         * string/test-string.h (IMPL): Use __STRING to expand name and then
59005         stringify it.
59007         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59008         of cleanups.
59010 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59012         * string/Makefile: Update.
59013         (strop-tests): Append strncat.
59014         * string/test-wcscmp.c: New file.
59015         New comprehensive test for wcscmp.
59016         * string/test-strcmp.c: Update.
59017         (WIDE): New define.
59019 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59021         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59022         line.
59024 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59027         encoding to ACE if AI_IDN.
59029 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59031         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59032         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59034 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59036         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59037         Fix overflow bug in strncat.
59038         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59040         * string/test-strncat.c: Update.
59041         Add new tests for checking overflow bugs.
59043 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59045         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59046         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59047         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59048         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59049         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59050         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59051         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59052         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59053         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59055         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59056         (USE_AS_STRCAT): Define.
59057         Add strcat and strncat support.
59058         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59060 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59062         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59063         __n bigger than INT_MAX+1.
59064         (__strncmp_g): Likewise.
59066 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59068         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59069         * libio/stido.h: Likewise.
59071         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59072         (AF_NFC): Define.
59073         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59074         (AF_NFC): Define.
59076         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59077         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59078         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59079         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59080         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59082         [BZ #13021]
59083         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59084         installed.
59086         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59087         typo.
59088         (_dl_x86_64_save_sse): Likewise.
59090 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59093         OSXSAVE.
59094         (_dl_x86_64_save_sse): Likewise.
59096         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59098         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59100 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59102         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59103         change.
59104         (_dl_x86_64_save_sse): Use correct AVX check.
59106 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59108         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59109         bug in strncpy/strncat.
59110         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59112 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59114         * string/tester.c (test_strcat): Add tests for different alignments
59115         of source and destination.
59116         (test_strncat): Likewise.
59118 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59120         [BZ #12852]
59121         * posix/glob.c (glob): Check passed in values before using them in
59122         expressions to avoid some overflows.
59123         (glob_in_dir): Likewise.
59125         [BZ #13007]
59126         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59127         check for AVX enablement so that we don't crash with old kernels and
59128         new hardware.
59129         * elf/tst-audit4.c: Add same checks here.
59130         * elf/tst-audit6.c: Likewise.
59132         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59134 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59136         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59138 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59140         * po/cs.po: Update from translation team.
59141         * po/bg.po: Likewise.
59143 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59145         * misc/sys/cdefs.h: Add support for const attribute.
59146         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59147         to gnu_dev_{major,minor,makedev} functions.
59149 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59151         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59153 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59155         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59156         strlen results.
59158 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59160         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59161         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59162         register in order to avoid conflicts with the soft frame pointer
59163         being held in r11 when necessary.
59164         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59165         (INTERNAL_VSYSCALL_NCS): Likewise.
59167 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59169         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59170         * elf/dl-fini.c (_dl_fini): Adjust caller.
59171         * elf/dl-close.c (_dl_close_worker): Likewise.
59172         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59174 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59176         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59177         "aux_cache->nlibs < 0".
59179         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59180         in the reload-count case.
59182 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59185         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59186         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59187         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59188         * sysdeps/x86_64/multiarch/strcat.S: New file.
59189         * sysdeps/x86_64/multiarch/strncat.S: New file.
59190         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59191         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59192         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59193         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59194         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59195         (USE_AS_STRCAT): Define.
59196         Add strcat and strncat support.
59197         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59198         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59199         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59200         * string/strncat.c: Update.
59201         (USE_AS_STRNCAT): Define.
59202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59203         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59204         and i7.
59205         * sysdeps/x86_64/multiarch/init-arch.h
59206         (bit_Prefer_PMINUB_for_stringop): New.
59207         (index_Prefer_PMINUB_for_stringop): Likewise.
59208         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59209         bit_Prefer_PMINUB_for_stringop.
59211 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59213         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59214         buffer64.
59215         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59216         of casting of buffer.
59217         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59218         buffer32 and buffer64.
59219         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59220         writes instead of casting of buffer.
59221         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59222         buffer32.
59223         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59224         casting of buffer.
59226 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59228         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59230 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59232         * nscd/nscd.c (termination_handler): Don't do anything for a database
59233         if it has not yet been initialized.
59235 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59237         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59239 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59241         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59243 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59245         * po/nl.po: Update from translation team.
59246         * po/sv.po: Likewise.
59248 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59250         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59251         now disallowed by GCC.
59253         * configure.in (use-default-link): Default to yes if a test -shared
59254         link meets our qualifications.
59255         * configure: Regenerated.
59257         * config.make.in (output-format): New variable.
59258         * configure.in: Check for ld --print-output-format support.
59259         * configure: Regenerated.
59260         * Makerules ($(common-objpfx)format.lds)
59261         [$(output-format) != unknown]: Just use $(output-format),
59262         instead of the linker-script munging.
59264 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59266         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59267         of $(common-objpfx)shlib.lds.
59268         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59270         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59271         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59273         * configure.in (-z relro check): Adjust test code to add a large
59274         writable data section after it.
59275         * configure: Regenerated.
59277 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59279         * configure.in (-z relro check): Fix test code to make the variable
59280         truly const.
59281         * configure: Regenerated.
59283 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59285         * nscd/nscd.h (struct traced_file): Define.
59286         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59287         elements.  Add traced_files.
59288         (inotify_fd): Declare.
59289         (register_traced_file): Declare.
59290         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59291         (inotify_fd): Export.
59292         (resolv_conf_descr): Remove.
59293         (nscd_init): Move inotify descriptor creation to main.
59294         Don't register files for notification here.
59295         (register_traced_file): New function.
59296         (invalidate_cache): Don't use reset_res to determine whether to call
59297         res_init, go through the list of registered files.
59298         (main_loop_poll): The inotify descriptors are now stored in the
59299         structures for the traced files.
59300         (main_loop_epoll): Likewise
59301         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59302         to __nss_disable_nscd.
59303         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59304         for a database anymore.  Check the records for all the registered
59305         files instead.
59306         * nss/Makefile (libnss_files-routines): Add files-init.
59307         (libnss_db-routines): Add db-init.
59308         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59309         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59310         * nss/nss_db/db-init.c: New file.
59311         * nss/nss_files/files-init.c: New file.
59312         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59313         __nss_lookup_function.
59314         (__nss_lookup_function): Call nss_load_library.
59315         (nss_load_all_libraries): New function.
59316         (__nss_disable_nscd): Take parameter with callback function for files
59317         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59318         used for the cached services.
59319         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59320         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59321         options for features to all the files in nscd.
59323         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59325 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59327         * csu/elf-init.c (__libc_csu_init): Comment typo.
59329 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59331         * po/pl.po: Update from translation team.
59332         * po/ja.po: Likewise.
59333         * po/ru.po: Likewise.
59334         * po/ko.po: Likewise.
59335         * po/fr.po: Likewise.
59337 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59339         * configure.in (.ctors/.dtors header and trailer check):
59340         Use an empirical test on a built program.
59341         * configure: Regenerated.
59343         * configure.in (-z relro check): Use an empirical test on a built DSO.
59344         Detect, but do not require, on ia64.
59345         * configure: Regenerated.
59347         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59348         Update tests that use readelf to use $READELF instead.
59349         * configure: Regenerated.
59351 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59353         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59354         if the result is not used.
59356 2011-07-05  Andreas Jaeger  <aj@suse.de>
59358         [BZ#9696]
59359         * stdlib/tst-strtod.c: Add testcase.
59361 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59363         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59364         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59365         The latter has a higher limit.  Take additional parameter to pass to
59366         the new function.
59367         (__pathconf): Pass file to __statfs_link_max.
59368         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59369         __statfs_link_max.
59370         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59371         __statfs_link_max.
59373         [BZ #12868]
59374         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59375         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59376         Handle Lustre.
59377         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59378         (__statfs_filesize_max): Likewise.
59379         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59381 2011-07-05  Andreas Jaeger  <aj@suse.de>
59383         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59385 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59387         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59388         `status' variable.
59389         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59390         Likewise.
59392 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59394         * Makefile (strop-tests): Add strncat.
59395         * string/test-strncat.c: New file.
59397 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59399         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59401 2011-06-21  Andreas Jaeger  <aj@suse.de>
59403         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59404         Copy rule from iconvdata/Makefile.
59406 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59408         [BZ #12922]
59409         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59410         but no long options are defined, just return 'W'.
59412 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59414         [BZ #9696]
59415         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59417 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59419         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59420         netgroups to read.
59421         (innetgr): Likewise.
59423 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59425         * config.make.in (install_root): Default to $(DESTDIR).
59427 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59429         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59431 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59433         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59435         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59436         containing directory rather than embedding absolute directory names.
59438         * scripts/check-local-headers.sh: Rewritten using awk.
59439         Match by word, not by line.  Print error messages for matches.
59440         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59442         * Makerules [shlib-lds-flags empty]:
59443         ($(common-objpfx)libc_pic.opts): New target.
59444         ($(common-objpfx)libc_pic.os.clean): New target.
59445         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59447         * config.make.in (OBJCOPY): New variable.
59448         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59449         * configure: Regenerated.
59451         * config.make.in (use-default-link): New variable.
59452         * configure.in (use_default_link): Grok --with-default-link to set it.
59453         * configure: Regenerated.
59454         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59455         (shlib-lds, shlib-lds-flags): Define to empty.
59457         * Makerules (shlib-lds): New variable.
59458         (shlib-lds-flags): New variable.
59459         (build-shlib, build-moduile, build-module-asneeded): Use it.
59460         ($(common-objpfx)libc.so): Use $(shlib-lds).
59461         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59462         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59464         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59465         DT_FLAGS/DT_FLAGS_1 with zero flags.
59467         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59468         linker script munging.
59470 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59472         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59473         as 128-bit value.
59474         * crypt/sha512.c (sha512_process_block): Perform total addition using
59475         128-bit if possible.
59476         (__sha512_finish_ctx): Likewise.
59477         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59478         as 64-bit value.
59479         * crypt/sha256.c (SWAP64): Define.
59480         (sha256_process_block): Perform total addition using 64-bit if
59481         possible.
59482         (__sha256_finish_ctx): Likewise.
59484 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59486         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59487         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59488         * nscd/hstcache.c (cache_addhst): Likewise.
59489         * nscd/grpcache.c (cache_addgr): Likewise.
59490         * nscd/aicache.c (addhstaiX): Likewise
59491         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59493 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59495         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59496         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59497         * nscd/hstcache.c (cache_addhst): Likewise.
59498         * nscd/grpcache.c (cache_addgr): Likewise.
59499         * nscd/aicache.c (addhstaiX): Likewise
59501 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59503         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59504         domain only when needed.
59506 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59509         is always restored.
59511 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59513         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59514         are re-adding the entry.
59515         * nscd/servicescache.c (cache_addserv): Likewise.
59517 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59519         * sysdeps/generic/dl-irel.h: fix protection against multiple
59520         inclusions.
59521         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59523 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59525         [BZ #12935]
59526         * malloc/memusage.sh: Fix quoting in message.
59527         * debug/xtrace.sh: Likewise.
59529         * configure.in: Remove support for --experimental-malloc option, make
59530         it the default.
59531         * config.make.in: Likewise.
59532         * malloc/Makefile: Likewise.
59534 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59536         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59537         two-byte characters.
59539 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59541         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59542         AC_CACHE_CHECK invocation.
59543         * configure: Regenerated.
59545         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59547 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59549         [BZ #12350]
59550         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59551         bit from old_res_options.
59553         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59555         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59556         value type for setfct.
59558 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59560         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59561         __gettimeofday instead of gettimeofday.
59563 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59565         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59567 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59569         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59571         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59572         info.
59574 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59577         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59578         strcpy-sse2-unaligned strncpy-sse2-unaligned
59579         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59580         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59581         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59582         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59583         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59584         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59585         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59586         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59587         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59588         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59589         (STRCPY): Support SSE2 and SSSE3 versions.
59591 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59593         [BZ #12874]
59594         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59595         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59596         kernels which artificially limit size of requests.
59598 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59601         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59602         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59603         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59604         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59605         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59606         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59607         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59608         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59609         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59610         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59611         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59612         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59613         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59614         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59616         Enable unaligned load optimization for Intel Core i3, i5 and i7
59617         processors.
59618         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59619         Define.
59620         (index_Fast_Unaligned_Load): Define.
59621         (HAS_FAST_UNALIGNED_LOAD): Define.
59623 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59625         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59627 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59629         [BZ #12907]
59630         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59631         until it is clear that the information is realy needed.
59632         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59634 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59638 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59640         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59641         /sys/devices/system/cpu/online if it is usable.
59643         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59644         reading the information from the /proc filesystem to once a second.
59646 2011-06-21  Andreas Jaeger  <aj@suse.de>
59648         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59649         NULL after inclusion of kernel headers.
59651 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59653         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59654         calls to internal_setent.
59656         [BZ #12885]
59657         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59658         addresses using gethostbyname4_r ignore IPv4 addresses.
59660         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59661         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59663         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59665 2011-06-20  David S. Miller  <davem@davemloft.net>
59667         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59668         inclusions.
59669         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59671         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59672         (elf_irel): Use it.
59673         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59674         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59675         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59676         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59677         * sysdeps/x86_64/dl-irel.h: Likewise.
59679         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59680         * elf/dl-sym.c: Likewise.
59682 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59684         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59685         need to dereference resplen2.
59687 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59689         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59691 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59693         * Makeconfig: Define vardbdir and inst_vardbdir.
59694         * nss/Makefile: Add rules to install db-Makefile.
59696         * nss/nss_db/db-XXX.c: Cleanup.
59698         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59699         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59700         GLIBC_PRIVATE.
59701         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59702         * nss/makedb.c: Implement -g option to specify that value strings
59703         are generated and should not be added to table iterated over for
59704         get*ent calls.
59705         * nss/nss_db/db-initgroups.c: New file.
59707         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59708         interface.
59710         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59711         (internal_getgrouplist): Adjust to name change.
59712         Update use_initgroups_entry if this is not the first call.
59713         * nss/databases.def: Add initgroups entry.
59715         * nss/makedb.c (compute_tables): Check result of multiple hash table
59716         sizes to minimize maximum chain length.
59718 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59720         * Versions.def: Add entry for libnss_db.
59721         * shlib-versions: Likewise.
59722         * nss/Makefile: Add rules to build libnss_db.
59723         * nss/Versions: Add libnss_db information.  Organize libnss_files
59724         entries better.
59725         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59726         makedb progra.  Some minor improvements to generate smaller files.
59727         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59728         here from...
59729         * nss/makedb.c: ...here.
59730         Improve database format to be smaller and require less memory at
59731         runtime.
59732         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59733         db anymore.
59734         * nss/nss_db/db-netgrp.c: Likewise.
59735         * nss/nss_db/db-open.c: Likewise.
59736         * nss/nss_files/flies-XXX.x: Adjust comments.
59737         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59738         * nss/nss_files/files-grp.c: Likewise.
59739         * nss/nss_files/files-hosts.c: Likewise.
59740         * nss/nss_files/files-network.c: Likewise.
59741         * nss/nss_files/files-proto.c: Likewise.
59742         * nss/nss_files/files-pwd.c: Likewise.
59743         * nss/nss_files/files-rpc.c: Likewise.
59744         * nss/nss_files/files-service.c: Likewise.
59745         * nss/nss_files/files-sgrp.c: Likewise.
59746         * nss/nss_files/files-spwd.c: Likewise.
59747         * nss/nss_db/db-alias.c: Removed.
59748         * nss/nss_db/dummy-db.h: Removed.
59750 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59752         * nss/makedb.c: Rewritten to not use database library.
59753         * nss/Makefile: Update to build new makedb program.
59755 2011-06-14  Andreas Jaeger  <aj@suse.de>
59757         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59758         memset declaration.
59760 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59763         tmpbuf.
59765 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59767         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59768         * elf/Makefile ($(objpfx)ld.so): Likewise.
59770         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59771         Don't list ld.so twice in dependencies.
59773         * posix/bug-regex31.c: Include <stdlib.h>.
59775         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59777         * nis/nss_compat/compat-spwd.c
59778         (getspent_next_nss_netgr): Remove unused variable.
59779         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59781         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59782         nonmembers" output to use the right array.
59784         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59786         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59788         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59789         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59790         * catgets/gencat.c (read_input_file): Likewise.
59791         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59793         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59794         variable definition inside #if's controlling its use.
59796         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59798         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59800         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59802         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59803         unreachable code.
59805         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59807         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59808         * configure: Regenerated.
59810         * Makerules: Revert last change.
59811         * elf/Makefile: Likewise.
59813 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59815         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59816         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59817         (reloc-link): Likewise.
59819 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59821         * elf/Makefile: Add rules to build pldd.
59822         * elf/pldd.c: New file.
59823         * elf/pldd-xx.c: New file.
59825 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59827         * version.h: Update for 2.15 development version.
59829 2011-06-07  David S. Miller  <davem@davemloft.net>
59831         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59832         ifuncs.
59833         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59834         elf_machine_lazy_rel): Likewise.
59835         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59836         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59837         elf_machine_lazy_rel): Likewise.
59838         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59839         dl_hwcap via passed in argument.
59840         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59841         Likewise.
59843 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59845         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59847 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59849         [BZ #12849]
59850         * manual/fdl-1.1.texi: New file, verbatim from:
59851         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59852         * manual/lgpl-2.1.texi: New file, verbatim from:
59853         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59854         * manual/Makefile (licenses): New variable, list those new file names.
59855         (texis): Use it.
59856         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59858         * manual/fdl.texi: File removed.
59859         * manual/lesser.texi: File removed.
59860         * manual/libc.texinfo (Copying, Documentation License):
59861         Use new @include file names, put @appendix directive before @include.
59863 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59865         [BZ #12841]
59866         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59867         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59868         (mq_open): Add __NTH.
59870 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59873         Assume Intel Core i3/i5/i7 processor if AVX is available.
59875 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59877         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59878         typo.
59880 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59882         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59883         memory.  Use alloca_account.  Fix memory leak when retrying.
59885 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59887         * version.h (RELEASE): Bump for 2.14 release.
59888         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59890         * config.make.in (RANLIB): Remove entry.
59892 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59894         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59895         (libc.pot): Work around missing support for .ksh extension in xgettext.
59897         [BZ #12684]
59898         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59899         if both request failed.
59900         (send_dg): In case of server errors clear resplen or *resplen2.
59902         [BZ #12454]
59903         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59904         when there are multiple maps.
59905         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59906         (_dl_fini): Remove test here.
59908         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59910 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59912         [BZ #12350]
59913         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59914         bit from old_res_options.
59915         (gaih_inet): Likewise.
59917         [BZ #11099]
59918         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59919         as signed.
59921         * resolv/res_init.c (res_setoptions): Make the code more compact.
59923         [BZ #11558]
59924         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59925         set RES_USEVC.
59927         [BZ #11634]
59928         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59930         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59932         [BZ #11781]
59933         * malloc/malloc.h: Declare malloc hook variables as volatile.
59935         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59936         in last patch.
59938         [BZ #11799]
59939         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59940         raise in the comment.
59941         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59942         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59943         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59945 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59947         [BZ #12811]
59948         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59949         grow the buffers more if it already has to be sufficient.
59950         (build_wcs_upper_buffer): Likewise.
59951         * posix/regexec.c (check_matching): Likewise.
59952         (clean_state_log_if_needed): Likewise.
59953         (extend_buffers): Don't enlarge buffers beyond size of the input
59954         buffer.
59955         Patches mostly by Emil Wojak <emil@wojak.eu>.
59956         * posix/bug-regex32.c: New file.
59957         * posix/Makefile (tests): Add bug-regex32.
59959         * locale/findlocale.c (_nl_find_locale): Return right away if
59960         _nl_explode_name failed.
59961         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59963         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59965         * debug/xtrace.sh: Unify messages.
59966         * malloc/memusage.sh: Likewise.
59968         [BZ #12813]
59969         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59970         time symbol from vDSO.  Substitute with vsyscall if not available.
59971         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59972         __vdso_time.
59974         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59975         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59976         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59977         Add sendmmsg and internal_sendmmsg.
59978         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59979         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59980         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59982         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59983         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59984         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59986 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59988         [BZ #12813]
59989         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59990         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59991         available.
59992         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59993         __vdso_getcpu.
59995         [BZ #12814]
59996         * iconvdata/Makefile (tests): Add bug-iconv9.
59997         * iconvdata/bug-iconv9.c: New file.
59999 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60001         [BZ #12814]
60002         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60004 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60006         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60007         (struct user_regs_struct): Change intcs field back to cs.
60009 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60011         * po/ja.po: Update from translation team.
60013 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60015         [BZ #12795]
60016         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60017         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60019 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60021         * stdlib/longlong.h: Update from GCC.
60023 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60025         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60026         parameter name.
60027         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60028         Add parameter name.
60029         (__sysconf): Pass it down.
60031 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60033         [BZ #12671]
60034         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60035         some situations.
60036         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60037         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60038         add in in __libc_use_alloca calls.  Adjust callers.
60039         (glob): Use malloc in some situations.
60041         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60042         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60043         pltexit.
60045 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60047         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60048         and CLOCK_BOOTTIME_ALARM.
60050         [BZ #12782]
60051         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60052         is returned.
60054         * string/_strerror.c (__strerror_r): Print negative errors as signed
60055         numbers.
60057         [BZ #12777]
60058         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60059         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60060         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60062         * configure.in: Fix typo in redirection and correct removal of test
60063         files in two cases.
60065         [BZ #12788]
60066         * locale/setlocale.c (new_composite_name): Fix test to check for
60067         identical name of all categories.
60069         [BZ #12792]
60070         * libio/filedoalloc.c (local_isatty): New function.
60071         (_IO_file_doallocate): Use local_isatty.
60072         * stdio-common/perror.c (perror): In case a new stream is used
60073         forward the stream error.
60074         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60075         error flag.
60077 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60079         [BZ #11869]
60080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60081         alloca.
60082         * include/alloca.h (extend_alloca_account): Define.
60084         [BZ #11857]
60085         * posix/regex.h: Fix comments with documentation of user-accessible
60086         fields after compilation and describe correct free'ing of pattern
60087         after re_compile_pattern.
60088         Patch by Reuben Thomas <rrt@sc3d.org>.
60090 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60092         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60093         and -mno-altivec to prevent the compiler from using Altivec and/or
60094         VSX instructions when the corresponding registers are not available.
60096 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60098         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60100 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60102         * libio/freopen.c (freopen): Use __dup2, not dup2.
60103         * libio/freopen64.c (freopen64): Likewise.
60105 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60107         [BZ #12775]
60108         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60109         * math/Makefile (tests): Add test-powl.
60110         (CFLAGS-test-powl.c): Define.
60111         * math/test-powl.c: New file.
60113 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60115         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60117 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60119         [BZ #11837]
60120         * iconvdata/gb18030.c: Update to GB18020-2005.
60122 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60124         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60125         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60126         Patch by Aharon Robbins <arnold@skeeve.com>.
60128         [BZ #11892]
60129         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60130         on the stack.
60132         [BZ #11895]
60133         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60134         through underflows.
60136         [BZ #12766]
60137         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60138         point to strings before performing equality test for error_one_per_line
60139         mode.
60141         [BZ #11697]
60142         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60144         [BZ #11820]
60145         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60146         (struct user_fpregs_struct): Avoid __uint*_t types.
60148         [BZ #6420]
60149         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60150         symbol info.  Use it instead of calling _dl_addr locally.
60151         (lock_and_info): New function.
60152         (tr_freehook): Call lock_and_info and pass symbol info as additional
60153         parameter to tr_where.
60154         (tr_mallochook): Likewise.
60155         (tr_reallochook): Likewise.
60156         (tr_memalignhook): Likewise.
60158         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60159         used and couldn't be at all thread-safe.
60161 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60163         * libio/freopen.c (freopen): Don't close old file descriptor
60164         before the new one is opened.  Instead dup the new file descriptor
60165         to the old one after the new stream is created.
60166         * libio/freopen64.c (freopen64): Likewise.
60167         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60168         * libio/fileops.c (_IO_new_file_close_it): Handle new
60169         _IO_FLAGS2_NOCLOSE flag.
60170         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60171         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60172         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60173         _IO_FLAGS2_NOCLOSE flag.
60174         * include/unistd.h: Add hidden_proto for dup3.
60175         Define __have_dup3.
60176         * io/dup3.c: Define hidden symbol.
60177         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60179         [BZ #7101]
60180         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60181         when an incomplete long option is used.
60182         * posix/tst-getopt_long1.c: New file.
60183         * posix/Makefile (tests): Add tst-getopt_long1.
60185         [BZ #10138]
60186         * scripts/config.guess: Update from autoconf-2.68.
60187         * scripts/config.sub: Likewise.
60189         [BZ #10157]
60190         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60191         tests into ...
60192         (has_cpuclock): ...this.  New function.
60193         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60194         macro here based on has_cpuclock code.
60196         [BZ #10149]
60197         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60198         First byte (not low byte) is now always NUL.
60199         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60201         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60202         Use non-cancelable interfaces.
60204         [BZ #9809]
60205         * locale/iso-639.def: Add entry for Sorani.
60207         [BZ #11901]
60208         * include/stdlib.h: Move include protection to the right place.
60209         Define abort_msg_s.  Declare __abort_msg with it.
60210         * stdlib/abort.c (__abort_msg): Adjust type.
60211         * assert/assert.c (__assert_fail_base): New function.  Majority
60212         of code from __assert_fail.  Allocate memory for __abort_msg with
60213         mmap.
60214         (__assert_fail): Now call __assert_fail_base.
60215         * assert/assert-perr.c: Remove bulk of implementation.  Use
60216         __assert_fail_base.
60217         * include/assert.hL Declare __assert_fail_base.
60218         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60219         mmap.
60220         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60222 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60224         [BZ #11952]
60225         [BZ #12453]
60226         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60227         until all modules are registered in the DTV.
60228         * elf/Makefile: Add rules to build and run tst-tls19.
60229         * elf/tst-tls19.c: New file.
60230         * elf/tst-tls19mod1.c: New file.
60231         * elf/tst-tls19mod2.c: New file.
60232         * elf/tst-tls19mod3.c: New file.
60233         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60235         [BZ #12083]
60236         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60237         correctly.
60239         [BZ #12601]
60240         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60241         two-byte sequence errors.
60242         * iconvdata/Makefile (tests): Add bug-iconv8.
60243         * iconvdata/bug-iconv8.c: New file.
60245         [BZ #12626]
60246         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60247         buf2 definition.
60249         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60251         [BZ #12432]
60252         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60253         (dummy_getcfa): New function.
60254         (init): Get _Unwind_GetCFA address, use dummy if not found.
60255         (backtrace_helper): In recursion check, also check whether CFA changes.
60256         (__backtrace): Completely initialize arg.
60258         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60259         storing incomplete byte sequence in state object.  Avoid testing for
60260         guaranteed too small input if we know there is enough data available.
60262 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60264         * Makeconfig (+link-pie): Indent.
60265         * Rules (binaries-pie): Define if $(have-fpie) and
60266         $(build-shared).
60267         (binaries-shared): Also filter out $(binaries-pie).
60268         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60269         * nscd/Makefile (others-pie): Add nscd.
60270         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60271         ($(objpfx)nscd): Remove command override.
60272         * login/Makefile (others-pie): Add pt_chown.
60273         ($(objpfx)pt_chown): Remove command override.
60274         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60275         remove command overrides.
60277 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60279         * libio/tst_putwc.c: Fix error messages.
60281         [BZ #12724]
60282         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60283         currently writing and seek to current position when not.
60284         * libio/Makefile (tests): Add bug-fclose1.
60285         * libio/bug-fclose1.c: New file.
60287 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60289         [BZ #12511]
60290         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60291         don't set DF_1_NODELETE here.
60292         (do_lookup_x): When entering new entry test for copy relocation
60293         and if necessary set DF_1_NODELETE flag.
60294         * elf/tst-unique4.cc: New file.
60295         * elf/tst-unique4.h: New file.
60296         * elf/tst-unique4lib.cc: New file.
60297         * elf/Makefile: Add rules to build and run tst-unique4.
60298         Patch by Piotr Bury <pbury@goahead.com>.
60300 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60302         [BZ #12052]
60303         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60305         [BZ #12625]
60306         * misc/mntent_r.c (addmntent): Flush the stream after the output
60308         [BZ #12393]
60309         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60310         (is_trusted_path_normalize): Skip initial colon.  Append slash
60311         to empty buffer.  Duplicate is_trusted_path code but allow
60312         constructed patch to be prefix.
60313         (is_dst): Allow $ORIGIN followed by /.
60314         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60315         Correct testing of result of is_trusted_path_normalize
60316         (decompose_rpath): Fix warning.
60318 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60320         [BZ #11257]
60321         * grp/initgroups.c (internal_getgrouplist): When we found the service
60322         list through the initgroups entry in nsswitch.conf do not always
60323         continue on a successful lookup.  Don't always use the
60324         __nss_group_database value if it is set.
60325         * nss/nsswitch.conf (initgroups): Change action for successful db
60326         lookup to continue for compatibility.
60328 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60330         [BZ #11532]
60331         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60332         and CP774 modules.
60333         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60334         and CP774 modules.
60335         * iconvdata/tst-tables.sh: Likewise.
60336         * iconvdata/cp770.c: New file.
60337         * iconvdata/cp771.c: New file.
60338         * iconvdata/cp772.c: New file.
60339         * iconvdata/cp773.c: New file.
60340         * iconvdata/cp774.c: New file.
60341         * iconvdata/testdata/CP770: New file.
60342         * iconvdata/testdata/CP770..UTF8: New file.
60343         * iconvdata/testdata/CP771: New file.
60344         * iconvdata/testdata/CP771..UTF8: New file.
60345         * iconvdata/testdata/CP772: New file.
60346         * iconvdata/testdata/CP772..UTF8: New file.
60347         * iconvdata/testdata/CP773: New file.
60348         * iconvdata/testdata/CP773..UTF8: New file.
60349         * iconvdata/testdata/CP774: New file.
60350         * iconvdata/testdata/CP774..UTF8: New file.
60352         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60353         END CHARMAP line.
60354         * iconvdata/gen-8bit-gap.sh: Likewise.
60355         * iconvdata/gen-8bit.sh: Likewise.
60357         * locale/iso-639.def: Add ary entry.
60359         [BZ #11258]
60360         * locale/C-translit.h.in: Add U20A1 transliteration.
60362         [BZ #12178]
60363         * locale/iso-639.def: Add wae entry.
60364         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60366         [BZ #12545]
60367         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60368         for n.
60370         [BZ #12711]
60371         * locale/C-translit.h.in: Add entry for U20B9.
60372         Patch by pravin.d.s@gmail.com.
60374 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60376         [BZ #12713]
60377         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60378         ENAMETOOLONG use generic getcwd.
60379         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60380         in rtld.  Use *stat64.
60381         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60382         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60383         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60384         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60385         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60386         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60387         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60388         __fstatat64 macros.
60389         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60390         * dirent/rewinddir.c: Add libc_hidden_def.
60391         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60392         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60394         * include/dirent.h (__alloc_dir): Add flags parameter.
60395         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60396         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60397         __alloc_dir.
60398         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60399         from fdopendir if O_CLOEXEC is already set.
60401 2011-03-15  Alan Modra  <amodra@gmail.com>
60403         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60404         l_tls_firstbyte_offset non-zero.  Save padding offset in
60405         l_tls_firstbyte_offset for later use.
60406         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60407         freeing static tls block.
60409 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60411         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60412         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60413         being defined by the kernel headers.
60415 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60417         [BZ #12734]
60418         * resolv/resolv.h: Define RES_NOTLDQUERY.
60419         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60420         no-tld-query and set RES_NOTLDQUERY.
60421         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60422         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60423         modern BIND to search name as TLD unless forbidden.
60425 2011-05-07  Petr Baudis  <pasky@suse.cz>
60426             Ulrich Drepper  <drepper@gmail.com>
60428         [BZ #12393]
60429         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60430         (is_trusted_path): ...to here.
60431         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60432         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60433         using is_trusted_path_normalize() in setuid scripts.
60435 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60437         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60438         __BEGIN/__END_DECLS.
60440 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60442         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60443         NSS_STATUS_NOTFOUND if no record was found.
60445 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60447         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60448         (headers-not-in-tirpc): Remove rpc/netdb.h
60449         * resolv/netdb.h: Revert last change.
60451 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60453         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60454         circular dependency between libgcc.a and libc.a.
60456 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60458         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60459         * nis/Makefile: Don't install rpcsvc/*.
60460         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60461         instead of <rpc/types.h>.
60462         (MAXHOSTNAMELEN): Define.
60464 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60466         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60468 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60470         [BZ #12714]
60471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60472         gethostbyname4_r when IPv6 results are possible.
60474 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60476         [BZ #12723]
60477         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60478         _PC_PIPE_BUF handling.
60480 2011-04-30  Bruno Haible  <bruno@clisp.org>
60482         [BZ #12717]
60483         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60484         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60485         to 'int'.
60486         * inet/getnameinfo.c (getnameinfo): Likewise.
60488 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60490         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60491         to groups setting in database lookup.
60492         * nss/nsswitch.conf: Add initgroups entry.
60494 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60496         [BZ #12685]
60497         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60498         mode string.
60499         Patch by Eric Blake <eblake@redhat.com>.
60501 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60503         * sunrpc/Makefile (need-export-routines): Add svc_run.
60504         (routines): Remove svc_run.
60505         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60506         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60507         * sunrpc/svc_run.c (svc_run): Likewise.
60508         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60510 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60512         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60513         problem in reallocation in last patch.
60515 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60517         * sunrpc/Makefile: Move inclusion of Rules.
60519 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60521         * nss/nss_files/files-initgroups.c: New file.
60522         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60523         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60524         _nss_files_initgroups_dyn.
60526 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60528         * elf/elf.h (R_ARM_IRELATIVE): Define.
60530 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60532         * po/ru.po: Update from translation team.
60534 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60536         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60537         dependencies.
60539 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60541         [BZ #12653]
60542         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60543         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60544         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60545         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60546         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60548 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60550         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60551         differing bytes.
60552         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60553         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60554         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60556 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60558         [BZ #12420]
60559         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60560         storing it.
60561         * stdlib/bug-getcontext.c: New file.
60562         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60564 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60566         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60567         instructions into .machine "z9-109".
60568         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60569         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60571 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60573         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60574         between environment variables and auxiliary vector.
60576 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60578         * Makefile: Add rules to build linkobj/libc.so.
60579         * include/libc-symbols.h: Define libc_hidden_nolink.
60580         * include/rpc/auth.h: Mark functions which are to be hidden.
60581         * include/rpc/auth_des.h: Likewise.
60582         * include/rpc/auth_unix.h: Likewise.
60583         * include/rpc/clnt.h: Likewise.
60584         * include/rpc/des_crypt.h: Likewise.
60585         * include/rpc/key_prot.h: Likewise.
60586         * include/rpc/pmap_clnt.h: Likewise.
60587         * include/rpc/pmap_prot.h: Likewise.
60588         * include/rpc/pmap_rmt.h: Likewise.
60589         * include/rpc/rpc_msg.h: Likewise.
60590         * include/rpc/svc.h: Likewise.
60591         * include/rpc/svc_auth.h: Likewise.
60592         * include/rpc/xdr.h: Likewise.
60593         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60594         * nss/Makefile: Likewise.
60595         * sunrpc/Makefile: Don't install headers.  Build library with normal
60596         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60597         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60598         for the compat linking library.  Remove use of INTDEF/INTUSE.
60599         * sunrpc/auth_none.c: Likewise.
60600         * sunrpc/auth_unix.c: Likewise.
60601         * sunrpc/authdes_prot.c: Likewise.
60602         * sunrpc/authuxprot.c: Likewise.
60603         * sunrpc/clnt_gen.c: Likewise.
60604         * sunrpc/clnt_perr.c: Likewise.
60605         * sunrpc/clnt_raw.c: Likewise.
60606         * sunrpc/clnt_simp.c: Likewise.
60607         * sunrpc/clnt_tcp.c: Likewise.
60608         * sunrpc/clnt_udp.c: Likewise.
60609         * sunrpc/clnt_unix.c: Likewise.
60610         * sunrpc/des_crypt.c: Likewise.
60611         * sunrpc/des_soft.c: Likewise.
60612         * sunrpc/get_myaddr.c: Likewise.
60613         * sunrpc/key_call.c: Likewise.
60614         * sunrpc/key_prot.c: Likewise.
60615         * sunrpc/netname.c: Likewise.
60616         * sunrpc/pm_getmaps.c: Likewise.
60617         * sunrpc/pm_getport.c: Likewise.
60618         * sunrpc/pmap_clnt.c: Likewise.
60619         * sunrpc/pmap_prot.c: Likewise.
60620         * sunrpc/pmap_prot2.c: Likewise.
60621         * sunrpc/pmap_rmt.c: Likewise.
60622         * sunrpc/publickey.c: Likewise.
60623         * sunrpc/rpc_cmsg.c: Likewise.
60624         * sunrpc/rpc_common.c: Likewise.
60625         * sunrpc/rpc_dtable.c: Likewise.
60626         * sunrpc/rpc_prot.c: Likewise.
60627         * sunrpc/rpc_thread.c: Likewise.
60628         * sunrpc/rtime.c: Likewise.
60629         * sunrpc/svc.c: Likewise.
60630         * sunrpc/svc_auth.c: Likewise.
60631         * sunrpc/svc_authux.c: Likewise.
60632         * sunrpc/svc_raw.c: Likewise.
60633         * sunrpc/svc_run.c: Likewise.
60634         * sunrpc/svc_simple.c: Likewise.
60635         * sunrpc/svc_tcp.c: Likewise.
60636         * sunrpc/svc_udp.c: Likewise.
60637         * sunrpc/svc_unix.c: Likewise.
60638         * sunrpc/svcauth_des.c: Likewise.
60639         * sunrpc/xcrypt.c: Likewise.
60640         * sunrpc/xdr.c: Likewise.
60641         * sunrpc/xdr_array.c: Likewise.
60642         * sunrpc/xdr_float.c: Likewise.
60643         * sunrpc/xdr_intXX_t.c: Likewise.
60644         * sunrpc/xdr_mem.c: Likewise.
60645         * sunrpc/xdr_rec.c: Likewise.
60646         * sunrpc/xdr_ref.c: Likewise.
60647         * sunrpc/xdr_sizeof.c: Likewise.
60648         * sunrpc/xdr_stdio.c: Likewise.
60650 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60652         [BZ #12650]
60653         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60654         * sysdeps/ia64/dl-tls.h: Likewise.
60655         * sysdeps/powerpc/dl-tls.h: Likewise.
60656         * sysdeps/s390/dl-tls.h: Likewise.
60657         * sysdeps/sh/dl-tls.h: Likewise.
60658         * sysdeps/sparc/dl-tls.h: Likewise.
60659         * sysdeps/x86_64/dl-tls.h: Likewise.
60660         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60662 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60664         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60665         rpath element also skip the following colon.
60666         (expand_dynamic_string_token): Add is_path parameter and pass
60667         down to DL_DST_REQUIRED and _dl_dst_substitute.
60668         (decompose_rpath): Call expand_dynamic_string_token with
60669         non-zero is_path.  Ignore empty rpaths.
60670         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60671         with zero is_path.
60673 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60676         Make cancelable.
60678 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60680         [BZ #12655]
60681         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60682         Patch by Filipe David Manana <fdmanana@apache.org>.
60684 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60686         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60687         Maintain aligned stack.
60688         (CHECK_RSP): Remove unused macro.
60690 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60692         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60693         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60695 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60697         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60699         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60701 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60703         [BZ #12518]
60704         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60705         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60706         * sysdeps/x86_64/memmove.c: New file.
60707         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60708         (memcpy): Renamed to ...
60709         (__new_memcpy): This.
60710         (memcpy): Provide GLIBC_2_14 memcpy.
60711         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60712         (memcpy): Provide GLIBC_2_2_5 memcpy.
60714 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60716         [BZ #12631]
60717         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60719 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60721         * misc/syncfs.c: New file.
60722         * misc/Makefile (routines): Add syncfs.
60723         * posix/unistd.h: Declare syncfs.
60724         * sysdeps/unix/syscalls.list: Add syncfs.
60726 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60728         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60729         open_by_handle_at.
60730         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60731         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60732         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60733         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60734         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60735         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60736         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60738 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60740         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60741         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60742         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60743         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60744         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60746         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60748         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60749         sync_file_range.c with -fexceptions.
60750         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60751         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60752         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60753         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60754         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60755         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60756         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60757         sync_file_range as cancellation point
60758         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60759         now a wrapper around __call_sync_file_range with cancellation handling.
60760         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60761         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60762         function name to __call_sync_file_range.
60763         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60764         Add call_sync_file_range.
60766 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60769         bits/timex.h.
60771 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60773         * iconv/iconv.h: Fix typo in comment.
60774         * io/fcntl.h: Likewise.
60775         * libio/stdio.h: Likewise.
60776         * posix/spawn.h: Likewise.
60777         * posix/unistd.h: Likewise.
60778         * stdlib/stdlib.h: Likewise.
60779         * time/time.h: Likewise.
60780         * wcsmbs/wchar.h: Likewise.
60782         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60783         open_by_handle): Add.
60784         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60785         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60786         Augment a few comments.
60787         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60788         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60789         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60792         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60793         open_by_handle.
60795         * io/fcntl.h (AT_EMPTY_PATH): Define.
60797 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60799         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60800         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60801         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60802         to...
60803         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60804         * Versions.def: Add GLIBC_2.14.
60805         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60806         Export.
60808 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60810         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60811         round counter.
60812         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60814 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60816         [BZ #12597]
60817         * string/test-strncmp.c (do_page_test): New function.
60818         (check2): Likewise.
60819         (test_main): Call check2.
60820         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60822 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60824         [BZ #12587]
60825         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60826         Handle cache information in CPU leaf 4.
60827         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60829 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60831         [BZ #12583]
60832         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60833         character representation.
60834         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60836 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60838         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60839         END(__isnan) to END(__isnanf) to match function entry point/label
60840         EALIGN(__isnanf,...).
60842 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60844         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60846 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60848         [BZ #12510]
60849         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60850         copy from the symbol referenced in the relocation to initialize the
60851         used variable.
60852         Patch by Piotr Bury <pbury@goahead.com>.
60853         * elf/Makefile: Add rules to build and tst-unique3.
60854         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60855         * elf/tst-unique3.cc: New file.
60856         * elf/tst-unique3.h: New file.
60857         * elf/tst-unique3lib.cc: New file.
60858         * elf/tst-unique3lib2.cc: New file.
60860         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60862 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60864         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60865         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60866         to _start.
60868 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60870         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60871         to-be-loaded object along a path to loader is ld.so.
60873 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60874             Ulrich Drepper  <drepper@gmail.com>
60876         * sysdeps/x86_64/memset.S: After aligning destination, code
60877         branches to different locations depending on the value of
60878         misalignment, when multiarch is enabled. Fix this.
60880 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60882         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60883         Set _x86_64_preferred_memory_instruction for AMD processsors.
60884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60885         Set bit_Prefer_SSE_for_memop for AMD processors.
60887 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60889         * libio/fmemopen.c (fmemopen): Optimize a bit.
60891 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60893         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60895 2011-03-03  Roland McGrath  <roland@redhat.com>
60897         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60899 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60901         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60902         __bzero_ultra1 instead of __memset_ultra1.
60904 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60905             Ulrich Drepper  <drepper@gmail.com>
60907         [BZ #12509]
60908         * include/link.h (struct link_map): Add l_orig_initfini.
60909         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60910         returning unsuccessfully.
60911         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60912         close of a file loaded at startup, restore the original l_initfini
60913         list.
60914         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60915         list, store the pointer.
60916         * elf/Makefile ($(objpfx)noload-mem): New rule.
60917         (noload-ENV): Define.
60918         (tests): Add $(objpfx)noload-mem.
60919         * elf/noload.c: Include <memcheck.h>.
60920         (main): Call mtrace.  Close all opened handles.
60922 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60924         [BZ #12454]
60925         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60926         dependencies are missing.
60928 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60930         Fix __if_freereq crash: Unlike the generic version which uses free,
60931         Hurd needs munmap.
60932         * sysdeps/mach/hurd/ifreq.h: New file.
60934 2011-01-27  Petr Baudis  <pasky@suse.cz>
60935             Ulrich Drepper  <drepper@gmail.com>
60937         [BZ 12445]#
60938         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60939         to extend_alloca().
60940         * stdio-common/bug23.c: New file.
60941         * stdio-common/Makefile (tests): Add bug23.
60943 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60944             Ulrich Drepper  <drepper@gmail.com>
60946         [BZ #12489]
60947         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60948         before performing relro protection.  At old place add assertion
60949         to make sure nothing changed.
60951 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60952             Glauber de Oliveira Costa  <glommer@gmail.com>
60954         * elf/elf.h: Add new ARM TLS relocs.
60956 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60959         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60960         cast from r3.
60961         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60962         'tests' variable.
60963         * sysdeps/wordsize-64/tst-writev.c: New file.
60965 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60967         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60968         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60969         insns in _dl_start to prevent a TOC reference before relocs are
60970         resolved.
60972 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60974         [BZ #12469]
60975         * Makeconfig: Remove RANLIB definition.
60976         * Makerules: Don't use RANLIB.
60977         * aclocal.m4: Remove ranlib test.
60978         * configure.in: No need to check for ranlib.
60979         * elf/rtld-Rules: Don't use RANLIB.
60981 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60983         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60984         protection macro.
60985         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60986         inclusion protection macro.
60988         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60989         SIGRTMIN and SIGRTMAX and print information in that case only when
60990         SIGRTMIN is defined.
60992 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60994         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60995         arginfo fn returning -1.
60997         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60998         and thousands string is zero terminated.
61000 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61002         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61003         sysdeps/unix/sysv/linux/bits/socket.h.
61005 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61007         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61008         (__CPU_COUNT): Remove old macros.
61009         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61010         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61011         (__CPU_ALLOC, __CPU_FREE): Add macros.
61012         (__sched_cpualloc, __sched_cpufree): Add declarations.
61014 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61016         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61017         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61018         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61019         (readdhstai): Return value of addhstaiX call.
61020         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61021         (addgrbyX): Return value returned by cache_addgr.
61022         (readdgrbyname): Return value returned by addgrbyX.
61023         (readdgrbygid): Likewise.
61024         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61025         (addpwbyX): Return value returned by cache_addpw.
61026         (readdpwbyname): Return value returned by addhstbyX.
61027         (readdpwbyuid): Likewise.
61028         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61029         (addservbyX): Return value returned by cache_addserv.
61030         (readdservbyname): Return value returned by addservbyX:
61031         (readdservbyport): Likewise.
61032         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61033         (addhstbyX): Return value returned by cache_addhst.
61034         (readdhstbyname): Return value returned by addhstbyX.
61035         (readdhstbyaddr): Likewise.
61036         (readdhstbynamev6): Likewise.
61037         (readdhstbyaddrv6): Likewise.
61038         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61039         (readdinitgroups): Return value returned by addinitgroupsX.
61040         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61041         (prune_cache): Keep track of timeout value of re-added entries.
61042         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61043         * nscd/nscd.h: Adjust prototypes of readd* functions.
61045 2011-02-04  Roland McGrath  <roland@redhat.com>
61047         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61048         (nis_stats): Likewise.
61049         * nis/nis_modify.c (nis_modify): Likewise.
61050         * nis/nis_remove.c (nis_remove): Likewise.
61051         * nis/nis_add.c (nis_add): Likewise.
61053         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61055         * posix/fnmatch_loop.c: Add some consts.
61057         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61059 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61061         [BZ #12460]
61062         * config.make.in (config-cflags-novzeroupper): Define.
61063         * configure.in: Substitute libc_cv_cc_novzeroupper.
61064         * elf/Makefile (AVX-CFLAGS): Define.
61065         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61066         (CFLAGS-tst-auditmod4a.c): Likewise.
61067         (CFLAGS-tst-auditmod4b.c): Likewise.
61068         (CFLAGS-tst-auditmod6b.c): Likewise.
61069         (CFLAGS-tst-auditmod6c.c): Likewise.
61070         (CFLAGS-tst-auditmod7b.c): Likewise.
61071         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61073 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61075         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61076         function to the callback.
61077         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61079 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61081         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61082         of errno.
61084 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61086         [BZ #11724]
61087         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61088         of constructors.
61089         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61090         of destructors.
61091         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61093         [BZ #11724]
61094         * elf/Makefile: Add rules to build and run new test.
61095         * elf/tst-initorder.c: New file.
61096         * elf/tst-initorder.exp: New file.
61097         * elf/tst-initordera1.c: New file.
61098         * elf/tst-initordera2.c: New file.
61099         * elf/tst-initordera3.c: New file.
61100         * elf/tst-initordera4.c: New file.
61101         * elf/tst-initorderb1.c: New file.
61102         * elf/tst-initorderb2.c: New file.
61103         * elf/tst-order-a1.c: New file.
61104         * elf/tst-order-a2.c: New file.
61105         * elf/tst-order-a3.c: New file.
61106         * elf/tst-order-a4.c: New file.
61107         * elf/tst-order-b1.c: New file.
61108         * elf/tst-order-b2.c: New file.
61109         * elf/tst-order-main.c: New file.
61110         New test case by George Gensure <werkt0@gmail.com>.
61112 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61115         decoding ACE if AI_CANONIDN.
61117 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61119         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61121 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61123         * version.h (RELEASE): Bump for 2.13 release.
61124         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61126         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61128         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61129         MADV_NOHUGEPAGE.
61130         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61131         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61132         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61133         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61134         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61135         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61137         * posix/getconf.c: Update copyright year.
61138         * catgets/gencat.c: Likewise.
61139         * csu/version.c: Likewise.
61140         * debug/catchsegv.sh: Likewise.
61141         * debug/xtrace.sh: Likewise.
61142         * elf/ldconfig.c: Likewise.
61143         * elf/ldd.bash.in: Likewise.
61144         * elf/sprof.c (print_version): Likewise.
61145         * iconv/iconv_prog.c: Likewise.
61146         * iconv/iconvconfig.c: Likewise.
61147         * locale/programs/locale.c: Likewise.
61148         * locale/programs/localedef.c: Likewise.
61149         * malloc/memusage.sh: Likewise.
61150         * malloc/mtrace.pl: Likewise.
61151         * nscd/nscd.c (print_version): Likewise.
61152         * nss/getent.c: Likewise.
61154         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61155         PF_CAIF, and PF_ALG.
61156         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61158 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61160         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61161         (modules-names): Use them.
61162         (ifunc-test-modules, ifunc-pie-tests): Define.
61163         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61164         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61165         (test-extras): Likewise.
61166         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61167         $(compile-command.c).
61168         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61169         (all-built-dso): Define.
61170         (check-textrel.out, check-execstack.out): Depend on it.
61172         * configure.in: Don't override --enable-multi-arch.
61174 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61176         [BZ #6812]
61177         * nscd/hstcache.c (tryagain): Define.
61178         (cache_addhst): Return tryagain not notfound for temporary errors.
61179         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61180         failed.
61182 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61184         [BZ #10563]
61185         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61186         to make the syscall.
61187         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61189         [BZ #12378]
61190         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61191         and fall back to matching as normal character if the string ends before
61192         the matching ']' is found.  This is what POSIX requires.
61193         * posix/testfnm.c: Adjust test result.
61194         * posix/globtest.sh: Adjust test result.  Add new test.
61195         * posix/tst-fnmatch.input: Likewise.
61196         * posix/tst-fnmatch2.c: Add new test.
61198 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61200         * elf/Makefile (check-execstack): Revert last change.  Depend on
61201         check-execstack.h.
61202         (check-execstack.h): New target.
61203         (generated): Add check-execstack.h.
61204         * elf/check-execstack.c: Include "check-execstack.h".
61205         (main): Revert last change.
61206         (handle_file): Return zero if GNU_STACK is absent and
61207         DEFAULT_STACK_PERMS doesn't include PF_X.
61209 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61211         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61212         in child fails because the descriptor is already closed.
61213         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61214         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61215         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61217         [BZ #12397]
61218         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61219         syscall.
61221         [BZ #10484]
61222         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61223         temporary buffer used to handle multi lookups locally.
61224         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61226 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61228         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61229         loader is ld.so.
61231 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61233         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61234         alignment for SSE2.
61236 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61238         [BZ #12394]
61239         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61240         characters.  When rounding increased number of integer digits recompute
61241         number of groups.
61242         * stdio-common/tst-grouping.c: New file.
61243         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61245 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61247         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61248         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61250         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61251         void.
61252         * bits/select.h: Likewise.
61254 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61256         * po/ja.po: Update from translation team.
61258 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61260         [BZ #11155]
61261         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61262         implementation just like for lxstat, fxstatat, et al.
61264 2010-12-27  Jim Meyering  <meyering@redhat.com>
61266         [BZ #12348]
61267         * posix/regexec.c (build_trtable): Return failure indication upon
61268         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61270 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61272         [BZ #12201]
61273         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61274         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61275         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61276         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61278         [BZ #12207]
61279         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61281         [BZ #12204]
61282         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61283         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61285 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61287         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61288         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61289         script has SORT_BY_INIT_PRIORITY.
61290         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61291         NO_CTORS_DTORS_SECTIONS is defined.
61292         * elf/soinit.c: Likewise.
61293         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61294         NO_CTORS_DTORS_SECTIONS is defined.
61295         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61296         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61297         * sysdeps/sh/init-first.c: Likewise.
61298         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61300 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61302         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61303         always use the slow path.
61305 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61307         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61308         similar rule which adds the sysdep directories to the header search in
61309         order to pick up the correct platform stackinfo.h.
61310         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61311         perform test if it is, otherwise return successfully without testing.
61312         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61313         DEFAULT_STACK_PERMS define in stackinfo.h.
61314         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61315         defined in stackinfo.h.
61316         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61317         DEFAULT_STACK_PERMS defined in stackinfo.h.
61318         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61319         * sysdeps/ia64/stackinfo.h: Likewise.
61320         * sysdeps/s390/stackinfo.h: Likewise.
61321         * sysdeps/sh/stackinfo.h: Likewise.
61322         * sysdeps/sparc/stackinfo.h: Likewise.
61323         * sysdeps/x86_64/stackinfo.h: Likewise.
61324         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61325         PF_X for powerpc64.  Retain PF_X for powerpc32.
61327 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61329         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61330         accurately.
61331         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61332         GETDENTS_64BIT_ALIGNED.
61334 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61336         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61338 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61340         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61341         _GNU_SOURCE.
61343         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61344         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61345         Remove __restrict.
61346         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61347         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61349 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61351         [BZ #11655]
61352         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61353         are initialized.
61355 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61357         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61359 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61361         * po/it.po: Update from translation team.
61363 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61365         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61366         unused codes.
61368 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61370         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61372 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61374         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61375         specially.
61376         (gaih_getanswer_slice): Likewise.
61378 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61382 2010-05-31  Petr Baudis  <pasky@suse.cz>
61384         [BZ #11149]
61385         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61386         silently even in the chroot mode.
61388 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61390         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61391         last patch a bit.  Pretty printing
61393 2010-05-31  Petr Baudis <pasky@suse.cz>
61395         [BZ #10085]
61396         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61397         initialization of skip_initgroups_dyn.
61399 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61401         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61402         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61404 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61406         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61408 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61410         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61411         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61412         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61413         ($(objpfx)tst-fnmatch-mem): New rule.
61414         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61415         * posix/tst-fnmatch.c (main): Call mtrace.
61417 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61420         Support Intel processor model 6 and model 0x2c.
61422 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61424         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61425           signed comparison.
61427 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61429         [BZ #12205]
61430         * string/test-strncasecmp.c (check_result): New function.
61431         (do_one_test): Use it.
61432         (check1): New function.
61433         (test_main): Use it.
61434         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61435         Support strcasecmp and strncasecmp.
61437 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61439         [BZ #12194]
61440         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61441         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61443 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61445         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61446         IFUNC support.
61447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61448         memset-x86-64.
61449         * sysdeps/x86_64/multiarch/bzero.S: New file.
61450         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61451         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61452         * sysdeps/x86_64/multiarch/memset.S: New file.
61453         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61455         Set bit_Prefer_SSE_for_memop for Intel processors.
61456         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61457         Define.
61458         (index_Prefer_SSE_for_memop): Define.
61459         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61461 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61463         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61464         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61466 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61468         [BZ #12191]
61469         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61470         (__x86_64_raw_data_cache_size_half): Likewise.
61471         (__x86_64_raw_shared_cache_size): Likewise.
61472         (__x86_64_raw_shared_cache_size_half): Likewise.
61474         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61475         (__x86_64_raw_data_cache_size_half): Likewise.
61476         (__x86_64_raw_shared_cache_size): Likewise.
61477         (__x86_64_raw_shared_cache_size_half): Likewise.
61478         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61479         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61480         and __x86_64_raw_shared_cache_size_half.  Round
61481         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61482         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61483         to multiple of 256 bytes.
61485 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61487         [BZ #12167]
61488         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61489         of inacessible symlinks.  Verify result of symlink before returning it.
61490         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61491         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61493 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61495         * math/math.h (isinf): Fix typo in comment.
61497 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61499         * po/da.po: Update from translation team.
61501 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61503         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61504         is added to the list.
61506 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61507             Ulrich Drepper  <drepper@gmail.com>
61509         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61510         the global list here.  Move code to...
61511         (_dl_add_to_namespace_list): ...here.  New function.
61512         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61513         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61514         * elf/dl-load.c (lose): Don't remove the element from the list.
61515         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61516         (_dl_map_object): Likewise.
61518 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61520         [BZ #12159]
61521         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61522         into all bytes of SSE register.
61523         Patch by Richard Li <richardpku@gmail.com>.
61525 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61527         [BZ #12140]
61528         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61529         perturbing.
61531 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61533         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61534         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61535         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61536         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61538         submachine.
61539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61541 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61543         * include/dlfcn.h (__RTLD_SECURE): Define.
61544         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61545         mode & __RTLD_SECURE instead.
61546         (open_path): Rename preloaded parameter to secure.
61547         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61548         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61549         * elf/dl-deps.c (openaux): Likewise.
61550         * elf/rtld.c (struct map_args): Remove is_preloaded.
61551         (map_doit): Don't use it.
61552         (dl_main): Likewise.
61553         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61554         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61556 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61558         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61559         (sysd-rules-targets): Remove duplicates.
61560         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61561         rtld-%.$o dependency.
61563 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61565         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61566         _dl_map_object do it.
61568 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61570         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61571         fast fma builtins, define the macros in the C99 standard.
61572         (FP_FAST_FMAF): Likewise.
61573         (FP_FAST_FMAL): Likewise.
61574         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61576         * bits/mathdef.h: Update copyright year.
61577         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61579 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61581         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61582         builtins, define the macros in the C99 standard.
61583         (FP_FAST_FMAF): Likewise.
61584         (FP_FAST_FMAL): Likewise.
61585         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61586         multiply/add.
61587         (FP_FAST_FMAF): Likewise.
61589 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61591         [BZ #3268]
61592         * math/libm-test.inc (fma_test): Some new testcases.
61593         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61594         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61595         y and infinite z.  Do multiplication by C already in long double.
61596         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61598         y and infinite z.  Do bitwise or of inexact bit into u.d.
61599         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61600         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61601         * sysdeps/i386/fpu/s_fma.S: Removed.
61602         * sysdeps/i386/fpu/s_fmal.S: Removed.
61604 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61606         [BZ #3268]
61607         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61608         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61609         computation is not scheduled after fetestexcept.  Fix value
61610         of minimum denormal long double.
61612 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61614         [BZ #3268]
61615         * math/libm-test.inc (fma_test): Add some more tests.
61616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61617         correctly.
61619 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61621         * scripts/data/localplt-s390-linux-gnu.data: New file.
61622         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61624 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61626         [BZ #3268]
61627         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61628         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61629         instead of dbl-64.
61630         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61631         inlines.
61632         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61633         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61634         if one of x and y is very large and the other is subnormal.
61635         * sysdeps/s390/fpu/s_fmaf.c: New file.
61636         * sysdeps/s390/fpu/s_fma.c: New file.
61637         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61638         * sysdeps/powerpc/fpu/s_fma.S: New file.
61639         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61640         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61641         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61643 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61645         [BZ #3268]
61646         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61647         fma tests.
61648         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61649         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61650         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61651         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61652         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61653         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61654         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61656 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61658         [BZ #12078]
61659         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61660         * posix/bug-regex31.input: Add test case.
61662 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61664         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61665         * posix/bug-regex31.input: New file.
61667         [BZ #12078]
61668         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61669         (parse_sub_exp): Fix last change, use postorder.
61671         * posix/bug-regex31.c: New file.
61672         * posix/Makefile: Add rules to build and run bug-regex31.
61674         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61676         [BZ #12078]
61677         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61679         [BZ #12108]
61680         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61681         to have entries in sys_siglist.
61683         [BZ #12093]
61684         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61685         be NULL.
61687 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61689         [BZ #3268]
61690         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61691         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61692         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61693         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61694         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61695         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61696         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61697         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61698         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61699         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61700         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61701         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61702         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61703         * math/ftestexcept.c (fetestexcept): Likewise.
61704         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61705         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61706         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61707         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61708         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61709         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61710         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61712 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61714         [BZ #12107]
61715         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61716         newline.
61718 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61720         * string/bug-strstr1.c: New file.
61721         * string/Makefile: Add rules to build and run bug-strstr1.
61723 2010-10-05  Eric Blake  <eblake@redhat.com>
61725         [BZ #12092]
61726         * string/str-two-way.h (two_way_long_needle): Always clear memory
61727         when skipping input due to the shift table.
61729 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61731         [BZ #12005]
61732         * malloc/mcheck.c: Handle large requests.
61734         [BZ #12077]
61735         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61736         for strncmp and strncasecmp.
61737         * string/stratcliff.c: Add tests for strcmp and strncmp.
61738         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61740 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61742         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61743         __set_fpscr.
61745 2010-09-30  Andreas Jaeger  <aj@suse.de>
61747         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61748         (CGROUP_SUPER_MAGIC): Define.
61749         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61750         Handle btrfs and cgroup file systems.
61751         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61752         Likewise.
61754 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61756         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61757         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61759 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61761         [BZ #12067]
61762         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61763         trying to locate the ELF header.
61765 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61767         [BZ #11611]
61768         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61769         Mask out sign-bit copies when constructing f_fsid.
61771 2010-09-24  Petr Baudis <pasky@suse.cz>
61773         * debug/stack_chk_fail_local.c: Add missing licence exception.
61774         * debug/warning-nop.c: Likewise.
61776 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61778         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61779         implementing getdents64 using getdents syscall, set d_type if
61780         __ASSUME_GETDENTS32_D_TYPE.
61782 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61784         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61785         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61787 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61789         [BZ #12037]
61790         * posix/unistd.h: Undo change of feature selection for ftruncate from
61791         2010-01-11.
61793 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61795         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61796         detection.
61798 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61800         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61801         fanotify_mark.
61802         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61804 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61806         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61807         variables after CHECK_SP call.
61808         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61810 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61811             Ulrich Drepper  <drepper@redhat.com>
61813         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61814         re-relocationg ld.so.
61815         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61816         _dl_init_paths call.
61817         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61818         here anymore.
61820 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61822         * resolv/res_init.c (__res_vinit): Count the default server we added.
61824 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61825             Ulrich Drepper  <drepper@redhat.com>
61827         [BZ #11968]
61828         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61829         (____longjmp_chk): Use %ebx for saving value across system call.
61830         Add unwind info.
61832 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61834         * manual/Makefile: Don't mix pattern rules with normal rules.
61836 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61838         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61839         operation.
61840         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61841         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61842         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61843         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61844         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61845         Likewise.
61847 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61849         [BZ #11979]
61850         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61851         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61853 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61855         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61856         * sysdeps/x86_64/addmul_1.S: Likewise.
61857         * sysdeps/x86_64/lshift.S: Likewise.
61858         * sysdeps/x86_64/mul_1.S: Likewise.
61859         * sysdeps/x86_64/rshift.S: Likewise.
61860         * sysdeps/x86_64/sub_n.S: Likewise.
61861         * sysdeps/x86_64/submul_1.S: Likewise.
61863 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61865         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61866         Define __sched_param instead of SCHED_* and sched_param when
61867         <bits/sched.h> is included with __need_schedparam defined.
61868         * bits/sched.h [__need_schedparam]
61869         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61870         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61871         (__defined_schedparam): Define to 1.
61872         (__sched_param): New structure, identical to sched_param.
61873         (__need_schedparam): Undefine.
61875 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61877         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61878         (epoll_create1): Declare.
61880         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61882 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61884         [BZ #7066]
61885         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61886         shifting retval into place.
61888 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61890         * nis/rpcsvc/nis.h: Update copyright notice.
61891         * nis/rpcsvc/nis.x: Likewise.
61892         * nis/rpcsvc/nis_callback.h: Likewise.
61893         * nis/rpcsvc/nis_callback.x: Likewise.
61894         * nis/rpcsvc/nis_object.x: Likewise.
61895         * nis/rpcsvc/nis_tags.h: Likewise.
61896         * nis/rpcsvc/yp.h: Likewise.
61897         * nis/rpcsvc/yp.x: Likewise.
61898         * nis/rpcsvc/ypupd.h: Likewise.
61899         * nis/yp_xdr.c: Likewise.
61900         * nis/ypupdate_xdr.c: Likewise.
61902         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61903         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61904         (pmap_getport): Use __libc_rpc_getport.
61905         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61906         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61907         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61909 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61912         fanotify_mark.
61914 2010-08-27  Roland McGrath  <roland@redhat.com>
61916         * sysdeps/i386/i686/multiarch/Makefile
61917         (CFLAGS-varshift.c): New variable.
61919 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61921         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61922         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61924         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61926         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61928 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61930         * sysdeps/x86_64/strlen.S: Unroll the loop.
61931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61932         strlen-sse2 strlen-sse2-bsf.
61933         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61934         __strlen_no_bsf if bit_Slow_BSF is set.
61935         (__strlen_sse42): Removed.
61936         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61937         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61939 2010-08-25  Roland McGrath  <roland@redhat.com>
61941         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61942         * sysdeps/x86_64/multiarch/varshift.c: New file.
61943         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61944         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61945         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61946         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61948 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61951         strlen-sse2 strlen-sse2-bsf.
61952         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61953         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61954         (__strlen_sse2): Removed.
61955         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61956         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61957         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61958         bit_Slow_BSF for Atom.
61959         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61960         (index_Slow_BSF): Define.
61961         (HAS_SLOW_BSF): Define.
61963 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61965         [BZ #10851]
61966         * resolv/res_init.c (__res_vinit): When no server address at all
61967         is given default to loopback.
61969 2010-08-24  Roland McGrath  <roland@redhat.com>
61971         * configure.in: Remove config-name.h generation.
61972         * configure: Regenerated.
61973         * config-name.in: File removed.
61974         * scripts/config-uname.sh: New file.
61975         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61976         ($(objdir)config-name.h): New target.
61978         * sunrpc/rpc_parse.h: Avoid nested comment.
61980 2010-08-24  Richard Henderson  <rth@redhat.com>
61981             Ulrich Drepper  <drepper@redhat.com>
61982             H.J. Lu  <hongjiu.lu@intel.com>
61984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61986         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61987         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61988         _mm_alignr_epi8 with _mm_loadu_si128.
61989         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61990         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61991         (__m128i_shift_right): Removed.
61992         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61993         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61994         * sysdeps/x86_64/multiarch/varshift.h: New file.
61995         * sysdeps/x86_64/multiarch/varshift.S: New file.
61997 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61999         * configure.in: Move assembler checks to before sysdep dir checking.
62001 2010-08-20  Petr Baudis  <pasky@suse.cz>
62003         * LICENSES: Sync the sunrpc license.
62005 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62007         * sunrpc/auth_des.c: Update copyright notice once again.
62008         * sunrpc/auth_none.c: Likewise.
62009         * sunrpc/auth_unix.c: Likewise.
62010         * sunrpc/authdes_prot.c: Likewise.
62011         * sunrpc/authuxprot.c: Likewise.
62012         * sunrpc/bindrsvprt.c: Likewise.
62013         * sunrpc/clnt_gen.c: Likewise.
62014         * sunrpc/clnt_perr.c: Likewise.
62015         * sunrpc/clnt_raw.c: Likewise.
62016         * sunrpc/clnt_simp.c: Likewise.
62017         * sunrpc/clnt_tcp.c: Likewise.
62018         * sunrpc/clnt_udp.c: Likewise.
62019         * sunrpc/clnt_unix.c: Likewise.
62020         * sunrpc/des_crypt.c: Likewise.
62021         * sunrpc/des_soft.c: Likewise.
62022         * sunrpc/get_myaddr.c: Likewise.
62023         * sunrpc/getrpcport.c: Likewise.
62024         * sunrpc/key_call.c: Likewise.
62025         * sunrpc/key_prot.c: Likewise.
62026         * sunrpc/openchild.c: Likewise.
62027         * sunrpc/pm_getmaps.c: Likewise.
62028         * sunrpc/pm_getport.c: Likewise.
62029         * sunrpc/pmap_clnt.c: Likewise.
62030         * sunrpc/pmap_prot.c: Likewise.
62031         * sunrpc/pmap_prot2.c: Likewise.
62032         * sunrpc/pmap_rmt.c: Likewise.
62033         * sunrpc/rpc/auth.h: Likewise.
62034         * sunrpc/rpc/auth_unix.h: Likewise.
62035         * sunrpc/rpc/clnt.h: Likewise.
62036         * sunrpc/rpc/des_crypt.h: Likewise.
62037         * sunrpc/rpc/key_prot.h: Likewise.
62038         * sunrpc/rpc/netdb.h: Likewise.
62039         * sunrpc/rpc/pmap_clnt.h: Likewise.
62040         * sunrpc/rpc/pmap_prot.h: Likewise.
62041         * sunrpc/rpc/pmap_rmt.h: Likewise.
62042         * sunrpc/rpc/rpc.h: Likewise.
62043         * sunrpc/rpc/rpc_des.h: Likewise.
62044         * sunrpc/rpc/rpc_msg.h: Likewise.
62045         * sunrpc/rpc/svc.h: Likewise.
62046         * sunrpc/rpc/svc_auth.h: Likewise.
62047         * sunrpc/rpc/types.h: Likewise.
62048         * sunrpc/rpc/xdr.h: Likewise.
62049         * sunrpc/rpc_clntout.c: Likewise.
62050         * sunrpc/rpc_cmsg.c: Likewise.
62051         * sunrpc/rpc_common.c: Likewise.
62052         * sunrpc/rpc_cout.c: Likewise.
62053         * sunrpc/rpc_dtable.c: Likewise.
62054         * sunrpc/rpc_hout.c: Likewise.
62055         * sunrpc/rpc_main.c: Likewise.
62056         * sunrpc/rpc_parse.c: Likewise.
62057         * sunrpc/rpc_parse.h: Likewise.
62058         * sunrpc/rpc_prot.c: Likewise.
62059         * sunrpc/rpc_sample.c: Likewise.
62060         * sunrpc/rpc_scan.c: Likewise.
62061         * sunrpc/rpc_scan.h: Likewise.
62062         * sunrpc/rpc_svcout.c: Likewise.
62063         * sunrpc/rpc_tblout.c: Likewise.
62064         * sunrpc/rpc_util.c: Likewise.
62065         * sunrpc/rpc_util.h: Likewise.
62066         * sunrpc/rpcinfo.c: Likewise.
62067         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62068         * sunrpc/rpcsvc/key_prot.x: Likewise.
62069         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62070         * sunrpc/rpcsvc/mount.x: Likewise.
62071         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62072         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62073         * sunrpc/rpcsvc/rex.x: Likewise.
62074         * sunrpc/rpcsvc/rstat.x: Likewise.
62075         * sunrpc/rpcsvc/rusers.x: Likewise.
62076         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62077         * sunrpc/rpcsvc/spray.x: Likewise.
62078         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62079         * sunrpc/rtime.c: Likewise.
62080         * sunrpc/svc.c: Likewise.
62081         * sunrpc/svc_auth.c: Likewise.
62082         * sunrpc/svc_authux.c: Likewise.
62083         * sunrpc/svc_raw.c: Likewise.
62084         * sunrpc/svc_run.c: Likewise.
62085         * sunrpc/svc_simple.c: Likewise.
62086         * sunrpc/svc_tcp.c: Likewise.
62087         * sunrpc/svc_udp.c: Likewise.
62088         * sunrpc/svc_unix.c: Likewise.
62089         * sunrpc/svcauth_des.c: Likewise.
62090         * sunrpc/xcrypt.c: Likewise.
62091         * sunrpc/xdr.c: Likewise.
62092         * sunrpc/xdr_array.c: Likewise.
62093         * sunrpc/xdr_float.c: Likewise.
62094         * sunrpc/xdr_mem.c: Likewise.
62095         * sunrpc/xdr_rec.c: Likewise.
62096         * sunrpc/xdr_ref.c: Likewise.
62097         * sunrpc/xdr_sizeof.c: Likewise.
62098         * sunrpc/xdr_stdio.c: Likewise.
62100         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62101         handling.
62103 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62105         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62107 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62109         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62110         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62111         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62112         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62113         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62114         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62115         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62116         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62117         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62118         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62119         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62120         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62121         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62122         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62124 2010-07-26  Anton Blanchard  <anton@samba.org>
62126         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62127         * malloc/arena.c (heap_trim): Likewise.
62129 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62131         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62132         here.  Not...
62133         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62134         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62136 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62138         * sysdeps/i386/elf/Makefile: New file.
62140 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62142         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62143         from fanotify_init.
62144         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62145         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62147 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62149         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62150         of strncasecmp_l.
62151         * sysdeps/multiarch/strcmp.S: Likewise.
62153 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62155         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62156         strncase_l-nonascii.
62157         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62158         Add strncase_l-ssse3.
62159         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62160         * sysdeps/x86_64/strcmp.S: Likewise.
62161         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62162         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62163         * sysdeps/x86_64/strncase.S: New file.
62164         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62165         * sysdeps/x86_64/strncase_l.S: New file.
62166         * string/Makefile (strop-tests): Add strncasecmp.
62167         * string/test-strncasecmp.c: New file.
62169         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62170         warning.
62172         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62173         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62175 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62177         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62179 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62181         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62182         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62183         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62185 2010-05-01  Alan Modra  <amodra@gmail.com>
62187         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62188         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62189         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62190         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62191         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62192         tidying.  Don't tail-call __sigjmp_save for static lib.
62193         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62194         save location.
62195         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62196         (CALL_MCOUNT): Add eh info, and nop after bl.
62197         (TAIL_CALL_SYSCALL_ERROR): New macro.
62198         (PSEUDO_RET): Use it.
62199         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62200         Correct save location of integer regs and cr.
62201         (_dl_profile_resolve): Correct cr save location.  Delete nops
62202         after bl when SHARED.  Reduce cfi size a little by better
62203         placement of cfi directives.
62204         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62205         make a stack frame.  Instead use parm save area as a temp.
62206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62207         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62209         Don't make a stack frame for parent, use parm save area.
62210         Increase child stack frame to 112 bytes.  Don't save unused reg,
62211         and adjust reg usage.  Set up cfi on error recovery and
62212         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62214         (__makecontext): Add dummy nop after jump to exit.
62215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62216         Use correct parm save area and cr save, reduce stack frame.
62217         Correct cfi for possible PSEUDO_RET frame setup.
62218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62219         Branch to local label emitted by PSEUDO_RET rather than
62220         __syscall_error.
62222 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62224         [BZ #11904]
62225         * locale/programs/locale.c (print_assignment): New function.
62226         (show_locale_vars): Use it.
62228 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62230         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62231         field.
62232         (struct statfs64): Likewise.
62233         (_STATFS_F_FLAGS): Define.
62234         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62235         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62236         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62237         (ST_VALID): Define locally.
62238         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62239         __statvfs_getflags, use the provided value.
62240         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62241         __ASSUME_STATFS_F_FLAGS.
62243         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62245         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62246         Add sys/fanotify.h.
62247         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62248         fanotify_mask for GLIBC_2.13.
62249         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62250         fanotify_init and fanotify_mark.
62251         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62252         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62254         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62255         Add prlimit.
62256         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62257         prlimit64 for GLIBC_2.13.
62258         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62259         prlimit64.
62260         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62261         syscall.
62262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62263         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62264         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62265         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62266         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62267         add prlimit alias.
62268         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62270         [BZ #11903]
62271         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62272         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62274         * nss/Makefile: Add rules to build and run tst-nss-test1.
62275         * shlib-versions: Add entry for libnss_test1.
62276         * nss/nss_test1.c: New file.
62277         * nss/tst-nss-test1.c: New file.
62279         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62280         (__nss_configure_lookup): Set appropriate entry in
62281         __nss_configure_lookup to true.
62282         * nss/nsswitch.h: Define enum with indeces of databases in
62283         databases and __nss_database_custom arrays.  Declare
62284         __nss_database_custom.
62285         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62286         to avoid using nscd when custom rules are installed.
62287         * nss/getXXbyYY_r.c: Likewise.
62288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62290         * nss/nss_files/files-parse.c: Whitespace fixes.
62292 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62294         [BZ #11883]
62295         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62296         * posix/fnmatch_loop.c: Likewise.
62298 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62300         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62301         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62302         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62303         * Versions.def [GLIBC_2.13]: Add.
62305 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62307         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62308         Also fail if tpwd after pwuid call is NULL.
62310 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62312         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62313         when converting to ms.
62315 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62317         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62318         EOPNOTSUPP errors with ENOTTY.
62319         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62320         EOPNOTSUPP errors with ENOTTY.
62322 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62324         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62325         Add strcasecmp_l-ssse3.
62326         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62327         strcasecmp.
62328         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62329         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62330         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62332 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62334         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62336         * string/Makefile (strop-tests): Add strcasecmp.
62337         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62338         strcasecmp_l-nonascii.
62339         (gen-as-const-headers): Add locale-defines.sym.
62340         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62341         * sysdeps/x86_64/strcasecmp.S: New file.
62342         * sysdeps/x86_64/strcasecmp_l.S: New file.
62343         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62344         * sysdeps/x86_64/locale-defines.sym: New file.
62345         * string/test-strcasecmp.c: New file.
62347         * string/test-strcasestr.c: Test both ends of the range of characters.
62348         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62350 2010-07-29  Roland McGrath  <roland@redhat.com>
62352         [BZ #11856]
62353         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62355 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62357         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62358         for ld.so.
62360 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62362         * manual/memory.texi (Malloc Tunable Parameters): Document
62363         M_PERTURB.
62365 2010-07-26  Roland McGrath  <roland@redhat.com>
62367         [BZ #11840]
62368         * configure.in (-fgnu89-inline check): Set and substitute
62369         gnu89_inline, not libc_cv_gnu89_inline.
62370         * configure: Regenerated.
62371         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62373 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62375         * string/test-strnlen.c: New file.
62376         * string/Makefile (strop-tests): Add strnlen.
62377         * string/tester.c (test_strnlen): Add a few more test cases.
62378         * string/tst-strlen.c: Better error reporting.
62380         * sysdeps/x86_64/strnlen.S: New file.
62382 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62384         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62385         lower-latency instructions.
62387 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62389         * string/test-strcasestr.c: New file.
62390         * string/test-strstr.c: New file.
62391         * string/Makefile (strop-tests): Add strstr and strcasestr.
62392         * string/str-two-way.h: Don't undefine MAX.
62393         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62395 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62398         strcasestr-nonascii.
62399         (CFLAGS-strcasestr-nonascii.c): Define.
62400         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62401         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62402         Remove unused attribute.
62404 2010-07-20  Roland McGrath  <roland@redhat.com>
62406         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62407         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62408         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62409         like LD_HWCAP_MASK can disable hwcaps.
62411 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62413         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62415 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62417         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62418         call in strcasestr.
62419         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62420         __strcasestr_sse42_nonascii.
62421         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62422         strcasestr-nonascii.c.
62423         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62425 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62427         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62428         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62429         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62430         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62432 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62434         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62435         fcntl.
62437 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62439         [BZ #11577]
62440         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62441         dl_signal_cerror.
62443 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62445         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62446         _PC_PIPE_BUF using F_GETPIPE_SZ.
62448 2010-07-05  Roland McGrath  <roland@redhat.com>
62450         * manual/arith.texi (Rounding Functions): Fix rint description
62451         implicit in round description.
62453 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62455         * elf/Makefile: Fix linking for a few tests to make recent linker
62456         happy.
62458 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62460         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62461         $(common-objpfx)libc_nonshared.a.
62463 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62465         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62466         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62467         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62468         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62469         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62470         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62471         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62472         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62487         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62488         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62489         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62490         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62491         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62492         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62493         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62494         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62495         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62496         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62497         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62498         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62514 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62516         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62517         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62518         * string/memmove.c (memmove): Renamed to ...
62519         (MEMMOVE): ...this.  Default to memmove.
62520         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62521         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62522         (END_CHK): Define.
62523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62524         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62525         mempcpy-ssse3-back memmove-ssse3-back.
62526         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62527         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62528         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62529         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62530         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62531         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62532         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62533         * sysdeps/x86_64/multiarch/memmove.c: New file.
62534         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62535         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62536         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62537         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62538         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62539         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62540         Define.
62541         (index_Fast_Copy_Backward): Define.
62542         (HAS_ARCH_FEATURE): Define.
62543         (HAS_FAST_REP_STRING): Define.
62544         (HAS_FAST_COPY_BACKWARD): Define.
62546 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62548         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62549         Restore proper fallback handling.
62551 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62553         [BZ #11701]
62554         * posix/group_member.c (__group_member): Correct checking loop.
62556         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62557         OOM in getpwuid_r correctly.  Return error number when the caller
62558         should return, otherwise -1.
62559         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62560         call returning > 0 value.
62561         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62563 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62565         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62566         libc_nonshared.a from targets in modules-names.
62568 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62570         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62571         requires it.
62573 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62575         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62576         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62577         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62578         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62580 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62582         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62584 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62586         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62587         and F_GETPIPE_SZ.
62588         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62589         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62590         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62592         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62593         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62595 2010-06-14  Roland McGrath  <roland@redhat.com>
62597         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62599 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62601         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62602         __REDIRECT followed by __THROW.
62603         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62604         * posix/getopt.h (getopt): Likewise.
62606 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62608         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62609         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62610         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62611         in AT_FLAGS.
62612         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62613         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62615 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62617         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62619 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62621         [BZ #11640]
62622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62623         Properly check family and model.
62625 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62627         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62629 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62631         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62633 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62635         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62636         symbol reference.
62638 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62640         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62641         symbol reference.
62643 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62645         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62646         and internal_recvmmsg.
62647         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62648         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62649         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62650         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62652         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62653         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62654         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62656 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62658         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62660 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62662         POWER7 optimizations.
62663         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62664         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62666 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62668         * version.h: Update for 2.13 development version.
62670 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62672         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62673         exceptions.  Return 0.
62675 2010-05-07  Roland McGrath  <roland@redhat.com>
62677         * elf/ldconfig.c (main): Add a const.
62679 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62681         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62682         (args_options): Add no-idn option.
62683         (ahosts_keys_int): Add idn_flags to ai_flags.
62684         (parse_option): Handle 'i' option to clear idn_flags.
62686         * malloc/malloc.c (_int_free): Possible race in the most recently
62687         added check.  Only act on the data if no current modification
62688         happened.
62690 See ChangeLog.17 for earlier changes.